Home
last modified time | relevance | path

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

/libuv/test/
H A Dtest-thread.c219 size_t expected; in thread_check_stack() local
220 expected = arg == NULL ? 0 : ((uv_thread_options_t*)arg)->stack_size; in thread_check_stack()
223 if (expected == 0) in thread_check_stack()
224 expected = 512 * 1024; in thread_check_stack()
225 ASSERT_GE(pthread_get_stacksize_np(pthread_self()), expected); in thread_check_stack()
227 size_t expected; in thread_check_stack()
236 expected = arg == NULL ? 0 : ((uv_thread_options_t*)arg)->stack_size; in thread_check_stack()
237 if (expected == 0) in thread_check_stack()
238 expected = (size_t)lim.rlim_cur; in thread_check_stack()
239 ASSERT_GE(stack_size, expected); in thread_check_stack()
H A Dtest-idna.c134 #define T(input, expected) \ argument
141 ASSERT_EQ(n, sizeof(expected)); \
142 ASSERT_OK(memcmp(d1, expected, n)); \
145 ASSERT_EQ(n, sizeof(expected)); \
146 ASSERT_OK(memcmp(d2, expected, n)); \
H A Dtest-fs-open-flags.c158 static void writeExpect(char *file, char *expected, int size) { in writeExpect() argument
190 ASSERT_OK(strncmp(buf, expected, size)); in writeExpect()
226 static void readExpect(char *file, char *expected, int size) { in readExpect() argument
235 ASSERT_OK(strncmp(buf, expected, size)); in readExpect()
H A Dtest-pipe-getsockname.c62 const char expected[] = "\0" TEST_PIPENAME; in pipe_client_connect_cb() local
63 ASSERT_EQ(len, sizeof(expected) - 1); in pipe_client_connect_cb()
64 ASSERT_MEM_EQ(buf, expected, len); in pipe_client_connect_cb()
H A Dtest-spawn.c1283 WCHAR *expected[ARRAY_SIZE(from_env)]; in TEST_IMPL() local
1296 expected[i] = str; in TEST_IMPL()
1301 expected[i] = str; in TEST_IMPL()
1324 for (i = 0; i < ARRAY_SIZE(expected) && !found; i++) { in TEST_IMPL()
1325 if (!wcscmp(str, expected[i])) { in TEST_IMPL()
1343 for (i = 0; i < ARRAY_SIZE(expected); i++) { in TEST_IMPL()
/libuv/src/unix/
H A Dtty.c283 int expected; in uv_tty_set_mode() local
301 expected = 0; in uv_tty_set_mode()
302 while (!atomic_compare_exchange_strong(&termios_spinlock, &expected, 1)); in uv_tty_set_mode()
339 int expected; in uv__tty_close() local
348 expected = 0; in uv__tty_close()
349 while (!atomic_compare_exchange_strong(&termios_spinlock, &expected, 1)); in uv__tty_close()
/libuv/
H A DSUPPORTED_PLATFORMS.md28 community and interested parties are expected to help with the maintenance.
H A DLICENSE-docs32 material as expected. Licensors should clearly mark any
H A DChangeLog2357 * doc: clarify expected memory management strategy (Ivan Krylov)
5560 * windows: _snprintf expected wrong parameter type in string (Maks Naumov)
/libuv/docs/src/
H A Dloop.rst128 or requests left), or non-zero if more callbacks are expected (meaning
132 or requests left), or non-zero if more callbacks are expected (meaning

Completed in 39 milliseconds