Home
last modified time | relevance | path

Searched refs:source_address (Results 1 – 25 of 38) sorted by relevance

12

/external/python/cpython3/Lib/
Dsmtplib.py230 source_address=None): argument
250 self.source_address = source_address
309 self._print_debug('connect: to', (host, port), self.source_address)
311 self.source_address)
313 def connect(self, host='localhost', port=0, source_address=None): argument
325 if source_address:
326 self.source_address = source_address
1017 source_address=None, context=None): argument
1035 source_address)
1069 source_address=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT): argument
[all …]
Dftplib.py108 timeout=_GLOBAL_DEFAULT_TIMEOUT, source_address=None, *, argument
116 self.source_address = source_address
137 def connect(self, host='', port=0, timeout=-999, source_address=None): argument
153 if source_address is not None:
154 self.source_address = source_address
157 source_address=self.source_address)
348 source_address=self.source_address)
713 timeout=_GLOBAL_DEFAULT_TIMEOUT, source_address=None, *, argument
734 timeout, source_address, encoding=encoding)
Dsocket.py807 source_address=None): argument
829 if source_address:
830 sock.bind(source_address)
/external/openscreen/platform/impl/
Dnetwork_interface_linux.cc189 struct sockaddr_nl source_address; in GetLinkInfo() local
193 msg = {&source_address, sizeof(source_address), &iov, in GetLinkInfo()
289 struct sockaddr_nl source_address; in PopulateSubnetsOrClearList() local
293 msg = {&source_address, sizeof(source_address), &iov, in PopulateSubnetsOrClearList()
/external/rust/crates/mio/examples/
Dudp_server.rs51 Ok((packet_size, source_address)) => { in main()
53 socket.send_to(&buf[..packet_size], source_address)?; in main()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dcopy_thunk.cc25 ThunkInfo thunk_info, const void* source_address, in HostToDeviceCopyThunk() argument
28 source_address_(source_address), in HostToDeviceCopyThunk()
Dir_emitter.h162 llvm::Value* source_address);
195 llvm::Value* source_address);
202 llvm::Value* source_address);
Dir_emitter.cc257 llvm::Value* source_address) { in MaybeEmitDirectAtomicOperation() argument
265 llvm::Value* source = Load(source_address, "source"); in MaybeEmitDirectAtomicOperation()
393 llvm::Value* source_address) { in EmitAtomicOperationUsingCAS() argument
471 computation, {binop_output_address, source_address}, in EmitAtomicOperationUsingCAS()
499 llvm::Value* source_address) { in EmitAtomicOperationForNestedComputation() argument
509 source_address)) { in EmitAtomicOperationForNestedComputation()
514 source_address); in EmitAtomicOperationForNestedComputation()
Dcopy_thunk.h36 HostToDeviceCopyThunk(ThunkInfo thunk_info, const void* source_address,
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/authorization/
Dauthorization_engine.cc135 absl::string_view source_address(args.GetPeerAddress()); in CreateActivation() local
136 if (!source_address.empty()) { in CreateActivation()
139 mock_cel::CelValue::CreateStringView(source_address)); in CreateActivation()
/external/mdnsresponder/mDNSShared/
Ddnsextd_parser.y41 char source_address[ 256 ]; member
556 if ( strlen( info->source_address ) ) in SetupOptions()
558 inet_pton( AF_INET, info->source_address, &d->addr.sin_addr ); in SetupOptions()
/external/python/cpython2/Lib/
Dhttplib.py722 timeout=socket._GLOBAL_DEFAULT_TIMEOUT, source_address=None): argument
724 self.source_address = source_address
821 self.timeout, self.source_address)
1241 source_address=None, context=None): argument
1243 source_address)
Dsocket.py542 source_address=None): argument
564 if source_address:
565 sock.bind(source_address)
/external/python/cpython3/Lib/http/
Dclient.py820 source_address=None, blocksize=8192): argument
822 self.source_address = source_address
922 (self.host,self.port), self.timeout, self.source_address)
1380 source_address=None, *, context=None, argument
1383 source_address,
/external/python/cpython3/Doc/library/
Dftplib.rst46 .. class:: FTP(host='', user='', passwd='', acct='', timeout=None, source_address=None, *, encoding…
54 will be used). *source_address* is a 2-tuple ``(host, port)`` for the socket
76 *source_address* parameter was added.
84 …', acct='', keyfile=None, certfile=None, context=None, timeout=None, source_address=None, *, encod…
102 *source_address* parameter was added.
194 .. method:: FTP.connect(host='', port=0, timeout=None, source_address=None)
205 *source_address* is a 2-tuple ``(host, port)`` for the socket to bind to as
211 *source_address* parameter was added.
Dsmtplib.rst23 .. class:: SMTP(host='', port=0, local_hostname=None[, timeout], source_address=None)
36 raised. The optional source_address parameter allows binding
68 source_address argument was added.
79 source_address=None)
86 arguments *local_hostname*, *timeout* and *source_address* have the same
100 source_address argument was added.
119 source_address=None[, timeout])
124 server. The optional arguments local_hostname and source_address have the
Dhttp.client.rst34 .. class:: HTTPConnection(host, port=None[, timeout], source_address=None, \
44 The optional *source_address* parameter may be a tuple of a (host, port)
58 *source_address* was added.
70 source_address=None, *, context=None, \
81 *source_address*, *context* and *check_hostname* were added.
/external/python/cpython3/Lib/test/
Dmock_socket.py115 source_address=None): argument
Dtest_smtplib.py86 source_address=('127.0.0.1',19876))
87 self.assertEqual(client.source_address, ('127.0.0.1', 19876))
279 source_address=(self.host, src_port))
281 self.assertEqual(smtp.source_address, (self.host, src_port))
Dtest_ftplib.py758 source_address=(HOST, port))
768 self.client.source_address = (HOST, port)
Dtest_httplib.py1503 source_address=('', self.source_port))
1511 source_address=('', self.source_port))
1984 def create_connection(address, timeout=None, source_address=None): argument
/external/python/cpython2/Doc/library/
Dhttplib.rst46 .. class:: HTTPConnection(host[, port[, strict[, timeout[, source_address]]]])
58 The optional *source_address* parameter may be a tuple of a (host, port)
75 *source_address* was added.
78 .. class:: HTTPSConnection(host[, port[, key_file[, cert_file[, strict[, timeout[, source_address[,…
97 *source_address* was added.
/external/tcpdump/
Dprint-isoclns.c769 const uint8_t *optr,*source_address,*dest_address; in clnp_print() local
843 source_address = pptr; in clnp_print()
850 isonsap_string(ndo, source_address, source_address_length), in clnp_print()
875 isonsap_string(ndo, source_address, source_address_length), in clnp_print()
960 source_address=(tptr+1); in clnp_print()
961 ND_TCHECK2(*source_address, source_address_length); in clnp_print()
964 … isonsap_string(ndo, source_address, source_address_length))); in clnp_print()
/external/python/cpython2/Misc/NEWS.d/
D2.7a2.rst208 ``httplib.HTTPConnection`` now accepts an optional source_address parameter
218 ``socket.create_connection()`` now accepts an optional source_address
/external/python/cpython2/Lib/test/
Dtest_httplib.py732 source_address=('', self.source_port))
740 source_address=('', self.source_port))
952 def create_connection(address, timeout=None, source_address=None): argument

12