Lines Matching defs:fd
276 Java_sun_nio_fs_UnixNativeDispatcher_dup(JNIEnv* env, jclass this, jint fd) {
280 RESTARTABLE(dup((int)fd), res);
281 if (fd == -1) {
324 jint fd;
327 RESTARTABLE(open64(path, (int)oflags, (mode_t)mode), fd);
328 if (fd == -1) {
331 return fd;
338 jint fd;
346 RESTARTABLE((*my_openat64_func)(dfd, path, (int)oflags, (mode_t)mode), fd);
347 if (fd == -1) {
350 return fd;
354 Java_sun_nio_fs_UnixNativeDispatcher_close(JNIEnv* env, jclass this, jint fd) {
357 RESTARTABLE(close((int)fd), err);
361 Java_sun_nio_fs_UnixNativeDispatcher_read(JNIEnv* env, jclass this, jint fd,
366 RESTARTABLE(read((int)fd, bufp, (size_t)nbytes), n);
374 Java_sun_nio_fs_UnixNativeDispatcher_write(JNIEnv* env, jclass this, jint fd,
379 RESTARTABLE(write((int)fd, bufp, (size_t)nbytes), n);
436 Java_sun_nio_fs_UnixNativeDispatcher_fstat(JNIEnv* env, jclass this, jint fd,
442 RESTARTABLE(fstat64((int)fd, &buf), err);
862 jint fd, jint name)
866 err = fpathconf((int)fd, (int)name);