Searched refs:g_factory (Results 1 – 3 of 3) sorted by relevance
12 static SingleSampleMetricsFactory* g_factory = nullptr; variable16 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()
81 grpc_core::Chttp2InsecureClientChannelFactory* g_factory; variable85 g_factory = new grpc_core::Chttp2InsecureClientChannelFactory(); in FactoryInit()104 grpc_arg arg = grpc_core::ClientChannelFactory::CreateChannelArg(g_factory); in grpc_insecure_channel_create()
159 grpc_core::Chttp2SecureClientChannelFactory* g_factory; variable163 g_factory = new grpc_core::Chttp2SecureClientChannelFactory(); in FactoryInit()189 grpc_core::ClientChannelFactory::CreateChannelArg(g_factory); in grpc_secure_channel_create()