/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)
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/tic4x/ |
tic4x.exp | 30 -re "^ +1 .... 00 ?00 ?00 ?00" { fail $testname; set x 1 } 31 -re "^ +1 .... 01 ?00 ?00 ?00" { pass $testname; set x 1 } 32 -re "^ +1 .... 00 ?00 ?00 ?01" { pass $testname; set x 1 } 33 -re "\[^\n\]*\n" { }
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/tic6x/ |
scomm-directive-2.d | 4 #error: attempt to re-define symbol
|
scomm-directive-3.d | 4 #error: attempt to re-define symbol
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/vax/ |
vax.exp | 33 -re "^ +2\[ \t\]+0000+ 7D8F7856\[ \t\]+movq\[^\n\]*\n" { set x1 1 } 34 -re "^ +2\[ \t\]+3412DDCC\[^\n\]*\n" { set x2 1 } 35 -re "^ +2\[ \t\]+BBAA50\[ \t\]*\r\n" { set x3 1 } 36 -re "\[^\n\]*\n" { }
|
/development/samples/SupportLeanbackShowcase/ |
build-release.py | 6 import re namespace 14 if re.match(pattern, line, re.I|re.M): 15 line = re.sub(pattern, newVal, line)
|
/external/v8/tools/ |
external-reference-check.py | 6 import re namespace 12 DECLARE_RE = re.compile("\s*static ExternalReference ([^(]+)\(") 13 REGISTER_RE = re.compile("\s*Add\(ExternalReference::([^(]+)\(") 26 def Find(filename, re): 30 match = re.match(line)
|
/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/autotest/client/site_tests/hardware_SsdDetection/ |
hardware_SsdDetection.py | 6 import re namespace 34 alpha_re = re.compile(r'^/dev/([a-zA-Z]+)$') 35 alnum_re = re.compile(r'^/dev/([a-zA-Z]+[0-9]+)$') 43 if re.search("mmcblk", device): 49 match = re.search(r'Nominal Media Rotation Rate: (.+)$', 50 hdparm.stdout, re.MULTILINE) 63 match = re.search("device size with M = 1000\*1000: (.+) MBytes", 64 hdparm.stdout, re.MULTILINE) 79 if not re.search(r'Gen. signaling speed \(%s\)' % link_speed, 80 hdparm.stdout, re.MULTILINE) [all...] |
/frameworks/base/core/java/android/os/ |
UserManager.java | 764 } catch (RemoteException re) { 765 throw re.rethrowFromSystemServer(); [all...] |
/frameworks/base/media/lib/tvremote/java/com/android/media/tv/remoteprovider/ |
TvRemoteProvider.java | 130 } catch (RemoteException re) { 131 throw re.rethrowFromSystemServer(); 144 } catch (RemoteException re) { 145 throw re.rethrowFromSystemServer(); 161 } catch (RemoteException re) { 162 throw re.rethrowFromSystemServer(); 179 } catch (RemoteException re) { 180 throw re.rethrowFromSystemServer(); 195 } catch (RemoteException re) { 196 throw re.rethrowFromSystemServer() [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)
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/scripts/ |
git-release-notes.py | 4 import re namespace 7 RELEASE = re.compile(r'[0-9]+\.[0-9]+\.[0-9]+') 8 ISSUE = re.compile(r'#([0-9]+)') 44 re.compile(r'merge pull request #[0-9]+ from [a-z0-9/_-]+', re.I), 45 re.compile(r"merge branch '[a-z0-9/_-]+' into [a-z0-9/_-]+", re.I), 46 re.compile(r'fix(es)? [#0-9, ]+.?', re.I)
|
/external/autotest/client/site_tests/kernel_HdParm/ |
kernel_HdParm.py | 7 import logging, re namespace 24 match = re.search('(\d+\.\d+) MB\/sec', result) 27 match = re.search('(\d+\.\d+) MB\/sec', result)
|
/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/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)
|