Searched refs:closing (Results 1 - 6 of 6) sorted by relevance

/system/core/adb/
H A Dsocket.h45 int closing; member in struct:asocket
H A Dtest_adb.py167 with contextlib.closing(
182 with contextlib.closing(accepted_connection) as conn:
189 with contextlib.closing(conn.makefile()) as f:
197 # real emulator because it just calls exit() without closing
H A Dsockets.cpp49 /* the the list of currently closing local sockets.
216 D("LS(%d): closing peer. peer->id=%d peer->fd=%d", s->id, s->peer->id, s->peer->fd);
229 /* If we are already closing, or if there are no
232 if (s->closing || s->has_write_error || s->pkt_first == NULL) {
239 /* otherwise, put on the closing list
241 D("LS(%d): closing", s->id);
242 s->closing = 1;
275 D(" closing after write because r=%d and errno is %d", r, errno);
290 /* if we sent the last packet of a closing socket,
293 if (s->closing) {
[all...]
H A Dtest_device.py233 with contextlib.closing(listener):
245 with contextlib.closing(client):
251 with contextlib.closing(accepted_connection) as server:
/system/extras/tests/net_test/
H A Dtcp_nuke_addr_test.py72 with contextlib.closing(connection):
86 with contextlib.closing(
93 with contextlib.closing(
/system/bt/btif/src/
H A Dbtif_sock_rfc.c69 int closing : 1; member in struct:__anon687
390 if(slot->f.server && !slot->f.closing && slot->rfc_handle) {
417 if (slot->rfc_handle && !slot->f.closing && !slot->f.server) {

Completed in 195 milliseconds