Home
last modified time | relevance | path

Searched refs:parse_bool (Results 1 – 10 of 10) sorted by relevance

/external/rust/crates/protobuf-codegen/src/
Dcustomize.rs94 fn parse_bool(v: &str) -> CustomizeParseParameterResult<bool> { in parse_from_parameter() function
110 r.expose_oneof = Some(parse_bool(v)?); in parse_from_parameter()
112 r.expose_fields = Some(parse_bool(v)?); in parse_from_parameter()
114 r.generate_accessors = Some(parse_bool(v)?); in parse_from_parameter()
116 r.carllerche_bytes_for_bytes = Some(parse_bool(v)?); in parse_from_parameter()
118 r.carllerche_bytes_for_string = Some(parse_bool(v)?); in parse_from_parameter()
120 r.serde_derive = Some(parse_bool(v)?); in parse_from_parameter()
124 r.lite_runtime = Some(parse_bool(v)?); in parse_from_parameter()
126 r.gen_mod_rs = Some(parse_bool(v)?); in parse_from_parameter()
128 r.inside_protobuf = Some(parse_bool(v)?); in parse_from_parameter()
/external/rust/crates/structopt/tests/
Dcustom-string-parsers.rs201 fn parse_bool(s: &str) -> Result<bool, String> { in test_custom_bool() function
210 #[structopt(short, parse(try_from_str = parse_bool))] in test_custom_bool()
215 parse(try_from_str = parse_bool) in test_custom_bool()
218 #[structopt(short, parse(try_from_str = parse_bool))] in test_custom_bool()
220 #[structopt(short, parse(try_from_str = parse_bool))] in test_custom_bool()
/external/grpc-grpc/src/python/grpcio_tests/tests/fork/
Dclient.py25 def parse_bool(value): function
51 type=parse_bool,
/external/python/setuptools/setuptools/
Dconfig.py453 parse_bool = self._parse_bool
457 'zip_safe': parse_bool,
458 'use_2to3': parse_bool,
459 'include_package_data': parse_bool,
/external/grpc-grpc/src/python/grpcio_tests/tests/interop/
Dclient.py48 type=resources.parse_bool,
53 type=resources.parse_bool,
Dresources.py40 def parse_bool(value): function
Dserver.py40 type=resources.parse_bool,
/external/rust/crates/tokio-macros/src/
Dentry.rs90 let start_paused = parse_bool(start_paused, span, "start_paused")?; in set_start_paused()
166 fn parse_bool(bool: syn::Lit, span: Span, field: &str) -> Result<bool, syn::Error> { in parse_bool() function
/external/harfbuzz_ng/src/
Dhb-common.cc744 parse_bool (const char **pp, const char *end, uint32_t *pv) in parse_bool() function
849 parse_bool (pp, end, &feature->value); in parse_feature_value_postfix()
/external/mesa3d/src/gallium/tools/trace/
Dparse.py269 def parse_bool(self): member in TraceParser