Home
last modified time | relevance | path

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

12345

/external/grpc-grpc/test/core/gprpp/
Dfork_test.cc25 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/
Dfork.cc169 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 …]
Dthd_posix.cc91 Fork::IncThreadCount(); in ThreadInternalsPosix()
142 Fork::DecThreadCount(); in ThreadInternalsPosix()
154 Fork::DecThreadCount(); in ThreadInternalsPosix()
/external/grpc-grpc/src/core/lib/gprpp/
Dfork.cc159 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 …]
Dthd_posix.cc66 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/
Dfork_posix.cc55 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()
Dexec_ctx.h93 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/
Dfork_posix.cc60 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()
Dexec_ctx.h111 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/
DExecutorInstrumentationBenchmark.java24 import org.openjdk.jmh.annotations.Fork;
54 @Fork
67 @Fork
80 @Fork(jvmArgsAppend = "-javaagent:contrib/agent/build/libs/agent.jar")
DThreadInstrumentationBenchmark.java23 import org.openjdk.jmh.annotations.Fork;
53 @Fork
68 @Fork
83 @Fork(jvmArgsAppend = "-javaagent:contrib/agent/build/libs/agent.jar")
/external/libbrillo/brillo/namespaces/
Dmount_namespace_test.cc43 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/
DJmhAlpnBenchmark.java22 import org.openjdk.jmh.annotations.Fork;
34 @Fork(1)
DJmhCipherEncryptBenchmark.java21 import org.openjdk.jmh.annotations.Fork;
34 @Fork(1)
DJmhEngineHandshakeBenchmark.java38 import org.openjdk.jmh.annotations.Fork;
50 @Fork(1)
DJmhEngineWrapBenchmark.java38 import org.openjdk.jmh.annotations.Fork;
51 @Fork(1)
DJmhServerSocketBenchmark.java22 import org.openjdk.jmh.annotations.Fork;
35 @Fork(1)
DJmhClientSocketBenchmark.java22 import org.openjdk.jmh.annotations.Fork;
36 @Fork(1)
/external/grpc-grpc-java/benchmarks/src/jmh/java/io/grpc/benchmarks/netty/
DSingleThreadBlockingQpsBenchmark.java23 import org.openjdk.jmh.annotations.Fork;
36 @Fork(1)
DUnaryCallQpsBenchmark.java23 import org.openjdk.jmh.annotations.Fork;
35 @Fork(1)
/external/okio/okio/jvm/jmh/src/jmh/java/com/squareup/okio/benchmarks/
DHashFunctionBenchmark.java25 import org.openjdk.jmh.annotations.Fork;
35 @Fork(1)
DWriteHexadecimalBenchmark.java24 import org.openjdk.jmh.annotations.Fork;
37 @Fork(1)
DReadByteStringBenchmark.java24 import org.openjdk.jmh.annotations.Fork;
35 @Fork(1)
DGetByteBenchmark.java24 import org.openjdk.jmh.annotations.Fork;
35 @Fork(1)
DIndexOfElementBenchmark.java25 import org.openjdk.jmh.annotations.Fork;
36 @Fork(1)

12345