Home
last modified time | relevance | path

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

/bionic/tests/
Dregex_test.cpp22 TEST(regex, smoke) { in TEST() argument
40 TEST(regex, match_offsets) { in TEST() argument
50 TEST(regex, regerror_NULL_0) { in TEST() argument
Dexecinfo_test.cpp148 std::regex format1("[^\\(\\s]+\\([^\\+]+\\+0x[0-9a-fA-F]+\\) ?\\[0x[0-9a-fA-F]+\\]"); in VerifyLineFormat()
149 std::regex format2("[^\\(\\s]+\\(+\\+0x[0-9a-fA-F]+\\) ?\\[0x[0-9a-fA-F]+\\]"); in VerifyLineFormat()
150 std::regex format3("[^\\(\\s]+ ?\\[0x[0-9a-fA-F]+\\]"); in VerifyLineFormat()
152 std::regex format1("[^\\(\\s]+\\([^\\+]+\\+0x[0-9a-fA-F]+\\) \\[0x[0-9a-fA-F]+\\]"); in VerifyLineFormat()
153 std::regex format2("[^\\(\\s]+\\(+\\+0x[0-9a-fA-F]+\\) \\[0x[0-9a-fA-F]+\\]"); in VerifyLineFormat()
154 std::regex format3("[^\\(\\s]+ \\[0x[0-9a-fA-F]+\\]"); in VerifyLineFormat()
156 std::regex format4("\\[0x[0-9a-fA-F]+\\]"); in VerifyLineFormat()
Dutils.h154 std::regex regex {R"(\s+S\s+)"}; in WaitUntilThreadSleep()
159 if (std::regex_search(content, regex)) { in WaitUntilThreadSleep()
256 if (!std::regex_search(output_, std::regex(expected_output_regex))) { in Run()
Dfdsan_test.cpp36 #define EXPECT_FDSAN_DEATH(expression, regex) \ argument
38 (regex))
Dclang_fortify_tests.cpp114 #define DIE_WITH(expr, cond, regex) EXPECT_EXIT(ExitAfter([&] { (expr); }), cond, regex) argument
Ddl_test.cpp371 ASSERT_TRUE(std::regex_search(eth.GetOutput(), std::regex(expectation))) << eth.GetOutput(); in RelocationsTest()
Ddlfcn_test.cpp1547 ASSERT_TRUE(std::regex_search(output, std::regex("\\(HASH\\)"))) << output; in validate_compatibility_of_native_library()
1549 ASSERT_FALSE(std::regex_search(output, std::regex("\\(ANDROID_REL\\)"))) << output; in validate_compatibility_of_native_library()
1550 ASSERT_FALSE(std::regex_search(output, std::regex("\\(ANDROID_RELA\\)"))) << output; in validate_compatibility_of_native_library()
1554 ASSERT_TRUE(std::regex_search(output, std::regex("\\(RELA?\\)")) || soname == "libdl.so") in validate_compatibility_of_native_library()
/bionic/benchmarks/tests/
Dinterface_test.cpp62 sanitized_output_ = std::regex_replace(raw_output_, std::regex(".*(BM_\\S+)\\s+.+"), "$1"); in SanitizeOutput()
186 std::regex benchmark_re("BM_\\S+/iterations:1"); in TEST_F()
/bionic/libc/
DAndroid.bp430 "upstream-netbsd/lib/libc/regex/regcomp.c",
431 "upstream-netbsd/lib/libc/regex/regerror.c",
432 "upstream-netbsd/lib/libc/regex/regexec.c",
433 "upstream-netbsd/lib/libc/regex/regfree.c",