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

12 3 4 5 6 7 8 91011>>

  /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/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/webkit/Source/JavaScriptCore/tests/mozilla/js1_2/regexp/
toString.js 41 // var re = new RegExp(); re.toString()
42 var re = new RegExp();
43 testcases[count++] = new TestCase ( SECTION, "var re = new RegExp(); re.toString()",
44 '/(?:)/', re.toString());
46 // re = /.+/; re.toString();
47 re = /.+/;
48 testcases[count++] = new TestCase ( SECTION, "re = /.+/; re.toString()"
    [all...]
  /frameworks/base/core/java/android/os/
UserManager.java 186 } catch (RemoteException re) {
187 Log.w(TAG, "Could not get user name", re);
210 } catch (RemoteException re) {
211 Log.w(TAG, "Could not check if user is limited ", re);
259 } catch (RemoteException re) {
260 Log.w(TAG, "Could not get user info", re);
281 } catch (RemoteException re) {
282 Log.w(TAG, "Could not get user restrictions", re);
305 } catch (RemoteException re) {
306 Log.w(TAG, "Could not set user restrictions", re);
    [all...]
  /packages/apps/Gallery2/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)
  /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);
  /external/regex-re2/re2/
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...]
  /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/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/webkit/Tools/Scripts/webkitpy/style/checkers/
changelog.py 28 import re namespace
49 if re.search("Unreviewed", line, re.IGNORECASE):
51 if re.search("build", line, re.IGNORECASE) and re.search("fix", line, re.IGNORECASE):
  /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/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...]
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/RegExp/
regress-119909.js 81 var re = new RegExp(pattern);
83 var res = strOriginal.search(re);
84 res = strOriginal.match(re);
85 res = strOriginal.replace(re, strReplace);
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/String/
regress-104375.js 44 var re = /(uid=)(\d+)/; variable
48 actual = str.replace (re, "$1" + 15);
54 actual = str.replace (re, "$1" + '15');
60 actual = str.replace (re, "$1" + 'A15');
  /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])')
  /external/llvm/utils/
DSAclean.py 11 import re namespace
23 if re.compile("label(\s*)=(\s*)\"\s%tmp(.\w*)*(\s*)\"").search(buffer):
  /external/webkit/Source/WebKit/chromium/src/
WebRegularExpression.cpp 48 RegularExpression* re = new RegularExpression(pattern, sensitivity); local
49 m_private = static_cast<WebRegularExpressionPrivate*>(re);
  /external/webkit/Tools/Scripts/webkitpy/tool/
grammar.py 30 import re namespace
35 if re.search("h$", noun):

Completed in 1527 milliseconds

12 3 4 5 6 7 8 91011>>