Searched defs:ret (Results 1 - 25 of 136) sorted by relevance

123456

/frameworks/native/opengl/libs/GLES2/
H A Dgl2.cpp105 const GLubyte * ret = egl_get_string_for_current_context(name); local
106 if (ret == NULL) {
107 ret = __glGetString(name);
109 return ret;
/frameworks/av/media/mtp/
H A DMtpRequestPacket.cpp39 int ret = ::read(fd, mBuffer, mBufferSize); local
40 if (ret >= 0)
41 mPacketSize = ret;
44 return ret;
H A DMtpResponsePacket.cpp41 int ret = ::write(fd, mBuffer, mPacketSize); local
42 return (ret < 0 ? ret : 0);
50 int ret = transfer(request); local
51 if (ret >= 0)
52 mPacketSize = ret;
55 return ret;
H A DMtpEventPacket.cpp51 int ret = ::ioctl(fd, MTP_SEND_EVENT, (unsigned long)&event); local
52 return (ret < 0 ? ret : 0);
60 int ret = transfer(request); local
61 if (ret >= 0)
62 mPacketSize = ret;
65 return ret;
/frameworks/rs/
H A DrsSignal.cpp73 bool ret = false; local
96 ret = true;
108 return ret;
H A Dspec.h31 VarType ret; member in struct:__anon1568
/frameworks/support/renderscript/v8/rs_support/
H A DrsSignal.cpp73 bool ret = false; local
96 ret = true;
108 return ret;
H A Dspec.h31 VarType ret; member in struct:__anon1597
/frameworks/av/media/common_time/
H A Dcc_helper.cpp31 bool ret = false; local
50 ret = true;
53 if (!ret) {
57 return ret;
/frameworks/av/media/libmediaplayerservice/
H A DActivityManager.cpp41 status_t ret = am->transact(OPEN_CONTENT_URI_TRANSACTION, data, &reply); local
42 if (ret == NO_ERROR) {
/frameworks/av/media/libstagefright/
H A DMediaExtractor.cpp94 MediaExtractor *ret = NULL; local
99 ret = new FragmentedMP4Extractor(source);
101 ret = new MPEG4Extractor(source);
104 ret = new MP3Extractor(source, meta);
107 ret = new AMRExtractor(source);
109 ret = new FLACExtractor(source);
111 ret = new WAVExtractor(source);
113 ret = new OggExtractor(source);
115 ret = new MatroskaExtractor(source);
117 ret
[all...]
/frameworks/av/media/libstagefright/chromium_http/
H A DDataUriSource.cpp32 const bool ret = net::DataURL::Parse( local
37 mInited = ret ? OK : UNKNOWN_ERROR;
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dmemalign.c42 int ret; local
50 ret = pMemop->Alloc(CodecID, &MemInfo);
51 if(ret != 0)
65 ret = pMemop->Alloc(CodecID, &MemInfo);
66 if(ret != 0)
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Dmem_align.c42 int ret; local
50 ret = pMemop->Alloc(CodecID, &MemInfo);
51 if(ret != 0)
65 ret = pMemop->Alloc(CodecID, &MemInfo);
66 if(ret != 0)
/frameworks/compile/libbcc/lib/Renderscript/runtime/
H A Drs_core.c50 float4 ret = (float4)0.003921569f; local
51 ret *= convert_float4(c);
52 return ret;
92 float4 ret;
93 ret.x = (m->m[0] * in.x) + (m->m[4] * in.y) + (m->m[8] * in.z) + (m->m[12] * in.w);
94 ret.y = (m->m[1] * in.x) + (m->m[5] * in.y) + (m->m[9] * in.z) + (m->m[13] * in.w);
95 ret.z = (m->m[2] * in.x) + (m->m[6] * in.y) + (m->m[10] * in.z) + (m->m[14] * in.w);
96 ret.w = (m->m[3] * in.x) + (m->m[7] * in.y) + (m->m[11] * in.z) + (m->m[15] * in.w);
97 return ret;
106 float4 ret;
161 float2 ret; local
[all...]
/frameworks/compile/linkloader/lib/
H A DMemChunk.cpp82 int ret = mprotect((void *)buf, buf_size, prot); local
83 if (ret == -1) {
/frameworks/compile/llvm-ndk-cc/
H A Dllvm-ndk-cc.cpp100 int ret = Compiler.compile(); local
101 return ret;
/frameworks/native/services/surfaceflinger/tests/vsync/
H A Dvsync.cpp62 int32_t ret = loop->pollOnce(-1); local
63 switch (ret) {
77 printf("ugh? poll returned %d\n", ret);
/frameworks/base/packages/DefaultContainerService/jni/
H A Dcom_android_defcontainer_MeasurementUtils.cpp33 jlong ret = 0L; local
37 return ret;
44 ret = calculate_dir_size(dirfd);
50 return ret;
/frameworks/av/media/libnbaio/
H A DMonoPipeReader.cpp41 ssize_t ret = android_atomic_acquire_load(&mPipe->mRear) - mPipe->mFront; local
42 ALOG_ASSERT((0 <= ret) && (ret <= mMaxFrames));
43 return ret;
H A DAudioBufferProviderSource.cpp124 ssize_t ret = via(user, readTgt, count, readPTS); local
125 if (CC_UNLIKELY(ret <= 0)) {
129 return ret;
131 ALOG_ASSERT((size_t) ret <= count);
132 mFramesRead += ret;
133 accumulator += ret;
134 if (CC_LIKELY((mConsumed += ret) < mBuffer.frameCount)) {
H A DAudioStreamOutSink.cpp60 ssize_t ret = mStream->write(mStream, buffer, count << mBitShift); local
61 if (ret > 0) {
62 ret >>= mBitShift;
63 mFramesWritten += ret;
67 return ret;
/frameworks/compile/linkloader/android/
H A Dtest-librsloader.c106 int ret = main_stub(argc - 1, argv + 1); local
108 printf("ELF object finished with code: %d\n", ret);
/frameworks/native/services/sensorservice/tests/
H A Dsensorservicetest.cpp88 int32_t ret = loop->pollOnce(-1); local
89 switch (ret) {
103 printf("ugh? poll returned %d\n", ret);
/frameworks/base/core/jni/
H A Dandroid_app_backup_FullBackup.cpp76 int ret; local

Completed in 188 milliseconds

123456