Searched refs:g_state (Results 1 – 6 of 6) sorted by relevance
/external/grpc-grpc/test/core/end2end/ |
D | invalid_call_argument_test.cc | 53 static struct test_state g_state; variable 59 g_state.is_client = is_client; in prepare_test() 60 grpc_metadata_array_init(&g_state.initial_metadata_recv); in prepare_test() 61 grpc_metadata_array_init(&g_state.trailing_metadata_recv); in prepare_test() 62 g_state.deadline = grpc_timeout_seconds_to_deadline(5); in prepare_test() 63 g_state.cq = grpc_completion_queue_create_for_next(nullptr); in prepare_test() 64 g_state.cqv = cq_verifier_create(g_state.cq); in prepare_test() 65 g_state.details = grpc_empty_slice(); in prepare_test() 66 memset(g_state.ops, 0, sizeof(g_state.ops)); in prepare_test() 70 g_state.chan = in prepare_test() [all …]
|
/external/grpc-grpc/src/core/ext/filters/client_channel/ |
D | resolver_registry.cc | 97 static RegistryState* g_state = nullptr; variable 106 if (g_state == nullptr) g_state = New<RegistryState>(); in InitRegistry() 110 Delete(g_state); in ShutdownRegistry() 111 g_state = nullptr; in ShutdownRegistry() 117 g_state->SetDefaultPrefix(default_resolver_prefix); in SetDefaultPrefix() 123 g_state->RegisterResolverFactory(std::move(factory)); in RegisterResolverFactory() 131 GPR_ASSERT(g_state != nullptr); in LookupResolverFactory() 132 return g_state->LookupResolverFactory(scheme); in LookupResolverFactory() 138 GPR_ASSERT(g_state != nullptr); in CreateResolver() 142 g_state->FindResolverFactory(target, &uri, &canonical_target); in CreateResolver() [all …]
|
D | lb_policy_registry.cc | 58 RegistryState* g_state = nullptr; variable 67 if (g_state == nullptr) g_state = New<RegistryState>(); in InitRegistry() 71 Delete(g_state); in ShutdownRegistry() 72 g_state = nullptr; in ShutdownRegistry() 78 g_state->RegisterLoadBalancingPolicyFactory(std::move(factory)); in RegisterLoadBalancingPolicyFactory() 88 GPR_ASSERT(g_state != nullptr); in CreateLoadBalancingPolicy() 91 g_state->GetLoadBalancingPolicyFactory(name); in CreateLoadBalancingPolicy()
|
/external/u-boot/drivers/gpio/ |
D | vybrid_gpio.c | 67 u32 g_state = 0; in vybrid_gpio_get_function() local 71 imx_iomux_gpio_get_function(gpio, &g_state); in vybrid_gpio_get_function() 73 if (((g_state & (0x07 << PAD_MUX_MODE_SHIFT)) >> PAD_MUX_MODE_SHIFT) > 0) in vybrid_gpio_get_function() 75 if (g_state & PAD_CTL_OBE_ENABLE) in vybrid_gpio_get_function() 77 if (g_state & PAD_CTL_IBE_ENABLE) in vybrid_gpio_get_function() 79 if (!(g_state & PAD_CTL_OBE_IBE_ENABLE)) in vybrid_gpio_get_function()
|
/external/u-boot/drivers/tpm/ |
D | tpm_tis_sandbox.c | 60 } g_state; variable 86 memcpy(g_state.nvdata[i], prop, NV_DATA_SIZE); in sandbox_tpm_read_state() 114 fdt_setprop(blob, node, prop_name, g_state.nvdata[i], in sandbox_tpm_write_state() 258 memcpy(tpm, &g_state, sizeof(*tpm)); in sandbox_tpm_probe()
|
/external/u-boot/drivers/misc/ |
D | cros_ec_sandbox.c | 86 } s_state, *g_state; variable 139 struct ec_state *ec = g_state; in cros_ec_write_state() 559 g_state = ec; in cros_ec_probe()
|