Home
last modified time | relevance | path

Searched refs:_conn (Results 1 – 14 of 14) sorted by relevance

/external/grpc-grpc/test/http2_test/
Dhttp2_base_server.py31 self._conn = h2.connection.H2Connection(client_side=False)
56 self._conn.initiate_connection()
58 self.transport.write(self._conn.data_to_send())
65 events = self._conn.receive_data(data)
70 if self._conn.data_to_send:
71 self.transport.write(self._conn.data_to_send())
85 self.transport.write(self._conn.data_to_send())
92 self._conn.acknowledge_received_data(len(event.data), event.stream_id)
99 self._conn.send_headers(
108 self.transport.write(self._conn.data_to_send())
[all …]
Dtest_max_streams.py35 self._base_server._conn.initiate_connection()
36 self._base_server._conn.update_settings(
39 self._base_server.transport.write(self._base_server._conn.data_to_send())
Dtest_goaway.py48 …self._base_server._conn.close_connection(error_code=0, additional_data=None, last_stream_id=stream…
/external/rust/crates/grpcio-sys/grpc/test/http2_test/
Dhttp2_base_server.py33 self._conn = h2.connection.H2Connection(client_side=False)
58 self._conn.initiate_connection()
60 self.transport.write(self._conn.data_to_send())
67 events = self._conn.receive_data(data)
72 if self._conn.data_to_send:
73 self.transport.write(self._conn.data_to_send())
94 self.transport.write(self._conn.data_to_send())
101 self._conn.acknowledge_received_data(len(event.data), event.stream_id)
108 self._conn.send_headers(
117 self.transport.write(self._conn.data_to_send())
[all …]
Dtest_max_streams.py37 self._base_server._conn.initiate_connection()
38 self._base_server._conn.update_settings(
42 self._base_server._conn.data_to_send())
Dtest_goaway.py51 self._base_server._conn.close_connection(error_code=0,
/external/python/cpython2/Lib/idlelib/
DRemoteDebugger.py200 self._conn = conn
214 return self._conn.remotecall(self._oid, "frame_attr",
218 cid = self._conn.remotecall(self._oid, "frame_code", (self._fid,), {})
219 return CodeProxy(self._conn, self._oid, cid)
222 did = self._conn.remotecall(self._oid, "frame_globals",
227 did = self._conn.remotecall(self._oid, "frame_locals",
234 dp = DictProxy(self._conn, self._oid, did)
242 self._conn = conn
248 return self._conn.remotecall(self._oid, "code_name",
251 return self._conn.remotecall(self._oid, "code_filename",
[all …]
/external/python/cpython3/Lib/idlelib/
Ddebugger_r.py204 self._conn = conn
218 return self._conn.remotecall(self._oid, "frame_attr",
222 cid = self._conn.remotecall(self._oid, "frame_code", (self._fid,), {})
223 return CodeProxy(self._conn, self._oid, cid)
226 did = self._conn.remotecall(self._oid, "frame_globals",
231 did = self._conn.remotecall(self._oid, "frame_locals",
238 dp = DictProxy(self._conn, self._oid, did)
246 self._conn = conn
252 return self._conn.remotecall(self._oid, "code_name",
255 return self._conn.remotecall(self._oid, "code_filename",
[all …]
/external/python/cpython2/Lib/
Dhttplib.py1161 self._conn = conn
1179 (self._conn.host, self._conn.port) = self._conn._get_hostport(host, port)
1180 self._conn.connect()
1196 response = self._conn.getresponse()
1200 response = self._conn.getresponse(buffering)
1207 self.file = self._conn.sock.makefile('rb', 0)
1220 self._conn.close()
/external/tensorflow/tensorflow/python/distribute/
Dmulti_process_runner.py897 self._conn = {}
905 for conn in self._conn.values():
907 self._conn = {}
937 self._conn[(task_type, task_id)] = conn1
961 for conn in self._conn.values():
965 for (task_type, task_id), conn in self._conn.items():
/external/python/cpython2/Lib/multiprocessing/
Dconnection.py447 self._conn = conn
455 self._conn.send_bytes(s)
457 s = self._conn.recv_bytes()
/external/python/cpython2/Lib/test/
Dtest_httplib.py462 c = http._conn
750 self.assertEqual(self.conn._conn.host, HOST)
751 self.assertEqual(self.conn._conn.port, self.port)
758 self.assertNotEqual(self.conn._conn.host, testhost)
759 self.assertNotEqual(self.conn._conn.port, testport)
760 self.assertEqual(self.conn._conn.host, HOST)
761 self.assertEqual(self.conn._conn.port, self.port)
/external/python/cpython3/Lib/multiprocessing/
Dconnection.py772 self._conn = conn
780 self._conn.send_bytes(s)
782 s = self._conn.recv_bytes()
/external/mesa3d/src/vulkan/wsi/
Dwsi_common_display.c102 #define wsi_for_each_display_mode(_mode, _conn) \ argument
104 &(_conn)->display_modes, list)
106 #define wsi_for_each_connector(_conn, _dev) \ argument
107 list_for_each_entry_safe(struct wsi_display_connector, _conn, \