/frameworks/rs/ |
H A D | spec.h | 31 VarType ret; member in struct:__anon1568
|
H A D | rsSignal.cpp | 73 bool ret = false; local 96 ret = true; 108 return ret;
|
H A D | rs.spec | 11 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 D | rsFifo.h | 39 void virtual writeWaitReturn(void *ret, size_t retSize) = 0;
|
H A D | spec.h | 31 VarType ret; member in struct:__anon1597
|
H A D | rsSignal.cpp | 73 bool ret = false; local 96 ret = true; 108 return ret;
|
H A D | rs.spec | 11 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 D | android_hardware_SerialPort.cpp | 178 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 D | android_hardware_UsbDeviceConnection.cpp | 96 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 D | android_os_SELinux.cpp | 155 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 D | vsync.cpp | 62 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 D | SimTlv.java | 78 byte[] ret = new byte[curDataLength]; 79 System.arraycopy(record, curDataOffset, ret, 0, curDataLength); 80 return ret;
|
/frameworks/av/media/mtp/ |
H A D | MtpDataPacket.cpp | 350 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 D | MtpDevice.cpp | 111 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 D | MtpServer.cpp | 159 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 D | PhoneNumberUtils.java | 215 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 D | CEngine.c | 151 predestroy_t ret; local 157 ret = predestroy_error; 160 ret = predestroy_ok; 164 ret = predestroy_again; 168 return ret;
|
/frameworks/compile/slang/ |
H A D | slang_rs_reflect_utils.cpp | 79 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 D | CdmaMmiCode.java | 103 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 D | AudioBufferProviderSource.cpp | 124 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 D | EvaluationTestBench.c | 46 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 D | EmojiFactory.java | 104 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 D | SerialChat.java | 126 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 D | Unicode.cpp | 169 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 D | SceneGraphView.java | 85 boolean ret = true; 88 ret = false; 92 return ret;
|