Home
last modified time | relevance | path

Searched refs:val (Results 1 – 10 of 10) sorted by relevance

/libuv/src/unix/
H A Dcygwin.c41 long val; in uv_resident_set_memory() local
63 val = strtol(s, NULL, 10); in uv_resident_set_memory()
64 if (val < 0 || errno != 0) in uv_resident_set_memory()
73 *rss = val * si.mem_unit; in uv_resident_set_memory()
H A Dos390-syscalls.c94 static unsigned int next_power_of_two(unsigned int val) { in next_power_of_two() argument
95 val -= 1; in next_power_of_two()
96 val |= val >> 1; in next_power_of_two()
97 val |= val >> 2; in next_power_of_two()
98 val |= val >> 4; in next_power_of_two()
99 val |= val >> 8; in next_power_of_two()
100 val |= val >> 16; in next_power_of_two()
101 val += 1; in next_power_of_two()
102 return val; in next_power_of_two()
H A Dasync.c221 uint64_t val; local
224 for (val = 1; /* empty */; val = 1) {
225 r = write(fd, &val, sizeof(uint64_t));
234 if (read(fd, &val, sizeof(uint64_t)) > 0 || errno == EAGAIN) {
H A Dcore.c857 static unsigned int next_power_of_two(unsigned int val) { in next_power_of_two() argument
858 val -= 1; in next_power_of_two()
859 val |= val >> 1; in next_power_of_two()
860 val |= val >> 2; in next_power_of_two()
861 val |= val >> 4; in next_power_of_two()
862 val |= val >> 8; in next_power_of_two()
863 val |= val >> 16; in next_power_of_two()
864 val += 1; in next_power_of_two()
865 return val; in next_power_of_two()
H A Dudp.c1158 const void* val, in uv__setsockopt() argument
1166 val, in uv__setsockopt()
1172 val, in uv__setsockopt()
1183 int val) { in uv__setsockopt_maybe_char() argument
1185 char arg = val; in uv__setsockopt_maybe_char()
1187 unsigned char arg = val; in uv__setsockopt_maybe_char()
1189 int arg = val; in uv__setsockopt_maybe_char()
1192 if (val < 0 || val > 255) in uv__setsockopt_maybe_char()
H A Dlinux.c472 char* val; in uv__use_io_uring()
490 val = getenv("UV_USE_IO_URING"); in uv__use_io_uring()
491 if (val != NULL) in uv__use_io_uring()
492 use = atoi(val) ? 1 : -1; in uv__use_io_uring()
1646 long val; in uv_resident_set_memory() local
1667 val = strtol(s, NULL, 10); in uv_resident_set_memory()
1668 if (val < 0 || errno != 0) in uv_resident_set_memory()
1671 *rss = val * getpagesize(); in uv_resident_set_memory()
H A Dprocess.c256 static void uv__write_int(int fd, int val) { in uv__write_int() argument
260 n = write(fd, &val, sizeof(val)); in uv__write_int()
/libuv/src/
H A Dinet.c220 unsigned int val; in inet_pton6() local
231 val = 0; in inet_pton6()
238 val <<= 4; in inet_pton6()
239 val |= (pch - xdigits); in inet_pton6()
256 *tp++ = (unsigned char) (val >> 8) & 0xff; in inet_pton6()
257 *tp++ = (unsigned char) val & 0xff; in inet_pton6()
259 val = 0; in inet_pton6()
275 *tp++ = (unsigned char) (val >> 8) & 0xff; in inet_pton6()
276 *tp++ = (unsigned char) val & 0xff; in inet_pton6()
H A Dthreadpool.c196 const char* val; in init_threads() local
200 val = getenv("UV_THREADPOOL_SIZE"); in init_threads()
201 if (val != NULL) in init_threads()
202 nthreads = atoi(val); in init_threads()
/libuv/include/uv/
H A Dtree.h465 name##_RB_MINMAX(struct name *head, int val) \
471 if (val < 0) \

Completed in 41 milliseconds