/external/rust/crates/grpcio-sys/grpc/src/core/lib/gpr/ |
D | sync_abseil.cc | 43 void gpr_mu_init(gpr_mu* mu) { in gpr_mu_init() 44 static_assert(sizeof(gpr_mu) == sizeof(absl::Mutex), in gpr_mu_init() 49 void gpr_mu_destroy(gpr_mu* mu) { in gpr_mu_destroy() 53 void gpr_mu_lock(gpr_mu* mu) ABSL_NO_THREAD_SAFETY_ANALYSIS { in gpr_mu_lock() 58 void gpr_mu_unlock(gpr_mu* mu) ABSL_NO_THREAD_SAFETY_ANALYSIS { in gpr_mu_unlock() 63 int gpr_mu_trylock(gpr_mu* mu) { in gpr_mu_trylock() 81 int gpr_cv_wait(gpr_cv* cv, gpr_mu* mu, gpr_timespec abs_deadline) { in gpr_cv_wait()
|
D | sync_windows.cc | 30 void gpr_mu_init(gpr_mu* mu) { in gpr_mu_init() 35 void gpr_mu_destroy(gpr_mu* mu) { DeleteCriticalSection(&mu->cs); } in gpr_mu_destroy() 37 void gpr_mu_lock(gpr_mu* mu) { in gpr_mu_lock() 43 void gpr_mu_unlock(gpr_mu* mu) { in gpr_mu_unlock() 48 int gpr_mu_trylock(gpr_mu* mu) { in gpr_mu_trylock() 68 int gpr_cv_wait(gpr_cv* cv, gpr_mu* mu, gpr_timespec abs_deadline) { in gpr_cv_wait()
|
D | sync_posix.cc | 40 void gpr_mu_init(gpr_mu* mu) { in gpr_mu_init() 50 void gpr_mu_destroy(gpr_mu* mu) { in gpr_mu_destroy() 59 void gpr_mu_lock(gpr_mu* mu) { in gpr_mu_lock() 71 void gpr_mu_unlock(gpr_mu* mu) { in gpr_mu_unlock() 80 int gpr_mu_trylock(gpr_mu* mu) { in gpr_mu_trylock() 119 int gpr_cv_wait(gpr_cv* cv, gpr_mu* mu, gpr_timespec abs_deadline) { in gpr_cv_wait()
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/gprpp/ |
D | sync.h | 48 gpr_mu* get() { return &mu_; } in get() 49 const gpr_mu* get() const { return &mu_; } in get() 52 gpr_mu mu_; 59 explicit MutexLock(gpr_mu* mu) : mu_(mu) { gpr_mu_lock(mu_); } in MutexLock() 66 gpr_mu* const mu_; 72 explicit ReleasableMutexLock(gpr_mu* mu) : mu_(mu) { gpr_mu_lock(mu_); } in ReleasableMutexLock() 93 gpr_mu* const mu_;
|
/external/rust/crates/grpcio-sys/grpc/include/grpcpp/impl/codegen/ |
D | sync.h | 55 gpr_mu* get() { return &mu_; } in get() 56 const gpr_mu* get() const { return &mu_; } in get() 60 gpr_mu mu_; 74 explicit MutexLock(gpr_mu* mu) : mu_(mu) { in MutexLock() 83 gpr_mu* const mu_; 91 explicit ReleasableMutexLock(gpr_mu* mu) : mu_(mu) { in ReleasableMutexLock() 114 gpr_mu* const mu_;
|
D | core_codegen.h | 56 void gpr_mu_init(gpr_mu* mu) override; 57 void gpr_mu_destroy(gpr_mu* mu) override; 58 void gpr_mu_lock(gpr_mu* mu) override; 59 void gpr_mu_unlock(gpr_mu* mu) override; 62 int gpr_cv_wait(gpr_cv* cv, gpr_mu* mu, gpr_timespec abs_deadline) override;
|
D | core_codegen_interface.h | 73 virtual void gpr_mu_init(gpr_mu* mu) = 0; 74 virtual void gpr_mu_destroy(gpr_mu* mu) = 0; 75 virtual void gpr_mu_lock(gpr_mu* mu) = 0; 76 virtual void gpr_mu_unlock(gpr_mu* mu) = 0; 79 virtual int gpr_cv_wait(gpr_cv* cv, gpr_mu* mu,
|
/external/rust/crates/grpcio-sys/grpc/spm-cpp-include/grpcpp/impl/codegen/ |
D | sync.h | 55 gpr_mu* get() { return &mu_; } in get() 56 const gpr_mu* get() const { return &mu_; } in get() 60 gpr_mu mu_; 74 explicit MutexLock(gpr_mu* mu) : mu_(mu) { in MutexLock() 83 gpr_mu* const mu_; 91 explicit ReleasableMutexLock(gpr_mu* mu) : mu_(mu) { in ReleasableMutexLock() 114 gpr_mu* const mu_;
|
D | core_codegen_interface.h | 73 virtual void gpr_mu_init(gpr_mu* mu) = 0; 74 virtual void gpr_mu_destroy(gpr_mu* mu) = 0; 75 virtual void gpr_mu_lock(gpr_mu* mu) = 0; 76 virtual void gpr_mu_unlock(gpr_mu* mu) = 0; 79 virtual int gpr_cv_wait(gpr_cv* cv, gpr_mu* mu,
|
D | core_codegen.h | 56 void gpr_mu_init(gpr_mu* mu) override; 57 void gpr_mu_destroy(gpr_mu* mu) override; 58 void gpr_mu_lock(gpr_mu* mu) override; 59 void gpr_mu_unlock(gpr_mu* mu) override; 62 int gpr_cv_wait(gpr_cv* cv, gpr_mu* mu, gpr_timespec abs_deadline) override;
|
/external/grpc-grpc/src/core/lib/gpr/ |
D | sync_posix.cc | 36 void gpr_mu_init(gpr_mu* mu) { in gpr_mu_init() 40 void gpr_mu_destroy(gpr_mu* mu) { GPR_ASSERT(pthread_mutex_destroy(mu) == 0); } in gpr_mu_destroy() 42 void gpr_mu_lock(gpr_mu* mu) { in gpr_mu_lock() 50 void gpr_mu_unlock(gpr_mu* mu) { in gpr_mu_unlock() 55 int gpr_mu_trylock(gpr_mu* mu) { in gpr_mu_trylock() 75 int gpr_cv_wait(gpr_cv* cv, gpr_mu* mu, gpr_timespec abs_deadline) { in gpr_cv_wait()
|
D | sync_windows.cc | 29 void gpr_mu_init(gpr_mu* mu) { in gpr_mu_init() 34 void gpr_mu_destroy(gpr_mu* mu) { DeleteCriticalSection(&mu->cs); } in gpr_mu_destroy() 36 void gpr_mu_lock(gpr_mu* mu) { in gpr_mu_lock() 42 void gpr_mu_unlock(gpr_mu* mu) { in gpr_mu_unlock() 47 int gpr_mu_trylock(gpr_mu* mu) { in gpr_mu_trylock() 67 int gpr_cv_wait(gpr_cv* cv, gpr_mu* mu, gpr_timespec abs_deadline) { in gpr_cv_wait()
|
/external/rust/crates/grpcio-sys/grpc/include/grpc/support/ |
D | sync.h | 39 GPRAPI void gpr_mu_init(gpr_mu* mu); 43 GPRAPI void gpr_mu_destroy(gpr_mu* mu); 48 GPRAPI void gpr_mu_lock(gpr_mu* mu); 52 GPRAPI void gpr_mu_unlock(gpr_mu* mu); 58 GPRAPI int gpr_mu_trylock(gpr_mu* mu); 80 GPRAPI int gpr_cv_wait(gpr_cv* cv, gpr_mu* mu, gpr_timespec abs_deadline); 185 gpr_mu mu; /* Protects all fields below.
|
/external/grpc-grpc/include/grpc/support/ |
D | sync.h | 39 GPRAPI void gpr_mu_init(gpr_mu* mu); 43 GPRAPI void gpr_mu_destroy(gpr_mu* mu); 48 GPRAPI void gpr_mu_lock(gpr_mu* mu); 52 GPRAPI void gpr_mu_unlock(gpr_mu* mu); 58 GPRAPI int gpr_mu_trylock(gpr_mu* mu); 80 GPRAPI int gpr_cv_wait(gpr_cv* cv, gpr_mu* mu, gpr_timespec abs_deadline); 185 gpr_mu mu; /* Protects all fields below.
|
/external/rust/crates/grpcio-sys/grpc/spm-core-include/grpc/support/ |
D | sync.h | 39 GPRAPI void gpr_mu_init(gpr_mu* mu); 43 GPRAPI void gpr_mu_destroy(gpr_mu* mu); 48 GPRAPI void gpr_mu_lock(gpr_mu* mu); 52 GPRAPI void gpr_mu_unlock(gpr_mu* mu); 58 GPRAPI int gpr_mu_trylock(gpr_mu* mu); 80 GPRAPI int gpr_cv_wait(gpr_cv* cv, gpr_mu* mu, gpr_timespec abs_deadline); 185 gpr_mu mu; /* Protects all fields below.
|
/external/grpc-grpc/include/grpcpp/impl/codegen/ |
D | core_codegen_interface.h | 71 virtual void gpr_mu_init(gpr_mu* mu) = 0; 72 virtual void gpr_mu_destroy(gpr_mu* mu) = 0; 73 virtual void gpr_mu_lock(gpr_mu* mu) = 0; 74 virtual void gpr_mu_unlock(gpr_mu* mu) = 0; 77 virtual int gpr_cv_wait(gpr_cv* cv, gpr_mu* mu,
|
D | core_codegen.h | 56 void gpr_mu_init(gpr_mu* mu) override; 57 void gpr_mu_destroy(gpr_mu* mu) override; 58 void gpr_mu_lock(gpr_mu* mu) override; 59 void gpr_mu_unlock(gpr_mu* mu) override; 62 int gpr_cv_wait(gpr_cv* cv, gpr_mu* mu, gpr_timespec abs_deadline) override;
|
/external/grpc-grpc/src/cpp/common/ |
D | core_codegen.cc | 80 void CoreCodegen::gpr_mu_init(gpr_mu* mu) { ::gpr_mu_init(mu); }; in gpr_mu_init() 81 void CoreCodegen::gpr_mu_destroy(gpr_mu* mu) { ::gpr_mu_destroy(mu); } in gpr_mu_destroy() 82 void CoreCodegen::gpr_mu_lock(gpr_mu* mu) { ::gpr_mu_lock(mu); } in gpr_mu_lock() 83 void CoreCodegen::gpr_mu_unlock(gpr_mu* mu) { ::gpr_mu_unlock(mu); } in gpr_mu_unlock() 86 int CoreCodegen::gpr_cv_wait(gpr_cv* cv, gpr_mu* mu, in gpr_cv_wait()
|
/external/rust/crates/grpcio-sys/grpc/include/grpc/impl/codegen/ |
D | sync_posix.h | 38 } gpr_mu; typedef 45 typedef pthread_mutex_t gpr_mu; typedef
|
/external/rust/crates/grpcio-sys/grpc/spm-core-include/grpc/impl/codegen/ |
D | sync_posix.h | 38 } gpr_mu; typedef 45 typedef pthread_mutex_t gpr_mu; typedef
|
/external/rust/crates/grpcio-sys/grpc/src/cpp/common/ |
D | core_codegen.cc | 84 void CoreCodegen::gpr_mu_init(gpr_mu* mu) { ::gpr_mu_init(mu); } in gpr_mu_init() 85 void CoreCodegen::gpr_mu_destroy(gpr_mu* mu) { ::gpr_mu_destroy(mu); } in gpr_mu_destroy() 86 void CoreCodegen::gpr_mu_lock(gpr_mu* mu) { ::gpr_mu_lock(mu); } in gpr_mu_lock() 87 void CoreCodegen::gpr_mu_unlock(gpr_mu* mu) { ::gpr_mu_unlock(mu); } in gpr_mu_unlock() 90 int CoreCodegen::gpr_cv_wait(gpr_cv* cv, gpr_mu* mu, in gpr_cv_wait()
|
/external/grpc-grpc/src/core/lib/gprpp/ |
D | mutex_lock.h | 30 explicit MutexLock(gpr_mu* mu) : mu_(mu) { gpr_mu_lock(mu); } in MutexLock() 37 gpr_mu* const mu_;
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/ |
D | pollset.h | 44 void (*init)(grpc_pollset* pollset, gpr_mu** mu); 61 void grpc_pollset_init(grpc_pollset* pollset, gpr_mu** mu);
|
/external/grpc-grpc/src/core/lib/iomgr/ |
D | pollset.h | 44 void (*init)(grpc_pollset* pollset, gpr_mu** mu); 61 void grpc_pollset_init(grpc_pollset* pollset, gpr_mu** mu);
|
/external/grpc-grpc/test/cpp/microbenchmarks/ |
D | bm_cq_multiple_threads.cc | 34 gpr_mu mu; 37 static gpr_mu g_mu; 51 static void pollset_init(grpc_pollset* ps, gpr_mu** mu) { in pollset_init()
|