/third_party/libphonenumber/metadata/src/test/java/com/google/i18n/phonenumbers/metadata/finitestatematcher/ |
H A D | DigitSequenceMatcherTest.java | 31 import com.google.i18n.phonenumbers.metadata.regex.RegexGenerator; 33 import java.util.regex.Pattern; 195 "regex %s could not match input %s", dfa.asRangeSpecifications(), number); in checkRegex()
|
/third_party/python/Tools/freeze/test/ |
H A D | freeze.py | 101 regex = re.compile(rf'^{name} *=\s*(.*?)\s*$') 109 m = regex.match(line)
|
/third_party/python/Lib/idlelib/idle_test/ |
H A D | test_outwin.py | 144 for pat, regex in zip(outwin.file_line_pats, outwin.file_line_progs): 145 self.assertEqual(regex.pattern, pat)
|
/third_party/vixl/test/ |
H A D | test-donkey.cc | 27 #include <regex> 78 "Usage: test-donkey <instruction form regex> <number of instructions " in main() 80 " regex - ECMAScript (C++11) regular expression to match instruction " in main() 210 if (std::regex_search(reporter.MoveForm(), std::regex(target_re))) { in main()
|
/third_party/spirv-tools/tools/util/ |
H A D | flags.cpp | 20 #include <regex> 82 std::regex unsigned_pattern("^ *[0-9]+ *$"); in parse_flag_value()
|
/kernel/linux/linux-5.10/drivers/scsi/aic7xxx/aicasm/ |
H A D | aicasm_macro_gram.y | 49 #include <regex.h>
|
/kernel/linux/linux-5.10/tools/perf/arch/arm/annotate/ |
H A D | instructions.c | 5 #include <regex.h>
|
/kernel/linux/linux-6.6/tools/perf/arch/arm/annotate/ |
H A D | instructions.c | 5 #include <regex.h>
|
/kernel/liteos_m/testsuites/unittest/fuzz/src/regex/ |
H A D | it_test_regex_fuzz.c | 32 #include <regex.h>
|
/kernel/linux/linux-6.6/drivers/scsi/aic7xxx/aicasm/ |
H A D | aicasm_macro_gram.y | 49 #include <regex.h>
|
/third_party/musl/Benchmark/musl/ |
H A D | libc_regex.cpp | 16 #include <regex.h>
|
H A D | benchmark_framework.cpp | 29 #include <regex> 204 std::regex re(jsonFuncName, std::regex::icase); in MatchFuncNameInJson()
|
/third_party/musl/libc-test/src/api/ |
H A D | regex.c | 1 #include <regex.h>
|
/third_party/rust/crates/regex/tests/ |
H A D | bytes.rs | 50 // This doesn't match in a normal Unicode regex because the implicit preceding 65 // See: https://github.com/rust-lang/regex/issues/277 85 // See https://github.com/rust-lang/regex/issues/303 88 assert!(::regex::bytes::Regex::new(r#"(?-u)[^\x00-\xff]"#).is_err()); in negated_full_byte_range() 102 // See: https://github.com/rust-lang/regex/issues/264 106 // See: https://github.com/rust-lang/regex/issues/271
|
/third_party/selinux/libselinux/src/ |
H A D | matchmediacon.c | 11 #include <regex.h>
|
H A D | label_file.c | 41 * there is no match - IE for a file in the root directory or a regex that is 178 /* Check if regex version mismatch */ in load_mmap() 290 /* allocate the regex array */ in load_mmap() 343 /* Process regex string */ in load_mmap() 396 rc = regex_load_mmap(mmap_area, &spec->regex, reg_arch_matches, in load_mmap() 889 regex_data_free(spec->regex); in closef() 1009 * a regex check */ in lookup_all() 1018 rc = regex_match(spec->regex, key, partial); in lookup_all() 1263 * end, we might need to skip over additional regex in cmp() 1278 if (spec1->regex in cmp() [all...] |
/third_party/alsa-utils/topology/ |
H A D | pre-processor.c | 28 #include <regex.h> 489 regex_t regex; in pre_process_include_conf() local 498 ret = regcomp(®ex, id, REG_EXTENDED | REG_ICASE); in pre_process_include_conf() 500 fprintf(stderr, "Could not compile regex\n"); in pre_process_include_conf() 505 ret = regexec(®ex, value, 0, NULL, 0); in pre_process_include_conf() 509 /* regex matched. now include or use the configuration */ in pre_process_include_conf()
|
/third_party/googletest/googletest/src/ |
H A D | gtest-internal-inl.h | 981 GTEST_API_ bool ValidateRegex(const char* regex); 982 GTEST_API_ bool MatchRegexAtHead(const char* regex, const char* str); 984 char repeat, const char* regex, 986 GTEST_API_ bool MatchRegexAnywhere(const char* regex, const char* str);
|
/third_party/node/deps/googletest/src/ |
H A D | gtest-internal-inl.h | 982 GTEST_API_ bool ValidateRegex(const char* regex); 983 GTEST_API_ bool MatchRegexAtHead(const char* regex, const char* str); 985 char repeat, const char* regex, 987 GTEST_API_ bool MatchRegexAnywhere(const char* regex, const char* str);
|
/third_party/libphonenumber/cpp/src/phonenumbers/ |
H A D | phonenumbermatcher.cc | 586 for (std::vector<const RegExp*>::const_iterator regex = in ExtractInnerMatch() 588 regex != reg_exps_->inner_matches_->end(); regex++) { in ExtractInnerMatch() 593 while ((*regex)->FindAndConsume(candidate_input.get(), &group) && in ExtractInnerMatch()
|
/third_party/mesa3d/src/gtest/src/ |
H A D | gtest-internal-inl.h | 966 GTEST_API_ bool ValidateRegex(const char* regex); 967 GTEST_API_ bool MatchRegexAtHead(const char* regex, const char* str); 969 bool escaped, char ch, char repeat, const char* regex, const char* str); 970 GTEST_API_ bool MatchRegexAnywhere(const char* regex, const char* str);
|
/third_party/typescript/tests/baselines/reference/ |
H A D | duplicateLocalVariable1.js | 40 var regex = new RegExp(testcase.errorMessageRegEx); 41 testResult = regex.test(e.message); 389 var regex = new RegExp(testcase.errorMessageRegEx);
390 testResult = regex.test(e.message);
|
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/ |
H A D | raw_hash_set_probe_benchmark.cc | 19 #include <regex> // NOLINT 463 static std::regex* const filter = []() -> std::regex* { in CanRunBenchmark() 466 : new std::regex(std::string(benchmarks)); in CanRunBenchmark() 506 // Parse the benchmark flags. Ignore all of them except the regex pattern. in main() 565 // Check the regex again. We might had have enabled only one of the in main()
|
/third_party/alsa-lib/test/lsb/ |
H A D | midi_event.c | 4 #include <regex.h> 11 static int midi_matches_regex(unsigned char *midi, int count, const char *regex) in midi_matches_regex() argument 23 if (regcomp(&re, regex, REG_EXTENDED) != 0) { in midi_matches_regex()
|
/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/ |
H A D | PseudoLocales.java | 11 import static java.util.regex.Pattern.CASE_INSENSITIVE; 21 import java.util.regex.Matcher; 22 import java.util.regex.Pattern;
|