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

1 23 4 5 6 7 8 91011>>

  /external/regex-re2/re2/testing/
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/chromium_org/third_party/re2/re2/testing/
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();
simplify_test.cc 145 Regexp* re = Regexp::Parse(tests[i].regexp, local
149 CHECK(re != NULL) << " " << tests[i].regexp << " " << status.Text();
150 Regexp* sre = re->Simplify();
155 CHECK(re == sre) << " " << tests[i].regexp
156 << " " << re->ToString() << " " << sre->ToString();
162 re->Decref();
  /external/chromium_org/third_party/re2/re2/
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...]
  /external/regex-re2/re2/
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...]
  /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/chromium_org/third_party/yasm/source/patched-yasm/tools/re2c/
actions.c 17 r->re = NULL;
97 RegExp_calcSize(RegExp *re, Char *rep)
102 switch (re->type) {
104 re->size = 0;
107 re->size = 1;
108 for(r = re->d.match; r; r = r->next)
111 ++re->size;
114 RegExp_calcSize(re->d.RuleOp.exp, rep);
115 RegExp_calcSize(re->d.RuleOp.ctx, rep);
116 re->size = re->d.RuleOp.exp->size + re->d.RuleOp.ctx->size + 1
514 RegExp *re; local
526 RegExp *re, *reL, *reU; local
    [all...]
  /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)
  /frameworks/base/core/java/android/os/
UserManager.java 193 } catch (RemoteException re) {
194 Log.w(TAG, "Could not get user name", re);
217 } catch (RemoteException re) {
218 Log.w(TAG, "Could not check if user is limited ", re);
266 } catch (RemoteException re) {
267 Log.w(TAG, "Could not get user info", re);
288 } catch (RemoteException re) {
289 Log.w(TAG, "Could not get user restrictions", re);
312 } catch (RemoteException re) {
313 Log.w(TAG, "Could not set user restrictions", re);
    [all...]
  /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...]
  /external/chromium/testing/gtest/test/
