Lines Matching refs:send_mem
898 char send_mem[TLS_PAYLOAD_MAX_LEN]; in TEST_F() local
903 memrnd(send_mem, sizeof(send_mem)); in TEST_F()
905 EXPECT_EQ(send(self->fd, send_mem, send_len, 0), send_len); in TEST_F()
912 EXPECT_EQ(memcmp(send_mem, recv_mem, send_len), 0); in TEST_F()
947 char send_mem[TLS_PAYLOAD_MAX_LEN * 2]; in TEST_F() local
950 memrnd(send_mem, sizeof(send_mem)); in TEST_F()
952 EXPECT_GE(send(self->fd, send_mem, total_len, 0), 0); in TEST_F()
957 EXPECT_EQ(memcmp(send_mem, recv_mem, total_len), 0); in TEST_F()
965 char send_mem[10]; in TEST_F() local
967 memrnd(send_mem, sizeof(send_mem)); in TEST_F()
969 EXPECT_GE(send(self->fd, send_mem, send_len, 0), 0); in TEST_F()
970 EXPECT_GE(send(self->fd, send_mem, send_len, 0), 0); in TEST_F()
974 EXPECT_EQ(memcmp(send_mem, recv_mem, send_len), 0); in TEST_F()
975 EXPECT_EQ(memcmp(send_mem, recv_mem + send_len, send_len), 0); in TEST_F()
983 char send_mem[total_len]; in TEST_F() local
985 memrnd(send_mem, sizeof(send_mem)); in TEST_F()
987 EXPECT_GE(send(self->fd, send_mem, total_len, 0), 0); in TEST_F()
992 EXPECT_EQ(memcmp(send_mem, recv_mem, total_len), 0); in TEST_F()
1130 char send_mem[10] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 }; in TEST_F() local
1134 EXPECT_EQ(send(self->fd, send_mem, 10, 0), 10); in TEST_F()
1135 EXPECT_EQ(send(self->fd, send_mem, 5, 0), 5); in TEST_F()
1144 EXPECT_EQ(memcmp(send_mem, recv_mem, 10), 0); in TEST_F()
1145 EXPECT_EQ(memcmp(send_mem, recv_mem + 10, 5), 0); in TEST_F()
1220 char send_mem[20] = {}; in TEST_F() local
1226 EXPECT_EQ(send(self->fd, send_mem, sizeof(send_mem), 0), in TEST_F()
1227 sizeof(send_mem)); in TEST_F()
1240 sizeof(send_mem) - sizeof(recv_mem)); in TEST_F()