Home
last modified time | relevance | path

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

/external/grpc-grpc/test/core/gpr/
Dtls_test.cc42 gpr_tls_set(&test_var, i); in thd_body()
45 gpr_tls_set(&test_var, 0); in thd_body()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/
Dexec_ctx.h227 gpr_tls_set(&exec_ctx_, reinterpret_cast<intptr_t>(exec_ctx)); in Set()
326 gpr_tls_set(&callback_exec_ctx_, reinterpret_cast<intptr_t>(nullptr)); in ~ApplicationCallbackExecCtx()
348 gpr_tls_set(&callback_exec_ctx_, reinterpret_cast<intptr_t>(exec_ctx)); in Set()
Dtimer_generic.cc274 gpr_tls_set(&g_last_seen_min_timer, 0); in timer_list_init()
457 gpr_tls_set(&g_last_seen_min_timer, 0); in timer_consume_kick()
595 gpr_tls_set(&g_last_seen_min_timer, min_timer); in run_some_expired_timers()
Dev_epoll1_linux.cc1030 gpr_tls_set(&g_current_thread_pollset, (intptr_t)ps); in pollset_work()
1031 gpr_tls_set(&g_current_thread_worker, (intptr_t)&worker); in pollset_work()
1058 gpr_tls_set(&g_current_thread_worker, 0); in pollset_work()
1060 gpr_tls_set(&g_current_thread_pollset, (intptr_t)ps); in pollset_work()
1064 gpr_tls_set(&g_current_thread_pollset, 0); in pollset_work()
Dexecutor.cc217 gpr_tls_set(&g_this_thread_state, reinterpret_cast<intptr_t>(ts)); in ThreadMain()
251 gpr_tls_set(&g_this_thread_state, reinterpret_cast<intptr_t>(nullptr)); in ThreadMain()
Dev_poll_posix.cc959 gpr_tls_set(&g_current_thread_poller, (intptr_t)pollset);
967 gpr_tls_set(&g_current_thread_worker, (intptr_t)&worker);
1115 gpr_tls_set(&g_current_thread_poller, 0);
1118 gpr_tls_set(&g_current_thread_worker, 0);
Dev_epollex_linux.cc1134 gpr_tls_set(&g_current_thread_pollset, (intptr_t)pollset);
1135 gpr_tls_set(&g_current_thread_worker, (intptr_t)WORKER_PTR);
1146 gpr_tls_set(&g_current_thread_pollset, 0);
1147 gpr_tls_set(&g_current_thread_worker, 0);
/external/rust/crates/grpcio-sys/grpc/src/core/lib/gpr/
Dtls_pthread.cc25 intptr_t gpr_tls_set(struct gpr_pthread_thread_local* tls, intptr_t value) { in gpr_tls_set() function
Dtls_stdcpp.h44 #define gpr_tls_set(tls, new_value) (*(tls) = (new_value)) macro
Dtls_gcc.h49 #define gpr_tls_set(tls, new_value) (((tls)->value) = (new_value)) macro
Dtls_msvc.h51 #define gpr_tls_set(tls, new_value) (((tls)->value) = (new_value)) macro
Dtls_pthread.h51 intptr_t gpr_tls_set(struct gpr_pthread_thread_local* tls, intptr_t value);
/external/grpc-grpc/src/core/lib/gpr/
Dtls_pthread.cc25 intptr_t gpr_tls_set(struct gpr_pthread_thread_local* tls, intptr_t value) { in gpr_tls_set() function
Dtls_gcc.h49 #define gpr_tls_set(tls, new_value) (((tls)->value) = (new_value)) macro
Dtls_msvc.h49 #define gpr_tls_set(tls, new_value) (((tls)->value) = (new_value)) macro
Dtls_pthread.h51 intptr_t gpr_tls_set(struct gpr_pthread_thread_local* tls, intptr_t value);
/external/grpc-grpc/src/core/lib/iomgr/
Dexec_ctx.h209 gpr_tls_set(&exec_ctx_, reinterpret_cast<intptr_t>(exec_ctx)); in Set()
Dtimer_generic.cc272 gpr_tls_set(&g_last_seen_min_timer, 0); in timer_list_init()
454 gpr_tls_set(&g_last_seen_min_timer, 0); in timer_consume_kick()
591 gpr_tls_set(&g_last_seen_min_timer, min_timer); in run_some_expired_timers()
Dev_epoll1_linux.cc1007 gpr_tls_set(&g_current_thread_pollset, (intptr_t)ps); in pollset_work()
1008 gpr_tls_set(&g_current_thread_worker, (intptr_t)&worker); in pollset_work()
1035 gpr_tls_set(&g_current_thread_worker, 0); in pollset_work()
1037 gpr_tls_set(&g_current_thread_pollset, (intptr_t)ps); in pollset_work()
1041 gpr_tls_set(&g_current_thread_pollset, 0); in pollset_work()
Dev_epollsig_linux.cc1307 gpr_tls_set(&g_current_thread_pollset, (intptr_t)pollset);
1308 gpr_tls_set(&g_current_thread_worker, (intptr_t)&worker);
1385 gpr_tls_set(&g_current_thread_pollset, (intptr_t)0);
1386 gpr_tls_set(&g_current_thread_worker, (intptr_t)0);
Dev_epollex_linux.cc1184 gpr_tls_set(&g_current_thread_pollset, (intptr_t)pollset);
1185 gpr_tls_set(&g_current_thread_worker, (intptr_t)WORKER_PTR);
1196 gpr_tls_set(&g_current_thread_pollset, 0);
1197 gpr_tls_set(&g_current_thread_worker, 0);
Dexecutor.cc160 gpr_tls_set(&g_this_thread_state, reinterpret_cast<intptr_t>(ts)); in ThreadMain()
Dev_poll_posix.cc995 gpr_tls_set(&g_current_thread_poller, (intptr_t)pollset);
1003 gpr_tls_set(&g_current_thread_worker, (intptr_t)&worker);
1151 gpr_tls_set(&g_current_thread_poller, 0);
1154 gpr_tls_set(&g_current_thread_worker, 0);
/external/grpc-grpc/src/core/lib/surface/
Dcompletion_queue.cc386 gpr_tls_set(&g_cached_event, (intptr_t)0); in grpc_completion_queue_thread_local_cache_init()
387 gpr_tls_set(&g_cached_cq, (intptr_t)cq); in grpc_completion_queue_thread_local_cache_init()
412 gpr_tls_set(&g_cached_event, (intptr_t)0); in grpc_completion_queue_thread_local_cache_flush()
413 gpr_tls_set(&g_cached_cq, (intptr_t)0); in grpc_completion_queue_thread_local_cache_flush()
709 gpr_tls_set(&g_cached_event, (intptr_t)storage);
/external/rust/crates/grpcio-sys/grpc/src/core/lib/surface/
Dcompletion_queue.cc452 gpr_tls_set(&g_cached_event, (intptr_t)0); in grpc_completion_queue_thread_local_cache_init()
453 gpr_tls_set(&g_cached_cq, (intptr_t)cq); in grpc_completion_queue_thread_local_cache_init()
478 gpr_tls_set(&g_cached_event, (intptr_t)0); in grpc_completion_queue_thread_local_cache_flush()
479 gpr_tls_set(&g_cached_cq, (intptr_t)0); in grpc_completion_queue_thread_local_cache_flush()
725 gpr_tls_set(&g_cached_event, (intptr_t)storage);