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 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 Dasync.c225 static const uint64_t val = 1; local
226 buf = &val;
227 len = sizeof(val);
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.c470 char* val; in uv__use_io_uring()
488 val = getenv("UV_USE_IO_URING"); in uv__use_io_uring()
489 if (val != NULL) in uv__use_io_uring()
490 use = atoi(val) ? 1 : -1; in uv__use_io_uring()
1661 long val; in uv_resident_set_memory() local
1682 val = strtol(s, NULL, 10); in uv_resident_set_memory()
1683 if (val < 0 || errno != 0) in uv_resident_set_memory()
1686 *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 40 milliseconds