Lines Matching refs:buf
52 char buf[TEST_PACKET_SIZE + 1]; in TEST_F() local
53 buf[TEST_PACKET_SIZE] = '\0'; in TEST_F()
58 aio.aio_buf = buf; in TEST_F()
65 EXPECT_STREQ(buf, dummyDataStr.c_str()); in TEST_F()
69 char buf[TEST_PACKET_SIZE + 1]; in TEST_F() local
70 buf[TEST_PACKET_SIZE] = '\0'; in TEST_F()
81 EXPECT_EQ(read(dummy_file.fd, buf, TEST_PACKET_SIZE), TEST_PACKET_SIZE); in TEST_F()
82 EXPECT_STREQ(buf, dummyDataStr.c_str()); in TEST_F()
86 char buf[TEST_PACKET_SIZE + 1]; in TEST_F() local
87 buf[TEST_PACKET_SIZE] = '\0'; in TEST_F()
102 char buf[TEST_PACKET_SIZE + 1]; in TEST_F() local
103 buf[TEST_PACKET_SIZE] = '\0'; in TEST_F()
118 EXPECT_EQ(read(pipeFd[0], buf, TEST_PACKET_SIZE), TEST_PACKET_SIZE); in TEST_F()
119 EXPECT_STREQ(buf, dummyDataStr.c_str()); in TEST_F()
123 char buf[TEST_PACKET_SIZE + 1]; in TEST_F() local
124 buf[TEST_PACKET_SIZE] = '\0'; in TEST_F()
138 EXPECT_EQ(read(dummy_file.fd, buf, TEST_PACKET_SIZE), TEST_PACKET_SIZE); in TEST_F()
139 EXPECT_STREQ(buf, dummyDataStr.c_str()); in TEST_F()
144 char buf[TEST_PACKET_SIZE * POOL_COUNT + 1]; in TEST_F() local
145 buf[TEST_PACKET_SIZE * POOL_COUNT] = '\0'; in TEST_F()
157 … EXPECT_EQ(read(dummy_file.fd, buf, TEST_PACKET_SIZE * POOL_COUNT), TEST_PACKET_SIZE * POOL_COUNT); in TEST_F()
163 EXPECT_STREQ(buf, ss.str().c_str()); in TEST_F()
168 char buf[TEST_PACKET_SIZE * POOL_COUNT + 1]; in TEST_F() local
169 buf[TEST_PACKET_SIZE * POOL_COUNT] = '\0'; in TEST_F()
183 … EXPECT_EQ(read(dummy_file.fd, buf, TEST_PACKET_SIZE * POOL_COUNT), TEST_PACKET_SIZE * POOL_COUNT); in TEST_F()
189 EXPECT_STREQ(buf, ss.str().c_str()); in TEST_F()