/system/keymaster/ |
D | keymaster_configuration.cpp | 77 regex_t regex; in GetOsVersion() local 78 if (regcomp(®ex, kPlatformVersionRegex, REG_EXTENDED)) { in GetOsVersion() 85 regexec(®ex, version_str, kPlatformVersionMatchCount, matches, 0 /* flags */); in GetOsVersion() 86 regfree(®ex); in GetOsVersion() 106 regex_t regex; in GetOsPatchlevel() local 107 if (regcomp(®ex, kPlatformPatchlevelRegex, REG_EXTENDED) != 0) { in GetOsPatchlevel() 114 regexec(®ex, patchlevel_str, kPlatformPatchlevelMatchCount, matches, 0 /* flags */); in GetOsPatchlevel() 115 regfree(®ex); in GetOsPatchlevel()
|
/system/tools/hidl/utils/ |
D | FQName.cpp | 33 static const std::regex kRE1("(" RE_PATH ")@(" RE_MAJOR ")[.](" RE_MINOR ")::(" RE_PATH ")"); 35 static const std::regex kRE2("@(" RE_MAJOR ")[.](" RE_MINOR ")::(" RE_PATH ")"); 37 static const std::regex kRE3("(" RE_PATH ")@(" RE_MAJOR ")[.](" RE_MINOR ")"); 39 static const std::regex kRE4("(" RE_COMPONENT ")([.]" RE_COMPONENT ")+"); 41 static const std::regex kRE5("(" RE_COMPONENT ")"); 44 static const std::regex kRE6("(" RE_PATH ")@(" RE_MAJOR ")[.](" RE_MINOR ")::(" RE_PATH "):(" RE_CO… 46 static const std::regex kRE7("@(" RE_MAJOR ")[.](" RE_MINOR ")::(" RE_PATH "):(" RE_COMPONENT ")"); 48 static const std::regex kRE8("(" RE_PATH "):(" RE_COMPONENT ")"); 51 static const std::regex kREVer("(" RE_MAJOR ")[.](" RE_MINOR ")");
|
D | StringHelper.cpp | 28 static const std::regex kStartUppercase("^" UPPERCASE); 29 static const std::regex kStartLowercase("^" LOWERCASE); 30 static const std::regex kStartCapcase("^" CAPCASE);
|
/system/sepolicy/tools/ |
D | check_seapp.c | 106 key_map_regex regex; member 326 int ret = pcre2_match(assert->regex.compiled, (PCRE2_SPTR) tomatch, in match_regex() 328 assert->regex.match_data, NULL); in match_regex() 348 km->regex.compiled = pcre2_compile((PCRE2_SPTR) anchored, in compile_regex() 353 if (!km->regex.compiled) { in compile_regex() 357 km->regex.match_data = pcre2_match_data_create_from_pattern( in compile_regex() 358 km->regex.compiled, NULL); in compile_regex() 359 if (!km->regex.match_data) { in compile_regex() 360 pcre2_code_free(km->regex.compiled); in compile_regex() 466 if (!m->regex.compiled) { in key_map_validate() [all …]
|
/system/tools/hidl/c2hal/ |
D | Expression.cpp | 27 static const std::regex RE_S32("[^ul]$"); 28 static const std::regex RE_U32("[^ul]u$"); 29 static const std::regex RE_S64("[^ul](l|ll)$"); 30 static const std::regex RE_U64("[^ul](ul|ull)$");
|
D | Declaration.cpp | 24 static const std::regex RE_LEADING_SPACES("\n +");
|
/system/extras/tests/kernel.config/ |
D | scrape_mmap_addr.cpp | 13 …std::regex reg(std::string("^([a-f0-9]+)\\-[0-9a-f]+\\s+.+\\s+(\\d+)\\s+.+\\s+\\d+\\s+") + std::st… in main()
|
/system/netd/netutils_wrappers/ |
D | NetUtilsWrapper-1.0.cpp | 91 const std::regex expectedRegexp(EXPECTED_REGEXPS[i], std::regex_constants::extended); in checkExpectedCommand()
|
/system/libhidl/base/ |
D | HidlInternal.cpp | 151 std::regex e("^" + mInstrumentationLibPackage + "(.*).profiler.so$"); in isInstrumentationLib()
|
/system/core/liblog/ |
D | event.logtags | 9 # impacts log readability, the latter makes regex searches more annoying).
|
/system/bt/ |
D | EventLogTags.logtags | 9 # impacts log readability, the latter makes regex searches more annoying).
|
/system/core/storaged/ |
D | EventLogTags.logtags | 9 # impacts log readability, the latter makes regex searches more annoying).
|
/system/core/logd/ |
D | event.logtags | 9 # impacts log readability, the latter makes regex searches more annoying).
|
/system/tools/hidl/ |
D | Hash.cpp | 86 static const std::regex kHashLine(
|
/system/core/logcat/ |
D | logcat.cpp | 113 pcrecpp::RE* regex; member 305 if (!context->regex) return true; in regexOk() 309 return context->regex->PartialMatch(messageString); in regexOk() 1017 context->regex = new pcrecpp::RE(optctx.optarg); in __logcat() 1324 if (context->printItAnyways && (!context->regex || !context->maxCount)) { in __logcat() 1824 delete context->regex; in android_logcat_destroy()
|
D | event.logtags | 9 # impacts log readability, the latter makes regex searches more annoying).
|
/system/core/debuggerd/ |
D | debuggerd_test.cpp | 76 std::regex r((pattern)); \ 84 std::regex r((pattern)); \
|
/system/update_engine/ |
D | pylintrc | 220 # This "ignore" regex is today composed of 4 independent parts: 222 # (2) URLs in comments or pydocs. Detecting URLs by regex is a hard problem and 223 # no amount of tweaking will make a perfect regex AFAICT. This one is a good
|
/system/libhidl/transport/ |
D | ServiceManagement.cpp | 45 static const std::regex gLibraryFileNamePattern("(" RE_PATH "@[0-9]+[.][0-9]+)-impl(.*?).so");
|
/system/core/base/ |
D | logging_test.cpp | 220 std::regex message_regex(make_log_pattern(severity, expected)); in CheckMessage()
|
/system/core/logcat/tests/ |
D | logcat_test.cpp | 1394 TEST(logcat, regex) { in TEST() argument
|