Lines Matching refs:fd
135 int fd = jniGetFDFromFileDescriptor(env, fileDescriptor);
137 fd = dup(fd);
138 if (fd < 0) {
142 env->SetIntField(thiz, field_context, fd);
145 if (tcgetattr(fd, &tio))
156 tcsetattr(fd, TCSANOW, &tio);
157 tcflush(fd, TCIFLUSH);
163 int fd = env->GetIntField(thiz, field_context);
164 close(fd);
171 int fd = env->GetIntField(thiz, field_context);
178 int ret = read(fd, buf, length);
193 int fd = env->GetIntField(thiz, field_context);
201 int ret = read(fd, buf, length);
210 int fd = env->GetIntField(thiz, field_context);
218 jint ret = write(fd, buf, length);
227 int fd = env->GetIntField(thiz, field_context);
234 int ret = write(fd, buf, length);
242 int fd = env->GetIntField(thiz, field_context);
243 tcsendbreak(fd, 0);