Searched defs:ret (Results 1 - 13 of 13) sorted by relevance

/libcore/luni/src/test/native/
H A Dlibcore_java_io_FileTest.cpp33 int ret = stat(subDir.c_str(), &sb); local
34 if (ret == -1) {
41 ret = stat(subFile.c_str(), &sb);
42 if (ret == -1) {
/libcore/ojluni/src/main/native/
H A DFileInputStream.c119 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 Dio_util.c42 char ret; local
48 nread = (jint)IO_Read(fd, &ret, 1);
56 return ret & 0xFF;
H A Djava_util_zip_Inflater.c120 int ret; local
139 ret = inflate(strm, Z_PARTIAL_FLUSH);
143 switch (ret) {
H A DInet6AddressImpl.c80 jstring ret = NULL; local
124 ret = (*env)->NewStringUTF(env, host);
129 if (ret == NULL) {
133 return ret;
H A DPlainSocketImpl.c661 int ret; local
671 ret = NET_Timeout(fd, -1);
673 ret = NET_Timeout(fd, timeout);
676 if (ret == 0) {
680 } else if (ret == JVM_IO_ERR) {
687 } else if (ret == JVM_IO_INTR) {
770 jint ret = -1; local
782 if (!JVM_SocketAvailable(fd, &ret)){
790 return ret;
H A DNetworkInterface.c392 int ret = getFlags0(env, name); local
393 return ((ret & IFF_UP) && (ret & IFF_RUNNING)) ? JNI_TRUE : JNI_FALSE;
402 int ret = getFlags0(env, name); local
403 return (ret & IFF_POINTOPOINT) ? JNI_TRUE : JNI_FALSE;
412 int ret = getFlags0(env, name); local
413 return (ret & IFF_LOOPBACK) ? JNI_TRUE : JNI_FALSE;
422 int ret = getFlags0(env, name); local
423 return (ret & IFF_MULTICAST) ? JNI_TRUE : JNI_FALSE;
434 int ret local
458 int ret, sock; local
[all...]
H A DPlainDatagramSocketImpl.c369 int ret, mallocedPacket = JNI_FALSE; local
467 ret = NET_SendTo(fd, fullPacket, packetBufferLen, 0,
470 if (ret < 0) {
471 switch (ret) {
523 int ret = NET_Timeout(fd, timeout); local
524 if (ret == 0) {
527 return ret;
528 } else if (ret == JVM_IO_ERR) {
534 return ret;
535 } else if (ret
625 int ret = NET_Timeout(fd, timeout); local
844 int ret = NET_Timeout(fd, timeout); local
[all...]
H A Dnet_util_md.c1125 int ret; local
1128 ret = setsockopt(fd, level, opt, arg, len);
1129 if ((ret == 0) || (ret == -1 && errno != ENOBUFS))
1130 return ret;
/libcore/ojluni/src/main/java/sun/misc/
H A DRegexpPool.java52 * @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/libart/src/main/java/java/lang/reflect/
H A DAbstractMethod.java241 GenericInfo(ListOfTypes exceptions, ListOfTypes parameters, Type ret, argument
245 genericReturnType = ret;
/libcore/luni/src/main/java/java/math/
H A DNativeBN.java42 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/luni/src/main/native/
H A Djava_math_NativeBN.cpp188 static void NativeBN_BN_bin2bn(JNIEnv* env, jclass, jbyteArray arr, int len, jboolean neg, jlong ret) { argument
189 if (!oneValidHandle(env, ret)) return;
194 BN_bin2bn(reinterpret_cast<const unsigned char*>(bytes.get()), len, toBigNum(ret));
196 BN_set_negative(toBigNum(ret), true);
209 BIGNUM* ret = toBigNum(ret0);
210 bn_check_top(ret);
222 if ((tmpInts != NULL) && (bn_wexpand(ret, wlen) != NULL)) {
225 ret->d[wlen - 1] = tmpInts[--len];
229 ret->d[i/2] = ((unsigned long long)tmpInts[i+1] << 32) | tmpInts[i];
233 int i = len; do { i--; ret
259 BIGNUM* ret = toBigNum(ret0); local
559 NativeBN_BN_mod_inverse(JNIEnv* env, jclass, jlong ret, jlong a, jlong n) argument
566 NativeBN_BN_generate_prime_ex(JNIEnv* env, jclass, jlong ret, int bits, jboolean safe, jlong add, jlong rem, jlong cb) argument
[all...]

Completed in 193 milliseconds