/libcore/ojluni/src/main/native/ |
D | UnixFileSystem_md.c | 87 jstring rv = NULL; in Java_java_io_UnixFileSystem_canonicalize0() local 96 rv = newStringPlatform(env, canonicalPath); in Java_java_io_UnixFileSystem_canonicalize0() 98 rv = JNU_NewStringPlatform(env, canonicalPath); in Java_java_io_UnixFileSystem_canonicalize0() 102 return rv; in Java_java_io_UnixFileSystem_canonicalize0() 125 jint rv = 0; in Java_java_io_UnixFileSystem_getBooleanAttributes0() local 134 rv = (jint) (java_io_FileSystem_BA_EXISTS in Java_java_io_UnixFileSystem_getBooleanAttributes0() 139 return rv; in Java_java_io_UnixFileSystem_getBooleanAttributes0() 180 jboolean rv = JNI_FALSE; in Java_java_io_UnixFileSystem_setPermission0() local 213 rv = JNI_TRUE; in Java_java_io_UnixFileSystem_setPermission0() 217 return rv; in Java_java_io_UnixFileSystem_setPermission0() [all …]
|
D | linux_close.cpp | 67 int rv, orig_errno; in closefd() local 77 rv = close(fd2); in closefd() 79 rv = dup2(fd1, fd2); in closefd() 81 } while (rv == -1 && errno == EINTR); in closefd() 82 return rv; in closefd() 215 int rv; in NET_Timeout() local 228 rv = poll(&pfd, 1, timeout); in NET_Timeout() 238 if (rv < 0 && errno == EINTR) { in NET_Timeout() 249 return rv; in NET_Timeout()
|
D | DatagramChannelImpl.c | 93 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()
|
D | io_util_md.c | 48 jstring rv = NULL; in newStringPlatform() local 63 rv = (*env)->NewString(env, (jchar*)chars, clen); in newStringPlatform() 69 return rv; in newStringPlatform()
|
D | net_util_md.c | 982 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() 1261 int rv; in NET_Bind() local 1321 rv = bind(fd, him, len); in NET_Bind() 1324 if (rv < 0) { in NET_Bind() 1336 return rv; in NET_Bind()
|
D | Net.c | 320 int rv = 0; in Java_sun_nio_ch_Net_bind0() local 326 rv = NET_Bind(fdval(env, fdo), (struct sockaddr *)&sa, sa_len); in Java_sun_nio_ch_Net_bind0() 327 if (rv != 0) { in Java_sun_nio_ch_Net_bind0() 345 int rv; in Java_sun_nio_ch_Net_connect0() local 353 rv = connect(fdval(env, fdo), (struct sockaddr *)&sa, sa_len); in Java_sun_nio_ch_Net_connect0() 354 if (rv != 0) { in Java_sun_nio_ch_Net_connect0() 774 int rv; in Java_sun_nio_ch_Net_poll() local 777 rv = poll(&pfd, 1, timeout); in Java_sun_nio_ch_Net_poll() 779 if (rv >= 0) { in Java_sun_nio_ch_Net_poll()
|
D | FileChannelImpl.c | 72 handle(JNIEnv *env, jlong rv, char *msg) in handle() argument 74 if (rv >= 0) in handle() 75 return rv; in handle()
|
D | FileDispatcherImpl.c | 124 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/ |
D | FileChannelImpl.java | 377 int rv = -1; in truncate() local 406 rv = nd.truncate(fd, newSize); in truncate() 407 } while ((rv == IOStatus.INTERRUPTED) && isOpen()); in truncate() 421 end(rv > -1); in truncate() 422 assert IOStatus.check(rv); in truncate() 429 int rv = -1; in force() local 437 rv = nd.force(fd, metaData); in force() 438 } while ((rv == IOStatus.INTERRUPTED) && isOpen()); in force() 441 end(rv > -1); in force() 442 assert IOStatus.check(rv); in force() [all …]
|
/libcore/ojluni/src/main/java/java/io/ |
D | UnixFileSystem.java | 254 int rv = getBooleanAttributes0(f.getPath()); in getBooleanAttributes() local 257 return rv | (hidden ? BA_HIDDEN : 0); in getBooleanAttributes()
|