Home
last modified time | relevance | path

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

12

/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/openthread/tools/harness-automation/autothreadharness/
Drf_shield_controller.py64 self._conn = None
75 return self._conn.write('{}\r\n'.format(data))
81 self._conn = serial.Serial(self._port, 9600)
82 if not self._conn.isOpen():
83 self._conn.open()
89 if self._conn:
90 self._conn.close()
91 self._conn = None
/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/mobly/mobly/controllers/android_device_lib/
Djsonrpc_client_base.py123 self._conn = None
206 self._conn = socket.create_connection(('localhost', self.host_port),
214 self._conn = socket.create_connection(('127.0.0.1', self.host_port),
217 self._conn.settimeout(_SOCKET_READ_TIMEOUT)
218 self._client = self._conn.makefile(mode='brw')
246 if self._conn:
247 self._conn.close()
248 self._conn = None
Dsnippet_client_v2.py127 self._conn = None
155 return self._conn is not None
364 self._conn = socket.create_connection(('localhost', self.host_port),
371 self._conn = socket.create_connection(('127.0.0.1', self.host_port),
374 self._conn.settimeout(_SOCKET_READ_TIMEOUT)
375 self._client = self._conn.makefile(mode='brw')
586 if self._conn:
587 self._conn.close()
588 self._conn = None
Dsl4a_client.py106 if self._conn:
Dsnippet_client.py102 return self._conn is not None
/external/python/mobly/tests/mobly/controllers/android_device_lib/
Djsonrpc_client_base_test.py76 client._conn = mock_conn
78 self.assertIsNone(client._conn)
86 client._conn = mock_conn
343 client._conn = mock_conn
347 self.assertIsNone(client._conn)
351 client._conn = None
354 self.assertIsNone(client._conn)
Dsnippet_client_v2_test.py160 self.assertIs(self.client._conn, None)
591 self.client._conn = mock_conn
602 self.assertIs(self.client._conn, None)
616 self.client._conn = mock_conn
627 self.assertIs(self.client._conn, None)
640 self.client._conn = None
651 self.assertIs(self.client._conn, None)
665 self.client._conn = mock_conn
677 self.assertIs(self.client._conn, None)
694 self.client._conn = mock_conn
[all …]
Dsnippet_client_test.py171 client._conn = mock.MagicMock()
175 client._conn.close.side_effect = [Exception('ha'), None]
192 event_client._conn = event_client_conn
198 self.assertIsNone(event_client._conn)
210 event_client._conn = None
215 self.assertIsNone(event_client._conn)
/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.py918 self._conn = {}
926 for conn in self._conn.values():
928 self._conn = {}
959 self._conn[(task_type, task_id)] = conn1
984 for conn in self._conn.values():
988 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/rust/pica/src/bin/server/
Dweb.rs254 let make_svc = make_service_fn(move |_conn| { in serve()
/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, \
/external/wpa_supplicant_8/src/common/
Ddpp.h795 int dpp_tcp_auth(struct dpp_global *dpp, void *_conn,
/external/crosvm/devices/src/virtio/vhost/user/device/
Dhandler.rs219 fn set_backend_req_connection(&mut self, _conn: VhostBackendReqConnection) { in set_backend_req_connection()

12