Home
last modified time | relevance | path

Searched refs:ret (Results 1 – 25 of 80) sorted by relevance

1234

/dalvik/libcore/luni/src/test/java/tests/api/java/lang/reflect/
DArrayTest.java44 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/
DP.java17 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/
DEncodedKeySpec.java54 byte[] ret = new byte[encodedKey.length]; in getEncoded()
55 System.arraycopy(encodedKey, 0, ret, 0, ret.length); in getEncoded()
56 return ret; in getEncoded()
DRSAMultiPrimePrivateCrtKeySpec.java160 RSAOtherPrimeInfo[] ret = in getOtherPrimeInfo() local
162 System.arraycopy(otherPrimeInfo, 0, ret, 0, ret.length); in getOtherPrimeInfo()
163 return ret; in getOtherPrimeInfo()
DEllipticCurve.java166 byte[] ret = new byte[seed.length]; in getSeed()
167 System.arraycopy(seed, 0, ret, 0, ret.length); in getSeed()
168 return ret; in getSeed()
DECFieldF2m.java250 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/
DBlob.java39 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()
DDatabase.java208 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/
Dorg_apache_harmony_xnet_provider_jsse_OpenSSLServerSocketImpl.cpp173 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 …]
Dorg_apache_harmony_xnet_provider_jsse_OpenSSLSocketImpl.cpp129 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/
DPolicyQualifierInfo.java77 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/
DJNIHelp.c68 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/
DLocalItem.java92 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/
Dorg_apache_harmony_dalvik_ddmc_DdmVmInternal.c63 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/
DEncryptedPrivateKeyInfoData.java1198 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/
DHprofHeap.c64 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/
DReferenceQueue.java55 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/
DAbstractBufferTest.java71 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/
DProxy.java147 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/
DNativeBN.java56 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/
DBNInterface.c201 …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/
Dsqlite_jni.c246 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/
DSecureRandom.java322 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/
DJDBCStatement.java171 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/
Djava_io_FileDescriptor.c147 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()

1234