Home
last modified time | relevance | path

Searched refs:rc (Results 1 – 19 of 19) sorted by relevance

/libuv/src/
H A Drandom.c32 int rc; in uv__random() local
40 rc = uv__random_getentropy(buf, buflen); in uv__random()
41 if (rc == UV_ENOSYS) in uv__random()
42 rc = uv__random_devurandom(buf, buflen); in uv__random()
44 rc = uv__random_sysctl(buf, buflen); in uv__random()
46 rc = uv__random_getrandom(buf, buflen); in uv__random()
47 if (rc == UV_ENOSYS) in uv__random()
50 switch (rc) { in uv__random()
58 rc = uv__random_sysctl(buf, buflen); in uv__random()
66 rc = uv__random_devurandom(buf, buflen); in uv__random()
[all …]
H A Dthread-common.c39 int rc; in uv_barrier_init() local
61 rc = uv_mutex_init(&b->mutex); in uv_barrier_init()
62 if (rc != 0) in uv_barrier_init()
66 rc = uv_cond_init((uv_cond_t*) &b->cond); in uv_barrier_init()
67 if (rc != 0) in uv_barrier_init()
81 return rc; in uv_barrier_init()
159 int rc; in uv_barrier_wait() local
161 rc = pthread_barrier_wait(barrier); in uv_barrier_wait()
162 if (rc != 0) in uv_barrier_wait()
163 if (rc != PTHREAD_BARRIER_SERIAL_THREAD) in uv_barrier_wait()
[all …]
H A Didna.c323 int rc; in uv__idna_toascii() local
344 rc = uv__idna_toascii_label(s, st, &d, de); in uv__idna_toascii()
346 if (rc < 0) in uv__idna_toascii()
347 return rc; in uv__idna_toascii()
356 rc = uv__idna_toascii_label(s, se, &d, de); in uv__idna_toascii()
358 if (rc < 0) in uv__idna_toascii()
359 return rc; in uv__idna_toascii()
H A Duv-common.c348 int rc; in uv_udp_init_ex() local
360 rc = uv__udp_init_ex(loop, handle, flags, domain); in uv_udp_init_ex()
362 if (rc == 0) in uv_udp_init_ex()
366 return rc; in uv_udp_init_ex()
/libuv/src/unix/
H A Dcygwin.c42 int rc; in uv_resident_set_memory() local
47 rc = uv__slurp("/proc/self/stat", buf, sizeof(buf)); in uv_resident_set_memory()
48 if (rc < 0) in uv_resident_set_memory()
49 return rc; in uv_resident_set_memory()
68 rc = sysinfo(&si); in uv_resident_set_memory()
69 while (rc == -1 && errno == EINTR); in uv_resident_set_memory()
70 if (rc == -1) in uv_resident_set_memory()
H A Dtty.c54 int rc; in isreallyatty() local
57 if (!rc && errno != EBADF) in isreallyatty()
60 return rc; in isreallyatty()
70 int rc; in uv__tcsetattr() local
76 if (rc == -1) in uv__tcsetattr()
222 int rc = r; in uv_tty_init() local
229 return rc; in uv_tty_init()
285 int rc; in uv_tty_set_mode() local
296 if (rc == -1) in uv_tty_set_mode()
331 if (rc == 0) in uv_tty_set_mode()
[all …]
H A Dibmi.c202 if (rc != 0) in get_ibmi_system_status()
203 return rc; in get_ibmi_system_status()
223 return rc; in get_ibmi_system_status()
344 if (rc != 0) in get_ibmi_physical_address()
345 return rc; in get_ibmi_physical_address()
364 if (rc != 0) in get_ibmi_physical_address()
365 return rc; in get_ibmi_physical_address()
388 rc = -1; in get_ibmi_physical_address()
390 return rc; in get_ibmi_physical_address()
454 int rc = -1; in uv_interface_addresses() local
[all …]
H A Drandom-getrandom.c57 int rc; in uv__random_getrandom() local
59 rc = uv__random_getrandom_init(); in uv__random_getrandom()
60 if (rc != 0) in uv__random_getrandom()
61 return rc; in uv__random_getrandom()
H A Dcore.c611 long rc; in uv__close_nocancel()
615 return rc; in uv__close_nocancel()
626 int rc; in uv__close_nocheckstdio() local
634 if (rc == UV_EINTR || rc == UV__ERR(EINPROGRESS)) in uv__close_nocheckstdio()
639 return rc; in uv__close_nocheckstdio()
728 return rc; in uv__recvmsg()
746 return rc; in uv__recvmsg()
1794 int rc; in uv_sleep() local
1886 int rc; in uv__cpu_count() local
1889 rc = 0; in uv__cpu_count()
[all …]
H A Dinternal.h412 int rc; in UV_UNUSED() local
414 rc = fstat(fd, s); in UV_UNUSED()
415 if (rc >= 0) in UV_UNUSED()
418 return rc; in UV_UNUSED()
422 int rc; in UV_UNUSED() local
425 if (rc >= 0) in UV_UNUSED()
428 return rc; in UV_UNUSED()
432 int rc; in UV_UNUSED() local
434 rc = stat(path, s); in UV_UNUSED()
435 if (rc >= 0) in UV_UNUSED()
[all …]
H A Daix.c148 int rc; in uv__io_poll() local
184 switch (rc) { in uv__io_poll()
539 int rc = 0; in uv__make_subdirs_p() local
560 return rc; in uv__make_subdirs_p()
570 int rc = 0; in uv__setup_ahafs() local
589 return rc; in uv__setup_ahafs()
749 if (rc == -1) in uv__ahafs_event()
809 if (rc < 0) in uv_fs_event_start()
810 return rc; in uv_fs_event_start()
826 if (rc != 0) in uv_fs_event_start()
[all …]
H A Dlinux.c404 int rc; in uv__statx()
410 return rc; in uv__statx()
425 return rc; in uv__getrandom()
735 int rc; in uv__io_check_fd() local
741 rc = 0; in uv__io_check_fd()
750 return rc; in uv__io_check_fd()
1174 int rc; in uv__poll_io_uring() local
1291 int rc; in uv__epoll_ctl_flush() local
1662 int rc; in uv_resident_set_memory() local
2058 rc = 0; in uv__read_proc_meminfo()
[all …]
H A Dos390.c414 int rc; in uv_interface_addresses() local
422 return rc; in uv_interface_addresses()
640 int rc; in os390_regfileint() local
651 if (rc != 0) in os390_regfileint()
664 int rc; in uv_fs_event_start() local
673 rc = os390_regfileint(handle, path); in uv_fs_event_start()
674 if (rc != 0) { in uv_fs_event_start()
676 return rc; in uv_fs_event_start()
690 int rc; in uv__fs_event_stop() local
710 if (rc != 0 && errno != EALREADY && errno != ENOENT) in uv__fs_event_stop()
[all …]
H A Dgetaddrinfo.c150 long rc; in uv_getaddrinfo() local
162 rc = uv__idna_toascii(hostname, in uv_getaddrinfo()
166 if (rc < 0) in uv_getaddrinfo()
167 return rc; in uv_getaddrinfo()
H A Dfs.c159 int rc; in uv__fs_close() local
161 rc = uv__close_nocancel(fd); in uv__fs_close()
162 if (rc == -1) in uv__fs_close()
164 rc = 0; /* The close is in progress, not an error. */ in uv__fs_close()
166 return rc; in uv__fs_close()
550 ssize_t rc; in uv__fs_read() local
551 rc = uv__fstat(fd, &buf); in uv__fs_read()
552 if (rc == 0 && S_ISDIR(buf.st_mode)) { in uv__fs_read()
1539 int rc; in uv__fs_statx() local
1556 rc = uv__statx(dirfd, path, flags, mode, &statxbuf); in uv__fs_statx()
[all …]
/libuv/test/
H A Dtest-embed.c62 int rc; in TEST_IMPL()
68 rc = poll(&p, 1, uv_backend_timeout(loop)); in TEST_IMPL()
69 } while (rc == -1 && errno == EINTR); in TEST_IMPL()
H A Drunner-unix.c92 ssize_t rc; in process_start() local
174 rc = read(pipefd[0], &n, 1); in process_start()
175 while (rc == -1 && errno == EINTR); in process_start()
179 if (rc == -1) { in process_start()
184 if (rc > 0) { in process_start()
/libuv/src/win/
H A Dgetaddrinfo.c253 ssize_t rc; in uv_getaddrinfo() local
267 rc = uv__idna_toascii(node, in uv_getaddrinfo()
271 if (rc < 0) in uv_getaddrinfo()
272 return rc; in uv_getaddrinfo()
279 rc = uv_wtf8_length_as_utf16(service); in uv_getaddrinfo()
280 if (rc < 0) in uv_getaddrinfo()
281 return rc; in uv_getaddrinfo()
282 servicesize = rc; in uv_getaddrinfo()
/libuv/docs/src/
H A Dversion.rst39 might have a suffix such as "rc".

Completed in 52 milliseconds