Home
last modified time | relevance | path

Searched refs:rv (Results 1 – 12 of 12) sorted by relevance

/libcore/ojluni/src/main/native/
DUnixFileSystem_md.c113 jstring rv = NULL; in Java_java_io_UnixFileSystem_canonicalize0() local
122 rv = newStringPlatform(env, canonicalPath); in Java_java_io_UnixFileSystem_canonicalize0()
124 rv = JNU_NewStringPlatform(env, canonicalPath); in Java_java_io_UnixFileSystem_canonicalize0()
128 return rv; in Java_java_io_UnixFileSystem_canonicalize0()
151 jint rv = 0; in Java_java_io_UnixFileSystem_getBooleanAttributes0() local
160 rv = (jint) (java_io_FileSystem_BA_EXISTS in Java_java_io_UnixFileSystem_getBooleanAttributes0()
165 return rv; in Java_java_io_UnixFileSystem_getBooleanAttributes0()
206 jboolean rv = JNI_FALSE; in Java_java_io_UnixFileSystem_setPermission0() local
239 rv = JNI_TRUE; in Java_java_io_UnixFileSystem_setPermission0()
243 return rv; in Java_java_io_UnixFileSystem_setPermission0()
[all …]
Dlinux_close.cpp68 int rv, orig_errno; in closefd() local
78 rv = close(fd2); in closefd()
80 rv = dup2(fd1, fd2); in closefd()
82 } while (rv == -1 && errno == EINTR); in closefd()
83 return rv; in closefd()
216 int rv; in NET_Timeout() local
229 rv = poll(&pfd, 1, timeout); in NET_Timeout()
239 if (rv < 0 && errno == EINTR) { in NET_Timeout()
250 return rv; in NET_Timeout()
DDatagramChannelImpl.c93 int rv; in Java_sun_nio_ch_DatagramChannelImpl_disconnect0() local
96 rv = connect(fd, 0, 0); in Java_sun_nio_ch_DatagramChannelImpl_disconnect0()
129 rv = connect(fd, (struct sockaddr *)&sa, len); in Java_sun_nio_ch_DatagramChannelImpl_disconnect0()
132 if (rv < 0 && errno == EADDRNOTAVAIL) in Java_sun_nio_ch_DatagramChannelImpl_disconnect0()
133 rv = errno = 0; in Java_sun_nio_ch_DatagramChannelImpl_disconnect0()
140 if (rv < 0 && errno == EAFNOSUPPORT) in Java_sun_nio_ch_DatagramChannelImpl_disconnect0()
141 rv = errno = 0; in Java_sun_nio_ch_DatagramChannelImpl_disconnect0()
146 if (rv < 0) in Java_sun_nio_ch_DatagramChannelImpl_disconnect0()
DUnixDomainSockets.c118 int rv = 0; in Java_sun_nio_ch_UnixDomainSockets_bind0() local
123 rv = bind(fdval(env, fdo), (struct sockaddr *)&sa, sa_len); in Java_sun_nio_ch_UnixDomainSockets_bind0()
124 if (rv != 0) { in Java_sun_nio_ch_UnixDomainSockets_bind0()
134 int rv; in Java_sun_nio_ch_UnixDomainSockets_connect0() local
140 rv = connect(fdval(env, fdo), (struct sockaddr *)&sa, sa_len); in Java_sun_nio_ch_UnixDomainSockets_connect0()
141 if (rv != 0) { in Java_sun_nio_ch_UnixDomainSockets_connect0()
Dio_util_md.c57 jstring rv = NULL; in newStringPlatform() local
72 rv = (*env)->NewString(env, (jchar*)chars, clen); in newStringPlatform()
78 return rv; in newStringPlatform()
Dnet_util_md.c982 int rv; in NET_GetSockOpt() local
985 rv = getsockopt(fd, level, opt, result, len); in NET_GetSockOpt()
989 rv = getsockopt(fd, level, opt, result, &socklen); in NET_GetSockOpt()
994 if (rv < 0) { in NET_GetSockOpt()
995 return rv; in NET_GetSockOpt()
1021 return rv; in NET_GetSockOpt()
1262 int rv; in NET_Bind() local
1322 rv = bind(fd, him, len); in NET_Bind()
1325 if (rv < 0) { in NET_Bind()
1337 return rv; in NET_Bind()
DNet.c316 int rv = 0; in Java_sun_nio_ch_Net_bind0() local
322 rv = NET_Bind(fdval(env, fdo), (struct sockaddr *)&sa, sa_len); in Java_sun_nio_ch_Net_bind0()
323 if (rv != 0) { in Java_sun_nio_ch_Net_bind0()
341 int rv; in Java_sun_nio_ch_Net_connect0() local
349 rv = connect(fdval(env, fdo), (struct sockaddr *)&sa, sa_len); in Java_sun_nio_ch_Net_connect0()
350 if (rv != 0) { in Java_sun_nio_ch_Net_connect0()
770 int rv; in Java_sun_nio_ch_Net_poll() local
773 rv = poll(&pfd, 1, timeout); in Java_sun_nio_ch_Net_poll()
775 if (rv >= 0) { in Java_sun_nio_ch_Net_poll()
DFileChannelImpl.c72 handle(JNIEnv *env, jlong rv, char *msg) in handle() argument
74 if (rv >= 0) in handle()
75 return rv; in handle()
DFileDispatcherImpl.c124 handle(JNIEnv *env, jlong rv, char *msg) in handle() argument
126 if (rv >= 0) in handle()
127 return rv; in handle()
/libcore/ojluni/src/main/java/sun/nio/ch/
DFileChannelImpl.java375 int rv = -1; in truncate() local
404 rv = nd.truncate(fd, newSize); in truncate()
405 } while ((rv == IOStatus.INTERRUPTED) && isOpen()); in truncate()
419 end(rv > -1); in truncate()
420 assert IOStatus.check(rv); in truncate()
427 int rv = -1; in force() local
435 rv = nd.force(fd, metaData); in force()
436 } while ((rv == IOStatus.INTERRUPTED) && isOpen()); in force()
439 end(rv > -1); in force()
440 assert IOStatus.check(rv); in force()
[all …]
/libcore/ojluni/src/main/java/java/io/
DUnixFileSystem.java305 int rv = getBooleanAttributes0(f.getPath()); in getBooleanAttributes() local
308 return rv | (hidden ? BA_HIDDEN : 0); in getBooleanAttributes()
/libcore/ojluni/src/test/java/util/SequencedCollection/
DBasicMap.java453 var rv = rmap.values(); in checkValues() local
455 assertTrue((rv == rsv) || ! (rv.equals(rsv) || rsv.equals(rv))); in checkValues()