Home
last modified time | relevance | path

Searched refs:regexp (Results 1 – 25 of 349) sorted by relevance

12345678910>>...14

/external/icu/icu4c/source/i18n/unicode/
Duregex.h214 uregex_close(URegularExpression *regexp);
254 uregex_clone(const URegularExpression *regexp, UErrorCode *status);
274 uregex_pattern(const URegularExpression *regexp,
290 uregex_patternUText(const URegularExpression *regexp,
302 uregex_flags(const URegularExpression *regexp,
327 uregex_setText(URegularExpression *regexp,
350 uregex_setUText(URegularExpression *regexp,
375 uregex_getText(URegularExpression *regexp,
396 uregex_getUText(URegularExpression *regexp,
426 uregex_refreshUText(URegularExpression *regexp,
[all …]
/external/icu/libicu/cts_headers/unicode/
Duregex.h214 uregex_close(URegularExpression *regexp);
254 uregex_clone(const URegularExpression *regexp, UErrorCode *status);
274 uregex_pattern(const URegularExpression *regexp,
290 uregex_patternUText(const URegularExpression *regexp,
302 uregex_flags(const URegularExpression *regexp,
327 uregex_setText(URegularExpression *regexp,
350 uregex_setUText(URegularExpression *regexp,
375 uregex_getText(URegularExpression *regexp,
396 uregex_getUText(URegularExpression *regexp,
426 uregex_refreshUText(URegularExpression *regexp,
[all …]
/external/icu/libandroidicu/include/unicode/
Duregex.h214 uregex_close(URegularExpression *regexp);
254 uregex_clone(const URegularExpression *regexp, UErrorCode *status);
274 uregex_pattern(const URegularExpression *regexp,
290 uregex_patternUText(const URegularExpression *regexp,
302 uregex_flags(const URegularExpression *regexp,
327 uregex_setText(URegularExpression *regexp,
350 uregex_setUText(URegularExpression *regexp,
375 uregex_getText(URegularExpression *regexp,
396 uregex_getUText(URegularExpression *regexp,
426 uregex_refreshUText(URegularExpression *regexp,
[all …]
/external/icu/icu4c/source/i18n/
Duregex.cpp326 RegularExpression *regexp = (RegularExpression*)regexp2; in uregex_pattern() local
328 if (validateRE(regexp, FALSE, status) == FALSE) { in uregex_pattern()
332 *patLength = regexp->fPatStringLen; in uregex_pattern()
334 return regexp->fPatString; in uregex_pattern()
346 RegularExpression *regexp = (RegularExpression*)regexp2; in uregex_patternUText() local
347 return regexp->fPat->patternText(*status); in uregex_patternUText()
358 RegularExpression *regexp = (RegularExpression*)regexp2; in uregex_flags() local
359 if (validateRE(regexp, FALSE, status) == FALSE) { in uregex_flags()
362 int32_t flags = regexp->fPat->flags(); in uregex_flags()
377 RegularExpression *regexp = (RegularExpression*)regexp2; in uregex_setText() local
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/re2/re2/testing/
Dregexp_benchmark.cc54 const char* regexp = "(\\d+)-(\\d+)-(\\d+)"; in MemoryUsage() local
58 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); in MemoryUsage()
85 PCRE re(regexp, PCRE::UTF8); in MemoryUsage()
96 PCRE* re = new PCRE(regexp, PCRE::UTF8); in MemoryUsage()
108 RE2 re(regexp); in MemoryUsage()
128 typedef void SearchImpl(benchmark::State& state, const char* regexp,
136 typedef void ParseImpl(benchmark::State& state, const char* regexp,
170 void Search(benchmark::State& state, const char* regexp, SearchImpl* search) { in Search() argument
173 search(state, regexp, s, Prog::kUnanchored, false); in Search()
275 std::string regexp = "^" + s + ".*$"; in SearchBigFixed() local
[all …]
Dpossible_match_test.cc30 const char* regexp; member
115 LOG(INFO) << "Checking regexp=" << CEscape(t.regexp); in TEST()
116 Regexp* re = Regexp::Parse(t.regexp, Regexp::LikePerl, NULL); in TEST()
121 << " " << t.regexp; in TEST()
125 ASSERT_TRUE(RE2(t.regexp).PossibleMatchRange(&min, &max, t.maxlen)); in TEST()
127 EXPECT_EQ(t.min, min) << t.regexp; in TEST()
128 EXPECT_EQ(t.max, max) << t.regexp; in TEST()
187 void HandleRegexp(const std::string& regexp);
201 void PossibleMatchTester::HandleRegexp(const std::string& regexp) { in HandleRegexp() argument
204 VLOG(3) << CEscape(regexp); in HandleRegexp()
[all …]
Drequired_prefix_test.cc15 const char* regexp; member
53 Regexp* re = Regexp::Parse(t.regexp, flags, NULL); in TEST()
54 ASSERT_TRUE(re != NULL) << " " << t.regexp; in TEST()
60 << " " << t.regexp << " " << (j == 0 ? "latin1" : "utf8") in TEST()
64 << " " << t.regexp << " " << (j == 0 ? "latin1" : "utf8"); in TEST()
66 << " " << t.regexp << " " << (j == 0 ? "latin1" : "utf8"); in TEST()
68 << " " << t.regexp << " " << (j == 0 ? "latin1" : "utf8"); in TEST()
107 Regexp* re = Regexp::Parse(t.regexp, flags, NULL); in TEST()
108 ASSERT_TRUE(re != NULL) << " " << t.regexp; in TEST()
113 << " " << t.regexp << " " << (j == 0 ? "latin1" : "utf8") in TEST()
[all …]
Dsimplify_test.cc17 const char* regexp; member
250 VLOG(1) << "Testing " << tests[i].regexp; in TEST()
251 Regexp* re = Regexp::Parse(tests[i].regexp, in TEST()
255 ASSERT_TRUE(re != NULL) << " " << tests[i].regexp << " " << status.Text(); in TEST()
260 if (strcmp(tests[i].regexp, tests[i].simplified) == 0) { in TEST()
261 ASSERT_TRUE(re == sre) << " " << tests[i].regexp in TEST()
266 << " " << tests[i].regexp << " " << sre->Dump(); in TEST()
Dexhaustive_tester.cc80 std::string regexp = const_regexp; in HandleRegexp() local
82 regexp = StringPrintf(topwrapper_.c_str(), regexp.c_str()); in HandleRegexp()
86 printf("\r%s", regexp.c_str()); in HandleRegexp()
102 printf("%s\n", escape(regexp)); in HandleRegexp()
104 RE2 re(regexp); in HandleRegexp()
107 RE2 relongest(regexp, longest); in HandleRegexp()
127 Tester tester(regexp); in HandleRegexp()
Dparse_test.cc21 const char* regexp; member
239 re[i] = Regexp::Parse(tests[i].regexp, f, &status); in TestParse()
241 << " " << tests[i].regexp << " " << status.Text(); in TestParse()
244 << "Regexp: " << tests[i].regexp in TestParse()
253 << "Regexp: " << tests[i].regexp << " " << tests[j].regexp; in TestParse()
460 Regexp* re = Regexp::Parse(tests[i].regexp, f, &status); in TEST()
461 ASSERT_TRUE(re != NULL) << " " << tests[i].regexp << " " << status.Text(); in TEST()
464 << "Regexp: " << tests[i].regexp in TEST()
468 if (t != tests[i].regexp) { in TEST()
483 LOG(INFO) << "ToString(" << tests[i].regexp << ") = " << t; in TEST()
Dmimics_pcre_test.cc13 const char* regexp; member
67 Regexp* re = Regexp::Parse(t.regexp, flags, NULL); in TEST()
68 ASSERT_TRUE(re != NULL) << " " << t.regexp; in TEST()
70 << " " << t.regexp << " " in TEST()
/external/autotest/client/site_tests/platform_PrinterPpds/
Dlog_reader.py165 regexp = re.match(r'(\d) filters for job:', msg)
166 if regexp is not None:
167 number_of_processes_to_check = int(regexp.group(1)) + 1
170 regexp = re.match(r'(\S+) \(\S+ to (\S+), cost \d+\)', msg)
171 if regexp is not None:
172 fltr = regexp.group(1)
177 trg = regexp.group(2)
181 regexp = re.match(r'envp\[\d+\]="(\S+)=(\S+)"', msg)
182 if regexp is not None:
183 envp[regexp.group(1)] = regexp.group(2)
[all …]
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/resolver/
DResolverTuple.java24 private final Pattern regexp; field in ResolverTuple
26 public ResolverTuple(Tag tag, Pattern regexp) { in ResolverTuple() argument
28 this.regexp = regexp; in ResolverTuple()
36 return regexp; in getRegexp()
41 return "Tuple tag=" + tag + " regexp=" + regexp; in toString()
DResolver.java76 public void addImplicitResolver(Tag tag, Pattern regexp, String first) { in addImplicitResolver() argument
83 curr.add(new ResolverTuple(tag, regexp)); in addImplicitResolver()
97 curr.add(new ResolverTuple(tag, regexp)); in addImplicitResolver()
113 Pattern regexp = v.getRegexp(); in resolve() local
114 if (regexp.matcher(value).matches()) { in resolve()
122 Pattern regexp = v.getRegexp(); in resolve() local
123 if (regexp.matcher(value).matches()) { in resolve()
/external/libxml2/
DtestAutomata.c38 xmlRegexpPtr regexp = NULL; in testRegexpFile() local
171 regexp = xmlAutomataCompile(am); in testRegexpFile()
174 if (regexp == NULL) { in testRegexpFile()
180 if (regexp == NULL) { in testRegexpFile()
184 exec = xmlRegNewExecCtxt(regexp, NULL, NULL); in testRegexpFile()
198 } else if (regexp != NULL) { in testRegexpFile()
200 exec = xmlRegNewExecCtxt(regexp, NULL, NULL); in testRegexpFile()
209 if (regexp != NULL) in testRegexpFile()
210 xmlRegFreeRegexp(regexp); in testRegexpFile()
225 xmlRegexpPtr regexp; in main() local
[all …]
/external/skia/infra/bots/gen_tasks_logic/
Dcompile_cas.go31 pathRegexes = []*regexp.Regexp{
32 regexp.MustCompile(`.*\.c$`),
33 regexp.MustCompile(`.*\.cc$`),
34 regexp.MustCompile(`.*\.cpp$`),
35 regexp.MustCompile(`.*\.gn$`),
36 regexp.MustCompile(`.*\.gni$`),
37 regexp.MustCompile(`.*\.h$`),
38 regexp.MustCompile(`.*\.mm$`),
39 regexp.MustCompile(`.*\.storyboard$`),
/external/libxml2/fuzz/
DMakefile.am2 EXTRA_PROGRAMS = genSeed html regexp schema uri xml xpath program
4 EXTRA_DIST = html.dict regexp.dict schema.dict xml.dict xpath.dict \
82 regexp_SOURCES = regexp.c fuzz.c
85 fuzz-regexp: regexp$(EXEEXT)
86 @mkdir -p corpus/regexp
87 ./regexp$(EXEEXT) \
88 -dict=regexp.dict \
91 corpus/regexp $(srcdir)/seed/regexp
Dregexp.c20 xmlRegexpPtr regexp; in LLVMFuzzerTestOneInput() local
31 regexp = xmlRegexpCompile(BAD_CAST str[0]); in LLVMFuzzerTestOneInput()
34 if ((regexp != NULL) && (numStrings >= 2)) { in LLVMFuzzerTestOneInput()
35 xmlRegexpExec(regexp, BAD_CAST str[1]); in LLVMFuzzerTestOneInput()
38 xmlRegFreeRegexp(regexp); in LLVMFuzzerTestOneInput()
/external/autotest/server/site_tests/firmware_Cr50ConsoleCommands/
Dfirmware_Cr50ConsoleCommands.py95 def get_output(self, cmd, regexp, split_str, sort): argument
99 cmd, [regexp], safe=True, compare_output=True,
132 def check_command(self, cmd, regexp, split_str, sort): argument
135 output = self.get_output(cmd, regexp, split_str, sort)
140 for regexp in expected_output:
141 match = re.search(regexp, output)
154 self.past_matches[k] = [old_val or v, regexp]
156 missing.append('%s:%s' % (k, regexp))
160 self.past_matches[k] = [v, regexp]
163 output, n = re.subn('%s\s*' % regexp, '', output, 1)
[all …]
/external/catch2/contrib/
Dlldbinit4 # With the setting "target.process.thread.step-avoid-regexp" you can tell lldb
5 # to skip functions matching the regexp
8 # regexp "Catch", which matches the complete Catch namespace.
10 # regexp accordingly.
16 settings set target.process.thread.step-avoid-regexp Catch
/external/python/cpython3/Tools/scripts/
Dmailerdaemon.py107 for regexp in emparse_list_list:
108 if type(regexp) is type(()):
109 res = regexp[0].search(data, 0, from_index)
116 res = regexp[1].match(data, res.end(0), from_index)
122 res = regexp.search(data, 0, from_index)
136 for regexp in emparse_list_reason:
137 if type(regexp) is type(''):
140 exp = re.compile(re.escape(email).join(regexp.split('<>')), re.MULTILINE)
146 res = regexp.search(data)
/external/python/cpython2/Tools/scripts/
Dmailerdaemon.py102 for regexp in emparse_list_list:
103 if type(regexp) is type(()):
104 res = regexp[0].search(data, 0, from_index)
111 res = regexp[1].match(data, res.end(0), from_index)
117 res = regexp.search(data, 0, from_index)
131 for regexp in emparse_list_reason:
132 if type(regexp) is type(''):
135 exp = re.compile(re.escape(email).join(regexp.split('<>')), re.MULTILINE)
141 res = regexp.search(data)
/external/toolchain-utils/compiler_wrapper/
Dtestutil_test.go197 compiledRegex := regexp.MustCompile(matchFullString(expectedRegex))
205 compiledRegex := regexp.MustCompile(matchFullString(expectedRegex))
220 compiledRegexes := []*regexp.Regexp{}
222 compiledRegexes = append(compiledRegexes, regexp.MustCompile(matchFullString(regex)))
240 compiledRegex := regexp.MustCompile(matchFullString(expectedRegex))
251 compiledRegex := regexp.MustCompile(matchFullString(expectedRegex))
270 if ok, _ := regexp.MatchString(`\w+.go:\d+`, stderr); !ok {
280 if ok, _ := regexp.MatchString(`\w+.go:\d+`, stderr); ok {
283 if ok, _ := regexp.MatchString(matchFullString(expectedRegex), strings.TrimSpace(stderr)); !ok {
/external/tensorflow/tensorflow/core/platform/
Dfile_system.cc49 string regexp(pattern); in Match()
50 regexp = str_util::StringReplace(regexp, "*", "[^/]*", true); in Match()
51 regexp = str_util::StringReplace(regexp, "?", ".", true); in Match()
52 regexp = str_util::StringReplace(regexp, "(", "\\(", true); in Match()
53 regexp = str_util::StringReplace(regexp, ")", "\\)", true); in Match()
54 return RE2::FullMatch(filename, regexp); in Match()
/external/libabigail/tests/data/test-diff-suppr/
Dtest44-suppr-sym-name-not-regexp-v0.o.abi1 <abi-corpus path='test44-suppr-sym-name-not-regexp-v0.o' architecture='elf-amd-x86_64'>
10 …<abi-instr version='1.0' address-size='64' path='test44-suppr-sym-name-not-regexp-v0.c' comp-dir-p…
14 …/libabigail/PR25095/tests/data/test-diff-suppr/test44-suppr-sym-name-not-regexp-v0.c' line='1' col…
15 …/libabigail/PR25095/tests/data/test-diff-suppr/test44-suppr-sym-name-not-regexp-v0.c' line='2' col…
16 …/libabigail/PR25095/tests/data/test-diff-suppr/test44-suppr-sym-name-not-regexp-v0.c' line='4' col…
19 …/libabigail/PR25095/tests/data/test-diff-suppr/test44-suppr-sym-name-not-regexp-v0.c' line='3' col…

12345678910>>...14