Lines Matching refs:fd
40 int fd = dup(origfd);
41 if (fd < 0) {
45 return jniCreateFileDescriptor(env, fd);
49 jobject clazz, jint fd)
51 return jniCreateFileDescriptor(env, fd);
80 jint fd = getFd(env, clazz);
81 if (fd < 0) {
87 if (fstat(fd, &st) != 0) {
101 jint fd = getFd(env, clazz);
102 if (fd < 0) {
107 return lseek(fd, pos, SEEK_SET);
112 jint fd = getFd(env, clazz);
113 if (fd < 0) {
118 return fd;