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

1 23 4 5 6 7 8 91011>>

  /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/lldb/test/pexpect-2.4/examples/
uptime.py 10 import re namespace
44 p.match = re.search('([0-9]+)\s+day',duration)
47 p.match = re.search('([0-9]+):([0-9]+)',duration)
51 p.match = re.search('([0-9]+)\s+min',duration)
  /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/llvm/utils/
DSAclean.py 11 import re namespace
23 if re.compile("label(\s*)=(\s*)\"\s%tmp(.\w*)*(\s*)\"").search(buffer):
DSAextract.py 28 import re namespace
49 regexp_list.append(re.compile(name))
52 nodeexp = re.compile('Node')
54 arrowexp = re.compile('->')
68 node_set |= set([re.split('\s+',buffer,2)[1]])
105 node = re.split('\s+', buffer,2)[1]
  /cts/tools/selinux/
SELinuxNeverallowTestGen.py 3 import re namespace
17 no_comments = re.sub(r'#.+?$', r'', policy_str, flags = re.M)
19 return re.findall(r'(^neverallow\s.+?;)', no_comments, flags = re.M |re.S);
  /external/regex-re2/re2/testing/
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();
required_prefix_test.cc 46 Regexp* re = Regexp::Parse(t.regexp, flags, NULL); local
47 CHECK(re) << " " << t.regexp;
51 CHECK_EQ(t.return_value, re->RequiredPrefix(&p, &f, &s))
52 << " " << t.regexp << " " << (j==0 ? "latin1" : "utf") << " " << re->Dump();
62 re->Decref();
dfa_test.cc 45 Regexp* re = Regexp::Parse(s.c_str(), Regexp::LikePerl, NULL); local
46 CHECK(re);
47 Prog* prog = re->CompileToProg(0);
55 re->Decref();
60 Regexp* re = Regexp::Parse(s.c_str(), Regexp::LikePerl, NULL); local
61 CHECK(re);
62 Prog* prog = re->CompileToProg(0);
81 re->Decref();
96 Regexp* re = Regexp::Parse(s.c_str(), Regexp::LikePerl, NULL); local
97 CHECK(re);
184 Regexp* re = Regexp::Parse(StringPrintf("0[01]{%d}$", n), local
266 Regexp* re = Regexp::Parse(StringPrintf("0[01]{%d}$", n), local
328 Regexp* re = Regexp::Parse(t.regexp, Regexp::LikePerl, NULL); local
    [all...]
  /external/pcre/dist/
pcre_scanner.cc 73 void Scanner::SetSkipExpression(const char* re) {
75 if (re != NULL) {
76 skip_ = new RE(re);
87 void Scanner::Skip(const char* re) {
89 if (re != NULL) {
90 skip_ = new RE(re);
127 bool Scanner::LookingAt(const RE& re) const
    [all...]
pcredemo.c 48 pcre *re; local
99 re = pcre_compile(
108 if (re == NULL)
122 re, /* the compiled pattern */
143 pcre_free(re); /* Release memory used for the compiled pattern */
188 re, /* the compiled pattern */
202 re, /* the compiled pattern */
208 re, /* the compiled pattern */
258 pcre_free(re); /* Release the memory used for the compiled pattern */
266 (void)pcre_fullinfo(re, NULL, PCRE_INFO_OPTIONS, &option_bits)
    [all...]
  /frameworks/base/core/java/android/os/
UserManager.java 545 } catch (RemoteException re) {
546 Log.w(TAG, "Could not get user name", re);
595 } catch (RemoteException re) {
596 Log.w(TAG, "Could not check if user is limited ", re);
667 } catch (RemoteException re) {
668 Log.w(TAG, "Could not get user info", re);
689 } catch (RemoteException re) {
690 Log.w(TAG, "Could not get user restrictions", re);
723 } catch (RemoteException re) {
724 Log.w(TAG, "Could not set user restrictions", re);
    [all...]
  /prebuilts/misc/common/swig/include/2.0.11/python/
pycomplex.swg 55 double re = PyComplex_RealAsDouble(o);
57 if ((-FLT_MAX <= re && re <= FLT_MAX) && (-FLT_MAX <= im && im <= FLT_MAX)) {
58 if (val) *val = Constructor(%numeric_cast(re, float),
65 float re;
66 int res = SWIG_AddCast(SWIG_AsVal(float)(o, &re));
68 if (val) *val = Constructor(re, 0.0);
  /external/regex-re2/re2/
regexp.cc 132 Regexp* re = stack; local
133 stack = re->down_;
134 if (re->ref_ != 0)
135 LOG(DFATAL) << "Bad reference count " << re->ref_;
136 if (re->nsub_ > 0) {
137 Regexp** subs = re->sub();
138 for (int i = 0; i < re->nsub_; i++) {
151 if (re->nsub_ > 1)
153 re->nsub_ = 0;
155 delete re;
177 Regexp* re = new Regexp(kRegexpHaveMatch, flags); local
222 Regexp* re = sub[0]; local
232 Regexp* re = new Regexp(op, flags); local
244 Regexp* re = new Regexp(op, flags); local
267 Regexp* re = new Regexp(kRegexpCapture, flags); local
275 Regexp* re = new Regexp(kRegexpRepeat, flags); local
284 Regexp* re = new Regexp(kRegexpLiteral, flags); local
301 Regexp* re = new Regexp(kRegexpCharClass, flags); local
    [all...]
  /external/selinux/policycoreutils/sepolicy/sepolicy/
generate.py 25 import re namespace
331 if not re.match(r"^[a-zA-Z0-9-_]+$", name):
508 return re.sub("TEMPLATETYPE", self.name, executable.te_uid_rules)
514 return re.sub("TEMPLATETYPE", self.name, executable.te_syslog_rules)
520 return re.sub("TEMPLATETYPE", self.name, executable.te_resolve_rules)
526 return re.sub("TEMPLATETYPE", self.name, executable.te_kerberos_rules)
532 return re.sub("TEMPLATETYPE", self.name, executable.te_manage_krb5_rcache_rules)
539 newte = re.sub("TEMPLATETYPE", self.name, executable.te_pam_rules)
545 newte = re.sub("TEMPLATETYPE", self.name, executable.te_audit_rules)
551 newte = re.sub("TEMPLATETYPE", self.name, executable.te_etc_rules
    [all...]
  /external/protobuf/gtest/test/
gtest_output_test.py 44 import re namespace
103 return re.sub(r'.*[/\\](.+)(\:\d+|\(\d+\))\: ', r'\1:#: ', test_output)
110 return re.sub(r'Stack trace:(.|\n)*?\n\n',
118 return re.sub(r'Stack trace:(.|\n)*?\n\n', '', output)
124 return re.sub(r'\(\d+ ms', '(? ms', output)
138 return re.sub(r'unsigned int', 'unsigned', test_output)
144 output = re.sub(r'\d+ tests?, listed below',
146 output = re.sub(r'\d+ FAILED TESTS',
148 output = re.sub(r'\d+ tests? from \d+ test cases?',
150 output = re.sub(r'\d+ tests? from ([a-zA-Z_])'
    [all...]
  /external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/simplecTreeParser/
SimpleCTP.java 100 catch (RecognitionException re) {
101 reportError(re);
102 recover(input,re);
192 catch (RecognitionException re) {
193 reportError(re);
194 recover(input,re);
229 catch (RecognitionException re) {
230 reportError(re);
231 recover(input,re);
252 catch (RecognitionException re) {
    [all...]
  /external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/simplecTreeParser/output1/
SimpleCTP.java 100 catch (RecognitionException re) {
101 reportError(re);
102 recover(input,re);
192 catch (RecognitionException re) {
193 reportError(re);
194 recover(input,re);
229 catch (RecognitionException re) {
230 reportError(re);
231 recover(input,re);
252 catch (RecognitionException re) {
    [all...]
  /external/v8/test/mjsunit/regress/
regress-52801.js 39 var re = /a/g; variable
45 re.test(str);
46 assertEquals(5, re.lastIndex);
48 re.lastIndex = 0;
49 re.test(str);
50 assertEquals(5, re.lastIndex); // Fails if caching.
52 re.lastIndex = 0;
53 re.test(str);
54 assertEquals(5, re.lastIndex); // Fails if caching.
58 re = /a/g
    [all...]
  /bionic/benchmarks/
main.cpp 34 regex_t* re = new regex_t; local
35 int errcode = regcomp(re, argv[i], 0);
37 size_t errbuf_size = regerror(errcode, re, NULL, 0);
40 regerror(errcode, re, errbuf, errbuf_size);
48 regs.push_back(re);
  /prebuilts/misc/common/swig/include/2.0.11/ruby/
rubycomplex.swg 61 VALUE re = rb_float_new(Real(c));
63 return rb_complex_new(re, im);
81 double re = 0;
82 SWIG_AsVal_double( real, &re );
85 *val = Constructor(re, im);
114 double re = 0;
115 SWIG_AsVal_double( real, &re );
118 if ((-FLT_MAX <= re && re <= FLT_MAX) &&
120 if (val) *val = Constructor(%numeric_cast(re, float)
    [all...]
  /external/opencv/cxcore/src/
cxdxt.cpp 357 w.re = w1.re = icvDxtTab[m][0];
364 w.re = w1.re = sqrt(1. - w1.im*w1.im);
372 wave[0].re = 1.;
377 wave[n].re = -1.;
384 wave[n0-i].re = w.re;
387 t = w.re*w1.re - w.im*w1.im
    [all...]
  /external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/combined/
CombinedParser.m 163 @catch (ANTLRRecognitionException *re) {
164 [self reportError:re];
165 [self recover:input Exception:re];
190 @catch (ANTLRRecognitionException *re) {
191 [self reportError:re];
192 [self recover:input Exception:re];
  /external/bison/build-aux/
update-b4-copyright 124 my $re = $old_re;
126 $re =~ s/\#BEFORE/\\G/;
127 if (!/$re/x)
140 my $re = $old_re;
141 $re =~ s/\#AFTER/\\G/;
142 if (!/$re/x)
  /external/google-breakpad/src/testing/gtest/xcode/Scripts/
versiongenerate.py 53 import re namespace
75 version_expression = re.compile(r"AC_INIT\(.*?\[(\d+)\.(\d+)\.(\d+)\].*?\)",
76 re.DOTALL)

Completed in 440 milliseconds

1 23 4 5 6 7 8 91011>>