Home
last modified time | relevance | path

Searched refs:alive (Results 1 - 25 of 27) sorted by relevance

12

/third_party/python/Lib/test/
H A Dfork_wait.py26 self.alive = {}
41 self.alive[id] = os.getpid()
58 while len(self.alive) < NUM_THREADS:
63 a = sorted(self.alive.keys())
66 prefork_lives = self.alive.copy()
77 for key in self.alive:
78 if self.alive[key] != prefork_lives[key]:
H A Dtest_weakref.py600 del c1 # still alive because c2 points to it
912 # - retain their hash is they were hashed when alive;
1208 # If it wasn't hashed when alive, a dead WeakMethod cannot be hashed.
1220 # Keep an iterator alive
1232 # one item may be kept alive inside the iterator
1453 # implicit mutation is deferred because an iterator is alive.
1864 # o is still alive, so the dict can't be empty
1995 self.assertEqual(f.alive, True)
2002 self.assertEqual(f.alive, False)
2013 self.assertEqual(f.alive, Fals
[all...]
/third_party/skia/third_party/externals/dawn/src/tests/unittests/
H A DStackContainerTests.cpp19 explicit Dummy(int* alive) : mAlive(alive) { in Dummy() argument
80 int alive = 0; in TEST() local
81 Ref<Dummy> dummy = AcquireRef(new Dummy(&alive)); in TEST()
82 EXPECT_EQ(alive, 1); in TEST()
85 EXPECT_EQ(alive, 1); in TEST()
89 EXPECT_EQ(alive, 1); in TEST()
94 EXPECT_EQ(alive, 0); in TEST()
/third_party/node/test/addons/null-buffer-neuter/
H A Dbinding.cc7 static int alive; variable
11 alive--; in FreeCallback()
15 args.GetReturnValue().Set(alive); in IsAlive()
20 alive++; in Run()
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-threadpool/mount-origin/
H A Dexample.js36 var n, wsa = new Array, alive = 0;
45 alive++;
68 alive--;
69 if (alive === 0)
/third_party/node/test/addons/buffer-free-callback/
H A Dbinding.cc7 static int alive; variable
11 alive--; in FreeCallback()
16 alive++; in Alloc()
36 assert(alive > 0); in Check()
/third_party/libwebsockets/lib/plat/windows/
H A Dwindows-sockets.c99 struct tcp_keepalive alive; in lws_plat_set_socket_options() local
117 alive.onoff = TRUE; in lws_plat_set_socket_options()
118 alive.keepalivetime = vhost->ka_time * 1000; in lws_plat_set_socket_options()
119 alive.keepaliveinterval = vhost->ka_interval * 1000; in lws_plat_set_socket_options()
121 if (WSAIoctl(fd, SIO_KEEPALIVE_VALS, &alive, sizeof(alive), in lws_plat_set_socket_options()
125 lwsl_err("WSAIoctl SIO_KEEPALIVE_VALS 1 %lu %lu failed with error %d\n", alive.keepalivetime, alive.keepaliveinterval, error); in lws_plat_set_socket_options()
/third_party/mesa3d/src/gallium/drivers/r600/sb/
H A Dsb_dce_cleanup.cpp146 bool alive = false; in cleanup_dst_vec() local
159 alive = true; in cleanup_dst_vec()
162 return alive; in cleanup_dst_vec()
H A Dsb_liveness.cpp240 bool alive = remove_val(d); in process_maydef() local
241 if (alive) { in process_maydef()
275 bool alive = remove_vec(n.dst); in process_outs() local
276 if (alive) in process_outs()
278 return alive; in process_outs()
/third_party/skia/src/gpu/
H A DGrMemoryPool.cpp122 int alive = block->metadata(); in release() local
123 if (alive == 1) { in release()
128 block->setMetadata(alive - 1); in release()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
H A DvktApiMaintenance3Check.cpp90 // Structure representing how many descriptors have been assigned to the given type. The type is "alive" during
93 // the type is no longer considered "alive".
97 : type(type_), alive(true), count(0u) in TypeState()
101 bool alive; member
108 // Get the subset of alive types from the given map.
114 if (typeCount.second.alive) in getAliveTypes()
120 // Get the subset of alive types for a specific limit, among the set of types affected by the limit.
141 // Calculate the maximum increment per alive descriptor type. This involves iterating over the limits and in distributeCounts()
142 // finding out how many more descriptors can be distributed among the affected types that are still alive in distributeCounts()
159 // Distribute remaining count evenly among alive type in distributeCounts()
[all...]
/third_party/mesa3d/src/util/
H A Dfossilize_db.h82 bool alive; member
H A Dfossilize_db.c255 foz_db->alive = true; in load_foz_dbs()
372 if (!foz_db->alive) in foz_read_entry()
440 if (!foz_db->alive) in foz_write_entry()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
H A DvktApiMaintenance3Check.cpp91 // Structure representing how many descriptors have been assigned to the given type. The type is "alive" during
94 // the type is no longer considered "alive".
98 : type(type_), alive(true), count(0u) in TypeState()
102 bool alive; member
109 // Get the subset of alive types from the given map.
115 if (typeCount.second.alive) in getAliveTypes()
121 // Get the subset of alive types for a specific limit, among the set of types affected by the limit.
142 // Calculate the maximum increment per alive descriptor type. This involves iterating over the limits and in distributeCounts()
143 // finding out how many more descriptors can be distributed among the affected types that are still alive in distributeCounts()
160 // Distribute remaining count evenly among alive type in distributeCounts()
[all...]
/third_party/node/test/parallel/
H A Dtest-http-server-keep-alive-max-requests-null.js11 assert.match(headers, /Connection: keep-alive\r\n/m);
18 socket.write('Connection: keep-alive\r\n');
H A Dtest-http-server-keep-alive-defaults.js11 assert.match(headers, /Connection: keep-alive\r\n/m);
18 socket.write('Connection: keep-alive\r\n');
H A Dtest-http-keep-alive-max-requests.js16 assert.match(headers, /Connection: keep-alive\r\n/m);
25 socket.write('Connection: keep-alive\r\n');
32 socket.write('Connection: keep-alive\r\n');
86 // Do 2 of 3 allowed requests and ensure they still alive
H A Dtest-http-keep-alive-pipeline-max-requests.js16 assert.match(headers, /Connection: keep-alive\r\n/m);
24 socket.write('Connection: keep-alive\r\n');
/third_party/ffmpeg/libavfilter/
H A Dvsrc_life.c52 * A 0xFF (ALIVE_CELL) value means the cell is alive (or new born), while
304 int pos[8][2], n, alive, cell; in evolve() local
335 alive = 1<<n & (cell == ALIVE_CELL ? life->stay_rule : life->born_rule); in evolve()
336 if (alive) *newbuf = ALIVE_CELL; // new cell is alive in evolve()
/third_party/libwebsockets/lib/core/
H A Dcontext.c1772 int alive = 0, deferred_pt = 0; in lws_context_destroy() local
1960 alive++; in lws_context_destroy()
1962 lwsl_cx_info(context, "PT_WAIT_ALL_DESTROYED: %d alive", alive); in lws_context_destroy()
1964 if (alive) in lws_context_destroy()
/third_party/curl/lib/
H A Dcf-h2-proxy.c1476 bool alive = TRUE; in proxy_h2_connisalive() local
1494 alive = FALSE; in proxy_h2_connisalive()
1496 alive = !proxy_h2_should_close_session(ctx); in proxy_h2_connisalive()
1501 alive = FALSE; in proxy_h2_connisalive()
1505 return alive; in proxy_h2_connisalive()
1518 CURL_TRC_CF(data, cf, "[0] conn alive -> %d, input_pending=%d", in cf_h2_proxy_is_alive()
H A Dhttp2.c592 bool alive = TRUE; in http2_connisalive() local
612 alive = FALSE; in http2_connisalive()
614 alive = !should_close_session(ctx); in http2_connisalive()
619 alive = FALSE; in http2_connisalive()
623 return alive; in http2_connisalive()
2544 CURL_TRC_CF(data, cf, "conn alive -> %d, input_pending=%d", in cf_h2_is_alive()
/third_party/curl/lib/vquic/
H A Dcurl_ngtcp2.c2263 bool alive = FALSE; in cf_ngtcp2_conn_is_alive() local
2293 alive = TRUE; in cf_ngtcp2_conn_is_alive()
2302 alive = result? FALSE : TRUE; in cf_ngtcp2_conn_is_alive()
2307 return alive; in cf_ngtcp2_conn_is_alive()
H A Dcurl_osslq.c2050 bool alive = FALSE; in cf_osslq_conn_is_alive() local
2063 alive = TRUE; in cf_osslq_conn_is_alive()
2072 alive = result? FALSE : TRUE; in cf_osslq_conn_is_alive()
2077 return alive; in cf_osslq_conn_is_alive()
H A Dcurl_quiche.c1480 bool alive = TRUE; in cf_quiche_conn_is_alive() local
1514 alive = FALSE; in cf_quiche_conn_is_alive()
1516 alive = TRUE; in cf_quiche_conn_is_alive()
1520 return alive; in cf_quiche_conn_is_alive()

Completed in 46 milliseconds

12