/aosp_15_r20/external/rust/android-crates-io/crates/pest/tests/ |
D | json.rs | 51 s.match_string("{") in parse() 58 s.match_string(",") in parse() 65 .and_then(|s| s.match_string("}")) in parse() 69 s.match_string("{") in parse() 71 .and_then(|s| s.match_string("}")) in parse() 82 .and_then(|s| s.match_string(":")) in parse() 92 s.match_string("[") in parse() 99 s.match_string(",") in parse() 106 .and_then(|s| s.match_string("]")) in parse() 110 s.match_string("[") in parse() [all …]
|
D | calculator.rs | 63 s.match_string("(") in parse() 65 .and_then(|s| s.match_string(")")) in parse() 73 s.optional(|s| s.match_string("-")).and_then(|s| { in parse() 74 s.match_string("0").or_else(|s| { in parse() 86 state.rule(Rule::plus, |s| s.match_string("+")) in parse() 90 state.rule(Rule::minus, |s| s.match_string("-")) in parse() 94 state.rule(Rule::times, |s| s.match_string("*")) in parse() 98 state.rule(Rule::divide, |s| s.match_string("/")) in parse() 102 state.rule(Rule::modulus, |s| s.match_string("%")) in parse() 106 state.rule(Rule::power, |s| s.match_string("^")) in parse()
|
/aosp_15_r20/external/rust/android-crates-io/crates/pest_meta/src/ |
D | grammar.rs | 2 …match_string ("=") }) } # [inline] # [allow (non_snake_case , unused_variables)] pub fn r#opening_… in skip()
|
/aosp_15_r20/external/rust/android-crates-io/crates/pest_generator/src/ |
D | generator.rs | 149 .match_string("\n") in generate_builtin_rules() 150 .or_else(|state| state.match_string("\r\n")) in generate_builtin_rules() 151 .or_else(|state| state.match_string("\r")) in generate_builtin_rules() 409 state.match_string(#string) in generate_expr() 582 state.match_string(#string) in generate_expr_atomic() 830 state.match_string("a").and_then(|state| { in sequence() 833 state.match_string("b") in sequence() 837 state.match_string("c") in sequence() 841 state.match_string("d") in sequence() 866 state.match_string("a").and_then(|state| { in sequence_atomic() [all …]
|
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/src/core/ext/xds/ |
D | xds_route_config.cc | 413 std::string match_string; in RoutePathMatchParse() local 432 match_string = std::string(prefix); in RoutePathMatchParse() 450 match_string = std::string(path); in RoutePathMatchParse() 456 match_string = UpbStringToStdString( in RoutePathMatchParse() 463 StringMatcher::Create(type, match_string, case_sensitive); in RoutePathMatchParse() 486 std::string match_string; in RouteHeaderMatchersParse() local 493 match_string = UpbStringToStdString( in RouteHeaderMatchersParse() 497 match_string = UpbStringToStdString( in RouteHeaderMatchersParse() 501 match_string = UpbStringToStdString( in RouteHeaderMatchersParse() 505 match_string = UpbStringToStdString( in RouteHeaderMatchersParse() [all …]
|
/aosp_15_r20/external/grpc-grpc/src/core/ext/xds/ |
H A D | xds_route_config.cc | 427 std::string match_string; in RoutePathMatchParse() local 446 match_string = std::string(prefix); in RoutePathMatchParse() 464 match_string = std::string(path); in RoutePathMatchParse() 470 match_string = UpbStringToStdString( in RoutePathMatchParse() 477 StringMatcher::Create(type, match_string, case_sensitive); in RoutePathMatchParse() 500 std::string match_string; in RouteHeaderMatchersParse() local 507 match_string = UpbStringToStdString( in RouteHeaderMatchersParse() 511 match_string = UpbStringToStdString( in RouteHeaderMatchersParse() 515 match_string = UpbStringToStdString( in RouteHeaderMatchersParse() 519 match_string = UpbStringToStdString( in RouteHeaderMatchersParse() [all …]
|
/aosp_15_r20/external/coreboot/util/scripts/ |
H A D | gerrit-rebase | 20 match_string='[-A-Za-z]*[Rr]eviewed-on:' 54 --grep "^${match_string}${croot_marker}" \ 60 grep "^ ${match_string}" | \ 71 grep -E "(^commit [0-9a-f]{40}\$|^ ${match_string})"; \
|
/aosp_15_r20/external/pytorch/torch/ao/ns/ |
H A D | _numeric_suite.py | 29 match_string = "".join(key_str.split(".")[0:-1]) 33 if match_string == pattern1: 35 if match_string == pattern2: 40 match_string = "".join(key_str.split(".")[0:-2]) 41 if len(match_string) == 0: 46 if match_string == pattern1: 48 if match_string == pattern2:
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/site-packages/pip/_vendor/pyparsing/ |
D | core.py | 2315 def __init__(self, match_string: str = "", *, matchString: str = ""): 2317 match_string = matchString or match_string 2318 self.match = match_string 2319 self.matchLen = len(match_string) 2321 self.firstMatchChar = match_string[0] 2385 match_string: str = "", 2396 match_string = matchString or match_string 2397 self.match = match_string 2398 self.matchLen = len(match_string) 2400 self.firstMatchChar = match_string[0] [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/site-packages/pip/_vendor/pyparsing/ |
D | core.py | 2315 def __init__(self, match_string: str = "", *, matchString: str = ""): 2317 match_string = matchString or match_string 2318 self.match = match_string 2319 self.matchLen = len(match_string) 2321 self.firstMatchChar = match_string[0] 2385 match_string: str = "", 2396 match_string = matchString or match_string 2397 self.match = match_string 2398 self.matchLen = len(match_string) 2400 self.firstMatchChar = match_string[0] [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/site-packages/setuptools/_vendor/pyparsing/ |
D | core.py | 2315 def __init__(self, match_string: str = "", *, matchString: str = ""): 2317 match_string = matchString or match_string 2318 self.match = match_string 2319 self.matchLen = len(match_string) 2321 self.firstMatchChar = match_string[0] 2385 match_string: str = "", 2396 match_string = matchString or match_string 2397 self.match = match_string 2398 self.matchLen = len(match_string) 2400 self.firstMatchChar = match_string[0] [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/site-packages/setuptools/_vendor/pyparsing/ |
D | core.py | 2315 def __init__(self, match_string: str = "", *, matchString: str = ""): 2317 match_string = matchString or match_string 2318 self.match = match_string 2319 self.matchLen = len(match_string) 2321 self.firstMatchChar = match_string[0] 2385 match_string: str = "", 2396 match_string = matchString or match_string 2397 self.match = match_string 2398 self.matchLen = len(match_string) 2400 self.firstMatchChar = match_string[0] [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/site-packages/pkg_resources/_vendor/pyparsing/ |
D | core.py | 2315 def __init__(self, match_string: str = "", *, matchString: str = ""): 2317 match_string = matchString or match_string 2318 self.match = match_string 2319 self.matchLen = len(match_string) 2321 self.firstMatchChar = match_string[0] 2385 match_string: str = "", 2396 match_string = matchString or match_string 2397 self.match = match_string 2398 self.matchLen = len(match_string) 2400 self.firstMatchChar = match_string[0] [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/site-packages/pkg_resources/_vendor/pyparsing/ |
D | core.py | 2315 def __init__(self, match_string: str = "", *, matchString: str = ""): 2317 match_string = matchString or match_string 2318 self.match = match_string 2319 self.matchLen = len(match_string) 2321 self.firstMatchChar = match_string[0] 2385 match_string: str = "", 2396 match_string = matchString or match_string 2397 self.match = match_string 2398 self.matchLen = len(match_string) 2400 self.firstMatchChar = match_string[0] [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/site-packages/pkg_resources/_vendor/pyparsing/ |
D | core.py | 2315 def __init__(self, match_string: str = "", *, matchString: str = ""): 2317 match_string = matchString or match_string 2318 self.match = match_string 2319 self.matchLen = len(match_string) 2321 self.firstMatchChar = match_string[0] 2385 match_string: str = "", 2396 match_string = matchString or match_string 2397 self.match = match_string 2398 self.matchLen = len(match_string) 2400 self.firstMatchChar = match_string[0] [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/site-packages/pip/_vendor/pyparsing/ |
D | core.py | 2315 def __init__(self, match_string: str = "", *, matchString: str = ""): 2317 match_string = matchString or match_string 2318 self.match = match_string 2319 self.matchLen = len(match_string) 2321 self.firstMatchChar = match_string[0] 2385 match_string: str = "", 2396 match_string = matchString or match_string 2397 self.match = match_string 2398 self.matchLen = len(match_string) 2400 self.firstMatchChar = match_string[0] [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/site-packages/setuptools/_vendor/pyparsing/ |
D | core.py | 2315 def __init__(self, match_string: str = "", *, matchString: str = ""): 2317 match_string = matchString or match_string 2318 self.match = match_string 2319 self.matchLen = len(match_string) 2321 self.firstMatchChar = match_string[0] 2385 match_string: str = "", 2396 match_string = matchString or match_string 2397 self.match = match_string 2398 self.matchLen = len(match_string) 2400 self.firstMatchChar = match_string[0] [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/site-packages/pip/_vendor/pyparsing/ |
D | core.py | 2315 def __init__(self, match_string: str = "", *, matchString: str = ""): 2317 match_string = matchString or match_string 2318 self.match = match_string 2319 self.matchLen = len(match_string) 2321 self.firstMatchChar = match_string[0] 2385 match_string: str = "", 2396 match_string = matchString or match_string 2397 self.match = match_string 2398 self.matchLen = len(match_string) 2400 self.firstMatchChar = match_string[0] [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/site-packages/pkg_resources/_vendor/pyparsing/ |
D | core.py | 2315 def __init__(self, match_string: str = "", *, matchString: str = ""): 2317 match_string = matchString or match_string 2318 self.match = match_string 2319 self.matchLen = len(match_string) 2321 self.firstMatchChar = match_string[0] 2385 match_string: str = "", 2396 match_string = matchString or match_string 2397 self.match = match_string 2398 self.matchLen = len(match_string) 2400 self.firstMatchChar = match_string[0] [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/site-packages/setuptools/_vendor/pyparsing/ |
D | core.py | 2315 def __init__(self, match_string: str = "", *, matchString: str = ""): 2317 match_string = matchString or match_string 2318 self.match = match_string 2319 self.matchLen = len(match_string) 2321 self.firstMatchChar = match_string[0] 2385 match_string: str = "", 2396 match_string = matchString or match_string 2397 self.match = match_string 2398 self.matchLen = len(match_string) 2400 self.firstMatchChar = match_string[0] [all …]
|
/aosp_15_r20/external/rust/android-crates-io/crates/pest/examples/ |
D | parens.rs | 28 s.match_string("(") in parse() 32 s.lookahead(true, |s| s.match_string("(")) in parse() 37 .and_then(|s| s.rule(Rule::paren_end, |s| s.match_string(")"))) in parse()
|
/aosp_15_r20/external/rust/android-crates-io/crates/pest/src/ |
D | parser_state.rs | 661 pub fn match_string(mut self: Box<Self>, string: &str) -> ParseResult<Box<Self>> { in match_string() method 662 if self.position.match_string(string) { in match_string() 1035 self.match_string(string) in stack_peek() 1064 self.match_string(string) in stack_pop() 1110 let matcher = |span: &Span<'_>| position.match_string(span.as_str()); in stack_match_peek_slice() 1171 result = position.match_string(span.as_str()); in stack_match_pop()
|
D | position.rs | 405 pub(crate) fn match_string(&mut self, string: &str) -> bool { in match_string() method 497 assert!(Position::new(input, 0).unwrap().match_string("")); in empty() 498 assert!(!Position::new(input, 0).unwrap().match_string("a")); in empty() 505 assert!(Position::new(input, 0).unwrap().match_string("asd")); in parts() 506 assert!(Position::new(input, 3).unwrap().match_string("asdf")); in parts()
|
/aosp_15_r20/external/pytorch/torch/csrc/jit/frontend/ |
H A D | lexer.h | 377 auto match_string = rest_line.substr(0, type_string.size()); in isTypeComment() local 378 return match_string == type_string; in isTypeComment() 387 auto match_string = str.substr(pos, type_string.size()); in isTypeComment() local 388 return match_string == type_string; in isTypeComment()
|
/aosp_15_r20/cts/apps/CameraITS/tools/ |
H A D | run_sensor_fusion.py | 53 def find_matching_line(file_path, match_string): argument 65 if match_string in line:
|