Home
last modified time | relevance | path

Searched refs:client_address (Results 1 – 25 of 28) sorted by relevance

12

/third_party/python/Lib/
Dsocketserver.py311 request, client_address = self.get_request()
314 if self.verify_request(request, client_address):
316 self.process_request(request, client_address)
318 self.handle_error(request, client_address)
333 def verify_request(self, request, client_address): argument
341 def process_request(self, request, client_address): argument
347 self.finish_request(request, client_address)
358 def finish_request(self, request, client_address): argument
360 self.RequestHandlerClass(request, client_address, self)
370 def handle_error(self, request, client_address): argument
[all …]
/third_party/cef/libcef_dll/cpptoc/
Dserver_handler_cpptoc.cc111 const cef_string_t* client_address, in server_handler_on_http_request() argument
125 DCHECK(client_address); in server_handler_on_http_request()
126 if (!client_address) in server_handler_on_http_request()
135 CefServerCToCpp::Wrap(server), connection_id, CefString(client_address), in server_handler_on_http_request()
143 const cef_string_t* client_address, in server_handler_on_web_socket_request() argument
158 DCHECK(client_address); in server_handler_on_web_socket_request()
159 if (!client_address) in server_handler_on_web_socket_request()
172 CefServerCToCpp::Wrap(server), connection_id, CefString(client_address), in server_handler_on_web_socket_request()
/third_party/cef/libcef_dll/ctocpp/
Dserver_handler_ctocpp.cc106 const CefString& client_address, in OnHttpRequest() argument
121 DCHECK(!client_address.empty()); in OnHttpRequest()
122 if (client_address.empty()) in OnHttpRequest()
131 connection_id, client_address.GetStruct(), in OnHttpRequest()
139 const CefString& client_address, in OnWebSocketRequest() argument
155 DCHECK(!client_address.empty()); in OnWebSocketRequest()
156 if (client_address.empty()) in OnWebSocketRequest()
169 connection_id, client_address.GetStruct(), in OnWebSocketRequest()
Dserver_handler_ctocpp.h46 const CefString& client_address,
50 const CefString& client_address,
/third_party/cef/tests/ceftests/
Dtest_server.cc69 const CefString& client_address, in OnHttpRequest() argument
71 NotifyHttpRequest(server, connection_id, client_address, request); in OnHttpRequest()
76 const CefString& client_address, in OnWebSocketRequest() argument
96 const CefString& client_address,
241 const CefString& client_address, in NotifyHttpRequest() argument
264 if ((*it)->OnHttpRequest(server, connection_id, client_address, in NotifyHttpRequest()
362 const CefString& client_address, in NotifyHttpRequest() argument
366 connection_id, client_address, request)); in NotifyHttpRequest()
370 GetServerManager()->NotifyHttpRequest(server, connection_id, client_address, in NotifyHttpRequest()
Dserver_unittest.cc45 const CefString& client_address,
58 const CefString& client_address,
238 const CefString& client_address, in OnHttpRequest() argument
242 EXPECT_FALSE(client_address.empty()); in OnHttpRequest()
250 (*it)->HandleRequest(server, connection_id, client_address, request); in OnHttpRequest()
262 const CefString& client_address, in OnWebSocketRequest() argument
267 EXPECT_FALSE(client_address.empty()); in OnWebSocketRequest()
277 handled = (*it)->HandleRequest(server, connection_id, client_address, in OnWebSocketRequest()
835 const CefString& client_address, in HandleRequest() argument
1281 const CefString& client_address, in HandleRequest() argument
Dtest_server.h60 const CefString& client_address,
Dtest_server_unittest.cc104 const CefString& client_address, in OnHttpRequest() argument
Dcookie_unittest.cc1327 const CefString& client_address, in OnHttpRequest() argument
1330 EXPECT_FALSE(client_address.empty()); in OnHttpRequest()
/third_party/cef/include/
Dcef_server.h269 const CefString& client_address,
288 const CefString& client_address,
/third_party/cef/include/capi/
Dcef_server_capi.h275 const cef_string_t* client_address,
295 const cef_string_t* client_address,
/third_party/python/Lib/wsgiref/
Dsimple_server.py89 if host != self.client_address[0]:
91 env['REMOTE_ADDR'] = self.client_address[0]
/third_party/python/Lib/test/test_asyncio/
Dutils.py150 def handle_error(self, request, client_address): argument
156 def finish_request(self, request, client_address): argument
166 self.RequestHandlerClass(ssock, client_address, self)
244 def handle_error(self, request, client_address): argument
/third_party/python/Doc/library/
Dsocketserver.rst314 .. method:: finish_request(request, client_address)
327 .. method:: handle_error(request, client_address)
348 .. method:: process_request(request, client_address)
373 .. method:: verify_request(request, client_address)
409 address as :attr:`self.client_address`; and the server instance as
466 print("{} wrote:".format(self.client_address[0]))
489 print("{} wrote:".format(self.client_address[0]))
564 print("{} wrote:".format(self.client_address[0]))
566 socket.sendto(data.upper(), self.client_address)
Dhttp.server.rst56 .. class:: BaseHTTPRequestHandler(request, client_address, server)
73 .. attribute:: client_address
321 .. class:: SimpleHTTPRequestHandler(request, client_address, server, directory=None)
442 .. class:: CGIHTTPRequestHandler(request, client_address, server)
/third_party/mesa3d/src/intel/vulkan/
Danv_allocator.c1839 uint64_t client_address, in anv_device_import_bo_from_host_ptr() argument
1881 if (client_address && client_address != intel_48b_address(bo->offset)) { in anv_device_import_bo_from_host_ptr()
1907 client_address); in anv_device_import_bo_from_host_ptr()
1929 uint64_t client_address, in anv_device_import_bo() argument
2001 if (client_address && client_address != intel_48b_address(bo->offset)) { in anv_device_import_bo()
2035 client_address); in anv_device_import_bo()
Danv_device.c3717 uint64_t client_address) in anv_vma_alloc() argument
3724 if (client_address) { in anv_vma_alloc()
3726 client_address, size)) { in anv_vma_alloc()
3727 addr = client_address; in anv_vma_alloc()
3736 assert(client_address == 0); in anv_vma_alloc()
3826 uint64_t client_address = 0; in anv_AllocateMemory() local
3859 client_address = addr_info->opaqueCaptureAddress; in anv_AllocateMemory()
3930 client_address, &mem->bo); in anv_AllocateMemory()
3979 client_address, in anv_AllocateMemory()
3997 alloc_flags, client_address, &mem->bo); in anv_AllocateMemory()
Danv_private.h1403 uint64_t client_address,
1407 uint64_t client_address,
1478 uint64_t client_address);
/third_party/cef/tests/cefclient/browser/
Dserver_test.cc90 const CefString& client_address, in OnHttpRequest() argument
137 const CefString& client_address, in OnWebSocketRequest() argument
/third_party/python/Lib/test/
Dtest_socketserver.py106 def handle_error(self, request, client_address): argument
360 def handle_error(self, request, client_address): argument
488 def verify_request(self, request, client_address): argument
Dtest_urllib2_localnet.py46 request, client_address = self.socket.accept()
53 return (request, client_address)
Dtest_imaplib.py220 def handle_error(self, request, client_address): argument
591 def handle_error(self, request, client_address): argument
/third_party/python/Lib/http/
Dserver.py617 return self.client_address[0]
1104 env['REMOTE_ADDR'] = self.client_address[0]
1183 self.server.handle_error(self.request, self.client_address)
/third_party/python/Lib/idlelib/
Drpc.py97 def handle_error(self, request, client_address): argument
114 print('Client Address: ', client_address, file=erf)
Drun.py395 def handle_error(self, request, client_address): argument

12