/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/template/ |
H A D | group-file-parser.rb | 229 rescue ANTLR3::Error::RecognitionError => re 230 report_error( re ) 231 recover( re ) 304 rescue ANTLR3::Error::RecognitionError => re 305 report_error( re ) 306 recover( re ) 390 rescue ANTLR3::Error::RecognitionError => re 391 report_error( re ) 392 recover( re ) 465 rescue ANTLR3::Error::RecognitionError => re [all...] |
/external/chromium_org/build/mac/ |
H A D | strip_save_dsym | 33 import re namespace 57 type_match = re.match("^%s (.*)$" % macho_types_re, type_line) 62 type_match = re.match("^Mach-O universal binary with (.*) architectures$", 67 arch_match = re.match( 108 if re.match("^Load command .*$", otool_line): 111 if re.match("^ cmd LC_UUID$", otool_line): 116 if re.match("^ cmdsize 24$", otool_line): 130 new_uuid_match = re.match("^ {3,4}uuid (.{8}-.{4}-.{4}-.{4}-.{12})$", 138 old_uuid_match = re.match("^ uuid 0x(..) 0x(..) 0x(..) 0x(..) " 150 old_uuid_match = re [all...] |
/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/ |
H A D | version.rc | 67 # error Resource compiler doesn't know which cleanup style you're using - see version.rc 77 # error Resource compiler doesn't know which cleanup style you're using - see version.rc 87 # error Resource compiler doesn't know which cleanup style you're using - see version.rc 97 # error Resource compiler doesn't know which cleanup style you're using - see version.rc 100 # error Resource compiler doesn't know which compiler you're using - see version.rc
|
/external/chromium_org/v8/test/mjsunit/ |
H A D | string-replace.js | 212 var re = /sh/g; variable 214 str.replace(re,"$$" + 'sch')) 238 function testIndices99(re) { 242 subject.replace(re, "$" + i)); 248 subject.replace(re, "$0" + i)); 251 assertEquals("$0", subject.replace(re, "$0")); 252 assertEquals("$00", subject.replace(re, "$00")); 254 subject.replace(re, "$100")); 263 function testIndices59(re) { 270 subject.replace(re, " [all...] |
/external/chromium_org/ |
H A D | PRESUBMIT.py | 12 import re namespace 291 inclusion_pattern = input_api.re.compile(r'(%s)\s*\(' % base_function_pattern) 292 comment_pattern = input_api.re.compile(r'//.*(%s)' % base_function_pattern) 293 exclusion_pattern = input_api.re.compile( 325 pattern = input_api.re.compile(r'^#include\s*<iostream>', 326 input_api.re.MULTILINE) 426 if input_api.re.search(regex, line): 445 if input_api.re.match(item, local_path): 453 if input_api.re.search(regex, line): 478 pattern = input_api.re [all...] |
/external/chromium_org/cc/ |
H A D | PRESUBMIT.py | 11 import re namespace 43 if re.search(r"\bASSERT\(", contents): 46 if re.search(r"ASSERT_NOT_REACHED\(", contents): 72 if re.search(r"using std::f?abs;", contents): 74 if re.search(r"\bfabsf?\(", contents): 84 expression = re.compile("(%s|%s)%s" % 123 match = re.search( 150 match = re.search(r"(?<!\\)(?P<quote>\")", contents[pos:]) 158 if re.search(r'#if\s*0\s', contents): 199 if re [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/re2c/bootstrap/ |
H A D | scanner.c | 3 #line 1 "scanner.re" 71 #line 79 "scanner.re" 110 #line 117 "scanner.re" 119 #line 112 "scanner.re" 127 #line 115 "scanner.re" 136 #line 103 "scanner.re" 173 #line 94 "scanner.re" 199 #line 97 "scanner.re" 208 #line 118 "scanner.re" 287 #line 133 "scanner.re" [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/re2c/ |
H A D | scanner.c | 3 #line 1 "scanner.re" 71 #line 79 "scanner.re" 110 #line 117 "scanner.re" 119 #line 112 "scanner.re" 127 #line 115 "scanner.re" 136 #line 103 "scanner.re" 173 #line 94 "scanner.re" 199 #line 97 "scanner.re" 208 #line 118 "scanner.re" 287 #line 133 "scanner.re" [all...] |
/external/pcre/dist/ |
H A D | pcrecpp_unittest.cc | 336 RE re(t->regexp, RE_Options(PCRE_NEWLINE_CRLF).set_utf8(support_utf8)); 337 assert(re.error().empty()); 339 CHECK(re.Replace(t->rewrite, &one)); 342 const int replace_count = re.GlobalReplace(t->rewrite, &all); 347 // One final test: test \r\n replacement when we're not in CRLF mode 349 RE re("b*", RE_Options(PCRE_NEWLINE_CR).set_utf8(support_utf8)); 350 assert(re.error().empty()); 352 CHECK_EQ(re.GlobalReplace("bb", &all), 9); 356 RE re("b*", RE_Options(PCRE_NEWLINE_LF).set_utf8(support_utf8)); 357 assert(re [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/treeparser/ |
H A D | LangParser.m | 299 @catch (ANTLRRecognitionException *re) { 300 [self reportError:re]; 301 [self recover:input Exception:re]; 303 retval.tree = (ANTLRCommonTree *)[treeAdaptor errorNode:input From:retval.start To:[input LT:-1] Exception:re]; 425 @catch (ANTLRRecognitionException *re) { 426 [self reportError:re]; 427 [self recover:input Exception:re]; 429 retval.tree = (ANTLRCommonTree *)[treeAdaptor errorNode:input From:retval.start To:[input LT:-1] Exception:re]; 498 @catch (ANTLRRecognitionException *re) { 499 [self reportError:re]; [all...] |
/external/chromium_org/media/tools/layout_tests/ |
H A D | layouttests.py | 14 import re namespace 78 if re.search(filter_name, lt_name): 114 matches = re.search(pattern, txt) 122 matches = re.search(pattern, txt) 131 matches = re.search(pattern, txt) 139 matches = re.search(pattern, txt)
|
/external/chromium_org/testing/gtest/test/ |
H A D | gtest_xml_test_utils.py | 36 import re namespace 172 timestamp.value = re.sub(r'^\d{4}-\d\d-\d\dT\d\d:\d\d:\d\d$', 176 time.value = re.sub(r'^\d+(\.\d+)?$', '*', time.value) 184 message.value = re.sub(source_line_pat, '\\1*\n', message.value) 188 cdata = re.sub(source_line_pat, '\\1*\n', child.nodeValue) 190 child.nodeValue = re.sub(r'\nStack trace:\n(.|\n)*',
|
/external/chromium_org/third_party/markdown/extensions/ |
H A D | attr_list.py | 58 import re namespace 61 Scanner = re.Scanner 102 HEADER_RE = re.compile(r'[ ]*%s[ ]*$' % BASE_RE) 103 BLOCK_RE = re.compile(r'\n[ ]*%s[ ]*$' % BASE_RE) 104 INLINE_RE = re.compile(r'^%s' % BASE_RE) 105 NAME_RE = re.compile(r'[^A-Z_a-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02ff\u0370-\u037d'
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/common/xmlpool/ |
H A D | gen_xmlpool.py | 5 import re namespace 144 reLibintl_h = re.compile (r'#\s*include\s*<libintl.h>') 145 reDESC = re.compile (r'(\s*DRI_CONF_DESC\s*\(\s*)([a-z]+)(\s*,\s*)(gettext\s*\(\s*")(.*)("\s*\))(\s*\)[ \t]*\\?)$') 146 reDESC_BEGIN = re.compile (r'(\s*DRI_CONF_DESC_BEGIN\s*\(\s*)([a-z]+)(\s*,\s*)(gettext\s*\(\s*")(.*)("\s*\))(\s*\)[ \t]*\\?)$') 147 reENUM = re.compile (r'(\s*DRI_CONF_ENUM\s*\([^,]+,\s*)(gettext\s*\(\s*")(.*)("\s*\))(\s*\)[ \t]*\\?)$') 148 reDESC_END = re.compile (r'\s*DRI_CONF_DESC_END')
|
/external/chromium_org/third_party/re2/re2/ |
H A D | prefilter.cc | 484 Regexp* re, Info* parent_arg, 489 Regexp* re, 498 Prefilter::Info* Prefilter::BuildInfo(Regexp* re) { argument 500 LOG(INFO) << "BuildPrefilter::Info: " << re->ToString(); 503 bool latin1 = re->parse_flags() & Regexp::Latin1; 505 Prefilter::Info* info = w.WalkExponential(re, NULL, 100000); 516 Regexp* re, Prefilter::Info* parent_arg) { 521 // Assumes re is simplified. 523 Regexp* re, Prefilter::Info* parent_arg, 527 switch (re 515 ShortVisit( Regexp* re, Prefilter::Info* parent_arg) argument 522 PostVisit( Regexp* re, Prefilter::Info* parent_arg, Prefilter::Info* pre_arg, Prefilter::Info** child_args, int nchild_args) argument 642 FromRegexp(Regexp* re) argument [all...] |
/external/chromium_org/third_party/re2/re2/testing/ |
H A D | exhaustive_tester.cc | 59 static void PrintResult(const RE2& re, const StringPiece& input, RE2::Anchor anchor, StringPiece *m, int n) { argument 60 if (!re.Match(input, 0, input.size(), anchor, m, n)) { 102 RE2 re(regexp); 106 int ngroup = re.NumberOfCapturingGroups()+1; 112 PrintResult(re, input, RE2::ANCHOR_BOTH, group, ngroup); 114 PrintResult(re, input, RE2::UNANCHORED, group, ngroup);
|
/external/chromium_org/tools/memory_inspector/memory_inspector/classification/ |
H A D | native_heap_classifier.py | 29 import re namespace 148 'source_path': '^' + re.escape(parent_path + node_path), 170 self._stacktrace_regexs.append(re.compile(regex)) 171 except re.error, descr: 180 self._path_regex = re.compile(path_regex) 181 except re.error, descr: 207 return True # All the provided regexs have been matched, we're happy.
|
/external/chromium_org/tools/metrics/histograms/ |
H A D | update_histogram_enum.py | 13 import re namespace 42 START_REGEX = re.compile(start_marker) 43 ITEM_REGEX = re.compile(r'^(\w+)') 44 ITEM_REGEX_WITH_INIT = re.compile(r'(\w+)\s*=\s*(\d+)') 45 END_REGEX = re.compile(end_marker) 115 SOURCE_COMMENT_REGEX = re.compile('^ Generated from ')
|
/external/gtest/test/ |
H A D | gtest_xml_test_utils.py | 36 import re namespace 172 timestamp.value = re.sub(r'^\d{4}-\d\d-\d\dT\d\d:\d\d:\d\d$', 176 time.value = re.sub(r'^\d+(\.\d+)?$', '*', time.value) 184 message.value = re.sub(source_line_pat, '\\1*\n', message.value) 188 cdata = re.sub(source_line_pat, '\\1*\n', child.nodeValue) 190 child.nodeValue = re.sub(r'\nStack trace:\n(.|\n)*',
|
/external/lldb/examples/python/ |
H A D | jump.py | 1 import lldb, re namespace 23 mo = re.match("^([0-9]+)$", linespec) 35 mo = re.match("^\+([0-9]+)$", linespec) 47 mo = re.match("^\-([0-9]+)$", linespec) 59 mo = re.match("^(.*):([0-9]+)$", linespec) 68 mo = re.match("\*((0x)?([0-9a-f]+))$", linespec)
|
/external/lldb/scripts/Python/ |
H A D | modify-python-lldb.py | 24 import sys, re, StringIO namespace 40 doxygen_comment_start = re.compile("^\s*(/// ?)") 59 one_liner_docstring_pattern = re.compile('^(%s|%s)""".*"""$' % (TWO_SPACES, EIGHT_SPACES)) 282 """Call this when you're finished with populating content.""" 294 class_pattern = re.compile("^class (SB.*)\(_object\):$") 297 init_pattern = re.compile("^ def __init__\(self.*\):") 300 isvalid_pattern = re.compile("^ def IsValid\(")
|
/external/mesa3d/src/mesa/drivers/dri/common/xmlpool/ |
H A D | gen_xmlpool.py | 5 import re namespace 144 reLibintl_h = re.compile (r'#\s*include\s*<libintl.h>') 145 reDESC = re.compile (r'(\s*DRI_CONF_DESC\s*\(\s*)([a-z]+)(\s*,\s*)(gettext\s*\(\s*")(.*)("\s*\))(\s*\)[ \t]*\\?)$') 146 reDESC_BEGIN = re.compile (r'(\s*DRI_CONF_DESC_BEGIN\s*\(\s*)([a-z]+)(\s*,\s*)(gettext\s*\(\s*")(.*)("\s*\))(\s*\)[ \t]*\\?)$') 147 reENUM = re.compile (r'(\s*DRI_CONF_ENUM\s*\([^,]+,\s*)(gettext\s*\(\s*")(.*)("\s*\))(\s*\)[ \t]*\\?)$') 148 reDESC_END = re.compile (r'\s*DRI_CONF_DESC_END')
|
/external/regex-re2/re2/ |
H A D | prefilter.cc | 492 Regexp* re, Info* parent_arg, 497 Regexp* re, 506 Prefilter::Info* Prefilter::BuildInfo(Regexp* re) { argument 508 LOG(INFO) << "BuildPrefilter::Info: " << re->ToString(); 511 bool latin1 = re->parse_flags() & Regexp::Latin1; 513 Prefilter::Info* info = w.WalkExponential(re, NULL, 100000); 524 Regexp* re, Prefilter::Info* parent_arg) { 529 // Assumes re is simplified. 531 Regexp* re, Prefilter::Info* parent_arg, 535 switch (re 523 ShortVisit( Regexp* re, Prefilter::Info* parent_arg) argument 530 PostVisit( Regexp* re, Prefilter::Info* parent_arg, Prefilter::Info* pre_arg, Prefilter::Info** child_args, int nchild_args) argument 650 FromRegexp(Regexp* re) argument [all...] |
/external/regex-re2/re2/testing/ |
H A D | exhaustive_tester.cc | 59 static void PrintResult(const RE2& re, const StringPiece& input, RE2::Anchor anchor, StringPiece *m, int n) { argument 60 if (!re.Match(input, 0, input.size(), anchor, m, n)) { 102 RE2 re(regexp); 106 int ngroup = re.NumberOfCapturingGroups()+1; 112 PrintResult(re, input, RE2::ANCHOR_BOTH, group, ngroup); 114 PrintResult(re, input, RE2::UNANCHORED, group, ngroup);
|
/external/skia/gm/rebaseline_server/ |
H A D | results.py | 15 import re namespace 47 IMAGE_FILENAME_RE = re.compile(gm_json.IMAGE_FILENAME_PATTERN) 129 re.compile(p) for p in DEFAULT_MATCH_BUILDERS_PATTERN_LIST] 131 re.compile(p) for p in DEFAULT_SKIP_BUILDERS_PATTERN_LIST] 147 self._match_builders_pattern_list = [re.compile(p) for p in pattern_list] 163 self._skip_builders_pattern_list = [re.compile(p) for p in pattern_list]
|