Lines Matching refs:buffer
42 char buffer[PATHMAX]; in TEST_IMPL() local
48 size = sizeof(buffer) / sizeof(buffer[0]); in TEST_IMPL()
49 r = uv_exepath(buffer, &size); in TEST_IMPL()
58 match = strstr(buffer, path); in TEST_IMPL()
63 ASSERT_EQ(size, strlen(buffer)); in TEST_IMPL()
66 size = sizeof(buffer) / sizeof(buffer[0]); in TEST_IMPL()
70 r = uv_exepath(buffer, NULL); in TEST_IMPL()
74 r = uv_exepath(buffer, &size); in TEST_IMPL()
77 memset(buffer, -1, sizeof(buffer)); in TEST_IMPL()
80 r = uv_exepath(buffer, &size); in TEST_IMPL()
83 ASSERT_EQ(buffer[0], '\0'); in TEST_IMPL()
85 memset(buffer, -1, sizeof(buffer)); in TEST_IMPL()
88 r = uv_exepath(buffer, &size); in TEST_IMPL()
91 ASSERT_NE(buffer[0], '\0'); in TEST_IMPL()
92 ASSERT_EQ(buffer[1], '\0'); in TEST_IMPL()
97 size = sizeof(buffer); in TEST_IMPL()
98 r = uv_exepath(buffer, &size); in TEST_IMPL()
101 match = strstr(buffer, path); in TEST_IMPL()
107 ASSERT_EQ(size, strlen(buffer)); in TEST_IMPL()