Searched refs:ret (Results 51 - 75 of 269) sorted by relevance

1234567891011

/frameworks/rs/
H A Dspec.h31 VarType ret; member in struct:__anon1568
H A DrsSignal.cpp73 bool ret = false; local
96 ret = true;
108 return ret;
H A Drs.spec11 ret RsMessageToClientType
18 ret RsMessageToClientType
37 ret RsType
46 ret RsAllocation
55 ret RsAllocation
64 ret RsAllocation
69 ret int32_t
161 ret RsElement
169 ret RsElement
264 ret RsSample
[all...]
/frameworks/support/renderscript/v8/rs_support/
H A DrsFifo.h39 void virtual writeWaitReturn(void *ret, size_t retSize) = 0;
H A Dspec.h31 VarType ret; member in struct:__anon1597
H A DrsSignal.cpp73 bool ret = false; local
96 ret = true;
108 return ret;
H A Drs.spec11 ret RsMessageToClientType
18 ret RsMessageToClientType
37 ret RsType
46 ret RsAllocation
55 ret RsAllocation
64 ret RsAllocation
99 ret RsElement
107 ret RsElement
202 ret RsSampler
284 ret RsScrip
[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...]
H A Dandroid_hardware_UsbDeviceConnection.cpp96 jbyteArray ret = env->NewByteArray(length);
97 if (ret) {
98 jbyte* bytes = (jbyte*)env->GetPrimitiveArrayCritical(ret, 0);
101 env->ReleasePrimitiveArrayCritical(ret, bytes, 0);
104 return ret;
117 int ret = usb_device_claim_interface(device, interfaceID); local
118 if (ret && force && errno == EBUSY) {
121 ret = usb_device_claim_interface(device, interfaceID);
123 return ret == 0;
134 int ret local
[all...]
H A Dandroid_os_SELinux.cpp155 int ret; local
156 if ((ret = setfscreatecon(securityContext)) == -1)
165 return (ret == 0) ? true : false;
201 int ret; local
202 if ((ret = setfilecon(objectPath, newCon)) == -1)
210 return (ret == 0) ? true : false;
343 int i, len, ret; local
381 int ret; local
386 ret = security_get_boolean_active(boolean_name);
388 return (ret
409 int ret; local
490 int ret = selinux_android_restorecon(file); local
[all...]
/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/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DSimTlv.java78 byte[] ret = new byte[curDataLength];
79 System.arraycopy(record, curDataOffset, ret, 0, curDataLength);
80 return ret;
/frameworks/av/media/mtp/
H A DMtpDataPacket.cpp350 int ret = ::read(fd, mBuffer, MTP_BUFFER_SIZE);
351 if (ret < MTP_CONTAINER_HEADER_SIZE)
353 mPacketSize = ret;
355 return ret;
361 int ret = ::write(fd, mBuffer, mPacketSize);
362 return (ret < 0 ? ret : 0);
371 int ret = ::write(fd, mBuffer, length);
372 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);
289 MtpResponseCode ret = readResponse();
290 if (ret == MTP_RESPONSE_SESSION_ALREADY_OPEN)
292 else if (ret != MTP_RESPONSE_OK)
313 MtpResponseCode ret = readResponse();
314 if (ret
400 MtpResponseCode ret = readResponse(); local
449 MtpResponseCode ret = readResponse(); local
482 MtpResponseCode ret = readResponse(); local
492 MtpResponseCode ret = readResponse(); local
773 int ret = mRequest.write(mRequestOut); local
782 int ret = mData.write(mRequestOut); local
789 int ret = mData.read(mRequestIn1); local
821 int ret = mResponse.read(mRequestIn1); local
[all...]
H A DMtpServer.cpp159 int ret = mRequest.read(fd); local
160 if (ret < 0) {
161 ALOGV("request read returned %d, errno: %d", ret, errno);
180 int ret = mData.read(fd); local
181 if (ret < 0) {
182 ALOGE("data read returned %d, errno: %d", ret, errno);
201 ret = mData.write(fd);
202 if (ret < 0) {
203 ALOGE("request write returned %d, errno: %d", ret, errno);
214 ret
269 int ret = mEvent.write(mFD); local
738 int ret = ioctl(mFD, MTP_SEND_FILE_WITH_HEADER, (unsigned long)&mfr); local
804 int ret = ioctl(mFD, MTP_SEND_FILE_WITH_HEADER, (unsigned long)&mfr); local
890 int ret = mkdir((const char *)path, mDirectoryPermission); local
917 int ret, initialData; local
1115 int ret = mData.read(mFD); local
[all...]
/frameworks/base/telephony/java/android/telephony/
H A DPhoneNumberUtils.java215 StringBuilder ret = new StringBuilder(len);
222 ret.append(digit);
225 String prefix = ret.toString();
227 ret.append(c);
230 ret.append(c);
236 return ret.toString();
254 StringBuilder ret = new StringBuilder(len);
266 ret.append(c);
272 return ret.toString();
285 StringBuilder ret
[all...]
/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/compile/slang/
H A Dslang_rs_reflect_utils.cpp79 char ret[256]; local
84 ret[i] = tolower(*slash);
86 ret[i] = *slash;
91 ret[i] = 0;
92 return string(ret);
219 bool ret = true; local
224 ret = GenerateJavaCodeAccessorMethod(context, pfout);
227 ret = false;
233 return ret;
264 bool ret local
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaMmiCode.java103 CdmaMmiCode ret = null;
109 ret = new CdmaMmiCode(phone);
110 ret.poundString = makeEmptyNull(m.group(MATCH_GROUP_POUND_STRING));
111 ret.action = makeEmptyNull(m.group(MATCH_GROUP_ACTION));
112 ret.sc = makeEmptyNull(m.group(MATCH_GROUP_SERVICE_CODE));
113 ret.sia = makeEmptyNull(m.group(MATCH_GROUP_SIA));
114 ret.sib = makeEmptyNull(m.group(MATCH_GROUP_SIB));
115 ret.sic = makeEmptyNull(m.group(MATCH_GROUP_SIC));
116 ret.pwd = makeEmptyNull(m.group(MATCH_GROUP_PWD_CONFIRM));
117 ret
[all...]
/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/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/native/libs/utils/
H A DUnicode.cpp169 int32_t ret = utf32_at_internal(src + index, &num_read); local
170 if (ret >= 0) {
174 return ret;
183 size_t ret = 0; local
186 ret += utf32_codepoint_utf8_length(*src++);
188 return ret;
366 size_t ret = 0; local
370 ret += 1;
401 ret += num_to_read;
403 return ret;
412 size_t ret = 0; local
452 size_t ret = 0; local
[all...]
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
H A DSceneGraphView.java85 boolean ret = true;
88 ret = false;
92 return ret;

Completed in 423 milliseconds

1234567891011