HomeSort by relevance Sort by last modified time
    Searched defs:re (Results 101 - 125 of 399) sorted by null

1 2 3 45 6 7 8 91011>>

  /external/protobuf/gtest/test/
gtest_xml_test_utils.py 36 import re namespace
161 time.value = re.sub(r"^\d+(\.\d+)?$", "*", time.value)
166 cdata = re.sub(r"^.*[/\\](.*:)\d+\n", "\\1*\n", child.nodeValue)
168 child.nodeValue = re.sub(r"\nStack trace:\n(.|\n)*",
  /external/protobuf/gtest/xcode/Scripts/
versiongenerate.py 24 import re namespace
46 version_expression = re.compile(r"AC_INIT\(.*?\[(\d+)\.(\d+)\.(\d+)\].*?\)",
47 re.DOTALL)
  /external/regex-re2/re2/
filtered_re2.cc 26 RE2* re = new RE2(pattern, options); local
27 RE2::ErrorCode code = re->error_code();
29 if (!re->ok()) {
32 << re << " due to error " << re->error();
34 delete re;
37 re2_vec_.push_back(re);
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...]
unicode.py 8 import re namespace
114 match = re.match("<(.*), (First|Last)>", s)
135 processing the file. When done with the file, the reader re-raises
  /external/regex-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...]
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();
  /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/v8/tools/
gen-postmortem-metadata.py 49 import re namespace
137 # for which we're going to emit descriptive constants.
182 # Construct a dictionary for the classes we're sure should be present.
203 line = re.sub('//.*', '', line.rstrip().lstrip());
209 match = re.match('class (\w[^\s:]*)(: public (\w[^\s{]*))?\s*{',
222 types[re.sub('\s*=.*', '', entry).lstrip()] = True;
235 usetype = re.sub('SYMBOL_', 'STRING_', type);
240 usetype = re.sub('_REGEXP_', '_REG_EXP_', usetype);
286 # representation and encoding and add them if they're not
295 cctype = re.sub('AsciiString$'
    [all...]
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...]
run-valgrind.py 35 import re namespace
60 LEAK_LINE_MATCHER = re.compile(LEAK_RE)
61 LEAK_OKAY_MATCHER = re.compile(r"lost: 0 bytes in 0 blocks")
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/RegExp/
regress-169534.js 55 var re = /(\|)([\w\x81-\xff ]*)(\|)([\/a-z][\w:\/\.]*\.[a-z]{3,4})(\|)/ig; variable
57 actual = str.replace(re, '<a href="$4">$2</a>');
regress-220367-002.js 54 var re = /(a)|(b)/; variable
56 re.test('a');
67 re.test('b');
regress-85721.js 53 var re = ''; variable
81 re = /<sql:connection id="([^\r\n]*?)">\s*<sql:url>\s*([^\r\n]*?)\s*<\/sql:url>\s*<sql:driver>\s*([^\r\n]*?)\s*<\/sql:driver>\s*(\s*<sql:userId>\s*([^\r\n]*?)\s*<\/sql:userId>\s*)?\s*(\s*<sql:password>\s*([^\r\n]*?)\s*<\/sql:password>\s*)?\s*<\/sql:connection>/;
89 var result = re.exec(str);
97 testRegExp([status], [re], [str], [result], [expect]);
254 re = new RegExp($mailbox, "g");
263 var result = re.exec(str);
271 testRegExp([status], [re], [str], [result], [expect]);
  /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');
  /external/webkit/Source/JavaScriptCore/tests/mozilla/js1_5/Regress/
regress-179524.js 62 var re = /z/ig; variable
65 actual = str.match(re);
70 actual = str.match(re, 'i');
75 actual = str.match(re, 'g', '');
80 actual = str.match(re, 'z', new Object(), new Date());
89 actual = str.search(re);
94 actual = str.search(re, 'i');
99 actual = str.search(re, 'g', '');
104 actual = str.search(re, 'z', new Object(), new Date());
113 actual = str.replace(re, 'Z')
    [all...]
  /external/webkit/Source/WebCore/WebCore.gyp/scripts/
action_derivedsourcesallinone.py 47 import re namespace
52 conditionalPattern = re.compile('interface[\s]*\[[^\]]*Conditional=([\_0-9a-zA-Z&|]*)')
88 if re.match('[|&]$', s):
106 conditional = re.split('([|&])', conditional)
  /external/webkit/Tools/Scripts/webkitpy/common/checkout/
deps.py 34 import re namespace
46 pattern = re.compile(self._variable_regexp % name)
53 pattern = re.compile(self._variable_regexp % name)
55 # inplace=1 creates a backup file and re-directs stdout to the file
  /external/webkit/Tools/Scripts/webkitpy/style/checkers/
test_expectations.py 33 import re namespace
62 self._output_regex = re.compile('Line:(?P<line>\d+)\s*(?P<message>.+)')
  /external/webkit/Tools/Scripts/webkitpy/thirdparty/simplejson/
scanner.py 6 from re import VERBOSE, MULTILINE, DOTALL
7 import re namespace
61 fn.regex = re.compile(pattern, flags)
  /external/webkit/Tools/Scripts/webkitpy/tool/commands/
openbugs.py 29 import re namespace
40 bug_number_regexp = re.compile(r"\b\d{4,6}\b")
  /frameworks/base/tests/DumpRenderTree2/assets/
run_layout_tests.py 15 import re namespace
50 if re.search("^INSTRUMENTATION_STATUS_CODE: -1", stdoutdata, re.MULTILINE) != None:
53 if re.search("^OK \([0-9]+ tests?\)", stdoutdata, re.MULTILINE) == None:
  /frameworks/compile/libbcc/tools/build/
gen-build-info.py 20 import re namespace
  /ndk/sources/host-tools/sed-4.2.1/testsuite/
bug-regex11.c 98 regex_t re; local
109 n = regcomp (&re, tests[i].pattern, tests[i].flags);
113 regerror (n, &re, buf, sizeof (buf));
119 if (regexec (&re, tests[i].string, tests[i].nmatch, rm, 0))
123 regfree (&re);
139 regfree (&re);
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);

Completed in 1096 milliseconds

1 2 3 45 6 7 8 91011>>