Home
last modified time | relevance | path

Searched refs:gpr_parse_bool_value (Results 1 – 8 of 8) sorted by relevance

/third_party/grpc/test/core/gpr/
Dstring_test.cc286 GPR_ASSERT(true == gpr_parse_bool_value("truE", &ret) && true == ret); in test_parse_bool_value()
287 GPR_ASSERT(true == gpr_parse_bool_value("falsE", &ret) && false == ret); in test_parse_bool_value()
288 GPR_ASSERT(true == gpr_parse_bool_value("1", &ret) && true == ret); in test_parse_bool_value()
289 GPR_ASSERT(true == gpr_parse_bool_value("0", &ret) && false == ret); in test_parse_bool_value()
290 GPR_ASSERT(true == gpr_parse_bool_value("Yes", &ret) && true == ret); in test_parse_bool_value()
291 GPR_ASSERT(true == gpr_parse_bool_value("No", &ret) && false == ret); in test_parse_bool_value()
292 GPR_ASSERT(true == gpr_parse_bool_value("Y", &ret) && true == ret); in test_parse_bool_value()
293 GPR_ASSERT(true == gpr_parse_bool_value("N", &ret) && false == ret); in test_parse_bool_value()
294 GPR_ASSERT(false == gpr_parse_bool_value(nullptr, &ret)); in test_parse_bool_value()
295 GPR_ASSERT(false == gpr_parse_bool_value("", &ret)); in test_parse_bool_value()
/third_party/grpc/src/core/lib/gpr/
Dstring.h110 bool gpr_parse_bool_value(const char* value, bool* dst);
Dstring.cc325 bool gpr_parse_bool_value(const char* value, bool* dst) { in gpr_parse_bool_value() function
/third_party/grpc/src/core/lib/gprpp/
Dglobal_config_env.cc89 if (!gpr_parse_bool_value(str.get(), &result)) { in Get()
/third_party/grpc/src/core/ext/filters/client_channel/resolver/google_c2p/
Dgoogle_c2p_resolver.cc360 bool parse_succeeded = gpr_parse_bool_value(value.get(), &parsed_value); in GoogleCloud2ProdResolverInit()
/third_party/grpc/src/core/ext/xds/
Dxds_api.cc100 bool parse_succeeded = gpr_parse_bool_value(value, &parsed_value); in XdsTimeoutEnabled()
113 bool parse_succeeded = gpr_parse_bool_value(value, &parsed_value); in XdsAggregateAndLogicalDnsClusterEnabled()
124 bool parse_succeeded = gpr_parse_bool_value(value, &parsed_value); in XdsRingHashEnabled()
135 bool parse_succeeded = gpr_parse_bool_value(value, &parsed_value); in XdsSecurityEnabled()
/third_party/grpc/test/cpp/naming/
Dresolver_component_test.cc179 gpr_parse_bool_value(expected_addrs.substr(0, next_semicolon).c_str(), in ParseExpectedAddrs()
/third_party/grpc/src/core/ext/filters/client_channel/lb_policy/xds/
Dxds_cluster_impl.cc116 bool parse_succeeded = gpr_parse_bool_value(value, &parsed_value); in XdsCircuitBreakingEnabled()