Home
last modified time | relevance | path

Searched refs:match_results (Results 1 – 3 of 3) sorted by relevance

/aosp12/system/core/fastboot/
H A Dfastboot.cpp754 std::smatch match_results; in ParseRequirementLine() local
756 if (std::regex_match(line, match_results, require_reject_regex)) { in ParseRequirementLine()
757 *invert = Trim(match_results[1]) == "reject"; in ParseRequirementLine()
758 } else if (std::regex_match(line, match_results, require_product_regex)) { in ParseRequirementLine()
759 *product = match_results[1]; in ParseRequirementLine()
764 *name = match_results[2]; in ParseRequirementLine()
770 auto raw_options = Split(match_results[3], "|"); in ParseRequirementLine()
/aosp12/system/logging/logcat/tests/
H A Dlogcat_test.cpp1699 std::smatch match_results; in SniffUid() local
1700 ASSERT_TRUE(std::regex_match(trimmed_line, match_results, uid_regex)) in SniffUid()
1702 auto uid_string = match_results[1]; in SniffUid()
/aosp12/frameworks/native/cmds/dumpstate/
H A Ddumpstate.cpp1452 std::smatch match_results; in DumpExternalFragmentationInfo() local
1453 if (std::regex_match(line, match_results, unusable_index_regex)) { in DumpExternalFragmentationInfo()
1454 std::stringstream free_pages(std::string{match_results[3]}); in DumpExternalFragmentationInfo()
1463 printf("Node %s, zone %8s", match_results[1].str().c_str(), in DumpExternalFragmentationInfo()
1464 match_results[2].str().c_str()); in DumpExternalFragmentationInfo()