Home
last modified time | relevance | path

Searched refs:buf1 (Results 1 – 3 of 3) sorted by relevance

/libuv/docs/code/tty/
H A Dmain.c13 uv_buf_t buf1; in main() local
20 buf1.base = "\033[41;37m"; in main()
21 buf1.len = strlen(buf1.base); in main()
22 uv_write(&req1, (uv_stream_t*) &tty, &buf1, 1, NULL); in main()
/libuv/test/
H A Dtest-pipe-getsockname.c315 char buf1[1024], buf2[1024]; in TEST_IMPL() local
336 len1 = sizeof buf1; in TEST_IMPL()
337 r = uv_pipe_getsockname(&pipe_client, buf1, &len1); in TEST_IMPL()
356 ASSERT_OK(memcmp(buf1, buf2, len1)); in TEST_IMPL()
H A Dtest-fs.c1254 char buf1[1]; in test_sendfile() local
1310 memset(buf1, 0, sizeof(buf1)); in test_sendfile()
1311 iov = uv_buf_init(buf1, sizeof(buf1)); in test_sendfile()
1315 ASSERT_EQ(buf1[0], 'e'); /* 'e' from begin */ in test_sendfile()

Completed in 12 milliseconds