Home
last modified time | relevance | path

Searched refs:g_handle (Results 1 – 3 of 3) sorted by relevance

/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/
Dpollset_uv.cc44 static uv_poller_handle* g_handle; variable
47 g_handle = (uv_poller_handle*)gpr_malloc(sizeof(uv_poller_handle)); in init()
48 g_handle->refs = 2; in init()
49 uv_timer_init(uv_default_loop(), &g_handle->poll_timer); in init()
50 uv_timer_init(uv_default_loop(), &g_handle->kick_timer); in init()
62 uv_timer_start(&g_handle->poll_timer, empty_timer_cb, timeout, 0); in run_loop()
64 uv_timer_stop(&g_handle->poll_timer); in run_loop()
72 uv_timer_start(&g_handle->kick_timer, kick_timer_cb, 0, 0); in kick()
77 g_handle->refs--; in close_timer_cb()
78 if (g_handle->refs == 0) { in close_timer_cb()
[all …]
/external/grpc-grpc/src/core/lib/iomgr/
Dpollset_uv.cc44 static uv_poller_handle* g_handle; variable
47 g_handle = (uv_poller_handle*)gpr_malloc(sizeof(uv_poller_handle)); in init()
48 g_handle->refs = 2; in init()
49 uv_timer_init(uv_default_loop(), &g_handle->poll_timer); in init()
50 uv_timer_init(uv_default_loop(), &g_handle->kick_timer); in init()
62 uv_timer_start(&g_handle->poll_timer, empty_timer_cb, timeout, 0); in run_loop()
64 uv_timer_stop(&g_handle->poll_timer); in run_loop()
72 uv_timer_start(&g_handle->kick_timer, kick_timer_cb, 0, 0); in kick()
77 g_handle->refs--; in close_timer_cb()
78 if (g_handle->refs == 0) { in close_timer_cb()
[all …]
/external/tensorflow/tensorflow/python/ops/
Dtensor_array_ops.py238 g_handle, unused_flow = gen_data_flow_ops.tensor_array_grad_v3(
240 with ops.control_dependencies([g_handle]):
244 handle=g_handle,