Lines Matching full:send

230 /* Send some data through with ULP but no keys */
239 EXPECT_EQ(send(self->fd, test_str, send_len, 0), send_len);
284 EXPECT_EQ(send(self->fd, test_str, send_len, 0), -1);
443 EXPECT_EQ(send(self->fd, test_str, to_send, 0), to_send);
517 EXPECT_GE(send(self->fd, buf, send_len, 0), 0);
529 EXPECT_EQ(send(self->fd, test_str, send_len, 0), send_len);
540 EXPECT_EQ(send(self->fd, test_str, send_len, MSG_MORE), send_len);
542 EXPECT_EQ(send(self->fd, test_str, send_len, 0), send_len);
554 EXPECT_EQ(send(self->fd, test_str, send_len, MSG_MORE), send_len);
564 EXPECT_EQ(send(self->fd, test_str, send_len, MSG_EOR), send_len);
774 EXPECT_EQ(send(self->fd, test_str, send_len2, 0), send_len2);
795 EXPECT_EQ(send(self->fd, mem_send, send_len, 0), send_len);
856 EXPECT_EQ(send(self->fd, mem_send, send_len, 0), send_len);
877 EXPECT_EQ(send(self->fd, &mem_send[chunk * i], chunk, 0),
905 EXPECT_EQ(send(self->fd, test_str, send_len, 0), send_len);
924 EXPECT_EQ(send(self->fd, send_mem, send_len, 0), send_len);
947 EXPECT_EQ(send(self->fd, buf, send_len, 0), send_len);
971 EXPECT_GE(send(self->fd, send_mem, total_len, 0), 0);
988 EXPECT_GE(send(self->fd, send_mem, send_len, 0), 0);
989 EXPECT_GE(send(self->fd, send_mem, send_len, 0), 0);
1006 EXPECT_GE(send(self->fd, send_mem, total_len, 0), 0);
1023 EXPECT_EQ(send(self->fd, test_str, send_len, 0), send_len);
1050 EXPECT_EQ(send(self->fd, test_str, send_len, 0), send_len);
1066 EXPECT_EQ(send(self->fd, test_str, send_len, 0), send_len);
1085 EXPECT_EQ(send(self->fd, test_str_first, len, 0), len);
1088 EXPECT_EQ(send(self->fd, test_str_second, len, 0), len);
1112 EXPECT_EQ(send(self->fd, test_str_first, len, MSG_MORE), len);
1115 EXPECT_EQ(send(self->fd, test_str_second, len, 0), len);
1134 EXPECT_EQ(send(self->fd, test_str_first, len, 0), len);
1137 EXPECT_EQ(send(self->fd, test_str_second, len, 0), len);
1153 EXPECT_EQ(send(self->fd, send_mem, 10, 0), 10);
1154 EXPECT_EQ(send(self->fd, send_mem, 5, 0), 5);
1191 EXPECT_EQ(send(self->fd, test_str, send_len, 0), send_len);
1197 EXPECT_EQ(send(self->cfd, test_str, send_len, 0), send_len);
1209 EXPECT_EQ(send(self->fd, test_str, send_len, 0), send_len);
1229 EXPECT_EQ(send(self->fd, test_str, send_len, 0), send_len);
1244 /* Send 20 bytes */
1245 EXPECT_EQ(send(self->fd, send_mem, sizeof(send_mem), 0),
1277 int res = send(self->fd, buf,
1313 /* Ensure nonblocking behavior by imposing a small send
1331 int res = send(self->fd, buf,
1387 /* prep a file to send */
1439 res = send(self->fd, buf,
1544 EXPECT_EQ(send(self->fd, rec1, send_len, 0), send_len);
1546 EXPECT_EQ(send(self->fd, rec3, send_len, 0), send_len);
1560 EXPECT_EQ(send(self->fd, test_str, send_len, 0), send_len);
1573 EXPECT_EQ(send(self->fd, test_str, send_len, MSG_MORE), send_len);
1649 EXPECT_EQ(send(self->fd, rec1, 10, 0), 10);
1650 EXPECT_EQ(send(self->fd, rec2, 10, 0), 10);
1729 EXPECT_EQ(send(self->fd2, buf, sizeof(buf), 0), sizeof(buf));
1745 EXPECT_EQ(send(self->fd, buf, sizeof(buf) / 2, 0), sizeof(buf) / 2);
1751 EXPECT_EQ(send(self->fd2, buf, n, 0), n);
1771 EXPECT_EQ(send(self->fd, txt[i], sizeof(txt[i]), 0),
1778 EXPECT_EQ(send(self->fd2, cip[i], n, 0), n);
1806 EXPECT_EQ(send(self->fd, txt, sizeof(txt), 0), sizeof(txt));
1809 EXPECT_EQ(send(self->fd2, cip, n, 0), n);
1815 EXPECT_EQ(send(self->fd2, cip, n, 0), n);
1872 EXPECT_EQ(send(self->fd, buf, sizeof(buf), 0), sizeof(buf));
1877 EXPECT_EQ(send(self->fd2, rec, 100, 0), 100);
1883 EXPECT_EQ(send(self->fd2, rec + 100, rec_len - 100, 0), rec_len - 100);
1913 EXPECT_EQ(send(self->fd, buf, sizeof(buf), 0), sizeof(buf));
1918 EXPECT_EQ(send(self->fd2, rec, 100, 0), 100);
1922 EXPECT_EQ(send(self->fd2, rec + 100, rec_len - 100, 0), rec_len - 100);
1946 EXPECT_EQ(send(self->fd, buf, sizeof(buf), 0), sizeof(buf));
1959 EXPECT_EQ(send(self->fd2, rec, 100, 0), 100);
1963 EXPECT_EQ(send(self->fd2, rec + 100, rec_len - 100, 0),
2203 EXPECT_EQ(send(fd, buf, sizeof(buf), MSG_DONTWAIT), sizeof(buf));