Home
last modified time | relevance | path

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

12345678

/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.py514 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(data, ('0.0.0.0', 1234))
523 self.assertTrue(self.proactor.sendto.called)
524 self.proactor.sendto.assert_called_with(
530 transport.sendto(data, ('0.0.0.0', 1234))
531 self.assertTrue(self.proactor.sendto.called)
532 self.proactor.sendto.assert_called_with(
538 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.c113 count = sendto(sk, message, msg_count, flag, in main()
126 count = sendto(acpt_sk, message, msg_count, flag, in main()
143 count = sendto(sk1, message, msg_count, flag, in main()
/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.c332 sendto(sock, reply, reply_len, 0, (struct sockaddr *) &from,
336 sendto(sock, "FAIL\n", 5, 0, (struct sockaddr *) &from,
339 sendto(sock, "OK\n", 3, 0, (struct sockaddr *) &from,
547 if (sendto(sock, sbuf, llen + len, 0,
709 sendto(sock, reply, reply_len, 0, (struct sockaddr *) &from,
713 sendto(sock, "FAIL\n", 5, 0, (struct sockaddr *) &from,
716 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.c346 sendto(sock, reply, reply_len, 0, (struct sockaddr *) &from,
350 sendto(sock, "FAIL\n", 5, 0, (struct sockaddr *) &from,
353 sendto(sock, "OK\n", 3, 0, (struct sockaddr *) &from,
567 if (sendto(sock, sbuf, llen + len, 0,
753 sendto(sock, reply, reply_len, 0, (struct sockaddr *) &from,
757 sendto(sock, "FAIL\n", 5, 0, (struct sockaddr *) &from,
760 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()
439 sendto(iface->fd, &capa, sizeof(capa), 0, (struct sockaddr *) from, in wpa_priv_cmd_get_capa()
444 sendto(iface->fd, "", 0, 0, (struct sockaddr *) from, fromlen); in wpa_priv_cmd_get_capa()
535 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/musl/porting/linux/user/include/fortify/
Dsocket.h53 ssize_t sendto(int fd, const void* const buf __DIAGNOSE_PASS_OBJECT_SIZE0, size_t len, int flags, in sendto() function
66 return __DIAGNOSE_CALL_BYPASSING_FORTIFY(sendto)(fd, buf, len, flags, dest_addr, addr_len); in sendto()
/third_party/musl/ndk_musl_include/fortify/
Dsocket.h53 ssize_t sendto(int fd, const void* const buf __DIAGNOSE_PASS_OBJECT_SIZE0, size_t len, int flags, in sendto() function
66 return __DIAGNOSE_CALL_BYPASSING_FORTIFY(sendto)(fd, buf, len, flags, dest_addr, addr_len); in sendto()
/third_party/gstreamer/gstplugins_bad/tests/check/
Dgst-plugins-bad.supp4 socketcall.sendto(msg)
5 fun:sendto
/third_party/curl/lib/
Dtftp.c531 senddata = sendto(state->sockfd, (void *)state->spacket.data, in tftp_send_first()
616 sbytes = sendto(state->sockfd, (void *)state->spacket.data, in tftp_rx()
641 sbytes = sendto(state->sockfd, (void *)state->spacket.data, in tftp_rx()
667 sbytes = sendto(state->sockfd, (void *)state->spacket.data, in tftp_rx()
681 (void)sendto(state->sockfd, (void *)state->spacket.data, in tftp_rx()
741 sbytes = sendto(state->sockfd, (void *)state->spacket.data, in tftp_tx()
785 sbytes = sendto(state->sockfd, (void *) state->spacket.data, in tftp_tx()
811 sbytes = sendto(state->sockfd, (void *)state->spacket.data, in tftp_tx()
829 (void)sendto(state->sockfd, (void *)state->spacket.data, 4, SEND_4TH_ARG, in tftp_tx()
/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/musl/libc-test/src/functionalext/fortify/
Dsocket_ext.c138 TEST(sendto(sendFd, "x", 1, 0, (void *)&sa, sizeof sa) == 1); in sendto_and_recvfrom_0010()
166 sendto(0, buf, data_len, 0, NULL, 0); in sendto_0010()
/third_party/musl/porting/linux/user/src/network/
Dres_msend.c137 sendto(fd, queries[i], in res_msend_rc_ext()
173 sendto(fd, queries[i], in res_msend_rc_ext()
/third_party/python/Lib/asyncio/
Dtrsock.py141 def sendto(self, *args, **kwargs): member in TransportSocket
143 return self._sock.sendto(*args, **kwargs)
/third_party/libcoap/src/
Dcoap_io_riot.c64 bytes_written = sendto(sock->fd, data, datalen, 0, in coap_socket_send()
/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/libwebsockets/lib/core-net/
Doutput.c325 n = (int)sendto(wsi->desc.sockfd, (const char *)buf, in lws_ssl_capable_write_no_ssl()
332 n = (int)sendto(wsi->desc.sockfd, (const char *)buf, in lws_ssl_capable_write_no_ssl()

12345678