/external/grpc-grpc/test/core/gprpp/ |
D | fork_test.cc | 25 GPR_ASSERT(!grpc_core::Fork::Enabled()); in test_init() 28 grpc_core::Fork::GlobalInit(); in test_init() 29 GPR_ASSERT(!grpc_core::Fork::Enabled()); in test_init() 30 grpc_core::Fork::GlobalShutdown(); in test_init() 33 grpc_core::Fork::Enable(false); in test_init() 34 grpc_core::Fork::GlobalInit(); in test_init() 35 GPR_ASSERT(!grpc_core::Fork::Enabled()); in test_init() 36 grpc_core::Fork::GlobalShutdown(); in test_init() 39 grpc_core::Fork::Enable(true); in test_init() 40 grpc_core::Fork::GlobalInit(); in test_init() [all …]
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/gprpp/ |
D | fork.cc | 169 void Fork::GlobalInit() { in GlobalInit() 180 void Fork::GlobalShutdown() { in GlobalShutdown() 187 bool Fork::Enabled() { return support_enabled_.Load(MemoryOrder::RELAXED); } in Enabled() 190 void Fork::Enable(bool enable) { in Enable() 195 void Fork::DoIncExecCtxCount() { exec_ctx_state_->IncExecCtxCount(); } in DoIncExecCtxCount() 197 void Fork::DoDecExecCtxCount() { exec_ctx_state_->DecExecCtxCount(); } in DoDecExecCtxCount() 199 void Fork::SetResetChildPollingEngineFunc( in SetResetChildPollingEngineFunc() 200 Fork::child_postfork_func reset_child_polling_engine) { in SetResetChildPollingEngineFunc() 203 Fork::child_postfork_func Fork::GetResetChildPollingEngineFunc() { in GetResetChildPollingEngineFunc() 207 bool Fork::BlockExecCtx() { in BlockExecCtx() [all …]
|
D | thd_posix.cc | 91 Fork::IncThreadCount(); in ThreadInternalsPosix() 142 Fork::DecThreadCount(); in ThreadInternalsPosix() 154 Fork::DecThreadCount(); in ThreadInternalsPosix()
|
/external/grpc-grpc/src/core/lib/gprpp/ |
D | fork.cc | 159 void Fork::GlobalInit() { in GlobalInit() 198 void Fork::GlobalShutdown() { in GlobalShutdown() 205 bool Fork::Enabled() { return support_enabled_; } in Enabled() 208 void Fork::Enable(bool enable) { in Enable() 213 void Fork::IncExecCtxCount() { in IncExecCtxCount() 219 void Fork::DecExecCtxCount() { in DecExecCtxCount() 225 void Fork::SetResetChildPollingEngineFunc( in SetResetChildPollingEngineFunc() 226 Fork::child_postfork_func reset_child_polling_engine) { in SetResetChildPollingEngineFunc() 229 Fork::child_postfork_func Fork::GetResetChildPollingEngineFunc() { in GetResetChildPollingEngineFunc() 233 bool Fork::BlockExecCtx() { in BlockExecCtx() [all …]
|
D | thd_posix.cc | 66 grpc_core::Fork::IncThreadCount(); in ThreadInternalsPosix() 101 grpc_core::Fork::DecThreadCount(); in ThreadInternalsPosix() 111 grpc_core::Fork::DecThreadCount(); in ThreadInternalsPosix()
|
/external/grpc-grpc/src/core/lib/iomgr/ |
D | fork_posix.cc | 55 if (!grpc_core::Fork::Enabled()) { in grpc_prefork() 67 if (!grpc_core::Fork::BlockExecCtx()) { in grpc_prefork() 76 grpc_core::Fork::AwaitThreads(); in grpc_prefork() 82 grpc_core::Fork::AllowExecCtx(); in grpc_postfork_parent() 91 grpc_core::Fork::AllowExecCtx(); in grpc_postfork_child() 93 grpc_core::Fork::child_postfork_func reset_polling_engine = in grpc_postfork_child() 94 grpc_core::Fork::GetResetChildPollingEngineFunc(); in grpc_postfork_child() 104 if (grpc_core::Fork::Enabled() & !registered_handlers) { in grpc_fork_handlers_auto_register()
|
D | exec_ctx.h | 93 grpc_core::Fork::IncExecCtxCount(); in ExecCtx() 100 grpc_core::Fork::IncExecCtxCount(); in ExecCtx() 111 grpc_core::Fork::DecExecCtxCount(); in ~ExecCtx()
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/ |
D | fork_posix.cc | 60 if (!grpc_core::Fork::Enabled()) { in grpc_prefork() 74 if (!grpc_core::Fork::BlockExecCtx()) { in grpc_prefork() 83 grpc_core::Fork::AwaitThreads(); in grpc_prefork() 89 grpc_core::Fork::AllowExecCtx(); in grpc_postfork_parent() 98 grpc_core::Fork::AllowExecCtx(); in grpc_postfork_child() 100 grpc_core::Fork::child_postfork_func reset_polling_engine = in grpc_postfork_child() 101 grpc_core::Fork::GetResetChildPollingEngineFunc(); in grpc_postfork_child() 111 if (grpc_core::Fork::Enabled() & !registered_handlers) { in grpc_fork_handlers_auto_register()
|
D | exec_ctx.h | 111 grpc_core::Fork::IncExecCtxCount(); in ExecCtx() 118 grpc_core::Fork::IncExecCtxCount(); in ExecCtx() 129 grpc_core::Fork::DecExecCtxCount(); in ~ExecCtx() 328 grpc_core::Fork::DecExecCtxCount(); in ~ApplicationCallbackExecCtx() 346 grpc_core::Fork::IncExecCtxCount(); in Set()
|
/external/opencensus-java/contrib/agent/src/jmh/java/io/opencensus/contrib/agent/instrumentation/ |
D | ExecutorInstrumentationBenchmark.java | 24 import org.openjdk.jmh.annotations.Fork; 54 @Fork 67 @Fork 80 @Fork(jvmArgsAppend = "-javaagent:contrib/agent/build/libs/agent.jar")
|
D | ThreadInstrumentationBenchmark.java | 23 import org.openjdk.jmh.annotations.Fork; 53 @Fork 68 @Fork 83 @Fork(jvmArgsAppend = "-javaagent:contrib/agent/build/libs/agent.jar")
|
/external/libbrillo/brillo/namespaces/ |
D | mount_namespace_test.cc | 43 EXPECT_CALL(platform_, Fork()).WillOnce(Return(1)); in TEST_F() 54 EXPECT_CALL(platform_, Fork()).WillOnce(Return(1)); in TEST_F() 63 EXPECT_CALL(platform_, Fork()).WillOnce(Return(1)); in TEST_F() 71 EXPECT_CALL(platform_, Fork()).WillOnce(Return(1)); in TEST_F() 81 EXPECT_CALL(platform_, Fork()).WillOnce(Return(1)); in TEST_F()
|
/external/conscrypt/benchmark-jmh/src/jmh/java/org/conscrypt/ |
D | JmhAlpnBenchmark.java | 22 import org.openjdk.jmh.annotations.Fork; 34 @Fork(1)
|
D | JmhCipherEncryptBenchmark.java | 21 import org.openjdk.jmh.annotations.Fork; 34 @Fork(1)
|
D | JmhEngineHandshakeBenchmark.java | 38 import org.openjdk.jmh.annotations.Fork; 50 @Fork(1)
|
D | JmhEngineWrapBenchmark.java | 38 import org.openjdk.jmh.annotations.Fork; 51 @Fork(1)
|
D | JmhServerSocketBenchmark.java | 22 import org.openjdk.jmh.annotations.Fork; 35 @Fork(1)
|
D | JmhClientSocketBenchmark.java | 22 import org.openjdk.jmh.annotations.Fork; 36 @Fork(1)
|
/external/grpc-grpc-java/benchmarks/src/jmh/java/io/grpc/benchmarks/netty/ |
D | SingleThreadBlockingQpsBenchmark.java | 23 import org.openjdk.jmh.annotations.Fork; 36 @Fork(1)
|
D | UnaryCallQpsBenchmark.java | 23 import org.openjdk.jmh.annotations.Fork; 35 @Fork(1)
|
/external/okio/okio/jvm/jmh/src/jmh/java/com/squareup/okio/benchmarks/ |
D | HashFunctionBenchmark.java | 25 import org.openjdk.jmh.annotations.Fork; 35 @Fork(1)
|
D | WriteHexadecimalBenchmark.java | 24 import org.openjdk.jmh.annotations.Fork; 37 @Fork(1)
|
D | ReadByteStringBenchmark.java | 24 import org.openjdk.jmh.annotations.Fork; 35 @Fork(1)
|
D | GetByteBenchmark.java | 24 import org.openjdk.jmh.annotations.Fork; 35 @Fork(1)
|
D | IndexOfElementBenchmark.java | 25 import org.openjdk.jmh.annotations.Fork; 36 @Fork(1)
|