gtest_output_test.py 44 import re namespace
101 return re.sub(r'.*[/\\](.+)(\:\d+|\(\d+\))\: ', r'\1:#: ', test_output)
108 return re.sub(r'Stack trace:(.|\n)*?\n\n',
116 return re.sub(r'Stack trace:(.|\n)*?\n\n', '', output)
122 return re.sub(r'\(\d+ ms', '(? ms', output)
136 return re.sub(r'unsigned int', 'unsigned', test_output)
144 test_output = re.sub('\x1b\\[(0;3\d)?m', '', test_output)
146 test_output = re.sub(r': Failure\n', r': error: ', test_output)
148 test_output = re.sub(r'((\w|\.)+)\((\d+)\):', r'\1:\3:', test_output)
156 output = re.sub(r'\d+ tests?, listed below'
    [all...]
  /external/chromium_org/testing/gtest/test/
gtest_output_test.py 44 import re namespace
101 return re.sub(r'.*[/\\](.+)(\:\d+|\(\d+\))\: ', r'\1:#: ', test_output)
108 return re.sub(r'Stack trace:(.|\n)*?\n\n',
116 return re.sub(r'Stack trace:(.|\n)*?\n\n', '', output)
122 return re.sub(r'\(\d+ ms', '(? ms', output)
136 return re.sub(r'unsigned int', 'unsigned', test_output)
144 test_output = re.sub('\x1b\\[(0;3\d)?m', '', test_output)
146 test_output = re.sub(r': Failure\n', r': error: ', test_output)
148 test_output = re.sub(r'((\w|\.)+)\((\d+)\):', r'\1:\3:', test_output)
156 output = re.sub(r'\d+ tests?, listed below'
    [all...]
  /external/gtest/test/
gtest_output_test.py 44 import re namespace
101 return re.sub(r'.*[/\\](.+)(\:\d+|\(\d+\))\: ', r'\1:#: ', test_output)
108 return re.sub(r'Stack trace:(.|\n)*?\n\n',
116 return re.sub(r'Stack trace:(.|\n)*?\n\n', '', output)
122 return re.sub(r'\(\d+ ms', '(? ms', output)
136 return re.sub(r'unsigned int', 'unsigned', test_output)
144 test_output = re.sub('\x1b\\[(0;3\d)?m', '', test_output)
146 test_output = re.sub(r': Failure\n', r': error: ', test_output)
148 test_output = re.sub(r'((\w|\.)+)\((\d+)\):', r'\1:\3:', test_output)
156 output = re.sub(r'\d+ tests?, listed below'
    [all...]
  /external/libvpx/libvpx/third_party/googletest/src/test/
gtest_output_test.py 44 import re namespace
101 return re.sub(r'.*[/\\](.+)(\:\d+|\(\d+\))\: ', r'\1:#: ', test_output)
108 return re.sub(r'Stack trace:(.|\n)*?\n\n',
116 return re.sub(r'Stack trace:(.|\n)*?\n\n', '', output)
122 return re.sub(r'\(\d+ ms', '(? ms', output)
136 return re.sub(r'unsigned int', 'unsigned', test_output)
144 test_output = re.sub('\x1b\\[(0;3\d)?m', '', test_output)
146 test_output = re.sub(r': Failure\n', r': error: ', test_output)
148 test_output = re.sub(r'((\w|\.)+)\((\d+)\):', r'\1:\3:', test_output)
156 output = re.sub(r'\d+ tests?, listed below'
    [all...]
  /frameworks/compile/libbcc/tools/build/
gen-config-from-mk.py 20 import re namespace
24 conf_patt = re.compile('# Configurations')
25 split_patt = re.compile('#={69}')
26 var_patt = re.compile('libbcc_([A-Z_]+)\\s*:=\\s*([01])')
  /ndk/sources/third_party/googletest/googletest/test/
gtest_output_test.py 44 import re namespace
101 return re.sub(r'.*[/\\](.+)(\:\d+|\(\d+\))\: ', r'\1:#: ', test_output)
108 return re.sub(r'Stack trace:(.|\n)*?\n\n',
116 return re.sub(r'Stack trace:(.|\n)*?\n\n', '', output)
122 return re.sub(r'\(\d+ ms', '(? ms', output)
136 return re.sub(r'unsigned int', 'unsigned', test_output)
144 test_output = re.sub('\x1b\\[(0;3\d)?m', '', test_output)
146 test_output = re.sub(r': Failure\n', r': error: ', test_output)
148 test_output = re.sub(r'((\w|\.)+)\((\d+)\):', r'\1:\3:', test_output)
156 output = re.sub(r'\d+ tests?, listed below'
    [all...]
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/tool/
grammar.py 30 import re namespace
35 if re.search("h$", noun):
  /external/llvm/utils/
DSAclean.py 11 import re namespace
23 if re.compile("label(\s*)=(\s*)\"\s%tmp(.\w*)*(\s*)\"").search(buffer):
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/config/
urls.py 29 import re namespace
48 _bug_server_regex = "https?://%s/" % re.sub('\.', '\\.', bug_server_host)
66 match = re.search(bug_url_short, string)
69 match = re.search(bug_url_long, string)
78 match = re.search(attachment_url, string)
81 match = re.search(direct_attachment_url, string)
  /external/chromium_org/tools/grit/grit/format/
js_map_format.py 9 import re namespace
34 en_message = re.sub(r'%\d\$([a-z])', r'%\1', en_message)
36 en_message = re.sub(r'\\', r'\\\\', en_message)
37 en_message = re.sub(r'"', r'\"', en_message)
41 loc_message = re.sub(r'\\', r'\\\\', loc_message)
42 loc_message = re.sub(r'"', r'\"', loc_message)

Completed in 1616 milliseconds

1 23 4 5 6 7 8 91011>>