Home
last modified time | relevance | path

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

/external/libchrome/base/metrics/
Dsingle_sample_metrics.cc12 static SingleSampleMetricsFactory* g_factory = nullptr; variable
16 if (!g_factory) in Get()
17 g_factory = new DefaultSingleSampleMetricsFactory(); in Get()
19 return g_factory; in Get()
25 DCHECK(!g_factory); in SetFactory()
26 g_factory = factory.release(); in SetFactory()
31 DCHECK(g_factory); in DeleteFactoryForTesting()
32 delete g_factory; in DeleteFactoryForTesting()
33 g_factory = nullptr; in DeleteFactoryForTesting()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/transport/chttp2/client/insecure/
Dchannel_create.cc81 grpc_core::Chttp2InsecureClientChannelFactory* g_factory; variable
85 g_factory = new grpc_core::Chttp2InsecureClientChannelFactory(); in FactoryInit()
104 grpc_arg arg = grpc_core::ClientChannelFactory::CreateChannelArg(g_factory); in grpc_insecure_channel_create()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/transport/chttp2/client/secure/
Dsecure_channel_create.cc159 grpc_core::Chttp2SecureClientChannelFactory* g_factory; variable
163 g_factory = new grpc_core::Chttp2SecureClientChannelFactory(); in FactoryInit()
189 grpc_core::ClientChannelFactory::CreateChannelArg(g_factory); in grpc_secure_channel_create()