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

1234567

/frameworks/av/camera/tests/
H A Dmain.cpp24 int ret = RUN_ALL_TESTS(); local
26 return ret;
/frameworks/native/opengl/libs/GLES2/
H A Dgl2.cpp180 const GLubyte * ret = egl_get_string_for_current_context(name); local
181 if (ret == NULL) {
183 ret = _c->glGetString(name);
185 return ret;
/frameworks/webview/chromium/plat_support/
H A Djni_entry_point.cpp31 jint ret = vm->AttachCurrentThread(&env, NULL); local
32 LOG_ALWAYS_FATAL_IF(ret != JNI_OK, "AttachCurrentThread failed");
/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.cpp74 bool ret = false; local
97 ret = true;
111 return ret;
H A Dspec.h31 VarType ret; member in struct:__anon1549
/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/img_utils/src/
H A DFileInput.cpp75 status_t ret = OK; local
78 ret = BAD_VALUE;
H A DFileOutput.cpp69 status_t ret = OK; local
72 ret = BAD_VALUE;
H A DInput.cpp35 ssize_t ret = read(skipBuf, 0, amt); local
36 if (ret < 0) {
37 if(ret == NOT_ENOUGH_DATA) {
48 return ret;
50 remaining -= 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.cpp93 MediaExtractor *ret = NULL; local
96 ret = new MPEG4Extractor(source);
98 ret = new MP3Extractor(source, meta);
101 ret = new AMRExtractor(source);
103 ret = new FLACExtractor(source);
105 ret = new WAVExtractor(source);
107 ret = new OggExtractor(source);
109 ret = new MatroskaExtractor(source);
111 ret = new MPEG2TSExtractor(source);
116 ret
[all...]
/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/av/media/mediaserver/
H A Dmain_mediaserver.cpp62 int ret = waitid(P_PID, childPid, &info, WEXITED | WSTOPPED | WCONTINUED); local
63 if (ret == EINTR) {
66 if (ret < 0) {
/frameworks/av/services/audioflinger/
H A DSchedulingPolicyService.cpp34 int ret; local
50 ret = sps->requestPriority(pid, tid, prio, asynchronous);
51 if (ret != DEAD_OBJECT) {
59 return 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/base/services/core/jni/
H A Dcom_android_server_PersistentDataBlockService.cpp37 int ret; local
39 ret = ioctl(fd, BLKGETSIZE64, &size);
41 if (ret)
50 int ret; local
59 ret = ioctl(fd, BLKSECDISCARD, &range);
60 if (ret < 0) {
64 ret = ioctl(fd, BLKDISCARD, &range);
65 if (ret < 0) {
75 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/rs/cpu_ref/linkloader/lib/
H A DMemChunk.cpp106 int ret = mprotect((void *)buf, buf_size, prot); local
107 if (ret == -1) {
/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;
/frameworks/native/opengl/libs/GLES_CM/
H A Dgl.cpp234 const GLubyte * ret = egl_get_string_for_current_context(name); local
235 if (ret == NULL) {
237 ret = _c->glGetString(name);
239 return ret;
/frameworks/native/services/batteryservice/
H A DIBatteryPropertiesRegistrar.cpp53 int32_t ret = reply.readExceptionCode(); local
54 if (ret != 0) {
55 return ret;
57 ret = reply.readInt32();
61 return ret;

Completed in 4567 milliseconds

1234567