HomeSort by relevance Sort by last modified time
    Searched refs:re (Results 26 - 50 of 2026) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/chromium_org/third_party/re2/re2/testing/
null_walker.cc 16 bool PostVisit(Regexp* re, bool parent_arg, bool pre_arg,
19 bool ShortVisit(Regexp* re, bool a) {
29 // Called after visiting re's children. child_args contains the return
33 bool NullWalker::PostVisit(Regexp* re, bool parent_arg, bool pre_arg,
38 // Returns whether re can match an empty string.
mimics_pcre_test.cc 66 Regexp* re = Regexp::Parse(t.regexp, flags, NULL); local
67 CHECK(re) << " " << t.regexp;
68 CHECK_EQ(t.should_match, re->MimicsPCRE())
71 re->Decref();
regexp_benchmark.cc 24 Regexp* re = Regexp::Parse("(\\d+)-(\\d+)-(\\d+)", Regexp::LikePerl, NULL); local
25 CHECK(re);
26 Prog* prog = re->CompileToProg(0);
37 re->Decref();
46 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); local
47 CHECK(re);
53 Prog* prog = re->CompileToProg(0);
63 re->Decref();
69 PCRE re(regexp, PCRE::UTF8);
70 fprintf(stderr, "RE: %7lld bytes (peak=%lld)\n", mc.HeapGrowth(), mc.PeakHeapGrowth())
78 PCRE* re = new PCRE(regexp, PCRE::UTF8); local
568 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); local
576 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); local
586 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); local
596 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); local
610 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); local
620 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); local
631 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); local
804 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); local
821 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); local
835 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); local
850 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); local
891 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); local
908 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); local
922 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); local
936 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); local
977 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); local
990 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); local
1004 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); local
1017 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); local
1047 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); local
1060 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); local
1073 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); local
1085 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); local
1120 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); local
1133 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); local
1147 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); local
1177 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); local
1190 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); local
1203 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); local
1215 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); local
    [all...]
  /external/chromium_org/tools/grit/grit/format/policy_templates/writers/
xml_writer_base_unittest.py 10 import re namespace
31 text_re = re.compile('>\n\s+([^<>\s].*?)\n\s*</', re.DOTALL)
  /external/regex-re2/re2/testing/
