Searched refs:val (Results 1 – 10 of 10) sorted by relevance
/libuv/src/unix/ |
H A D | cygwin.c | 41 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 D | os390-syscalls.c | 94 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 D | core.c | 847 static unsigned int next_power_of_two(unsigned int val) { in next_power_of_two() argument 848 val -= 1; in next_power_of_two() 849 val |= val >> 1; in next_power_of_two() 850 val |= val >> 2; in next_power_of_two() 851 val |= val >> 4; in next_power_of_two() 852 val |= val >> 8; in next_power_of_two() 853 val |= val >> 16; in next_power_of_two() 854 val += 1; in next_power_of_two() 855 return val; in next_power_of_two()
|
H A D | async.c | 193 static const uint64_t val = 1; in uv__async_send() local 194 buf = &val; in uv__async_send() 195 len = sizeof(val); in uv__async_send()
|
H A D | udp.c | 1145 const void* val, in uv__setsockopt() argument 1153 val, in uv__setsockopt() 1159 val, in uv__setsockopt() 1170 int val) { in uv__setsockopt_maybe_char() argument 1172 char arg = val; in uv__setsockopt_maybe_char() 1174 unsigned char arg = val; in uv__setsockopt_maybe_char() 1176 int arg = val; in uv__setsockopt_maybe_char() 1179 if (val < 0 || val > 255) in uv__setsockopt_maybe_char()
|
H A D | process.c | 255 static void uv__write_int(int fd, int val) { in uv__write_int() argument 259 n = write(fd, &val, sizeof(val)); in uv__write_int()
|
H A D | linux.c | 472 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() 1632 long val; in uv_resident_set_memory() local 1653 val = strtol(s, NULL, 10); in uv_resident_set_memory() 1654 if (val < 0 || errno != 0) in uv_resident_set_memory() 1657 *rss = val * getpagesize(); in uv_resident_set_memory()
|
/libuv/src/ |
H A D | inet.c | 220 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 D | threadpool.c | 196 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 D | tree.h | 154 name##_SPLAY_MIN_MAX(struct name *head, int val) \ 156 name##_SPLAY_MINMAX(head, val); \ 712 name##_RB_MINMAX(struct name *head, int val) \ 718 if (val < 0) \
|
Completed in 41 milliseconds