Home
last modified time | relevance | path

Searched refs:sendto (Results 1 – 25 of 166) sorted by relevance

1234567

/third_party/node/test/parallel/
Dtest-dgram-sendto.js13 assert.throws(() => socket.sendto(), errObj);
18 () => socket.sendto('buffer', 1, 'offset', 'port', 'address', 'cb'),
24 () => socket.sendto('buffer', 'offset', 1, 'port', 'address', 'cb'),
30 () => socket.sendto('buffer', 1, 1, 10, false, 'cb'),
36 () => socket.sendto('buffer', 1, 1, false, 'address', 'cb'),
Dtest-dgram-send-invalid-msg-type.js35 assert.throws(function() { socket.sendto(5, 0, 1, 1, 'host'); }, TypeError);
/third_party/python/Lib/test/test_asyncio/
Dtest_proactor_events.py498 transport.sendto(data, ('0.0.0.0', 1234))
499 self.assertTrue(self.proactor.sendto.called)
500 self.proactor.sendto.assert_called_with(
506 transport.sendto(data, ('0.0.0.0', 1234))
507 self.assertTrue(self.proactor.sendto.called)
508 self.proactor.sendto.assert_called_with(
514 transport.sendto(data, ('0.0.0.0', 1234))
515 self.assertTrue(self.proactor.sendto.called)
516 self.proactor.sendto.assert_called_with(
522 transport.sendto(b'', ())
[all …]
Dtest_selector_events.py1132 transport.sendto(data, ('0.0.0.0', 1234))
1133 self.assertTrue(self.sock.sendto.called)
1135 self.sock.sendto.call_args[0], (data, ('0.0.0.0', 1234)))
1140 transport.sendto(data, ('0.0.0.0', 1234))
1141 self.assertTrue(self.sock.sendto.called)
1143 self.sock.sendto.call_args[0], (data, ('0.0.0.0', 1234)))
1148 transport.sendto(data, ('0.0.0.0', 1234))
1149 self.assertTrue(self.sock.sendto.called)
1151 self.sock.sendto.call_args[0], (data, ('0.0.0.0', 1234)))
1156 transport.sendto(b'', ())
[all …]
/third_party/musl/src/network/
Dsendto.c4 ssize_t sendto(int fd, const void *buf, size_t len, int flags, const struct sockaddr *addr, socklen… in sendto() function
6 return socketcall_cp(sendto, fd, buf, len, flags, addr, alen); in sendto()
Dsend.c5 return sendto(fd, buf, len, flags, 0, 0); in send()
Dres_msend.c122 sendto(fd, queries[i], in __res_msend_rc()
158 sendto(fd, queries[i], in __res_msend_rc()
/third_party/ltp/utils/sctp/func_tests/
Dtest_1_to_1_sendto.c109 count = sendto(sk, message, msg_count, flag, in main()
122 count = sendto(acpt_sk, message, msg_count, flag, in main()
139 count = sendto(sk1, message, msg_count, flag, in main()
/third_party/gstreamer/gstplugins_bad/tests/check/
Dgst-plugins-bad.supp4 socketcall.sendto(msg)
5 fun:sendto
/third_party/libwebsockets/minimal-examples/raw/minimal-raw-adopt-udp/
DREADME.md14 With UDP, there is no "connection". You need to write with sendto() and
19 use the .sa and .salen members in your sendto().
22 So you are responsible to watch the result of sendto() and resend the
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dctrl_iface_udp.c331 sendto(sock, reply, reply_len, 0, (struct sockaddr *) &from,
335 sendto(sock, "FAIL\n", 5, 0, (struct sockaddr *) &from,
338 sendto(sock, "OK\n", 3, 0, (struct sockaddr *) &from,
546 if (sendto(sock, sbuf, llen + len, 0,
687 sendto(sock, reply, reply_len, 0, (struct sockaddr *) &from,
691 sendto(sock, "FAIL\n", 5, 0, (struct sockaddr *) &from,
694 sendto(sock, "OK\n", 3, 0, (struct sockaddr *) &from,
Dwpa_priv.c214 sendto(iface->fd, buf, pos - buf, 0, (struct sockaddr *) from, fromlen); in wpa_priv_get_scan_results2()
223 sendto(iface->fd, "", 0, 0, (struct sockaddr *) from, fromlen); in wpa_priv_get_scan_results2()
237 sendto(iface->fd, "", 0, 0, (struct sockaddr *) from, fromlen); in wpa_priv_cmd_get_scan_results()
353 sendto(iface->fd, bssid, ETH_ALEN, 0, (struct sockaddr *) from, in wpa_priv_cmd_get_bssid()
358 sendto(iface->fd, "", 0, 0, (struct sockaddr *) from, fromlen); in wpa_priv_cmd_get_bssid()
380 sendto(iface->fd, ssid, sizeof(ssid), 0, (struct sockaddr *) from, in wpa_priv_cmd_get_ssid()
385 sendto(iface->fd, "", 0, 0, (struct sockaddr *) from, fromlen); in wpa_priv_cmd_get_ssid()
433 sendto(iface->fd, &capa, sizeof(capa), 0, (struct sockaddr *) from, in wpa_priv_cmd_get_capa()
438 sendto(iface->fd, "", 0, 0, (struct sockaddr *) from, fromlen); in wpa_priv_cmd_get_capa()
529 res = sendto(iface->fd, own_addr, ETH_ALEN, 0, in wpa_priv_cmd_l2_register()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dctrl_iface_udp.c330 sendto(sock, reply, reply_len, 0, (struct sockaddr *) &from,
334 sendto(sock, "FAIL\n", 5, 0, (struct sockaddr *) &from,
337 sendto(sock, "OK\n", 3, 0, (struct sockaddr *) &from,
545 if (sendto(sock, sbuf, llen + len, 0,
686 sendto(sock, reply, reply_len, 0, (struct sockaddr *) &from,
690 sendto(sock, "FAIL\n", 5, 0, (struct sockaddr *) &from,
693 sendto(sock, "OK\n", 3, 0, (struct sockaddr *) &from,
Dwpa_priv.c214 sendto(iface->fd, buf, pos - buf, 0, (struct sockaddr *) from, fromlen); in wpa_priv_get_scan_results2()
223 sendto(iface->fd, "", 0, 0, (struct sockaddr *) from, fromlen); in wpa_priv_get_scan_results2()
237 sendto(iface->fd, "", 0, 0, (struct sockaddr *) from, fromlen); in wpa_priv_cmd_get_scan_results()
353 sendto(iface->fd, bssid, ETH_ALEN, 0, (struct sockaddr *) from, in wpa_priv_cmd_get_bssid()
358 sendto(iface->fd, "", 0, 0, (struct sockaddr *) from, fromlen); in wpa_priv_cmd_get_bssid()
380 sendto(iface->fd, ssid, sizeof(ssid), 0, (struct sockaddr *) from, in wpa_priv_cmd_get_ssid()
385 sendto(iface->fd, "", 0, 0, (struct sockaddr *) from, fromlen); in wpa_priv_cmd_get_ssid()
433 sendto(iface->fd, &capa, sizeof(capa), 0, (struct sockaddr *) from, in wpa_priv_cmd_get_capa()
438 sendto(iface->fd, "", 0, 0, (struct sockaddr *) from, fromlen); in wpa_priv_cmd_get_capa()
529 res = sendto(iface->fd, own_addr, ETH_ALEN, 0, in wpa_priv_cmd_l2_register()
/third_party/ltp/testcases/network/multicast/mc_commo/
Dmc_send.c100 sendto(s, buf, sizeof(buf), 0, in main()
111 if ((n = sendto(s, buf, sizeof(buf), 0, (struct sockaddr *)&mcast_out, in main()
/third_party/curl/lib/
Dtftp.c528 senddata = sendto(state->sockfd, (void *)state->spacket.data, in tftp_send_first()
613 sbytes = sendto(state->sockfd, (void *)state->spacket.data, in tftp_rx()
638 sbytes = sendto(state->sockfd, (void *)state->spacket.data, in tftp_rx()
664 sbytes = sendto(state->sockfd, (void *)state->spacket.data, in tftp_rx()
678 (void)sendto(state->sockfd, (void *)state->spacket.data, in tftp_rx()
738 sbytes = sendto(state->sockfd, (void *)state->spacket.data, in tftp_tx()
782 sbytes = sendto(state->sockfd, (void *) state->spacket.data, in tftp_tx()
808 sbytes = sendto(state->sockfd, (void *)state->spacket.data, in tftp_tx()
826 (void)sendto(state->sockfd, (void *)state->spacket.data, 4, SEND_4TH_ARG, in tftp_tx()
/third_party/mingw-w64/mingw-w64-crt/libce/
Dwinsock.def31 sendto
Dws2.def80 sendto
/third_party/ltp/testcases/network/sockets/
DltpClient.c244 rc = sendto(udpSocketHandle, argv[i], in main()
278 rc = sendto(mcastSocketHandle, argv[i], in main()
539 if (sendto in ping_network()
612 if (sendto in ltp_traceroute()
/third_party/ltp/testcases/kernel/syscalls/sendto/
Dsendto02.c60 TEST(sendto(sockfd, NULL, 1, 0, (struct sockaddr *) &sa, sizeof(sa))); in verify_sendto()
/third_party/mingw-w64/mingw-w64-crt/lib32/
Dwsock32.def71 sendto@24
/third_party/python/Lib/asyncio/
Dtrsock.py141 def sendto(self, *args, **kwargs): member in TransportSocket
143 return self._sock.sendto(*args, **kwargs)
/third_party/mingw-w64/mingw-w64-crt/lib-common/
Dwsock32.def27 sendto
/third_party/libwebsockets/lib/plat/freertos/
Dfreertos-pipe.c90 n = sendto(fd[1], &u, 1, 0, (struct sockaddr *)si, sizeof(*si)); in lws_plat_pipe_signal()
/third_party/toybox/toys/pending/
Dtftpd.c83 if (sendto(TT.sfd, g_errpkt, strlen(errmsg)+5, 0, dstaddr, socklen) < 0) in send_errpkt()
160 if (sendto(TT.sfd, spkt, (ptr - spkt), 0, dstaddr, socklen) <0) in do_action()

1234567