/kernel/linux/linux-5.10/tools/testing/selftests/pidfd/ |
H A D | pidfd_getfd_test.c | 62 * This blocking recv enables the parent to message the child. in __child() 68 while ((ret = recv(sk, &buf, sizeof(buf), 0)) > 0) { in __child() 162 ret = recv(sk_pair[0], &self->remote_fd, sizeof(self->remote_fd), 0); in FIXTURE_SETUP() 190 ASSERT_EQ(1, recv(self->sk, &c, 1, 0)); in TEST_F()
|
/kernel/linux/linux-6.6/tools/testing/selftests/pidfd/ |
H A D | pidfd_getfd_test.c | 62 * This blocking recv enables the parent to message the child. in __child() 68 while ((ret = recv(sk, &buf, sizeof(buf), 0)) > 0) { in __child() 162 ret = recv(sk_pair[0], &self->remote_fd, sizeof(self->remote_fd), 0); in FIXTURE_SETUP() 190 ASSERT_EQ(1, recv(self->sk, &c, 1, 0)); in TEST_F()
|
/third_party/python/Lib/test/support/ |
H A D | interpreters.py | 101 """Return (recv, send) for a new cross-interpreter channel. 106 recv, send = RecvChannel(cid), SendChannel(cid) 107 return recv, send 111 """Return a list of (recv, send) for all open channels.""" 149 def recv(self, *, _sentinel=object(), _delay=10 / 1000): # 10 milliseconds member in RecvChannel 166 is the same as recv().
|
/third_party/rust/crates/rustix/tests/net/ |
H A D | poll.rs | 7 accept, bind_v6, connect_v6, getsockname, listen, recv, send, socket, AddressFamily, Ipv6Addr, 49 let nread = recv(&data_socket, &mut buffer, RecvFlags::empty()).unwrap(); in server() 95 let nread = recv(&data_socket, &mut buffer, RecvFlags::empty()).unwrap(); in client()
|
/kernel/linux/linux-5.10/drivers/bluetooth/ |
H A D | hci_mrvl.c | 243 { H4_RECV_ACL, .recv = hci_recv_frame }, 244 { H4_RECV_SCO, .recv = hci_recv_frame }, 245 { H4_RECV_EVENT, .recv = hci_recv_frame }, 246 { HCI_RECV_FW_REQ, .recv = mrvl_recv_fw_req }, 247 { HCI_RECV_CHIP_VER, .recv = mrvl_recv_chip_ver }, 391 .recv = mrvl_recv,
|
H A D | hci_nokia.c | 615 { H4_RECV_ACL, .recv = hci_recv_frame }, 616 { H4_RECV_SCO, .recv = hci_recv_frame }, 617 { H4_RECV_EVENT, .recv = hci_recv_frame }, 618 { NOKIA_RECV_ALIVE, .recv = nokia_recv_alive_packet }, 619 { NOKIA_RECV_NEG, .recv = nokia_recv_negotiation_packet }, 620 { NOKIA_RECV_RADIO, .recv = nokia_recv_radio }, 675 .recv = nokia_recv,
|
H A D | hci_ag6xx.c | 96 { H4_RECV_ACL, .recv = hci_recv_frame }, 97 { H4_RECV_SCO, .recv = hci_recv_frame }, 98 { H4_RECV_EVENT, .recv = hci_recv_frame }, 309 .recv = ag6xx_recv,
|
/third_party/node/src/ |
H A D | node.h | 184 v8::Local<v8::Object> recv, 191 v8::Local<v8::Object> recv, 198 v8::Local<v8::Object> recv, 848 inline void NODE_SET_METHOD(v8::Local<v8::Template> recv, in NODE_SET_METHOD() argument 858 recv->Set(fn_name, t); in NODE_SET_METHOD() 862 inline void NODE_SET_METHOD(v8::Local<v8::Object> recv, in NODE_SET_METHOD() argument 874 recv->Set(context, fn_name, fn).Check(); in NODE_SET_METHOD() 880 inline void NODE_SET_PROTOTYPE_METHOD(v8::Local<v8::FunctionTemplate> recv, in NODE_SET_PROTOTYPE_METHOD() argument 885 v8::Local<v8::Signature> s = v8::Signature::New(isolate, recv); in NODE_SET_PROTOTYPE_METHOD() 891 recv in NODE_SET_PROTOTYPE_METHOD() [all...] |
/third_party/node/test/js-native-api/3_callbacks/ |
H A D | 3_callbacks.c | 44 napi_value recv = args[1]; in RunCallbackWithRecv() local 45 NODE_API_CALL(env, napi_call_function(env, recv, cb, 0, NULL, NULL)); in RunCallbackWithRecv()
|
/third_party/node/test/node-api/test_make_callback/ |
H A D | binding.c | 18 napi_value recv = args[1]; in MakeCallback() local 40 env, context, recv, func, argc - RESERVED_ARGS, argv, &result)); in MakeCallback()
|
/kernel/linux/linux-6.6/drivers/bluetooth/ |
H A D | hci_nokia.c | 615 { H4_RECV_ACL, .recv = hci_recv_frame }, 616 { H4_RECV_SCO, .recv = hci_recv_frame }, 617 { H4_RECV_EVENT, .recv = hci_recv_frame }, 618 { NOKIA_RECV_ALIVE, .recv = nokia_recv_alive_packet }, 619 { NOKIA_RECV_NEG, .recv = nokia_recv_negotiation_packet }, 620 { NOKIA_RECV_RADIO, .recv = nokia_recv_radio }, 675 .recv = nokia_recv,
|
H A D | hci_ag6xx.c | 96 { H4_RECV_ACL, .recv = hci_recv_frame }, 97 { H4_RECV_SCO, .recv = hci_recv_frame }, 98 { H4_RECV_EVENT, .recv = hci_recv_frame }, 308 .recv = ag6xx_recv,
|
/third_party/python/Lib/test/ |
H A D | test__xxsubinterpreters.py | 163 if self.end not in ('same', 'opposite', 'send', 'recv'): 166 if self.end not in ('both', 'same', 'opposite', 'send', 'recv'): 177 return 'recv' if end == 'send' else 'send' 223 if action == 'use' and end == 'recv' and state.pending: 247 elif end == 'recv': 262 if end in ('recv', 'send'): 270 if end in ('recv', 'send'): 1086 cid = interpreters._channel_id(10, send=True, recv=False, force=True) 1089 cid = interpreters._channel_id(10, recv=True, force=True) 1090 self.assertEqual(cid.end, 'recv') [all...] |
/kernel/linux/linux-5.10/net/nfc/nci/ |
H A D | uart.c | 380 if (nu->ops.recv(nu, nu->rx_skb) != 0) in nci_uart_default_recv_buf() 390 /* -- Default recv handler -- */ 399 !nu->ops.recv || !nu->ops.close) in nci_uart_register() 408 if (!nu->ops.recv) in nci_uart_register() 409 nu->ops.recv = nci_uart_default_recv; in nci_uart_register()
|
/third_party/curl/tests/ |
H A D | negtelnetserver.py | 95 data = neg.recv(4*1024) 117 self.request.recv(4*1024) 136 def recv(self, bytes): member in Negotiator 149 data = self.tcp.recv(bytes)
|
/kernel/linux/linux-5.10/drivers/scsi/libfc/ |
H A D | fc_libfc.c | 236 if (prov_entry && prov_entry->recv) in fc_fc4_conf_lport_params() 267 prov_entry = (prov->recv ? fc_passive_prov : fc_active_prov) + type; in fc_fc4_register_provider() 286 if (prov->recv) in fc_fc4_deregister_provider()
|
/kernel/linux/linux-5.10/sound/soc/sh/ |
H A D | ssi.c | 134 unsigned int bits, channels, swl, recv, i; in ssi_hw_params() local 138 recv = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) ? 0 : 1; in ssi_hw_params() 147 if (!recv) in ssi_hw_params()
|
/kernel/linux/linux-6.6/drivers/scsi/libfc/ |
H A D | fc_libfc.c | 236 if (prov_entry && prov_entry->recv) in fc_fc4_conf_lport_params() 267 prov_entry = (prov->recv ? fc_passive_prov : fc_active_prov) + type; in fc_fc4_register_provider() 286 if (prov->recv) in fc_fc4_deregister_provider()
|
/kernel/linux/linux-6.6/sound/soc/sh/ |
H A D | ssi.c | 134 unsigned int bits, channels, swl, recv, i; in ssi_hw_params() local 138 recv = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) ? 0 : 1; in ssi_hw_params() 147 if (!recv) in ssi_hw_params()
|
/third_party/jerryscript/jerry-ext/debugger/ |
H A D | debugger-tcp.c | 159 ssize_t is_err = recv (tcp_p->tcp_socket, NULL, 0, MSG_PEEK); in jerryx_debugger_tcp_send() 209 ssize_t length = recv (tcp_p->tcp_socket, (char *)buffer_p, (int)buffer_size, 0); in jerryx_debugger_tcp_receive() 211 ssize_t length = recv (tcp_p->tcp_socket, buffer_p, buffer_size, 0); in jerryx_debugger_tcp_receive()
|
/third_party/mesa3d/src/vulkan/overlay-layer/ |
H A D | mesa-overlay-control.py | 36 def recv(self, timeout): member in Connection 55 msg = self.sock.recv(4096) 100 self.buffer = self.conn.recv(remaining)
|
/third_party/rust/crates/once_cell/src/ |
H A D | imp_std.rs | 356 rx.recv().unwrap(); in stampede_once() 397 rx2.recv().unwrap(); in wait_for_force_to_finish() 401 rx1.recv().unwrap(); in wait_for_force_to_finish()
|
/kernel/linux/linux-5.10/drivers/spi/ |
H A D | spi-fsi.c | 375 int recv = 0; in fsi_spi_transfer_data() local 389 while (transfer->len > recv) { in fsi_spi_transfer_data() 409 recv += fsi_spi_data_in(in, &rx[recv], in fsi_spi_transfer_data() 410 (int)transfer->len - recv); in fsi_spi_transfer_data()
|
/kernel/linux/linux-6.6/drivers/spi/ |
H A D | spi-fsi.c | 334 int recv = 0; in fsi_spi_transfer_data() local 338 while (transfer->len > recv) { in fsi_spi_transfer_data() 354 recv += fsi_spi_data_in(in, &rx[recv], in fsi_spi_transfer_data() 355 (int)transfer->len - recv); in fsi_spi_transfer_data()
|
/third_party/lwip/src/core/ |
H A D | raw.c | 179 if (pcb->recv != NULL) { in raw_input() 186 eaten = pcb->recv(pcb->recv_arg, pcb, p, ip_current_src_addr()); in raw_input() 200 LWIP_ASSERT("raw pcb recv callback altered pbuf payload pointer without eating packet", in raw_input() 342 raw_recv(struct raw_pcb *pcb, raw_recv_fn recv, void *recv_arg) in raw_recv() argument 345 /* remember recv() callback and user data */ in raw_recv() 346 pcb->recv = recv; in raw_recv()
|