Lines Matching refs:mem_send
699 char mem_send[TLS_PAYLOAD_MAX_LEN]; in TEST_F() local
704 EXPECT_GE(write(p[1], mem_send, send_len), 0); in TEST_F()
707 EXPECT_EQ(memcmp(mem_send, mem_recv, send_len), 0); in TEST_F()
713 char mem_send[16000]; in TEST_F() local
718 memrnd(mem_send, sizeof(mem_send)); in TEST_F()
722 EXPECT_EQ(write(p[1], mem_send, 8000), 8000); in TEST_F()
724 EXPECT_EQ(write(p2[1], mem_send + 8000, 8000), 8000); in TEST_F()
727 EXPECT_EQ(memcmp(mem_send, mem_recv, send_len), 0); in TEST_F()
733 char mem_send[TLS_PAYLOAD_MAX_LEN]; in TEST_F() local
745 EXPECT_GE(write(p[1], mem_send, send_len), send_len); in TEST_F()
749 EXPECT_EQ(memcmp(mem_send, mem_recv, send_len), 0); in TEST_F()
755 char mem_send[TLS_PAYLOAD_MAX_LEN]; in TEST_F() local
759 memrnd(mem_send, sizeof(mem_send)); in TEST_F()
762 EXPECT_EQ(send(self->fd, mem_send, send_len, 0), send_len); in TEST_F()
765 EXPECT_EQ(memcmp(mem_send, mem_recv, send_len), 0); in TEST_F()
817 char mem_send[TLS_PAYLOAD_MAX_LEN]; in TEST_F() local
823 EXPECT_EQ(send(self->fd, mem_send, send_len, 0), send_len); in TEST_F()
829 EXPECT_EQ(memcmp(mem_send, mem_recv, send_len), 0); in TEST_F()
835 char mem_send[TLS_PAYLOAD_MAX_LEN]; in TEST_F() local
840 memrnd(mem_send, sizeof(mem_send)); in TEST_F()
844 EXPECT_EQ(send(self->fd, &mem_send[chunk * i], chunk, 0), in TEST_F()
850 EXPECT_EQ(memcmp(mem_send, mem_recv, chunk * 5 / 2), 0); in TEST_F()
860 EXPECT_EQ(memcmp(mem_send, mem_recv, send_len), 0); in TEST_F()