Searched refs:re (Results 176 - 200 of 1556) sorted by relevance

1234567891011>>

/external/v8/test/mjsunit/
H A Dtestcfg.py29 import re namespace
34 FLAGS_PATTERN = re.compile(r"//\s+Flags:(.*)")
35 FILES_PATTERN = re.compile(r"//\s+Files:(.*)")
36 SELF_SCRIPT_PATTERN = re.compile(r"//\s+Env: TEST_FILE_NAME")
37 MODULE_PATTERN = re.compile(r"^// MODULE$", flags=re.MULTILINE)
38 NO_HARNESS_PATTERN = re.compile(r"^// NO HARNESS$", flags=re.MULTILINE)
65 flags_match = re.findall(FLAGS_PATTERN, source)
H A Dunicodelctest-no-optimization.js31 var re = /^([a-zªµºß-öø-ÿāăąćĉċčďđēĕėęěĝğġģĥħĩīĭįıijĵķ-ĸĺļľŀłńņň-ʼnŋōŏőœŕŗřśŝşšţťŧũūŭůűųŵŷźżž-ƀƃƅƈƌ-ƍƒƕƙ-ƛƞơƣƥƨƪ-ƫƭưƴƶƹ-ƺƽ-ƿdžljnjǎǐǒǔǖǘǚǜ-ǝǟǡǣǥǧǩǫǭǯ-ǰdzǵǹǻǽǿȁȃȅȇȉȋȍȏȑȓȕȗșțȝȟȡȣȥȧȩȫȭȯȱȳ-ȹȼȿ-ɀɂɇɉɋɍɏ-ʓʕ-ʯͱͳͷͻ-ͽΐά-ώϐ-ϑϕ-ϗϙϛϝϟϡϣϥϧϩϫϭϯ-ϳϵϸϻ-ϼа-џѡѣѥѧѩѫѭѯѱѳѵѷѹѻѽѿҁҋҍҏґғҕҗҙқҝҟҡңҥҧҩҫҭүұҳҵҷҹһҽҿӂӄӆӈӊӌӎ-ӏӑӓӕӗәӛӝӟӡӣӥӧөӫӭӯӱӳӵӷӹӻӽӿԁԃԅԇԉԋԍԏԑԓԕԗԙԛԝԟԡԣա-ևᴀ-ᴫᵢ-ᵷᵹ-ᶚḁḃḅḇḉḋḍḏḑḓḕḗḙḛḝḟḡḣḥḧḩḫḭḯḱḳḵḷḹḻḽḿṁṃṅṇṉṋṍṏṑṓṕṗṙṛṝṟṡṣṥṧṩṫṭṯṱṳṵṷṹṻṽṿẁẃẅẇẉẋẍẏẑẓẕ-ẝẟạảấầẩẫậắằẳẵặẹẻẽếềểễệỉịọỏốồổỗộớờởỡợụủứừửữựỳỵỷỹỻỽỿ-ἇἐ-ἕἠ-ἧἰ-ἷὀ-ὅὐ-ὗὠ-ὧὰ-ώᾀ-ᾇᾐ-ᾗᾠ-ᾧᾰ-ᾴᾶ-ᾷιῂ-ῄῆ-ῇῐ-ΐῖ-ῗῠ-ῧῲ-ῴῶ-ῷⁱⁿℊℎ-ℏℓℯℴℹℼ-ℽⅆ-ⅉⅎↄⰰ-ⱞⱡⱥ-ⱦⱨⱪⱬⱱⱳ-ⱴⱶ-ⱼⲁⲃⲅⲇⲉⲋⲍⲏⲑⲓⲕⲗⲙⲛⲝⲟⲡⲣⲥⲧⲩⲫⲭⲯⲱⲳⲵⲷⲹⲻⲽⲿⳁⳃⳅⳇⳉⳋⳍⳏⳑⳓⳕⳗⳙⳛⳝⳟⳡⳣ-ⳤⴀ-ⴥꙁꙃꙅꙇꙉꙋꙍꙏꙑꙓꙕꙗꙙꙛꙝꙟꙣꙥꙧꙩꙫꙭꚁꚃꚅꚇꚉꚋꚍꚏꚑꚓꚕꚗꜣꜥꜧꜩꜫꜭꜯ-ꜱꜳꜵꜷꜹꜻꜽꜿꝁꝃꝅꝇꝉꝋꝍꝏꝑꝓꝕꝗꝙꝛꝝꝟꝡꝣꝥꝧꝩꝫꝭꝯꝱ-ꝸꝺꝼꝿꞁꞃꞅꞇꞌff-stﬓ-ﬗa-z]|\ud801[\udc28-\udc4f]|\ud835[\udc1a-\udc33\udc4e-\udc54\udc56-\udc67\udc82-\udc9b\udcb6-\udcb9\udcbb\udcbd-\udcc3\udcc5-\udccf\udcea-\udd03\udd1e-\udd37\udd52-\udd6b\udd86-\udd9f\uddba-\uddd3\uddee-\ude07\ude22-\ude3b\ude56-\ude6f\ude8a-\udea5\udec2-\udeda\udedc-\udee1\udefc-\udf14\udf16-\udf1b\udf36-\udf4e\udf50-\udf55\udf70-\udf88\udf8a-\udf8f\udfaa-\udfc2\udfc4-\udfc9\udfcb])$/; variable
40 assertTrue(!!re.test(s) == !!answer[i]);
54 assertTrue(!!re.test(BuildSurrogatePair(c)) == !!answer[i]);
113 var re = new RegExp(prefix + cc + "]");
115 retest(re, (ranges[j] - 1), negated);
116 retest(re, (ranges[j]), negated);
117 retest(re, (ranges[j] + 1), negated);
123 function retest(re, code, negated) {
125 assertTrue(negated != (!!re.test(s) == !!fuzz_answer[fuzz_index++]));
H A Dunicodelctest.js30 var re = /^([a-zªµºß-öø-ÿāăąćĉċčďđēĕėęěĝğġģĥħĩīĭįıijĵķ-ĸĺļľŀłńņň-ʼnŋōŏőœŕŗřśŝşšţťŧũūŭůűųŵŷźżž-ƀƃƅƈƌ-ƍƒƕƙ-ƛƞơƣƥƨƪ-ƫƭưƴƶƹ-ƺƽ-ƿdžljnjǎǐǒǔǖǘǚǜ-ǝǟǡǣǥǧǩǫǭǯ-ǰdzǵǹǻǽǿȁȃȅȇȉȋȍȏȑȓȕȗșțȝȟȡȣȥȧȩȫȭȯȱȳ-ȹȼȿ-ɀɂɇɉɋɍɏ-ʓʕ-ʯͱͳͷͻ-ͽΐά-ώϐ-ϑϕ-ϗϙϛϝϟϡϣϥϧϩϫϭϯ-ϳϵϸϻ-ϼа-џѡѣѥѧѩѫѭѯѱѳѵѷѹѻѽѿҁҋҍҏґғҕҗҙқҝҟҡңҥҧҩҫҭүұҳҵҷҹһҽҿӂӄӆӈӊӌӎ-ӏӑӓӕӗәӛӝӟӡӣӥӧөӫӭӯӱӳӵӷӹӻӽӿԁԃԅԇԉԋԍԏԑԓԕԗԙԛԝԟԡԣա-ևᴀ-ᴫᵢ-ᵷᵹ-ᶚḁḃḅḇḉḋḍḏḑḓḕḗḙḛḝḟḡḣḥḧḩḫḭḯḱḳḵḷḹḻḽḿṁṃṅṇṉṋṍṏṑṓṕṗṙṛṝṟṡṣṥṧṩṫṭṯṱṳṵṷṹṻṽṿẁẃẅẇẉẋẍẏẑẓẕ-ẝẟạảấầẩẫậắằẳẵặẹẻẽếềểễệỉịọỏốồổỗộớờởỡợụủứừửữựỳỵỷỹỻỽỿ-ἇἐ-ἕἠ-ἧἰ-ἷὀ-ὅὐ-ὗὠ-ὧὰ-ώᾀ-ᾇᾐ-ᾗᾠ-ᾧᾰ-ᾴᾶ-ᾷιῂ-ῄῆ-ῇῐ-ΐῖ-ῗῠ-ῧῲ-ῴῶ-ῷⁱⁿℊℎ-ℏℓℯℴℹℼ-ℽⅆ-ⅉⅎↄⰰ-ⱞⱡⱥ-ⱦⱨⱪⱬⱱⱳ-ⱴⱶ-ⱼⲁⲃⲅⲇⲉⲋⲍⲏⲑⲓⲕⲗⲙⲛⲝⲟⲡⲣⲥⲧⲩⲫⲭⲯⲱⲳⲵⲷⲹⲻⲽⲿⳁⳃⳅⳇⳉⳋⳍⳏⳑⳓⳕⳗⳙⳛⳝⳟⳡⳣ-ⳤⴀ-ⴥꙁꙃꙅꙇꙉꙋꙍꙏꙑꙓꙕꙗꙙꙛꙝꙟꙣꙥꙧꙩꙫꙭꚁꚃꚅꚇꚉꚋꚍꚏꚑꚓꚕꚗꜣꜥꜧꜩꜫꜭꜯ-ꜱꜳꜵꜷꜹꜻꜽꜿꝁꝃꝅꝇꝉꝋꝍꝏꝑꝓꝕꝗꝙꝛꝝꝟꝡꝣꝥꝧꝩꝫꝭꝯꝱ-ꝸꝺꝼꝿꞁꞃꞅꞇꞌff-stﬓ-ﬗa-z]|\ud801[\udc28-\udc4f]|\ud835[\udc1a-\udc33\udc4e-\udc54\udc56-\udc67\udc82-\udc9b\udcb6-\udcb9\udcbb\udcbd-\udcc3\udcc5-\udccf\udcea-\udd03\udd1e-\udd37\udd52-\udd6b\udd86-\udd9f\uddba-\uddd3\uddee-\ude07\ude22-\ude3b\ude56-\ude6f\ude8a-\udea5\udec2-\udeda\udedc-\udee1\udefc-\udf14\udf16-\udf1b\udf36-\udf4e\udf50-\udf55\udf70-\udf88\udf8a-\udf8f\udfaa-\udfc2\udfc4-\udfc9\udfcb])$/; variable
39 assertTrue(!!re.test(s) == !!answer[i]);
53 assertTrue(!!re.test(BuildSurrogatePair(c)) == !!answer[i]);
111 var re = new RegExp(prefix + cc + "]");
113 retest(re, (ranges[j] - 1), negated);
114 retest(re, (ranges[j]), negated);
115 retest(re, (ranges[j] + 1), negated);
121 function retest(re, code, negated) {
123 assertTrue(negated != (!!re.test(s) == !!fuzz_answer[fuzz_index++]));
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/treeparser/
H A DLangDumpDecl.m174 @catch (ANTLRRecognitionException *re) {
175 [self reportError:re];
176 [self recover:input Exception:re];
207 @catch (ANTLRRecognitionException *re) {
208 [self reportError:re];
209 [self recover:input Exception:re];
244 @catch (ANTLRRecognitionException *re) {
245 [self reportError:re];
246 [self recover:input Exception:re];
/external/autotest/client/site_tests/logging_KernelCrash/
H A Dlogging_KernelCrash.py5 import logging, os, re namespace
27 filename_match = re.search(r'Stored kcrash to (\S+)',
41 return (re.match(regex, signature) is not None)
44 return (re.match(r'(handling|developer build - always dumping)$',
49 announce_match = re.search(
85 if re.search(src_re, report_contents) == None:
/external/chromium-trace/catapult/devil/devil/utils/
H A Dlsusb.py6 import re namespace
10 _COULDNT_OPEN_ERROR_RE = re.compile(r'Couldn\'t open device.*')
11 _INDENTATION_RE = re.compile(r'^( *)')
12 _LSUSB_BUS_DEVICE_RE = re.compile(r'^Bus (\d{3}) Device (\d{3}): (.*)')
13 _LSUSB_ENTRY_RE = re.compile(r'^ *([^ ]+) +([^ ]+) *([^ ].*)?$')
14 _LSUSB_GROUP_RE = re.compile(r'^ *([^ ]+.*):$')
/external/clang/tools/clang-format/
H A Dclang-format-diff.py27 import re namespace
69 match = re.search('^\+\+\+\ (.*?/){%s}(\S*)' % args.p, line)
76 if not re.match('^%s$' % args.regex, filename):
79 if not re.match('^%s$' % args.iregex, filename, re.IGNORECASE):
82 match = re.search('^@@.*\+(\d+)(,(\d+))?', line)
/external/google-breakpad/src/testing/gtest/test/
H A Dgtest_help_test.py43 import re namespace
56 INCORRECT_FLAG_VARIANTS = [re.sub('^--', '-', LIST_TESTS_FLAG),
57 re.sub('^--', '/', LIST_TESTS_FLAG),
58 re.sub('_', '-', LIST_TESTS_FLAG)]
65 HELP_REGEX = re.compile(
78 re.DOTALL)
/external/gtest/test/
H A Dgtest_help_test.py43 import re namespace
56 INCORRECT_FLAG_VARIANTS = [re.sub('^--', '-', LIST_TESTS_FLAG),
57 re.sub('^--', '/', LIST_TESTS_FLAG),
58 re.sub('_', '-', LIST_TESTS_FLAG)]
65 HELP_REGEX = re.compile(
78 re.DOTALL)
/external/icu/icu4c/source/tools/
H A Dicu-svnprops-check.py27 import re namespace
100 if re.match("\s*(#.*)?$", propline): # Match comment and blank lines
102 if re.match("\s*\[auto-props\]", propline): # Match the [auto-props] line.
104 if not re.match("\s*[^\s]+\s*=", propline): # minimal syntax check for <file-type> =
120 string_proplist = re.split("(?<!;);(?!;)", string_proplist)
221 if re.match(file_pattern, f):
/external/protobuf/gtest/test/
H A Dgtest_help_test.py43 import re namespace
55 INCORRECT_FLAG_VARIANTS = [re.sub('^--', '-', LIST_TESTS_FLAG),
56 re.sub('^--', '/', LIST_TESTS_FLAG),
57 re.sub('_', '-', LIST_TESTS_FLAG)]
64 HELP_REGEX = re.compile(
76 re.DOTALL)
H A Drun_tests_util.py34 import re namespace
135 PYTHON_TEST_REGEX = re.compile(r'_(unit)?test\.py$', re.IGNORECASE)
136 BINARY_TEST_REGEX = re.compile(r'_(unit)?test(\.exe)?$', re.IGNORECASE)
137 BINARY_TEST_SEARCH_REGEX = re.compile(r'_(unit)?test\.exe$', re.IGNORECASE)
139 PYTHON_TEST_REGEX = re.compile(r'_(unit)?test\.py$')
140 BINARY_TEST_REGEX = re.compile(r'_(unit)?test$')
158 m = re
[all...]
/external/v8/tools/release/
H A Dcheck_clusterfuzz.py21 import re namespace
33 V8_COMMIT_RE = re.compile(
40 V8_INTERNAL_RE = re.compile(r"^v8::internal.*")
41 ANY_RE = re.compile(r".*")
124 match = re.match(V8_COMMIT_RE, commit["message"])
190 # Use incremented revision as we're interested in all revision greater than
199 if re.match(spec["crash_state"], issue["crash_state"]):
/external/vulkan-validation-layers/tests/gtest-1.7.0/test/
H A Dgtest_help_test.py43 import re namespace
56 INCORRECT_FLAG_VARIANTS = [re.sub('^--', '-', LIST_TESTS_FLAG),
57 re.sub('^--', '/', LIST_TESTS_FLAG),
58 re.sub('_', '-', LIST_TESTS_FLAG)]
65 HELP_REGEX = re.compile(
78 re.DOTALL)
/external/regex-re2/re2/testing/
H A Dre2_test.cc344 RE2 re("((\\w+):([0-9]+))"); // extracts host and port
349 CHECK(!re.Match(s, 0, s.size(), RE2::UNANCHORED,
354 CHECK(re.Match(s, 0, s.size(), RE2::UNANCHORED,
363 CHECK(RE2::PartialMatch("a chrisr:9000 here", re, &all, &host, &port));
378 RE2 re("([a-zA-Z0-9]|-)+(\\.([a-zA-Z0-9]|-)+)*(\\.)?", RE2::Quiet);
379 RE2::FullMatch(domain, re);
387 RE2 re(quoted, options);
388 EXPECT_TRUE_M(RE2::FullMatch(unquoted, re),
397 RE2 re(quoted, options);
398 EXPECT_FALSE_M(RE2::FullMatch(should_not_match, re),
[all...]
/external/autotest/client/bin/
H A Dpackage.py9 import os, re namespace
140 not_inst_pattern = re.compile('not-installed', re.IGNORECASE)
141 dpkg_not_installed = re.search(not_inst_pattern, package_status)
201 package_pattern = re.compile('RPM', re.IGNORECASE)
203 package_pattern = re.compile('Debian', re.IGNORECASE)
205 result = re.search(package_pattern, file_result)
271 deb_pattern = re
[all...]
/external/clang/docs/tools/
H A Ddump_format_style.py7 import re namespace
17 return re.sub(pattern, '%s', text, flags=re.S) % replacement
20 text = re.sub(r'([^/\*])\*', r'\1\\*', text)
21 text = re.sub(r'<tt>\s*(.*?)\s*<\/tt>', r'``\1``', text)
22 text = re.sub(r'\\c ([^ ,;\.]+)', r'``\1``', text)
23 text = re.sub(r'\\\w+ ', '', text)
28 s = re.sub(r'\n([^\n])', '\n' + indent + '\\1', text, flags=re.S)
85 re
[all...]
/external/v8/tools/
H A Dgen-postmortem-metadata.py49 import re namespace
242 # for which we're going to emit descriptive constants.
301 # Construct a dictionary for the classes we're sure should be present.
322 line = re.sub('//.*', '', line.strip());
328 match = re.match('class (\w[^:]*)(: public (\w[^{]*))?\s*{\s*',
343 types[re.sub('\s*=.*', '', entry).lstrip()] = True;
356 usetype = re.sub('SYMBOL_', 'STRING_', type);
361 usetype = re.sub('_REGEXP_', '_REG_EXP_', usetype);
407 # representation and encoding and add them if they're not
416 cctype = re
[all...]
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/LL-star/
H A DSimpleCParser.m400 @catch (ANTLRRecognitionException *re) {
401 [self reportError:re];
402 [self recover:input Exception:re];
495 @catch (ANTLRRecognitionException *re) {
496 [self reportError:re];
497 [self recover:input Exception:re];
545 @catch (ANTLRRecognitionException *re) {
546 [self reportError:re];
547 [self recover:input Exception:re];
579 @catch (ANTLRRecognitionException *re) {
[all...]
/external/antlr/antlr-3.4/runtime/Python/tests/
H A Dt035ruleLabelPropertyRef.py13 def recover(self, input, re):
22 def recover(self, input, re):
H A Dt036multipleReturnValues.py13 def recover(self, input, re):
22 def recover(self, input, re):
H A Dt037rulePropertyRef.py13 def recover(self, input, re):
22 def recover(self, input, re):
H A Dt039labels.py13 def recover(self, input, re):
22 def recover(self, input, re):
/external/autotest/client/common_lib/
H A Dlsbrelease_utils.py10 import re namespace
34 m = re.match(regex, line)
/external/autotest/client/cros/
H A Dtpm_dam.py14 import os, re namespace
54 match = re.search(r'Manufacturer: (0x[0-9A-Fa-f]*)', caps)

Completed in 793 milliseconds

1234567891011>>