Home
last modified time | relevance | path

Searched refs:recv_buf (Results 1 – 21 of 21) sorted by relevance

/external/strace/tests-m32/
Dmmsg_name.c182 char *const recv_buf = tail_alloc(sizeof(*recv_buf) * IOV_MAX1); in test_mmsg_name() local
187 recv_iov[i].iov_base = &recv_buf[i]; in test_mmsg_name()
188 recv_iov[i].iov_len = sizeof(*recv_buf); in test_mmsg_name()
Dmsg_name.c51 TAIL_ALLOC_OBJECT_CONST_PTR(char, recv_buf); in test_msg_name()
53 iov->iov_base = recv_buf; in test_msg_name()
54 iov->iov_len = sizeof(*recv_buf); in test_msg_name()
Drecvfrom.c32 #define PREFIX_S_ARGS , recv_buf, 1, 0
37 static char recv_buf[1]; variable
/external/strace/tests/
Dmmsg_name.c182 char *const recv_buf = tail_alloc(sizeof(*recv_buf) * IOV_MAX1); in test_mmsg_name() local
187 recv_iov[i].iov_base = &recv_buf[i]; in test_mmsg_name()
188 recv_iov[i].iov_len = sizeof(*recv_buf); in test_mmsg_name()
Dmsg_name.c51 TAIL_ALLOC_OBJECT_CONST_PTR(char, recv_buf); in test_msg_name()
53 iov->iov_base = recv_buf; in test_msg_name()
54 iov->iov_len = sizeof(*recv_buf); in test_msg_name()
Drecvfrom.c32 #define PREFIX_S_ARGS , recv_buf, 1, 0
37 static char recv_buf[1]; variable
/external/grpc-grpc/test/cpp/end2end/
Dclient_callback_end2end_test.cc113 ByteBuffer recv_buf; in SendRpcsGeneric() local
124 &cli_ctx, kMethodName, send_buf.get(), &recv_buf, in SendRpcsGeneric()
125 [&request, &recv_buf, &done, &mu, &cv, maybe_except](Status s) { in SendRpcsGeneric()
129 EXPECT_TRUE(ParseFromByteBuffer(&recv_buf, &response)); in SendRpcsGeneric()
/external/strace/tests-mx32/
Dmmsg_name.c182 char *const recv_buf = tail_alloc(sizeof(*recv_buf) * IOV_MAX1); in test_mmsg_name() local
187 recv_iov[i].iov_base = &recv_buf[i]; in test_mmsg_name()
188 recv_iov[i].iov_len = sizeof(*recv_buf); in test_mmsg_name()
Dmsg_name.c51 TAIL_ALLOC_OBJECT_CONST_PTR(char, recv_buf); in test_msg_name()
53 iov->iov_base = recv_buf; in test_msg_name()
54 iov->iov_len = sizeof(*recv_buf); in test_msg_name()
Drecvfrom.c32 #define PREFIX_S_ARGS , recv_buf, 1, 0
37 static char recv_buf[1]; variable
/external/ltp/testcases/kernel/syscalls/recvmsg/
Drecvmsg03.c102 static char recv_buf[128]; in server() local
121 msg.msg_iov->iov_base = recv_buf; in server()
/external/perfetto/src/base/
Dunix_socket_unittest.cc667 char recv_buf[sizeof(send_buf)]; in TEST_F() local
683 std::thread th([blocked_thread, &recv_sock, &recv_buf] { in TEST_F()
684 ssize_t rd = PERFETTO_EINTR(read(recv_sock.fd(), recv_buf, 1)); in TEST_F()
690 while (offset < sizeof(recv_buf)) { in TEST_F()
692 read(recv_sock.fd(), recv_buf + offset, sizeof(recv_buf) - offset)); in TEST_F()
717 ASSERT_EQ(memcmp(send_buf, recv_buf, sizeof(send_buf)), 0); in TEST_F()
/external/u-boot/drivers/usb/eth/
Dasix88179.c546 ALLOC_CACHE_ALIGN_BUFFER(u8, recv_buf, dev_priv->rx_urb_size); in asix_recv()
554 (void *)recv_buf, in asix_recv()
571 rx_hdr = *(u32 *)(recv_buf + actual_len - 4); in asix_recv()
576 pkt_hdr = (u32 *)(recv_buf + hdr_off); in asix_recv()
589 net_process_received_packet(recv_buf + frame_pos, pkt_len); in asix_recv()
Dsmsc95xx.c736 DEFINE_CACHE_ALIGN_BUFFER(unsigned char, recv_buf, RX_URB_SIZE); in smsc95xx_recv()
746 (void *)recv_buf, RX_URB_SIZE, &actual_len, in smsc95xx_recv()
759 buf_ptr = recv_buf; in smsc95xx_recv()
789 cur_buf_align = (ulong)buf_ptr - (ulong)recv_buf; in smsc95xx_recv()
Dasix.c515 ALLOC_CACHE_ALIGN_BUFFER(unsigned char, recv_buf, AX_RX_URB_SIZE); in asix_recv()
525 (void *)recv_buf, in asix_recv()
540 buf_ptr = recv_buf; in asix_recv()
Dr8152.c1269 ALLOC_CACHE_ALIGN_BUFFER(uint8_t, recv_buf, RTL8152_AGG_BUF_SZ); in r8152_recv()
1282 (void *)recv_buf, in r8152_recv()
1298 rx_desc = (struct rx_desc *)(recv_buf + bytes_process); in r8152_recv()
1299 pkt_ptr = recv_buf + sizeof(struct rx_desc) + bytes_process; in r8152_recv()
/external/perfetto/src/profiling/memory/
Dunwinding.cc284 char recv_buf[kUnwindBatchSize]; in OnDataAvailable() local
285 self->Receive(recv_buf, sizeof(recv_buf)); in OnDataAvailable()
/external/linux-kselftest/tools/testing/selftests/net/
Dreuseport_bpf.c215 char recv_buf[8], send_buf[8]; in test_recv_order() local
217 struct iovec recv_io = { recv_buf, 8 }; in test_recv_order()
264 memcpy(&ndata, recv_buf, sizeof(ndata)); in test_recv_order()
Dtls.c115 char recv_buf[10]; in TEST_F() local
124 EXPECT_EQ(recv(self->cfd, recv_buf, to_send, MSG_WAITALL), to_send); in TEST_F()
125 EXPECT_EQ(memcmp(test_str, recv_buf, to_send), 0); in TEST_F()
/external/curl/lib/
Dsmb.c259 smbc->recv_buf = malloc(MAX_MESSAGE_SIZE); in smb_connect()
260 if(!smbc->recv_buf) in smb_connect()
291 char *buf = smbc->recv_buf; in smb_recv_message()
933 Curl_safefree(smbc->recv_buf); in smb_disconnect()
Dsmb.h42 char *recv_buf; member