Lines Matching refs:total_len
217 int total_len = 0; in TEST_F() local
229 total_len += vec[i].iov_len; in TEST_F()
234 EXPECT_EQ(sendmsg(self->cfd, &msg, 0), total_len); in TEST_F()
235 buf = malloc(total_len); in TEST_F()
236 EXPECT_NE(recv(self->fd, buf, total_len, 0), -1); in TEST_F()
254 int total_len = 0; in TEST_F() local
266 total_len += vec[i].iov_len; in TEST_F()
271 EXPECT_EQ(sendmsg(self->fd, &msg, 0), total_len); in TEST_F()
272 EXPECT_NE(recv(self->cfd, buf, total_len, 0), -1); in TEST_F()
416 unsigned int total_len = TLS_PAYLOAD_MAX_LEN * 2; in TEST_F() local
421 EXPECT_GE(send(self->fd, send_mem, total_len, 0), 0); in TEST_F()
422 memset(recv_mem, 0, total_len); in TEST_F()
426 EXPECT_EQ(memcmp(send_mem, recv_mem, total_len), 0); in TEST_F()
431 unsigned int total_len = 2 * 10; in TEST_F() local
438 memset(recv_mem, 0, total_len); in TEST_F()
439 EXPECT_EQ(recv(self->cfd, recv_mem, total_len, 0), total_len); in TEST_F()