Home
last modified time | relevance | path

Searched refs:regex (Results 1 – 12 of 12) sorted by relevance

/system/keymaster/
Dkeymaster_configuration.cpp85 regex_t regex; in GetOsVersion() local
86 if (regcomp(&regex, kPlatformVersionRegex, REG_EXTENDED)) { in GetOsVersion()
92 if (regexec(&regex, version_str, kPlatformVersionMatchCount, matches, 0 /* flags */)) { in GetOsVersion()
105 regex_t regex; in GetOsPatchlevel() local
106 if (regcomp(&regex, kPlatformPatchlevelRegex, REG_EXTENDED) != 0) { in GetOsPatchlevel()
112 if (regexec(&regex, patchlevel_str, kPlatformPatchlevelMatchCount, matches, 0 /* flags */)) { in GetOsPatchlevel()
/system/core/base/
Dlogging_test.cpp149 std::regex message_regex( in TEST()
165 std::regex message_regex( in TEST()
192 std::regex message_regex( in TEST()
212 std::regex message_regex( in TEST()
255 std::regex message_regex(make_log_pattern( in TEST()
276 std::regex message_regex( in TEST()
/system/sepolicy/tools/
Dcheck_seapp.c106 key_map_regex regex; member
323 int ret = pcre_exec(assert->regex.compiled, assert->regex.extra, tomatch, in match_regex()
344 km->regex.compiled = pcre_compile(anchored, PCRE_DOTALL, errbuf, erroff, in compile_regex()
346 if (!km->regex.compiled) { in compile_regex()
350 km->regex.extra = pcre_study(km->regex.compiled, 0, errbuf); in compile_regex()
440 if (!m->regex.compiled) { in key_map_validate()
574 if (m->regex.compiled) { in rule_map_free()
575 pcre_free(m->regex.compiled); in rule_map_free()
578 if (m->regex.extra) { in rule_map_free()
579 pcre_free_study(m->regex.extra); in rule_map_free()
/system/extras/tests/kernel.config/
Dscrape_mmap_addr.cpp13 …std::regex reg(std::string("^([a-f0-9]+)\\-[0-9a-f]+\\s+.+\\s+(\\d+)\\s+.+\\s+\\d+\\s+") + std::st… in main()
/system/core/liblog/
Devent.logtags9 # impacts log readability, the latter makes regex searches more annoying).
/system/core/logd/
Devent.logtags9 # impacts log readability, the latter makes regex searches more annoying).
/system/connectivity/shill/cellular/
Dmobile_operator_info_impl.cc691 << filter.regex() << ")."; in FilterMatches()
698 string filter_regex_str = filter.regex(); in FilterMatches()
714 LOG(WARNING) << "Could not compile regex '" << filter.regex() << "'. " in FilterMatches()
730 << "against regexp " << filter.regex() << ". " in FilterMatches()
/system/core/crash_reporter/
Dcrash_sender295 local file="$1" regex="$2"
297 cut -d '=' -f1 "${file}" | grep --color=never "${regex}"
/system/connectivity/shill/mobile_operator_db/
Dserviceproviders.prototxt3178 regex : "AldiTalk/MedionMobile"
3218 regex : "NetCologne"
3239 regex : "blau.de"
3274 regex : "simyo Internet"
3463 regex : "1&1"
3496 regex : "Bild Mobil"
3574 regex : "OiSTER"
3679 regex : "Onfone Internet DK"
3698 regex : "Telmore"
3719 regex : "Unotel"
[all …]
Dmobile_operator_db.proto36 required string regex = 2; field
/system/core/logcat/
Devent.logtags9 # impacts log readability, the latter makes regex searches more annoying).
/system/core/logcat/tests/
Dlogcat_test.cpp934 TEST(logcat, regex) { in TEST() argument