Home
last modified time | relevance | path

Searched refs:recv (Results 126 - 150 of 794) sorted by relevance

12345678910>>...32

/kernel/linux/linux-6.6/drivers/bluetooth/
H A Dhci_uart.h59 int (*recv)(struct hci_uart *hu, const void *data, int len); member
133 int (*recv)(struct hci_dev *hdev, struct sk_buff *skb); member
H A Dhci_intel.c875 goto recv; in intel_recv_event()
901 recv: in intel_recv_event()
962 { H4_RECV_ACL, .recv = hci_recv_frame },
963 { H4_RECV_SCO, .recv = hci_recv_frame },
964 { H4_RECV_EVENT, .recv = intel_recv_event },
965 { INTEL_RECV_LPM, .recv = intel_recv_lpm },
1057 .recv = intel_recv,
/kernel/liteos_a/testsuites/unittest/container/smoke/
H A DIt_net_container_006.cpp71 ret = recv(client, buffer, sizeof(buffer), 0); in TcpClient()
132 ret = recv(client, buffer, sizeof(buffer), 0); in ChildFunc()
/third_party/musl/porting/linux/user/include/fortify/
H A Dsocket.h70 ssize_t recv(int socket, void* const buf __DIAGNOSE_PASS_OBJECT_SIZE0, size_t len, int flags)
73 "'recv' " CALLED_WITH_SIZE_BIGGER_BUFFER)
82 return __DIAGNOSE_CALL_BYPASSING_FORTIFY(recv)(socket, buf, len, flags);
/third_party/lwip/src/core/
H A Dstats.c68 LWIP_PLATFORM_DIAG(("recv: %"STAT_COUNTER_F"\n\t", proto->recv)); in stats_display_proto()
87 LWIP_PLATFORM_DIAG(("recv: %"STAT_COUNTER_F"\n\t", igmp->recv)); in stats_display_igmp()
H A Dudp.c197 * recv function. If no pcb is found or the datagram is incorrect, the
226 UDP_STATS_INC(udp.recv);
411 if (mpcb->recv != NULL) {
419 mpcb->recv(mpcb->recv_arg, mpcb, q, ip_current_src_addr(), src);
428 if (pcb->recv != NULL) {
429 /* now the recv function is responsible for freeing p */
430 pcb->recv(pcb->recv_arg, pcb, p, ip_current_src_addr(), src);
432 /* no recv function registered? then we have to free the pbuf! */
1207 * @param pcb the pcb for which to set the recv callback
1208 * @param recv functio
[all...]
/third_party/lwip/src/include/lwip/
H A Draw.h92 raw_recv_fn recv; member
93 /* user-supplied argument for the recv callback */
120 void raw_recv (struct raw_pcb *pcb, raw_recv_fn recv, void *recv_arg);
/third_party/mesa3d/src/gallium/auxiliary/util/
H A Du_network.c94 return recv(s, data, size, MSG_PEEK); in u_socket_peek()
104 return recv(s, data, size, 0); in u_socket_recv()
/third_party/musl/include/fortify/linux/
H A Dsocket.h70 ssize_t recv(int socket, void* const buf __DIAGNOSE_PASS_OBJECT_SIZE0, size_t len, int flags)
73 "'recv' " CALLED_WITH_SIZE_BIGGER_BUFFER)
82 return __DIAGNOSE_CALL_BYPASSING_FORTIFY(recv)(socket, buf, len, flags);
/third_party/rust/crates/rustix/src/net/
H A Dsend_recv.rs0 //! `recv` and `send`, and variants.
11 /// `recv(fd, buf, flags)`—Reads data from a socket.
19 /// [POSIX]: https://pubs.opengroup.org/onlinepubs/9699919799/functions/recv.html
20 /// [Linux]: https://man7.org/linux/man-pages/man2/recv.2.html
21 /// [Apple]: https://developer.apple.com/library/archive/documentation/System/Conceptual/ManPages_iPhoneOS/man2/recv.2.html
22 /// [Winsock2]: https://docs.microsoft.com/en-us/windows/win32/api/winsock2/nf-winsock2-recv
24 pub fn recv<Fd: AsFd>(fd: Fd, buf: &mut [u8], flags: RecvFlags) -> io::Result<usize> { in recv() functions
25 backend::net::syscalls::recv(fd.as_fd(), buf, flags) in recv()
/kernel/linux/linux-5.10/drivers/scsi/
H A Dlibiscsi_tcp.c103 * @recv: 1 if called from recv path
109 static void iscsi_tcp_segment_map(struct iscsi_segment *segment, int recv) in iscsi_tcp_segment_map() argument
121 * We always map for the recv path. in iscsi_tcp_segment_map()
131 if (!recv && sendpage_ok(sg_page(sg))) in iscsi_tcp_segment_map()
134 if (recv) { in iscsi_tcp_segment_map()
178 * @recv: set to one of this is called from the recv path
191 struct iscsi_segment *segment, int recv, in iscsi_tcp_segment_done()
199 recv in iscsi_tcp_segment_done()
190 iscsi_tcp_segment_done(struct iscsi_tcp_conn *tcp_conn, struct iscsi_segment *segment, int recv, unsigned copied) iscsi_tcp_segment_done() argument
[all...]
/kernel/linux/linux-6.6/drivers/scsi/
H A Dlibiscsi_tcp.c103 * @recv: 1 if called from recv path
109 static void iscsi_tcp_segment_map(struct iscsi_segment *segment, int recv) in iscsi_tcp_segment_map() argument
121 * We always map for the recv path. in iscsi_tcp_segment_map()
131 if (!recv && sendpage_ok(sg_page(sg))) in iscsi_tcp_segment_map()
134 if (recv) { in iscsi_tcp_segment_map()
178 * @recv: set to one of this is called from the recv path
191 struct iscsi_segment *segment, int recv, in iscsi_tcp_segment_done()
199 recv in iscsi_tcp_segment_done()
190 iscsi_tcp_segment_done(struct iscsi_tcp_conn *tcp_conn, struct iscsi_segment *segment, int recv, unsigned copied) iscsi_tcp_segment_done() argument
[all...]
/third_party/rust/crates/rustix/tests/net/
H A Dconnect_bind_send.rs29 let n = rustix::net::recv(&accepted, &mut response, RecvFlags::empty()).expect("recv"); in net_v4_connect_any()
68 let n = rustix::net::recv(&accepted, &mut response, RecvFlags::empty()).expect("recv"); in net_v6_connect_any()
104 let n = rustix::net::recv(&accepted, &mut response, RecvFlags::empty()).expect("recv"); in net_v4_connect()
147 let n = rustix::net::recv(&accepted, &mut response, RecvFlags::empty()).expect("recv"); in net_v6_connect()
179 let n = rustix::net::recv(&accepted, &mut response, RecvFlags::empty()).expect("recv"); in net_v4_bind_any()
[all...]
/kernel/linux/linux-6.6/drivers/tty/hvc/
H A Dhvc_xen.c151 int recv = 0; in domU_read_console() local
171 while (cons != prod && recv < len) in domU_read_console()
172 buf[recv++] = intf->in[MASK_XENCONS_IDX(cons++, intf->in)]; in domU_read_console()
190 if (!recv && xencons->out_cons_same++ > 1) { in domU_read_console()
195 if (recv) { in domU_read_console()
201 return recv; in domU_read_console()
/kernel/linux/linux-6.6/drivers/usb/gadget/udc/
H A Drenesas_usbf.c621 unsigned int recv; in usbf_ep0_pio_out() local
628 recv = usbf_ep_reg_readl(ep0, USBF_REG_EP0_LENGTH) & USBF_EP0_LDATA; in usbf_ep0_pio_out()
629 count = recv; in usbf_ep0_pio_out()
636 dev_dbg(ep0->udc->dev, "ep0 recv %u, left %u\n", count, left); in usbf_ep0_pio_out()
661 dev_dbg(ep0->udc->dev, "ep0 recv %u/%u\n", in usbf_ep0_pio_out()
670 if (recv < ep0->ep.maxpacket) { in usbf_ep0_pio_out()
978 unsigned int recv; in usbf_epn_pio_out() local
984 recv = USBF_EPN_GET_LDATA( in usbf_epn_pio_out()
986 count = recv; in usbf_epn_pio_out()
993 dev_dbg(epn->udc->dev, "ep%u recv in usbf_epn_pio_out()
1190 unsigned int recv; usbf_epn_dma_out() local
[all...]
/third_party/python/Lib/test/
H A Dtest_socket.py515 msg = self.conn.recv(1024)
2497 msg = self.cli_conn.recv(1024)
2505 seg1 = self.cli_conn.recv(len(MSG) - 3)
2506 seg2 = self.cli_conn.recv(1024)
2535 read = self.cli_conn.recv(1024)
2551 msg = sock.recv(1024)
2561 msg = sock.recv(1024)
2569 msg = self.cli_conn.recv(1024)
2600 self.assertRaises(OSError, self.cli_conn.recv, 1024)
2606 msg = sock.recv(102
[all...]
/third_party/musl/src/network/
H A Drecv.c3 ssize_t recv(int fd, void *buf, size_t len, int flags) in recv() function
/foundation/arkui/ace_engine/interfaces/napi/kits/utils/
H A Dnapi_utils.cpp145 ResourceInfo recv; in GetNapiString() local
146 if (ParseResourceParam(env, value, recv)) { in GetNapiString()
147 ParseString(recv, retStr); in GetNapiString()
866 ResourceInfo recv; in ParseNapiDimension() local
868 if (!ParseResourceParam(env, napiValue, recv)) { in ParseNapiDimension()
871 if (!ParseString(recv, parameterStr)) { in ParseNapiDimension()
902 ResourceInfo recv; in ParseNapiDimensionNG() local
904 if (!ParseResourceParam(env, napiValue, recv)) { in ParseNapiDimensionNG()
907 if (!ParseString(recv, parameterStr)) { in ParseNapiDimensionNG()
910 if (!ParseIntegerToString(recv, parameterSt in ParseNapiDimensionNG()
[all...]
/test/testfwk/xdevice/plugins/ohos/src/ohos/environment/
H A Ddmlib.py504 pull_result = self.sock.recv(DATA_UNIT_LENGTH)
517 pull_result = self.sock.recv(DATA_UNIT_LENGTH * 2)
772 device.log.info("{} execute command: {} file recv {} to {}".format(
774 HdcHelper._operator_file("file recv", device, remote, local, timeout)
854 len_buf = sock.recv(DATA_UNIT_LENGTH)
859 data = sock.recv(length)
968 recv = sock.recv(length - recv_len)
969 if len(recv) > 0:
977 recv
[all...]
/foundation/arkui/ace_engine/interfaces/napi/kits/promptaction/
H A Dprompt_action.cpp72 ResourceInfo recv; in GetToastMessage() local
81 if (!ParseResourceParam(env, messageNApi, recv)) { in GetToastMessage()
85 if (!ParseString(recv, messageString)) { in GetToastMessage()
103 ResourceInfo recv; in GetToastDuration() local
108 recv = {}; in GetToastDuration()
109 if (!ParseResourceParam(env, durationNApi, recv)) { in GetToastDuration()
113 if (!ParseString(recv, durationStr)) { in GetToastDuration()
125 ResourceInfo recv; in GetToastBottom() local
138 recv = {}; in GetToastBottom()
139 if (!ParseResourceParam(env, bottomNApi, recv)) { in GetToastBottom()
277 ResourceInfo recv; GetToastObjectShadow() local
332 ResourceInfo recv; GetToastShadow() local
1118 ResourceInfo recv; GetShadowProps() local
[all...]
/kernel/linux/linux-6.6/include/drm/
H A Di915_gsc_proxy_mei_interface.h18 * @recv: receives a proxy message for GSC FW from ME FW
33 * recv - Receives a proxy message from ME FW.
39 int (*recv)(struct device *dev, void *buf, size_t size); member
/kernel/liteos_a/net/mac/
H A Dlos_mac.h50 void (*recv)(struct los_eth_driver *drv, int len); member
/kernel/linux/linux-5.10/drivers/bluetooth/
H A Dhci_intel.c872 goto recv; in intel_recv_event()
898 recv: in intel_recv_event()
959 { H4_RECV_ACL, .recv = hci_recv_frame },
960 { H4_RECV_SCO, .recv = hci_recv_frame },
961 { H4_RECV_EVENT, .recv = intel_recv_event },
962 { INTEL_RECV_LPM, .recv = intel_recv_lpm },
1054 .recv = intel_recv,
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/lwip_sack/include/lwip/
H A Draw.h127 raw_recv_fn recv; member
128 /* user-supplied argument for the recv callback */
168 void raw_recv (struct raw_pcb *pcb, raw_recv_fn recv, void *recv_arg);
H A Dudp.h111 udp_recv_fn recv; member
112 /* user-supplied argument for the recv callback */
136 void udp_recv (struct udp_pcb *pcb, udp_recv_fn recv,

Completed in 30 milliseconds

12345678910>>...32