Home
last modified time | relevance | path

Searched refs:regex (Results 226 - 250 of 469) sorted by relevance

12345678910>>...19

/third_party/libphonenumber/metadata/src/test/java/com/google/i18n/phonenumbers/metadata/finitestatematcher/
H A DDigitSequenceMatcherTest.java31 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 Dfreeze.py101 regex = re.compile(rf'^{name} *=\s*(.*?)\s*$')
109 m = regex.match(line)
/third_party/python/Lib/idlelib/idle_test/
H A Dtest_outwin.py144 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 Dtest-donkey.cc27 #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 Dflags.cpp20 #include <regex>
82 std::regex unsigned_pattern("^ *[0-9]+ *$"); in parse_flag_value()
/kernel/linux/linux-5.10/drivers/scsi/aic7xxx/aicasm/
H A Daicasm_macro_gram.y49 #include <regex.h>
/kernel/linux/linux-5.10/tools/perf/arch/arm/annotate/
H A Dinstructions.c5 #include <regex.h>
/kernel/linux/linux-6.6/tools/perf/arch/arm/annotate/
H A Dinstructions.c5 #include <regex.h>
/kernel/liteos_m/testsuites/unittest/fuzz/src/regex/
H A Dit_test_regex_fuzz.c32 #include <regex.h>
/kernel/linux/linux-6.6/drivers/scsi/aic7xxx/aicasm/
H A Daicasm_macro_gram.y49 #include <regex.h>
/third_party/musl/Benchmark/musl/
H A Dlibc_regex.cpp16 #include <regex.h>
H A Dbenchmark_framework.cpp29 #include <regex>
204 std::regex re(jsonFuncName, std::regex::icase); in MatchFuncNameInJson()
/third_party/musl/libc-test/src/api/
H A Dregex.c1 #include <regex.h>
/third_party/rust/crates/regex/tests/
H A Dbytes.rs50 // 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 Dmatchmediacon.c11 #include <regex.h>
H A Dlabel_file.c41 * 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 Dpre-processor.c28 #include <regex.h>
489 regex_t regex; in pre_process_include_conf() local
498 ret = regcomp(&regex, 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(&regex, 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 Dgtest-internal-inl.h981 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 Dgtest-internal-inl.h982 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 Dphonenumbermatcher.cc586 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 Dgtest-internal-inl.h966 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 DduplicateLocalVariable1.js40 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 Draw_hash_set_probe_benchmark.cc19 #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 Dmidi_event.c4 #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 DPseudoLocales.java11 import static java.util.regex.Pattern.CASE_INSENSITIVE;
21 import java.util.regex.Matcher;
22 import java.util.regex.Pattern;

Completed in 19 milliseconds

12345678910>>...19