/libcore/ojluni/src/main/native/ |
D | UnixFileSystem_md.c | 108 jstring rv = NULL; in Java_java_io_UnixFileSystem_canonicalize0() local 117 rv = newStringPlatform(env, canonicalPath); in Java_java_io_UnixFileSystem_canonicalize0() 119 rv = JNU_NewStringPlatform(env, canonicalPath); in Java_java_io_UnixFileSystem_canonicalize0() 123 return rv; in Java_java_io_UnixFileSystem_canonicalize0() 146 jint rv = 0; in Java_java_io_UnixFileSystem_getBooleanAttributes0() local 155 rv = (jint) (java_io_FileSystem_BA_EXISTS in Java_java_io_UnixFileSystem_getBooleanAttributes0() 160 return rv; in Java_java_io_UnixFileSystem_getBooleanAttributes0() 201 jboolean rv = JNI_FALSE; in Java_java_io_UnixFileSystem_setPermission0() local 234 rv = JNI_TRUE; in Java_java_io_UnixFileSystem_setPermission0() 238 return rv; in Java_java_io_UnixFileSystem_setPermission0() [all …]
|
D | linux_close.cpp | 68 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()
|
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 | UnixDomainSockets.c | 118 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()
|
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() 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()
|
D | Net.c | 316 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()
|
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 | 286 int rv = getBooleanAttributes0(f.getPath()); in getBooleanAttributes() local 289 return rv | (hidden ? BA_HIDDEN : 0); in getBooleanAttributes()
|