/dalvik/libcore/luni/src/test/java/tests/api/java/lang/reflect/ |
D | ArrayTest.java | 44 Object ret = null; in test_getLjava_lang_ObjectI() local 47 ret = Array.get(x, 0); in test_getLjava_lang_ObjectI() 52 1, ((Integer) ret).intValue()); in test_getLjava_lang_ObjectI() 54 ret = Array.get(new Object(), 0); in test_getLjava_lang_ObjectI() 64 ret = Array.get(x, 4); in test_getLjava_lang_ObjectI() 75 ret = null; in test_getLjava_lang_ObjectI() 78 ret = Array.get(y, 0); in test_getLjava_lang_ObjectI() 83 1, ((Integer) ret).intValue()); in test_getLjava_lang_ObjectI() 85 ret = Array.get(new Object(), 0); in test_getLjava_lang_ObjectI() 95 ret = Array.get(y, 4); in test_getLjava_lang_ObjectI() [all …]
|
/dalvik/libcore/luni/src/test/java/tests/api/java/util/support/ |
D | P.java | 17 String ret = null; in findProp() local 20 ret = (String)b.getObject(key); in findProp() 23 if (ret == null && !cls.equals(Object.class) && !cls.isPrimitive()) { in findProp() 24 ret = findProp(cls.getSuperclass(), key); in findProp() 26 return ret; in findProp()
|
/dalvik/libcore/security/src/main/java/java/security/spec/ |
D | EncodedKeySpec.java | 54 byte[] ret = new byte[encodedKey.length]; in getEncoded() 55 System.arraycopy(encodedKey, 0, ret, 0, ret.length); in getEncoded() 56 return ret; in getEncoded()
|
D | RSAMultiPrimePrivateCrtKeySpec.java | 160 RSAOtherPrimeInfo[] ret = in getOtherPrimeInfo() local 162 System.arraycopy(otherPrimeInfo, 0, ret, 0, ret.length); in getOtherPrimeInfo() 163 return ret; in getOtherPrimeInfo()
|
D | EllipticCurve.java | 166 byte[] ret = new byte[seed.length]; in getSeed() 167 System.arraycopy(seed, 0, ret, 0, ret.length); in getSeed() 168 return ret; in getSeed()
|
D | ECFieldF2m.java | 250 int[] ret = new int[ks.length]; in getMidTermsOfReductionPolynomial() local 251 System.arraycopy(ks, 0, ret, 0, ret.length); in getMidTermsOfReductionPolynomial() 252 return ret; in getMidTermsOfReductionPolynomial()
|
/dalvik/libcore/sql/src/main/java/SQLite/ |
D | Blob.java | 39 int ret = blob.size - pos; in available() local 40 return (ret < 0) ? 0 : ret; in available() 81 long ret = pos + n; in skip() local 82 if (ret < 0) { in skip() 83 ret = 0; in skip() 85 } else if (ret > blob.size) { in skip() 86 ret = blob.size; in skip() 89 pos = (int) ret; in skip() 91 return ret; in skip()
|
D | Database.java | 208 TableResult ret = new TableResult(); in get_table() local 210 exec(sql, ret); in get_table() 216 while (vm.step(ret)) { in get_table() 222 return ret; in get_table() 236 TableResult ret = new TableResult(); in get_table() local 238 exec(sql, ret, args); in get_table() 244 while (vm.step(ret)) { in get_table() 250 return ret; in get_table()
|
/dalvik/libcore/x-net/src/main/native/ |
D | org_apache_harmony_xnet_provider_jsse_OpenSSLServerSocketImpl.cpp | 173 jobjectArray ret; in org_apache_harmony_xnet_provider_jsse_OpenSSLServerSocketImpl_getsupportedciphersuites() local 181 ret= (jobjectArray)env->NewObjectArray(5, in org_apache_harmony_xnet_provider_jsse_OpenSSLServerSocketImpl_getsupportedciphersuites() 190 ret = (jobjectArray)env->NewObjectArray(i, in org_apache_harmony_xnet_provider_jsse_OpenSSLServerSocketImpl_getsupportedciphersuites() 198 env->SetObjectArrayElement(ret,i,env->NewStringUTF(c)); in org_apache_harmony_xnet_provider_jsse_OpenSSLServerSocketImpl_getsupportedciphersuites() 201 return ret; in org_apache_harmony_xnet_provider_jsse_OpenSSLServerSocketImpl_getsupportedciphersuites() 213 jobjectArray ret; in org_apache_harmony_xnet_provider_jsse_OpenSSLServerSocketImpl_getenabledciphersuites() local 225 ret = (jobjectArray)env->NewObjectArray(i, in org_apache_harmony_xnet_provider_jsse_OpenSSLServerSocketImpl_getenabledciphersuites() 233 env->SetObjectArrayElement(ret,i,env->NewStringUTF(c)); in org_apache_harmony_xnet_provider_jsse_OpenSSLServerSocketImpl_getenabledciphersuites() 236 return ret; in org_apache_harmony_xnet_provider_jsse_OpenSSLServerSocketImpl_getenabledciphersuites() 247 int ret; in org_apache_harmony_xnet_provider_jsse_OpenSSLServerSocketImpl_setenabledciphersuites() local [all …]
|
D | org_apache_harmony_xnet_provider_jsse_OpenSSLSocketImpl.cpp | 129 int ret; in throwIOExceptionWithSslErrors() local 193 ret = asprintf(&str, "%s\n%s (%s:%d %p:0x%08x)", in throwIOExceptionWithSslErrors() 201 if (ret < 0) { in throwIOExceptionWithSslErrors() 1040 int ret = SSL_CTX_use_certificate(ssl_ctx, certificatesx509); in org_apache_harmony_xnet_provider_jsse_OpenSSLSocketImpl_init() local 1041 if (ret != 1) { in org_apache_harmony_xnet_provider_jsse_OpenSSLSocketImpl_init() 1042 throwIOExceptionWithSslErrors(env, ret, 0, in org_apache_harmony_xnet_provider_jsse_OpenSSLSocketImpl_init() 1050 ret = SSL_CTX_use_PrivateKey(ssl_ctx, privatekeyevp); in org_apache_harmony_xnet_provider_jsse_OpenSSLSocketImpl_init() 1051 if (ret != 1) { in org_apache_harmony_xnet_provider_jsse_OpenSSLSocketImpl_init() 1052 throwIOExceptionWithSslErrors(env, ret, 0, in org_apache_harmony_xnet_provider_jsse_OpenSSLSocketImpl_init() 1060 ret = SSL_CTX_check_private_key(ssl_ctx); in org_apache_harmony_xnet_provider_jsse_OpenSSLSocketImpl_init() [all …]
|
/dalvik/libcore/security/src/main/java/java/security/cert/ |
D | PolicyQualifierInfo.java | 77 byte[] ret = new byte[encoded.length]; in getEncoded() 78 System.arraycopy(encoded, 0, ret, 0, encoded.length); in getEncoded() 79 return ret; in getEncoded() 104 byte[] ret = new byte[policyQualifier.length]; in getPolicyQualifier() 105 System.arraycopy(policyQualifier, 0, ret, 0, policyQualifier.length); in getPolicyQualifier() 106 return ret; in getPolicyQualifier()
|
/dalvik/libnativehelper/ |
D | JNIHelp.c | 68 char* ret; in jniThrowIOException() local 71 ret = (char*) strerror_r(errnum, buffer, sizeof(buffer)); in jniThrowIOException() 73 if (((int)ret) == 0) { in jniThrowIOException() 76 } else if (((int)ret) == -1) { in jniThrowIOException() 83 message = ret; in jniThrowIOException()
|
/dalvik/dx/src/com/android/dx/rop/code/ |
D | LocalItem.java | 92 int ret; in compareTo() local 94 ret = compareHandlesNulls(name, local.name); in compareTo() 96 if (ret != 0) { in compareTo() 97 return ret; in compareTo() 100 ret = compareHandlesNulls(signature, local.signature); in compareTo() 102 return ret; in compareTo()
|
/dalvik/vm/native/ |
D | org_apache_harmony_dalvik_ddmc_DdmVmInternal.c | 63 bool ret; in Dalvik_org_apache_harmony_dalvik_ddmc_DdmVmInternal_heapInfoNotify() local 65 ret = dvmDdmHandleHpifChunk(when); in Dalvik_org_apache_harmony_dalvik_ddmc_DdmVmInternal_heapInfoNotify() 66 RETURN_BOOLEAN(ret); in Dalvik_org_apache_harmony_dalvik_ddmc_DdmVmInternal_heapInfoNotify() 81 bool ret; in Dalvik_org_apache_harmony_dalvik_ddmc_DdmVmInternal_heapSegmentNotify() local 83 ret = dvmDdmHandleHpsgNhsgChunk(when, what, native); in Dalvik_org_apache_harmony_dalvik_ddmc_DdmVmInternal_heapSegmentNotify() 84 RETURN_BOOLEAN(ret); in Dalvik_org_apache_harmony_dalvik_ddmc_DdmVmInternal_heapSegmentNotify()
|
/dalvik/libcore/crypto/src/test/java/org/apache/harmony/crypto/tests/support/ |
D | EncryptedPrivateKeyInfoData.java | 1198 byte[] ret = includingAlgParameters ? validEPKIEncodings in getValidEncryptedPrivateKeyInfoEncoding() 1200 if (ret != null) { in getValidEncryptedPrivateKeyInfoEncoding() 1201 return ret.clone(); in getValidEncryptedPrivateKeyInfoEncoding() 1221 byte[] ret = validAPEncodings.get(algNameUC); in getParametersEncoding() 1222 if (ret != null) { in getParametersEncoding() 1223 return ret; in getParametersEncoding()
|
/dalvik/vm/hprof/ |
D | HprofHeap.c | 64 hprof_basic_type ret; in signatureToBasicTypeAndSize() local 69 case 'L': ret = hprof_basic_object; size = 4; break; in signatureToBasicTypeAndSize() 70 case 'Z': ret = hprof_basic_boolean; size = 1; break; in signatureToBasicTypeAndSize() 71 case 'C': ret = hprof_basic_char; size = 2; break; in signatureToBasicTypeAndSize() 72 case 'F': ret = hprof_basic_float; size = 4; break; in signatureToBasicTypeAndSize() 73 case 'D': ret = hprof_basic_double; size = 8; break; in signatureToBasicTypeAndSize() 74 case 'B': ret = hprof_basic_byte; size = 1; break; in signatureToBasicTypeAndSize() 75 case 'S': ret = hprof_basic_short; size = 2; break; in signatureToBasicTypeAndSize() 77 case 'I': ret = hprof_basic_int; size = 4; break; in signatureToBasicTypeAndSize() 78 case 'J': ret = hprof_basic_long; size = 8; break; in signatureToBasicTypeAndSize() [all …]
|
/dalvik/libcore/luni/src/main/java/java/lang/ref/ |
D | ReferenceQueue.java | 55 Reference<? extends T> ret; in poll() local 57 ret = head; in poll() 65 ret.queueNext = null; in poll() 67 return ret; in poll()
|
/dalvik/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/ |
D | AbstractBufferTest.java | 71 Buffer ret = baseBuf.clear(); in testClear() local 72 assertSame(ret, baseBuf); in testClear() 100 Buffer ret = baseBuf.flip(); in testFlip() local 101 assertSame(ret, baseBuf); in testFlip() 173 Buffer ret = baseBuf.limit(baseBuf.limit()); 174 assertSame(ret, baseBuf); 228 Buffer ret = baseBuf.mark(); 229 assertSame(ret, baseBuf); 312 Buffer ret = baseBuf.position(0); 313 assertSame(ret, baseBuf); [all …]
|
/dalvik/libcore/luni/src/main/java/java/net/ |
D | Proxy.java | 147 int ret = 0; in hashCode() local 148 ret += type.hashCode(); in hashCode() 150 ret += address.hashCode(); in hashCode() 152 return ret; in hashCode()
|
/dalvik/libcore/openssl/src/main/java/org/openssl/ |
D | NativeBN.java | 56 public static native boolean BN_bin2bn(byte[] s, int len, boolean neg, int ret); in BN_bin2bn() argument 62 public static native boolean litEndInts2bn(int[] ints, int len, boolean neg, int ret); in litEndInts2bn() argument 64 public static native boolean twosComp2bn(byte[] s, int len, int ret); in twosComp2bn() argument 165 public static native boolean BN_mod_inverse(int ret, int a, int n, int ctx); in BN_mod_inverse() argument 170 public static native boolean BN_generate_prime_ex(int ret, int bits, boolean safe, in BN_generate_prime_ex() argument
|
/dalvik/libcore/openssl/src/main/native/ |
D | BNInterface.c | 201 …n NativeBN_BN_bin2bn(JNIEnv* env, jclass cls, jbyteArray arr, int len, jboolean neg, BIGNUM* ret) { in NativeBN_BN_bin2bn() argument 202 if (!oneValidHandle(env, ret)) return FALSE; in NativeBN_BN_bin2bn() 207 success = (BN_bin2bn(tmpBytes, len, ret) != NULL); in NativeBN_BN_bin2bn() 209 BN_set_negative(ret, 1); in NativeBN_BN_bin2bn() 225 …ativeBN_litEndInts2bn(JNIEnv* env, jclass cls, jintArray arr, int len, jboolean neg, BIGNUM* ret) { in NativeBN_litEndInts2bn() argument 226 if (!oneValidHandle(env, ret)) return FALSE; in NativeBN_litEndInts2bn() 227 bn_check_top(ret); in NativeBN_litEndInts2bn() 231 if ((tmpInts != NULL) && (bn_wexpand(ret, len) != NULL)) { in NativeBN_litEndInts2bn() 232 int i = len; do { i--; ret->d[i] = tmpInts[i]; } while (i > 0); in NativeBN_litEndInts2bn() 234 ret->top = len; in NativeBN_litEndInts2bn() [all …]
|
/dalvik/libcore/sql/src/main/native/ |
D | sqlite_jni.c | 246 jobject ret = 0; in globrefpop() local 249 ret = *obj; in globrefpop() 252 return ret; in globrefpop() 412 int ret = 0; in busyhandler() local 421 return ret; in busyhandler() 424 ret = (*env)->CallBooleanMethod(env, h->bh, mid, tabstr.jstr, in busyhandler() 429 return ret; in busyhandler() 439 int ret = 0; in busyhandler3() local 447 return ret; in busyhandler3() 449 ret = (*env)->CallBooleanMethod(env, h->bh, mid, 0, (jint) count) in busyhandler3() [all …]
|
/dalvik/libcore/security/src/main/java/java/security/ |
D | SecureRandom.java | 322 int ret = 0; in next() local 326 ret = (next[i] & 0xFF) | (ret << 8); in next() 328 ret = ret >>> (bytes*8 - numBits); in next() 329 return ret; in next()
|
/dalvik/libcore/sql/src/main/java/SQLite/JDBC2y/ |
D | JDBCStatement.java | 171 int[] ret = new int[batch.size()]; in executeBatch() local 172 for (int i = 0; i < ret.length; i++) { in executeBatch() 173 ret[i] = EXECUTE_FAILED; in executeBatch() 176 for (int i = 0; i < ret.length; i++) { in executeBatch() 179 ret[i] = updcnt; in executeBatch() 185 throw new BatchUpdateException("batch failed", ret); in executeBatch() 187 return ret; in executeBatch()
|
/dalvik/libcore/luni/src/main/native/ |
D | java_io_FileDescriptor.c | 147 jobject ret; in jniCreateFileDescriptor() local 154 ret = (*env)->NewObject(env, gCachedFields.clazz, in jniCreateFileDescriptor() 157 (*env)->SetIntField(env, ret, gCachedFields.descriptor, fd); in jniCreateFileDescriptor() 159 return ret; in jniCreateFileDescriptor()
|