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

12 3 4 5 6 7 8 91011>>

  /external/icu/icu4c/source/test/cintltst/
reapits.c 48 * 're" is the compiled, ready-to-go regular expression.
53 re = uregex_openC(pattern, flags, NULL, &status); \
57 uregex_setText(re, srcString, -1, &status); \
64 uregex_close(re); \
203 URegularExpression *re; local
211 re = uregex_open(pat, -1, 0, 0, &status);
216 uregex_close(re);
220 re = uregex_open(pat, -1,
224 uregex_close(re);
228 re = uregex_open(pat, -1, 0x40000000, 0, &status)
1405 URegularExpression *re; local
2192 URegularExpression *re; local
2231 URegularExpression *re; local
2263 URegularExpression *re; local
    [all...]
  /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();
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...]
compile_test.cc 108 Regexp* re = Regexp::Parse(t.regexp, Regexp::PerlX|Regexp::Latin1, NULL); local
109 if (re == NULL) {
114 Prog* prog = re->CompileToProg(0);
117 re->Decref();
121 CHECK(re->CompileToProg(1) == NULL);
130 re->Decref();
159 Regexp* re = Regexp::Parse(".", Regexp::PerlX, NULL); local
160 EXPECT_TRUE(re != NULL);
161 Prog* prog = re->CompileToProg(0);
168 re->Decref()
    [all...]
regexp_test.cc 16 Regexp* re; local
17 re = Regexp::Parse("x", Regexp::NoParseFlags, NULL);
19 re->Incref();
21 re->Decref();
22 CHECK_EQ(re->Ref(), 1);
23 re->Decref();
35 Regexp* re = Regexp::Concat(&v[0], v.size(), Regexp::NoParseFlags); local
36 CHECK_EQ(re->ToString(), string(v.size(), 'x'));
37 re->Decref();
  /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/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...]
tostring.cc 35 virtual int PreVisit(Regexp* re, int parent_arg, bool* stop);
36 virtual int PostVisit(Regexp* re, int parent_arg, int pre_arg,
38 virtual int ShortVisit(Regexp* re, int parent_arg) {
59 // Visits re before children are processed.
61 int ToStringWalker::PreVisit(Regexp* re, int parent_arg, bool* stop) {
65 switch (re->op()) {
97 if (re->name()) {
99 t_->append(*re->name());
136 // Visits re after children are processed.
139 int ToStringWalker::PostVisit(Regexp* re, int parent_arg, int pre_arg
    [all...]
parse.cc 60 bool PushRegexp(Regexp* re);
180 for (Regexp* re = stacktop_; re != NULL; re = next) {
181 next = re->down_;
182 re->down_ = NULL;
183 if (re->op() == kLeftParen)
184 delete re->name_;
185 re->Decref();
192 Regexp* Regexp::ParseState::FinishRegexp(Regexp* re) {
371 Regexp* re = new Regexp(kRegexpCharClass, flags_ & ~FoldCase); local
440 Regexp* re = new Regexp(op, flags_); local
457 Regexp* re = new Regexp(op, fl); local
484 Regexp* re = new Regexp(kRegexpRepeat, fl); local
504 Regexp* re = new Regexp(kLeftParen, flags_); local
513 Regexp* re = new Regexp(kLeftParen, flags_); local
609 Regexp* re = r2; local
629 Regexp* re = stacktop_; local
954 Regexp* re = sub[j]; local
1031 Regexp* re = ConcatOrAlternate(op, subs, n, flags_, true); local
1044 Regexp* re = new Regexp(kRegexpEmptyMatch, flags_); local
1673 Regexp* re = new Regexp(kRegexpCharClass, flags_ & ~FoldCase); local
2046 Regexp* re; local
2174 Regexp* re = new Regexp(kRegexpCharClass, ps.flags() & ~FoldCase); local
2192 Regexp* re = new Regexp(kRegexpCharClass, ps.flags() & ~FoldCase); local
    [all...]
  /packages/apps/Messaging/build/
colorize_errors.py 20 import re namespace
27 ERROR = re.compile(r"^Error:")
28 WARNING = re.compile(r"^Warning:")
29 STARTS_WITH_WS = re.compile(r"^\s")
  /external/clang/docs/tools/
dump_ast_matchers.py 7 import re namespace
36 text = re.sub(r'&', '&amp;', text)
37 text = re.sub(r'<', '&lt;', text)
38 text = re.sub(r'>', '&gt;', text)
53 text = re.sub(
69 m = re.search(r'Usable as: Any Matcher[\s\n]*$', comment, re.S)
73 m = re.match(r'^(.*)Matcher<([^>]+)>\s*,?[\s\n]*$', comment, re.S)
75 if re.search(r'Usable as:\s*$', comment)
    [all...]
  /external/google-breakpad/src/testing/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/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-reference-check.py 6 import re namespace
12 DECLARE_RE = re.compile("\s*static ExternalReference ([^(]+)\(")
13 REGISTER_RE = re.compile("\s*Add\(ExternalReference::([^(]+)\(")
25 def Find(filename, re):
29 match = re.match(line)
  /external/libcxx/test/std/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);
  /external/libcxx/test/std/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);
  /hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/android/
scrape_gtest_log.py 17 import re namespace
24 re.findall(r'{([^}]*.?)}', blob)) + ']'
  /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/skia/tools/copyright/
fileparser.py 9 import re namespace
27 self._copyright_pattern = re.compile('copyright', re.IGNORECASE)
28 self._attribute_pattern = re.compile(
29 'copyright.*\D(\d{4})\W*(\w.*[\w.])', re.IGNORECASE)
74 self._comment_pattern = re.compile('/\*.*?\*/', re.DOTALL)
  /external/skia/tools/
misc_utils.py 10 import re namespace
32 pattern: (string) to be passed to re.compile
38 pattern_object = re.compile(pattern)
51 pattern: (string) to be passed to re.compile
57 match = re.search(pattern, input_string)
  /external/llvm/test/MC/MachO/
x86_32-optimal_nop.s 21 # nopl (%[re]ax)
31 # nopl 0(%[re]ax)
40 # nopl 0(%[re]ax,%[re]ax,1)
48 # nopw 0(%[re]ax,%[re]ax,1)
55 # nopl 0L(%[re]ax)
69 # nopl 0L(%[re]ax,%[re]ax,1)
82 # nopw 0L(%[re]ax,%[re]ax,1
    [all...]

Completed in 572 milliseconds

12 3 4 5 6 7 8 91011>>