Lines Matching defs:mode
191 int mode;
199 mode = fcntl(fd, F_GETFL);
200 while (mode == -1 && errno == EINTR);
202 if (mode == -1)
215 mode &= O_ACCMODE;
216 if (mode != O_WRONLY)
218 if (mode != O_RDONLY)
429 int uv_pipe_chmod(uv_pipe_t* handle, int mode) {
439 if (mode != UV_READABLE &&
440 mode != UV_WRITABLE &&
441 mode != (UV_WRITABLE | UV_READABLE))
467 if (mode & UV_READABLE)
469 if (mode & UV_WRITABLE)
472 /* Exit early if pipe already has desired mode. */