Lines Matching refs:send_mem
884 char send_mem[TLS_PAYLOAD_MAX_LEN]; in TEST_F() local
889 memrnd(send_mem, sizeof(send_mem)); in TEST_F()
891 EXPECT_EQ(send(self->fd, send_mem, send_len, 0), send_len); in TEST_F()
898 EXPECT_EQ(memcmp(send_mem, recv_mem, send_len), 0); in TEST_F()
933 char send_mem[TLS_PAYLOAD_MAX_LEN * 2]; in TEST_F() local
936 memrnd(send_mem, sizeof(send_mem)); in TEST_F()
938 EXPECT_GE(send(self->fd, send_mem, total_len, 0), 0); in TEST_F()
943 EXPECT_EQ(memcmp(send_mem, recv_mem, total_len), 0); in TEST_F()
951 char send_mem[10]; in TEST_F() local
953 memrnd(send_mem, sizeof(send_mem)); in TEST_F()
955 EXPECT_GE(send(self->fd, send_mem, send_len, 0), 0); in TEST_F()
956 EXPECT_GE(send(self->fd, send_mem, send_len, 0), 0); in TEST_F()
960 EXPECT_EQ(memcmp(send_mem, recv_mem, send_len), 0); in TEST_F()
961 EXPECT_EQ(memcmp(send_mem, recv_mem + send_len, send_len), 0); in TEST_F()
969 char send_mem[total_len]; in TEST_F() local
971 memrnd(send_mem, sizeof(send_mem)); in TEST_F()
973 EXPECT_GE(send(self->fd, send_mem, total_len, 0), 0); in TEST_F()
978 EXPECT_EQ(memcmp(send_mem, recv_mem, total_len), 0); in TEST_F()
1116 char send_mem[10] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 }; in TEST_F() local
1120 EXPECT_EQ(send(self->fd, send_mem, 10, 0), 10); in TEST_F()
1121 EXPECT_EQ(send(self->fd, send_mem, 5, 0), 5); in TEST_F()
1130 EXPECT_EQ(memcmp(send_mem, recv_mem, 10), 0); in TEST_F()
1131 EXPECT_EQ(memcmp(send_mem, recv_mem + 10, 5), 0); in TEST_F()
1206 char send_mem[20] = {}; in TEST_F() local
1212 EXPECT_EQ(send(self->fd, send_mem, sizeof(send_mem), 0), in TEST_F()
1213 sizeof(send_mem)); in TEST_F()
1226 sizeof(send_mem) - sizeof(recv_mem)); in TEST_F()