null_walker.cc 16 bool PostVisit(Regexp* re, bool parent_arg, bool pre_arg,
19 bool ShortVisit(Regexp* re, bool a) {
29 // Called after visiting re's children. child_args contains the return
33 bool NullWalker::PostVisit(Regexp* re, bool parent_arg, bool pre_arg,
38 // Returns whether re can match an empty string.
mimics_pcre_test.cc 66 Regexp* re = Regexp::Parse(t.regexp, flags, NULL); local
67 CHECK(re) << " " << t.regexp;
68 CHECK_EQ(t.should_match, re->MimicsPCRE())
71 re->Decref();
  /external/icu4c/test/cintltst/
reapits.c 47 * 're" is the compiled, ready-to-go regular expression.
52 re = uregex_openC(pattern, flags, NULL, &status); \
56 uregex_setText(re, srcString, -1, &status); \
63 uregex_close(re); \
200 URegularExpression *re; local
208 re = uregex_open(pat, -1, 0, 0, &status);
213 uregex_close(re);
217 re = uregex_open(pat, -1,
221 uregex_close(re);
225 re = uregex_open(pat, -1, 0x40000000, 0, &status)
1402 URegularExpression *re; local
2209 URegularExpression *re; local
2248 URegularExpression *re; local
    [all...]
  /external/antlr/antlr-3.4/runtime/Python/tests/
t060leftrecursion.py 2 import re namespace
23 # def recover(self, input, re):
44 # build_ast = re.search(r'output\s*=\s*AST', grammar)
  /external/chromium_org/third_party/re2/re2/
set.cc 38 re2::Regexp* re = Regexp::Parse(pattern, pf, &status); local
39 if (re == NULL) {
50 if (re->op() == kRegexpConcat) {
51 int nsub = re->nsub();
54 sub[i] = re->sub()[i]->Incref();
56 re->Decref();
57 re = re2::Regexp::Concat(sub, nsub + 1, pf);
61 sub[0] = re;
63 re = re2::Regexp::Concat(sub, 2, pf);
65 re_.push_back(re);
78 re2::Regexp* re = re2::Regexp::Alternate(const_cast<re2::Regexp**>(&re_[0]), local
    [all...]
walker-inl.h 27 // Virtual method called before visiting re's children.
36 virtual T PreVisit(Regexp* re, T parent_arg, bool* stop);
38 // Virtual method called after visiting re's children.
47 virtual T PostVisit(Regexp* re, T parent_arg, T pre_arg,
51 // when Walk notices that more than one child is the same re.
54 // Virtual method called to do a "quick visit" of the re,
56 // has been used up and we're trying to abort the walk
62 virtual T ShortVisit(Regexp* re, T parent_arg) = 0;
65 // Top_arg is passed as parent_arg to PreVisit and PostVisit of re.
66 // Returns the T returned by PostVisit on re
124 Regexp* re; \/\/ The regexp member in struct:re2::WalkState
170 Regexp* re = s->re; local
    [all...]
  /external/regex-re2/re2/
set.cc 38 re2::Regexp* re = Regexp::Parse(pattern, pf, &status); local
39 if (re == NULL) {
50 if (re->op() == kRegexpConcat) {
51 int nsub = re->nsub();
54 sub[i] = re->sub()[i]->Incref();
56 re->Decref();
57 re = re2::Regexp::Concat(sub, nsub + 1, pf);
61 sub[0] = re;
63 re = re2::Regexp::Concat(sub, 2, pf);
65 re_.push_back(re);
78 re2::Regexp* re = re2::Regexp::Alternate(const_cast<re2::Regexp**>(&re_[0]), local
    [all...]
walker-inl.h 27 // Virtual method called before visiting re's children.
36 virtual T PreVisit(Regexp* re, T parent_arg, bool* stop);
38 // Virtual method called after visiting re's children.
47 virtual T PostVisit(Regexp* re, T parent_arg, T pre_arg,
51 // when Walk notices that more than one child is the same re.
54 // Virtual method called to do a "quick visit" of the re,
56 // has been used up and we're trying to abort the walk
62 virtual T ShortVisit(Regexp* re, T parent_arg) = 0;
65 // Top_arg is passed as parent_arg to PreVisit and PostVisit of re.
66 // Returns the T returned by PostVisit on re
124 Regexp* re; \/\/ The regexp member in struct:re2::WalkState
170 Regexp* re = s->re; local
    [all...]
  /external/chromium_org/third_party/icu/source/test/cintltst/
reapits.c 47 * 're" is the compiled, ready-to-go regular expression.
52 re = uregex_openC(pattern, flags, NULL, &status); \
56 uregex_setText(re, srcString, -1, &status); \
63 uregex_close(re); \
159 URegularExpression *re; local
167 re = uregex_open(pat, -1, 0, 0, &status);
172 uregex_close(re);
176 re = uregex_open(pat, -1,
180 uregex_close(re);
184 re = uregex_open(pat, -1, 0x40000000, 0, &status)
1360 URegularExpression *re; local
    [all...]
  /external/chromium_org/third_party/
PRESUBMIT.py 29 name_pattern = input_api.re.compile(
31 input_api.re.IGNORECASE | input_api.re.MULTILINE)
32 shortname_pattern = input_api.re.compile(
34 input_api.re.IGNORECASE | input_api.re.MULTILINE)
35 version_pattern = input_api.re.compile(
37 input_api.re.IGNORECASE | input_api.re.MULTILINE)
38 release_pattern = input_api.re.compile
    [all...]
  /external/chromium/testing/gmock/test/
gmock_output_test.py 44 import re namespace
68 output = re.sub(r'.*gtest_main.*\n', '', output)
69 output = re.sub(r'\[.*\d+ tests.*\n', '', output)
70 output = re.sub(r'\[.* test environment .*\n', '', output)
71 output = re.sub(r'\[=+\] \d+ tests .* ran.*', '', output)
72 output = re.sub(r'.* FAILED TESTS\n', '', output)
89 return re.sub(r'.*[/\\](.+)(\:\d+|\(\d+\))\:', 'FILE:#:', output)
95 return re.sub(r' error: ', ' Failure\n', output)
101 return re.sub(r'@\w+', '@0x#', output)
107 return re.sub(r'\(used in test .+\) ', '', output
    [all...]
  /external/chromium_org/v8/tools/
jsmin.py 47 import re namespace
68 m: The match object returned by re.search.
97 m: The match object returned by re.search.
109 if re.match("[\"'/]", matched_text):
111 m = re.match(r"var ", matched_text)
114 var_names = re.split(r",", var_names)
116 m = re.match(r"(function\b[^(]*)\((.*)\)\{$", matched_text)
120 args = re.split(r",", args)
176 m: The match object returned by re.search.
183 if re.match(r"'.*'$", entire_match)
    [all...]
  /external/v8/tools/
jsmin.py 47 import re namespace
68 m: The match object returned by re.search.
97 m: The match object returned by re.search.
109 if re.match("[\"'/]", matched_text):
111 m = re.match(r"var ", matched_text)
114 var_names = re.split(r",", var_names)
116 m = re.match(r"(function\b[^(]*)\((.*)\)\{$", matched_text)
120 args = re.split(r",", args)
176 m: The match object returned by re.search.
183 if re.match(r"'.*'$", entire_match)
    [all...]
  /external/chromium_org/build/android/pylib/utils/
apk_helper.py 7 import re namespace
16 package_name_re = re.compile(r'package: .*name=\'(\S*)\'')
  /external/chromium_org/tools/traceline/traceline/scripts/
filter_short.py 14 import re namespace
25 print '%s,' % re.sub('([0-9])L\\b', '\\1', str(e))
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/re/re.alg/re.alg.match/
parse_curly_brackets.pass.cpp 28 std::string re{"\\{a\\}"};
30 std::regex regex{re};
38 std::string re{"\\{a\\}"};
40 std::regex regex{re, std::regex::extended};
48 std::string re{"\\{a\\}"};
50 std::regex regex{re, std::regex::awk};
58 std::string re{"\\{a\\}"};
60 std::regex regex{re, std::regex::egrep};
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/re/re.alg/re.alg.search/
no_update_pos.pass.cpp 28 std::regex re{"^a"};
29 std::cregex_iterator it{text, text+6, re};
  /packages/apps/Camera2/tests/exiftool_parser/
parser.py 17 import re namespace
35 p = re.compile(
38 , re.M)
67 _id = re.search("0x[0-9a-f]{4}", s)
71 name = re.search("[0-9]*?\).*?(?:(?: = )|(?: \(SubDirectory\) -->))", s)
75 value = re.search("\(SubDirectory\) -->", s)
79 value = re.search("\(.*\)\n", s)
83 value = re.search("=.*\n", s)
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/
checksvnconfigfile.py 29 import re namespace
46 errorcode_autoprop = not re.search("^\s*enable-auto-props\s*=\s*yes", config_file, re.MULTILINE)
47 errorcode_png = not re.search("^\s*\*\.png\s*=\s*svn:mime-type=image/png", config_file, re.MULTILINE)
  /ndk/sources/host-tools/sed-4.2.1/testsuite/
bug-regex12.c 49 regex_t re; local
60 n = regcomp (&re, tests[i].pattern, tests[i].flags);
64 regerror (n, &re, buf, sizeof (buf));
70 if (! regexec (&re, tests[i].string, tests[i].nmatch,
77 regfree (&re);
bug-regex9.c 39 regex_t re; local
47 n = regcomp (&re, "^#! */.*/(k|ba||pdk|z)sh", REG_EXTENDED);
51 regerror (n, &re, buf, sizeof (buf));
58 if (regexec (&re, text, 2, rm, 0))
72 regfree (&re);

Completed in 2201 milliseconds

12 3 4 5 6 7 8 91011>>