Home
last modified time | relevance | path

Searched refs:b (Results 1 – 25 of 28) sorted by relevance

12

/libuv/test/
H A Dtest-idna.c33 p = b; in TEST_IMPL()
34 snprintf(b, sizeof(b), "%c\x7F", 0x00); in TEST_IMPL()
35 ASSERT_OK(uv__utf8_decode1(&p, b + sizeof(b))); in TEST_IMPL()
41 p = b; in TEST_IMPL()
49 p = b; in TEST_IMPL()
57 p = b; in TEST_IMPL()
65 p = b; in TEST_IMPL()
73 p = b; in TEST_IMPL()
81 p = b; in TEST_IMPL()
89 p = b; in TEST_IMPL()
[all …]
H A Dtask.h199 #define ASSERT_EQ(a, b) ASSERT_BASE(a, ==, b, int64_t, PRId64) argument
200 #define ASSERT_GE(a, b) ASSERT_BASE(a, >=, b, int64_t, PRId64) argument
201 #define ASSERT_GT(a, b) ASSERT_BASE(a, >, b, int64_t, PRId64) argument
202 #define ASSERT_LE(a, b) ASSERT_BASE(a, <=, b, int64_t, PRId64) argument
203 #define ASSERT_LT(a, b) ASSERT_BASE(a, <, b, int64_t, PRId64) argument
222 ASSERT_BASE_STR(strcmp(a, b) == 0, a, == , b, char*, "s")
225 ASSERT_BASE_STR(strcmp(a, b) != 0, a, !=, b, char*, "s")
228 ASSERT_BASE_LEN(memcmp(a, b, size) == 0, a, ==, b, s, size)
231 ASSERT_BASE_LEN(memcmp(a, b, size) != 0, a, !=, b, s, size)
234 ASSERT_BASE_HEX(memcmp(a, b, size) == 0, a, ==, b, size)
[all …]
H A Dtest-hrtime.c35 uint64_t a, b, diff; in TEST_IMPL() local
40 b = uv_hrtime(); in TEST_IMPL()
42 diff = b - a; in TEST_IMPL()
H A Dbenchmark-udp-pummel.c223 #define X(a, b) \ argument
224 BENCHMARK_IMPL(udp_pummel_##a##v##b) { \
225 return pummel(a, b, 0); \
227 BENCHMARK_IMPL(udp_timed_pummel_##a##v##b) { \
228 return pummel(a, b, TEST_DURATION); \
H A Dtest-test-macros.c32 char* b = "ABCDEFGHIJKLMNOPQRSTUVWXYz"; in TEST_IMPL() local
37 ASSERT_STR_NE(a, b); in TEST_IMPL()
H A Drunner.c35 const task_entry_t* b = vb; in compare_task() local
36 return strcmp(a->task_name, b->task_name); in compare_task()
H A Dtest-poll.c50 #define MIN(a, b) (((a) < (b)) ? (a) : (b)); argument
/libuv/src/
H A Dthread-common.c52 b = uv__malloc(sizeof(*b)); in uv_barrier_init()
57 b->in = 0; in uv_barrier_init()
58 b->out = 0; in uv_barrier_init()
71 barrier->b = b; in uv_barrier_init()
96 b = barrier->b; in uv_barrier_wait()
102 uv_cond_wait((uv_cond_t*) &b->cond, &b->mutex); in uv_barrier_wait()
104 if (++b->in == b->threshold) { in uv_barrier_wait()
106 b->out = b->threshold; in uv_barrier_wait()
110 uv_cond_wait((uv_cond_t*) &b->cond, &b->mutex); in uv_barrier_wait()
129 b = barrier->b; in uv_barrier_destroy()
[all …]
H A Dfs-poll.c259 return a->st_ctim.tv_nsec == b->st_ctim.tv_nsec in statbuf_eq()
262 && a->st_ctim.tv_sec == b->st_ctim.tv_sec in statbuf_eq()
263 && a->st_mtim.tv_sec == b->st_mtim.tv_sec in statbuf_eq()
265 && a->st_size == b->st_size in statbuf_eq()
266 && a->st_mode == b->st_mode in statbuf_eq()
267 && a->st_uid == b->st_uid in statbuf_eq()
268 && a->st_gid == b->st_gid in statbuf_eq()
269 && a->st_ino == b->st_ino in statbuf_eq()
270 && a->st_dev == b->st_dev in statbuf_eq()
271 && a->st_flags == b->st_flags in statbuf_eq()
[all …]
H A Dtimer.c41 const uv_timer_t* b; in timer_less_than() local
44 b = container_of(hb, uv_timer_t, node.heap); in timer_less_than()
46 if (a->timeout < b->timeout) in timer_less_than()
48 if (b->timeout < a->timeout) in timer_less_than()
54 return a->start_id < b->start_id; in timer_less_than()
H A Didna.c74 unsigned b; in uv__utf8_decode1_slow() local
87 b = (unsigned char) *(*p)++; in uv__utf8_decode1_slow()
96 b = 0x80 | (a & 15); in uv__utf8_decode1_slow()
106 b = 0x80; in uv__utf8_decode1_slow()
117 if (0x80 != (0xC0 & (b ^ c ^ d))) in uv__utf8_decode1_slow()
120 b &= 63; in uv__utf8_decode1_slow()
123 a = (a << 18) | (b << 12) | (c << 6) | d; in uv__utf8_decode1_slow()
H A Dheap-inl.h47 const struct heap_node* b);
/libuv/docs/
H A Dmake.bat61 exit /b 1
66 if errorlevel 1 exit /b 1
74 if errorlevel 1 exit /b 1
82 if errorlevel 1 exit /b 1
90 if errorlevel 1 exit /b 1
98 if errorlevel 1 exit /b 1
106 if errorlevel 1 exit /b 1
115 if errorlevel 1 exit /b 1
127 if errorlevel 1 exit /b 1
135 if errorlevel 1 exit /b 1
[all …]
/libuv/src/unix/
H A Dtcp.c216 uint8_t b[2]; in uv__is_ipv6_link_local() local
222 memcpy(b, &a6->sin6_addr, sizeof(b)); in uv__is_ipv6_link_local()
224 return b[0] == 0xFE && b[1] == 0x80; in uv__is_ipv6_link_local()
H A Dinternal.h111 #define ROUND_UP(a, b) \ argument
112 ((a) % (b) ? ((a) + (b)) - ((a) % (b)) : (a))
H A Dprocess.c723 char b[PATH_MAX + NAME_MAX]; in uv__spawn_resolve_and_spawn() local
733 memcpy(b, p, z - p); in uv__spawn_resolve_and_spawn()
734 b[z - p] = '/'; in uv__spawn_resolve_and_spawn()
735 memcpy(b + (z - p) + (z > p), options->file, k + 1); in uv__spawn_resolve_and_spawn()
741 err = posix_spawn(pid, b, actions, attrs, options->args, env); in uv__spawn_resolve_and_spawn()
H A Dos390.c455 #define MAX(a,b) (((a)>(b))?(a):(b)) in uv_interface_addresses() argument
H A Daix.c66 #define EQ(a,b) (strcmp(a,b) == 0) argument
H A Dlinux.c274 const struct watcher_list* b);
2436 const struct watcher_list* b) { in compare_watchers() argument
2437 if (a->wd < b->wd) return -1; in compare_watchers()
2438 if (a->wd > b->wd) return 1; in compare_watchers()
/libuv/
H A DLICENSE-docs81 b. Adapter's License means the license You apply to Your Copyright
90 specified in Section 2(b)(1)-(2) are not Copyright and Similar
145 b. produce, reproduce, and Share Adapted Material.
175 b. No downstream restrictions. You may not offer or impose
189 b. Other rights.
239 b. indicate if You modified the Licensed Material and
271 b. if You include all or a substantial portion of the database
297 b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
320 b. Where Your right to use the Licensed Material has terminated under
329 For the avoidance of doubt, this Section 6(b) does not affect any
[all …]
H A DCONTRIBUTING.md39 $ git checkout -b my-feature-branch -t origin/v1.x
/libuv/src/win/
H A Dprocess.c600 static int env_strncmp(const wchar_t* a, int na, const wchar_t* b) { in env_strncmp() argument
613 b_eq = wcschr(b, L'='); in env_strncmp()
615 nb = b_eq - b; in env_strncmp()
617 r = CompareStringOrdinal(a, na, b, nb, /*case insensitive*/TRUE); in env_strncmp()
622 static int qsort_wcscmp(const void *a, const void *b) { in qsort_wcscmp() argument
624 wchar_t* bstr = *(wchar_t* const*)b; in qsort_wcscmp()
/libuv/include/uv/
H A Dunix.h154 struct _uv_barrier* b; member
/libuv/docs/src/
H A Dstream.rst174 uv_buf_t b[] = {
184 uv_write(&req2, stream, b, 2, cb);
/libuv/m4/
H A Dlibuv-check-flags.m4260 [struct astructure { char a; int b; long c; void *d; } __attribute__((packed));],

Completed in 53 milliseconds

12