Home
last modified time | relevance | path

Searched refs:flags (Results 26 – 50 of 111) sorted by relevance

12345

/libuv/src/unix/
H A Dsignal.c171 lookup.flags = 0; in uv__signal_first_handle()
409 (!oneshot && (first_handle->flags & UV_SIGNAL_ONE_SHOT))) { in uv__signal_start()
420 handle->flags |= UV_SIGNAL_ONE_SHOT; in uv__signal_start()
477 assert(!(handle->flags & UV_HANDLE_CLOSING)); in uv__signal_event()
483 if (handle->flags & UV_SIGNAL_ONE_SHOT) in uv__signal_event()
512 f1 = w1->flags & UV_SIGNAL_ONE_SHOT; in uv__signal_compare()
513 f2 = w2->flags & UV_SIGNAL_ONE_SHOT; in uv__signal_compare()
562 rem_oneshot = handle->flags & UV_SIGNAL_ONE_SHOT; in uv__signal_stop()
563 first_oneshot = first_handle->flags & UV_SIGNAL_ONE_SHOT; in uv__signal_stop()
H A Dtty.c138 int flags; in uv_tty_init() local
154 flags = 0; in uv_tty_init()
190 flags |= UV_HANDLE_BLOCKING_WRITES; in uv_tty_init()
216 if (!(flags & UV_HANDLE_BLOCKING_WRITES)) in uv_tty_init()
234 flags |= UV_HANDLE_READABLE; in uv_tty_init()
236 flags |= UV_HANDLE_WRITABLE; in uv_tty_init()
238 uv__stream_open((uv_stream_t*) tty, fd, flags); in uv_tty_init()
H A Dinternal.h246 ssize_t uv__recvmsg(int fd, struct msghdr *msg, int flags);
274 int uv__stream_open(uv_stream_t*, int fd, int flags);
282 int uv__open_cloexec(const char* path, int flags);
371 int uv__make_pipe(int fds[2], int flags);
435 unsigned int flags);
438 int flags,
442 ssize_t uv__getrandom(void* buf, size_t buflen, unsigned flags);
466 unsigned int flags);
H A Dfs.c844 in_fd = req->flags; in uv__fs_sendfile_emul()
1031 in_fd = req->flags; in uv__fs_sendfile()
1520 int flags; in uv__fs_statx() local
1778 int flags, in uv_fs_access() argument
1782 req->flags = flags; in uv_fs_access()
1998 int flags, in uv_fs_open() argument
2003 req->flags = flags; in uv_fs_open()
2051 int flags, in uv_fs_scandir() argument
2055 req->flags = flags; in uv_fs_scandir()
2169 req->flags = flags; in uv_fs_symlink()
[all …]
H A Dlinux.c184 uint32_t flags; member
196 uint32_t flags; member
203 uint8_t flags; member
242 uint32_t flags; member
391 flags); in uv__fs_copy_file_range()
400 int flags, in uv__statx() argument
449 flags, in uv__io_uring_enter()
527 params.flags = flags; in uv__iou_init()
603 iou->flags = 0; in uv__iou_init()
800 uint32_t flags; in uv__iou_submit() local
[all …]
H A Dfsevents.c231 FSEventStreamEventFlags flags; in uv__fsevents_event_cb() local
247 flags = eventFlags[i]; in uv__fsevents_event_cb()
250 if (flags & kFSEventsSystem) in uv__fsevents_event_cb()
280 if (len <= 1 && (flags & kFSEventStreamEventFlagItemIsDir)) in uv__fsevents_event_cb()
292 flags &= ~kFSEventsRenamed; in uv__fsevents_event_cb()
315 if (0 == (flags & kFSEventsRenamed)) { in uv__fsevents_event_cb()
316 if (0 != (flags & kFSEventsModified) || in uv__fsevents_event_cb()
317 0 == (flags & kFSEventStreamEventFlagItemIsDir)) in uv__fsevents_event_cb()
338 FSEventStreamCreateFlags flags; in uv__fsevents_create_stream() local
372 flags); in uv__fsevents_create_stream()
[all …]
H A Dcore.c150 handle->flags |= UV_HANDLE_CLOSING; in uv_close()
658 int flags; in uv__nonblock_fcntl() local
673 flags = r | O_NONBLOCK; in uv__nonblock_fcntl()
675 flags = r & ~O_NONBLOCK; in uv__nonblock_fcntl()
678 r = fcntl(fd, F_SETFL, flags); in uv__nonblock_fcntl()
689 int flags; in uv__cloexec() local
692 flags = 0; in uv__cloexec()
694 flags = FD_CLOEXEC; in uv__cloexec()
697 r = fcntl(fd, F_SETFD, flags); in uv__cloexec()
724 rc = recvmsg(fd, msg, flags); in uv__recvmsg()
[all …]
H A Dloop.c103 loop->wq_async.flags |= UV_HANDLE_INTERNAL; in uv_loop_init()
216 lfields->flags |= UV_METRICS_IDLE_TIME; in uv__loop_configure()
226 loop->flags |= UV_LOOP_BLOCK_SIGPROF; in uv__loop_configure()
/libuv/src/win/
H A Dgetnameinfo.c55 req->flags)) { in uv__getnameinfo_work()
110 int flags) { in uv_getnameinfo() argument
130 req->flags = flags; in uv_getnameinfo()
H A Dprocess-stdio.c205 fdopt.flags = UV_IGNORE; in uv__stdio_create()
208 switch (fdopt.flags & (UV_IGNORE | UV_CREATE_PIPE | UV_INHERIT_FD | in uv__stdio_create()
240 assert(!(fdopt.data.stream->flags & UV_HANDLE_CONNECTION)); in uv__stdio_create()
241 assert(!(fdopt.data.stream->flags & UV_HANDLE_PIPESERVER)); in uv__stdio_create()
246 fdopt.flags); in uv__stdio_create()
316 stream->flags & UV_HANDLE_CONNECTION) { in uv__stdio_create()
H A Dprocess.c335 unsigned int flags) { in search_path() argument
828 if (handle->flags & UV_HANDLE_CLOSING) { in uv__process_proc_exit()
880 assert(handle->flags & UV_HANDLE_CLOSING); in uv__process_endgame()
881 assert(!(handle->flags & UV_HANDLE_CLOSED)); in uv__process_endgame()
918 assert(!(options->flags & ~(UV_PROCESS_DETACHED | in uv_spawn()
1002 options->flags); in uv_spawn()
1025 (options->flags & UV_PROCESS_WINDOWS_HIDE)) { in uv_spawn()
1028 if (options->stdio[i].flags & UV_INHERIT_FD) in uv_spawn()
1042 if (options->flags & UV_PROCESS_DETACHED) { in uv_spawn()
1074 if (!(options->flags & UV_PROCESS_DETACHED)) { in uv_spawn()
[all …]
H A Dpoll.c197 } else if ((handle->flags & UV_HANDLE_CLOSING) && in uv__fast_poll_process_poll_req()
402 } else if ((handle->flags & UV_HANDLE_CLOSING) && in uv__slow_poll_process_poll_req()
471 handle->flags |= UV_HANDLE_POLL_SLOW; in uv_poll_init_socket()
491 assert(!(handle->flags & UV_HANDLE_CLOSING)); in uv__poll_set()
507 if (handle->flags & UV_HANDLE_POLL_SLOW) { in uv__poll_set()
529 if (!(handle->flags & UV_HANDLE_POLL_SLOW)) { in uv__process_poll_req()
551 if (handle->flags & UV_HANDLE_POLL_SLOW) in uv__poll_close()
579 assert(handle->flags & UV_HANDLE_CLOSING); in uv__poll_endgame()
580 assert(!(handle->flags & UV_HANDLE_CLOSED)); in uv__poll_endgame()
H A Dloop-watcher.c30 if (handle->flags & UV_HANDLE_CLOSING) { in uv__loop_watcher_endgame()
31 assert(!(handle->flags & UV_HANDLE_CLOSED)); in uv__loop_watcher_endgame()
32 handle->flags |= UV_HANDLE_CLOSED; in uv__loop_watcher_endgame()
H A Dfs-event.c46 (handle->flags & UV_FS_EVENT_RECURSIVE) ? TRUE : FALSE, in uv__fs_event_queue_readdirchanges()
159 unsigned int flags) { in uv_fs_event_start() argument
301 (flags & UV_FS_EVENT_RECURSIVE) ? TRUE : FALSE, in uv_fs_event_start()
434 if (handle->flags & UV_HANDLE_CLOSING) { in uv__process_fs_event_req()
558 } while (offset && !(handle->flags & UV_HANDLE_CLOSING)); in uv__process_fs_event_req()
567 if (handle->flags & UV_HANDLE_CLOSING) { in uv__process_fs_event_req()
588 if ((handle->flags & UV_HANDLE_CLOSING) && !handle->req_pending) { in uv__fs_event_endgame()
589 assert(!(handle->flags & UV_HANDLE_CLOSED)); in uv__fs_event_endgame()
/libuv/test/
H A Dtest-udp-alloc-cb-fail.c72 unsigned flags) { in cl_recv_cb() argument
74 ASSERT_OK(flags); in cl_recv_cb()
113 unsigned flags) { in sv_recv_cb() argument
129 ASSERT_OK(flags); in sv_recv_cb()
H A Dtest-udp-send-and-recv.c66 unsigned flags) { in cl_recv_cb() argument
68 ASSERT_OK(flags); in cl_recv_cb()
120 unsigned flags) { in sv_recv_cb() argument
136 ASSERT_OK(flags); in sv_recv_cb()
H A Dtest-udp-mmsg.c75 unsigned flags) { in recv_cb() argument
79 if (flags & UV_UDP_MMSG_FREE) { in recv_cb()
103 if (rcvbuf && !(flags & UV_UDP_MMSG_CHUNK)) in recv_cb()
H A Dtest-pipe-sendmsg.c50 int flags = fcntl(sock, F_GETFL, 0); in set_nonblocking() local
51 ASSERT_GE(flags, 0); in set_nonblocking()
52 r = fcntl(sock, F_SETFL, flags | O_NONBLOCK); in set_nonblocking()
/libuv/docs/code/cgi/
H A Dmain.c31 child_stdio[0].flags = UV_IGNORE; in invoke_cgi_script()
32 child_stdio[1].flags = UV_INHERIT_STREAM; in invoke_cgi_script()
34 child_stdio[2].flags = UV_IGNORE; in invoke_cgi_script()
/libuv/docs/src/
H A Dprocess.rst30 unsigned int flags;
45 Flags to be set on the flags field of :c:type:`uv_process_options_t`.
105 uv_stdio_flags flags;
132 * Open a new pipe into `data.stream`, per the flags below. The
155 * flags may be specified to create a duplex data stream.
203 .. c:member:: unsigned int uv_process_options_t.flags
205 Various flags that control how :c:func:`uv_spawn` behaves. See
224 the appropriate bits are set in the flags fields.
230 .. c:member:: uv_stdio_flags uv_stdio_container_t.flags
270 `UV_PROCESS_WINDOWS_HIDE_GUI` flags.
H A Dpipe.rst67 …nction:: int uv_pipe_bind2(uv_pipe_t* handle, const char* name, size_t namelen, unsigned int flags)
71 ``flags`` must be zero or ``UV_PIPE_NO_TRUNCATE``. Returns ``UV_EINVAL``
72 for unsupported flags without performing the bind operation.
97 …_t* req, uv_pipe_t* handle, const char* name, size_t namelen, unsigned int flags, uv_connect_cb cb)
101 ``flags`` must be zero or ``UV_PIPE_NO_TRUNCATE``. Returns ``UV_EINVAL``
102 for unsupported flags without performing the connect operation.
157 .. c:function:: int uv_pipe_chmod(uv_pipe_t* handle, int flags)
173 Valid values for `flags` are:
H A Dtcp.rst57 .. c:function:: int uv_tcp_init_ex(uv_loop_t* loop, uv_tcp_t* handle, unsigned int flags)
59 Initialize the handle with the specified flags. At the moment only the lower 8 bits
60 of the `flags` parameter are used as the socket domain. A socket will be created
104 .. c:function:: int uv_tcp_bind(uv_tcp_t* handle, const struct sockaddr* addr, unsigned int flags)
110 ``UV_TCP_REUSEPORT`` in `flags` for all the binding sockets. That is, a successful
119 :param flags: Flags that control the behavior of binding the socket.
120 ``UV_TCP_IPV6ONLY`` can be contained in `flags` to disable dual-stack
122 ``UV_TCP_REUSEPORT`` can be contained in `flags` to enable the socket option
/libuv/docs/code/multi-echo-server/
H A Dmain.c79 child_stdio[0].flags = UV_CREATE_PIPE | UV_READABLE_PIPE; in setup_workers()
81 child_stdio[1].flags = UV_IGNORE; in setup_workers()
82 child_stdio[2].flags = UV_INHERIT_FD; in setup_workers()
/libuv/m4/
H A Dax_pthread.m413 # flags, and the PTHREAD_CFLAGS output variable to any special C compiler
14 # flags that are needed. (The user can also force certain compiler
15 # flags/libs to be tested by setting these environment variables.)
21 # NOTE: You are assumed to not only compile your program with these flags,
96 # requires special compiler flags (e.g. on Tru64 or Sequent).
126 # Create a list of thread flags to try. Items starting with a "-" are
127 # C compiler flags, and other items are library names, except for "none"
129 # which is a program returning the flags for the Pth emulation library.
138 # other compiler flags to prevent continual compiler warnings
165 # From the cc(1) man page: "[-mt] Sets various -D flags to enable
[all …]
/libuv/include/uv/
H A Dunix.h221 unsigned long flags; \
283 unsigned int flags; \
352 int flags; \
364 int flags; \

Completed in 92 milliseconds

12345