/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/ |
H A D | ArrayTest.java | 32 Object ret = null; 35 ret = Array.get(x, 0); 40 1, ((Integer) ret).intValue()); 42 ret = Array.get(new Object(), 0); 52 ret = Array.get(x, 4); 63 ret = null; 66 ret = Array.get(y, 0); 71 1, ((Integer) ret).intValue()); 73 ret = Array.get(new Object(), 0); 83 ret [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/support/ |
H A D | P.java | 17 String ret = null; 20 ret = (String)b.getObject(key); 23 if (ret == null && !cls.equals(Object.class) && !cls.isPrimitive()) { 24 ret = findProp(cls.getSuperclass(), key); 26 return ret;
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/support/ |
H A D | P.java | 34 String ret = null; 37 ret = (String) b.getObject(key); 40 if (ret == null && !cls.equals(Object.class) && !cls.isPrimitive()) { 41 ret = findProp(cls.getSuperclass(), key); 43 return ret;
|
/libcore/luni/src/test/native/ |
H A D | libcore_java_io_FileTest.cpp | 37 int ret = stat(subDir.c_str(), &sb); local 38 if (ret == -1) { 45 ret = stat(subFile.c_str(), &sb); 46 if (ret == -1) { 73 long ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); local 75 return ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &prog);
|
/libcore/luni/src/main/java/java/math/ |
H A D | NativeBN.java | 42 public static native void BN_bin2bn(byte[] s, int len, boolean neg, long ret); argument 43 // BIGNUM * BN_bin2bn(const unsigned char *s, int len, BIGNUM *ret); 47 public static native void litEndInts2bn(int[] ints, int len, boolean neg, long ret); argument 49 public static native void twosComp2bn(byte[] s, int len, long ret); argument 118 public static native void BN_mod_inverse(long ret, long a, long n); argument 119 // BIGNUM * BN_mod_inverse(BIGNUM *ret, const BIGNUM *a, const BIGNUM *n, BN_CTX *ctx); 122 public static native void BN_generate_prime_ex(long ret, int bits, boolean safe, argument 124 // int BN_generate_prime_ex(BIGNUM *ret, int bits, int safe,
|
/libcore/ojluni/src/main/native/ |
H A D | NativeThread.c | 94 int ret; local 96 ret = thr_kill((thread_t)thread, INTERRUPT_SIGNAL); 98 ret = pthread_kill((pthread_t)thread, INTERRUPT_SIGNAL); 100 if (ret != 0)
|
H A D | FileInputStream.c | 119 jlong ret; local 125 if (available(fd, &ret)) { 126 if (ret > INT_MAX) { 127 ret = (jlong) INT_MAX; 129 return jlong_to_jint(ret);
|
H A D | java_util_zip_Inflater.c | 70 int ret = inflateInit2(strm, nowrap ? -MAX_WBITS : MAX_WBITS); local 71 switch (ret) { 80 (ret == Z_VERSION_ERROR) ? 83 (ret == Z_STREAM_ERROR) ? 127 int ret; local 146 ret = inflate(strm, Z_PARTIAL_FLUSH); 150 switch (ret) {
|
H A D | linux_close.cpp | 110 int ret; \ 116 ret = FUNC; \ 121 } while (ret == -1 && errno == EINTR); \ 122 return ret; \
|
H A D | io_util.c | 42 char ret; local 48 nread = (jint)IO_Read(fd, &ret, 1); 56 return ret & 0xFF;
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
H A D | AbstractBufferTest.java | 51 Buffer ret = baseBuf.clear(); 52 assertSame(ret, baseBuf); 72 Buffer ret = baseBuf.flip(); 73 assertSame(ret, baseBuf); 122 Buffer ret = baseBuf.limit(baseBuf.limit()); 123 assertSame(ret, baseBuf); 172 Buffer ret = baseBuf.mark(); 173 assertSame(ret, baseBuf); 244 Buffer ret = baseBuf.position(0); 245 assertSame(ret, baseBu [all...] |
H A D | DoubleBufferTest.java | 137 DoubleBuffer ret = buf.compact(); 138 assertSame(ret, buf); 153 ret = buf.compact(); 154 assertSame(ret, buf); 170 ret = buf.compact(); 171 assertSame(ret, buf); 291 DoubleBuffer ret = buf.get(array); 293 assertSame(ret, buf); 364 DoubleBuffer ret = buf.get(array, 0, array.length); 367 assertSame(ret, bu [all...] |
H A D | FloatBufferTest.java | 114 FloatBuffer ret = buf.compact(); 115 assertSame(ret, buf); 130 ret = buf.compact(); 131 assertSame(ret, buf); 147 ret = buf.compact(); 148 assertSame(ret, buf); 281 FloatBuffer ret = buf.get(array); 283 assertSame(ret, buf); 362 FloatBuffer ret = buf.get(array, 0, array.length); 365 assertSame(ret, bu [all...] |
H A D | IntBufferTest.java | 113 IntBuffer ret = buf.compact(); 114 assertSame(ret, buf); 129 ret = buf.compact(); 130 assertSame(ret, buf); 146 ret = buf.compact(); 147 assertSame(ret, buf); 261 IntBuffer ret = buf.get(array); 263 assertSame(ret, buf); 340 IntBuffer ret = buf.get(array, 0, array.length); 343 assertSame(ret, bu [all...] |
H A D | LongBufferTest.java | 113 LongBuffer ret = buf.compact(); 114 assertSame(ret, buf); 129 ret = buf.compact(); 130 assertSame(ret, buf); 146 ret = buf.compact(); 147 assertSame(ret, buf); 261 LongBuffer ret = buf.get(array); 263 assertSame(ret, buf); 341 LongBuffer ret = buf.get(array, 0, array.length); 344 assertSame(ret, bu [all...] |
H A D | ShortBufferTest.java | 112 ShortBuffer ret = buf.compact(); 113 assertSame(ret, buf); 128 ret = buf.compact(); 129 assertSame(ret, buf); 145 ret = buf.compact(); 146 assertSame(ret, buf); 260 ShortBuffer ret = buf.get(array); 262 assertSame(ret, buf); 327 ShortBuffer ret = buf.get(array, 0, array.length); 330 assertSame(ret, bu [all...] |
H A D | CharBufferTest.java | 142 CharBuffer ret = buf.compact(); 143 assertSame(ret, buf); 158 ret = buf.compact(); 159 assertSame(ret, buf); 175 ret = buf.compact(); 176 assertSame(ret, buf); 323 CharBuffer ret = buf.get(array); 325 assertSame(ret, buf); 396 CharBuffer ret = buf.get(array, 0, array.length); 399 assertSame(ret, bu [all...] |
/libcore/luni/src/test/java/libcore/java/io/ |
H A D | OldAndroidPipedStreamTest.java | 122 int ret; 127 ret = in.read(readBytes, nread, readBytes.length - nread); 129 if (ret == -1) { 132 nread += ret; 205 int ret; 210 ret = in.read(readBytes, nread, readBytes.length - nread); 212 if (ret == -1) { 215 nread += ret; 284 int ret = n1 + n2; 286 n1 = ret; [all...] |
/libcore/luni/src/main/native/ |
H A D | java_math_NativeBN.cpp | 175 static void NativeBN_BN_bin2bn(JNIEnv* env, jclass, jbyteArray arr, int len, jboolean neg, jlong ret) { argument 176 if (!oneValidHandle(env, ret)) return; 181 if (!BN_bin2bn(reinterpret_cast<const unsigned char*>(bytes.get()), len, toBigNum(ret))) { 186 BN_set_negative(toBigNum(ret), neg); 191 BIGNUM* ret = toBigNum(ret0); 204 if (!BN_le2bn(tmpBytes, numBytes, ret)) { 208 BN_set_negative(ret, neg); 213 BIGNUM* ret = toBigNum(ret0); 221 BN_zero(ret); 227 if (!BN_bin2bn(bytesTmp, bytesLen, ret)) { 497 NativeBN_BN_mod_inverse(JNIEnv* env, jclass, jlong ret, jlong a, jlong n) argument 505 NativeBN_BN_generate_prime_ex(JNIEnv* env, jclass, jlong ret, int bits, jboolean safe, jlong add, jlong rem) argument [all...] |
/libcore/luni/src/test/java/libcore/java/lang/invoke/ |
H A D | MethodHandleCombinersTest.java | 892 int ret = (int) mhAsSpreader.invoke("a", "b", "c", new String[]{}); 893 assertEquals(42, ret); 896 ret = (int) mhAsSpreader.invoke("a", "b", new String[]{"c"}); 897 assertEquals(42, ret); 900 ret = (int) mhAsSpreader.invoke("a", new String[]{"b", "c"}); 901 assertEquals(42, ret); 904 ret = (int) mhAsSpreader.invoke(new String[]{"a", "b", "c"}); 905 assertEquals(42, ret); 918 ret = (int) mhAsSpreader.invoke(new String[]{"a", "b"}); 924 ret [all...] |
/libcore/ojluni/src/test/java/time/test/java/time/format/ |
H A D | TestZoneTextPrinterParser.java | 196 String ret = fmt.parse(text, TemporalQueries.zone()).getId(); 201 text, ret, expected); 203 assertEquals(ret, expected); 232 String ret = fmt.parse(text, TemporalQueries.zone()).getId(); 235 if (ret.equals(expected) || 236 ret.equals(zid) || 237 ret.equals(ZoneName.toZid(zid)) || 238 ret.equals(expected.replace("UTC", "UCT"))) { 245 zid, text, ret, expected);
|
/libcore/ojluni/src/main/java/sun/misc/ |
H A D | RegexpPool.java | 52 * @param ret The object to be returned when this regular expression is 53 matched. If ret is an instance of the RegexpTarget class, ret.found 58 public void add(String re, Object ret) throws REException { argument 59 add(re, ret, false); 69 * @param ret The object to be returned when this regular expression is 70 * matched. If ret is an instance of the RegexpTarget class, ret.found 74 public void replace(String re, Object ret) { argument 76 add(re, ret, tru 165 add(String re, Object ret, boolean replace) argument [all...] |
/libcore/ojluni/src/main/java/java/io/ |
H A D | StreamTokenizer.java | 794 String ret; 797 ret = "EOF"; 800 ret = "EOL"; 803 ret = sval; 806 ret = "n=" + nval; 809 ret = "NOTHING"; 820 ret = sval; 827 ret = new String(s); 831 return "Token[" + ret + "], line " + LINENO;
|
H A D | PipedReader.java | 267 int ret = buffer[out++]; 275 return ret;
|
/libcore/ojluni/src/main/java/javax/crypto/ |
H A D | ExemptionMechanism.java | 259 boolean ret = false; 263 ret = keyStored.equals(key); 265 return ret;
|