Searched refs:ret (Results 76 - 100 of 378) sorted by relevance

1234567891011>>

/frameworks/av/media/img_utils/src/
H A DFileOutput.cpp69 status_t ret = OK; local
72 ret = BAD_VALUE;
75 return ret;
H A DTiffWriter.cpp61 status_t ret = OK; local
93 BAIL_ON_FAIL(writeFileHeader(endOut), ret); local
98 BAIL_ON_FAIL(ifd->writeData(offset, &endOut), ret);
113 if ((ret = sources[i]->writeToStream(endOut, sizeToWrite)) != OK) {
114 ALOGE("%s: Could not write to stream, received %d.", __FUNCTION__, ret);
115 return ret;
117 ZERO_TILL_WORD(&endOut, sizeToWrite, ret);
129 return ret;
133 status_t ret = OK; local
140 BAIL_ON_FAIL(writeFileHeader(endOut), ret); local
359 status_t ret = OK; local
[all...]
/frameworks/base/core/jni/
H A Dandroid_hardware_SerialPort.cpp178 int ret = read(fd, buf, length); local
179 if (ret > 0) {
181 env->SetByteArrayRegion(buffer, 0, ret, buf);
185 if (ret < 0)
187 return ret;
201 int ret = read(fd, buf, length); local
202 if (ret < 0)
204 return ret;
218 jint ret = write(fd, buf, length); local
220 if (ret <
234 int ret = write(fd, buf, length); local
[all...]
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
H A DExifData.java256 ArrayList<ExifTag> ret = new ArrayList<ExifTag>();
262 ret.add(t);
267 if (ret.size() == 0) {
270 return ret;
286 ArrayList<ExifTag> ret = new ArrayList<ExifTag>(tags.length);
288 ret.add(t);
290 if (ret.size() == 0) {
293 return ret;
301 ArrayList<ExifTag> ret = new ArrayList<ExifTag>();
306 ret
[all...]
/frameworks/compile/mclinker/lib/Support/Windows/
H A DFileSystem.inc90 ssize_t ret;
98 if (-1 == (ret = ::read(pFD, pBuf, pCount))) {
108 return ret;
112 ssize_t ret;
120 if (-1 == (ret = ::write(pFD, pBuf, pCount))) {
130 return ret;
/frameworks/native/services/surfaceflinger/tests/vsync/
H A Dvsync.cpp63 int32_t ret = loop->pollOnce(-1); local
64 switch (ret) {
78 printf("ugh? poll returned %d\n", ret);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DSimTlv.java78 byte[] ret = new byte[mCurDataLength];
79 System.arraycopy(mRecord, mCurDataOffset, ret, 0, mCurDataLength);
80 return ret;
/frameworks/rs/api/
H A Drs_io.spec28 ret: void
39 ret: void
49 ret: bool
64 ret: bool
72 ret: void
88 ret: void
H A Drs_graphics.spec188 ret: void
197 ret: bool
206 ret: void
215 ret: void
232 ret: void
241 ret: void
254 ret: void
269 ret: void
279 ret: void
291 ret
[all...]
H A Drs_convert.spec30 ret: #3#1
52 ret: #3#1
62 ret: #3#1
72 ret: #3#1
78 ret: uchar4
99 ret: uchar4
109 ret: uchar4
116 ret: uchar4
126 ret: float4
138 ret
[all...]
/frameworks/rs/
H A DrsSignal.cpp74 bool ret = false; local
97 ret = true;
111 return ret;
H A Drs.spec10 ret RsMessageToClientType
17 ret RsMessageToClientType
47 ret RsType
53 ret RsType
62 ret RsAllocation
71 ret RsAllocation
80 ret RsAllocation
86 ret RsNativeWindow
99 ret RsAllocation
139 ret RsElemen
[all...]
/frameworks/base/services/core/jni/
H A Dcom_android_server_fingerprint_FingerprintService.cpp78 status_t ret = service->addAuthToken(auth_token, auth_token_length); local
79 if (ret != ResponseCode::NO_ERROR) {
80 ALOGE("Falure sending auth token to KeyStore: %d", ret);
141 int ret = gContext.device->enroll(gContext.device, local
144 return reinterpret_cast<jint>(ret);
148 uint64_t ret = gContext.device->pre_enroll(gContext.device); local
149 // ALOG(LOG_VERBOSE, LOG_TAG, "nativePreEnroll(), result = %llx", ret);
150 return reinterpret_cast<jlong>((int64_t)ret);
155 int ret = gContext.device->cancel(gContext.device); local
156 return reinterpret_cast<jint>(ret);
161 int ret = gContext.device->authenticate(gContext.device, sessionId, groupId); local
167 int ret = gContext.device->cancel(gContext.device); local
176 int ret = gContext.device->remove(gContext.device, finger); local
[all...]
H A Dcom_android_server_AlarmManagerService.cpp246 int ret; local
257 ret = impl->setTime(&tv);
259 if(ret < 0) {
261 ret = -1;
263 return ret;
292 AlarmImpl *ret = new AlarmImplAlarmDriver(fd); local
293 return reinterpret_cast<jlong>(ret);
310 bool ret = false; local
318 ret = hctosys;
321 return ret;
381 AlarmImpl *ret = new AlarmImplTimerFd(fds, epollfd, wall_clock_rtc()); local
414 jlong ret = init_alarm_driver(); local
[all...]
/frameworks/av/media/mtp/
H A DMtpDataPacket.cpp424 int ret = ::read(fd, mBuffer, MTP_BUFFER_SIZE);
425 if (ret < MTP_CONTAINER_HEADER_SIZE)
427 mPacketSize = ret;
429 return ret;
435 int ret = ::write(fd, mBuffer, mPacketSize);
436 return (ret < 0 ? ret : 0);
445 int ret = ::write(fd, mBuffer, length);
446 return (ret < 0 ? ret
[all...]
H A DMtpDevice.cpp111 int ret = usb_device_control_transfer(device,
115 printf("usb_device_control_transfer returned %d errno: %d\n", ret, errno);
116 if (ret > 0) {
118 ret = usb_device_control_transfer(device,
121 printf("OS descriptor got %d\n", ret);
298 MtpResponseCode ret = readResponse();
299 if (ret == MTP_RESPONSE_SESSION_ALREADY_OPEN)
301 else if (ret != MTP_RESPONSE_OK)
322 MtpResponseCode ret = readResponse();
323 if (ret
415 MtpResponseCode ret = readResponse(); local
464 MtpResponseCode ret = readResponse(); local
497 MtpResponseCode ret = readResponse(); local
507 MtpResponseCode ret = readResponse(); local
792 int ret = mRequest.write(mRequestOut); local
801 int ret = mData.write(mRequestOut); local
808 int ret = mData.read(mRequestIn1); local
840 int ret = mResponse.read(mRequestIn1); local
[all...]
/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;
/frameworks/wilhelm/src/objects/
H A DCEngine.c151 predestroy_t ret; local
157 ret = predestroy_error;
160 ret = predestroy_ok;
164 ret = predestroy_again;
168 return ret;
/frameworks/av/media/libnbaio/
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)) {
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A DEvaluationTestBench.c46 H264SwDecRet ret; local
100 ret = H264SwDecInit(&decInst, 0);
101 if (ret != H264SWDEC_OK)
128 ret = H264SwDecDecode(decInst, &decInput, &decOutput);
130 switch(ret)
136 ret = H264SwDecGetInfo(decInst, &decInfo);
137 if (ret != H264SWDEC_OK)
/frameworks/base/core/java/android/emoji/
H A DEmojiFactory.java104 Bitmap ret = nativeGetBitmapFromAndroidPua(mNativeEmojiFactory, pua);
108 if (ret != null) {
109 mCache.put(pua, new WeakReference<Bitmap>(ret));
111 return ret;
115 Bitmap ret = nativeGetBitmapFromAndroidPua(mNativeEmojiFactory, pua);
116 mCache.put(pua, new WeakReference<Bitmap>(ret));
117 return ret;
/frameworks/base/core/java/android/net/
H A DPacProxySelector.java88 List<Proxy> ret = Lists.newArrayList();
92 ret.add(java.net.Proxy.NO_PROXY);
96 ret.add(proxy);
101 ret.add(proxy);
105 if (ret.size() == 0) {
106 ret.add(java.net.Proxy.NO_PROXY);
108 return ret;
/frameworks/base/tests/SerialChat/src/com/android/serialchat/
H A DSerialChat.java126 int ret = 0;
128 while (ret >= 0) {
132 ret = mSerialPort.read(mInputBuffer);
133 Log.d(TAG, "read returned " + ret);
134 mInputBuffer.get(buffer, 0, ret);
140 if (ret > 0) {
142 String text = new String(buffer, 0, ret);
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/
H A DVolume.java40 String ret = "Volume[" + mDimx + "," + mDimy + "," + mDimz + "]";
41 ret += "(" + mVoxelDim[0] + ", " + mVoxelDim[1] + ", " + mVoxelDim[2] + ")";
43 return ret;
102 int[] ret = new int[split.length];
103 for (int i = 0; i < ret.length; i++) {
104 ret[i] = Integer.decode(split[i].trim());
106 return ret;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
H A DSimulatedCommands.java765 int[] ret = new int[1];
767 ret[0] = mNextCallFailCause;
768 resultSuccess(result, ret);
801 int ret[] = new int[2];
803 ret[0] = 23;
804 ret[1] = 0;
806 resultSuccess(result, ret);
830 int ret[] = new int [4];
832 ret[0] = 4;
833 ret[
1476 resultSuccess(Message result, Object ret) argument
[all...]

Completed in 578 milliseconds

1234567891011>>