/external/llvm/utils/ |
schedcover.py | 9 import re; namespace 56 re_sched_default = re.compile("SchedRW machine model for ([^ ]*) (.*)\n"); 57 re_sched_no_default = re.compile("No machine model for ([^ ]*)\n"); 58 re_sched_spec = re.compile("InstRW on ([^ ]*) for ([^ ]*) (.*)\n"); 59 re_sched_no_spec = re.compile("No machine model for ([^ ]*) on processor (.*)\n"); 76 filt = re.compile(sys.argv[2], re.IGNORECASE)
|
/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);
|
/external/v8/test/mjsunit/ |
regexp-not-sticky-yet.js | 41 var re = /foo.bar/; variable 42 assertEquals("/foo.bar/", "" + re); 46 re.compile("foo.bar"); 47 assertEquals(void 0, re.sticky); 54 assertEquals(void 0, re.sticky); 55 re.sticky = true; // Has no effect on the regexp, just sets a property. 56 assertTrue(re.sticky); 58 assertTrue(re.test("..foo.bar")); 60 re.lastIndex = -1; // Ignored for non-global, non-sticky. 61 assertTrue(re.test("..foo.bar")) [all...] |
testcfg.py | 29 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)
|
/external/autotest/client/site_tests/kernel_LTP/ |
parse_ltp_out.py | 23 import re namespace 70 status_line_re = re.compile('^\w+ +\d+ +(\w+) +: +\w+') 74 'terminator': re.compile(marker_line % 'test_output')}, 76 'terminator': re.compile(marker_line % 'execution_status')}) 83 if re.match(parse_states[state_index]['terminator'], line): 88 m = re.match(status_line_re, line) 136 test_tag_line_re = re.compile('^tag=(\w+)\s+stime=(\d+)$') 137 test_duration_line_re = re.compile('^duration=(\d+)\s+.*') 144 tag_matches = re.match(test_tag_line_re, line) 152 duration_matches = re.match(test_duration_line_re, line [all...] |
/external/autotest/client/tests/ltp/ |
parse_ltp_out.py | 23 import re namespace 74 status_line_re = re.compile('^\w+ +\d+ +(\w+) +: +\w+') 78 'terminator': re.compile(marker_line % 'test_output')}, 80 'terminator': re.compile(marker_line % 'execution_status')}) 87 if re.match(parse_states[state_index]['terminator'], line): 92 m = re.match(status_line_re, line) 142 test_tag_line_re = re.compile('^tag=(\w+)\s+stime=(\d+)$') 143 test_duration_line_re = re.compile('^duration=(\d+)\s+.*') 150 tag_matches = re.match(test_tag_line_re, line) 158 duration_matches = re.match(test_duration_line_re, line [all...] |
/external/autotest/client/site_tests/firmware_TouchMTB/ |
keyboard_device.py | 9 import re namespace 48 device_pattern = re.compile('N: Name=.*%s' % device_type, re.I) 49 event_number_pattern = re.compile('H: Handlers=.*event(\d?)', re.I)
|
/external/chromium-trace/catapult/third_party/Paste/paste/util/ |
quoting.py | 6 import re namespace 37 _unquote_re = re.compile(r'&([a-zA-Z]+);') 56 s = re.sub('<.*?>', '', s) 66 _comment_quote_re = re.compile(r'\-\s*\>') 68 _bad_chars_re = re.compile('[\x00-\x08\x0b-\x0c\x0e-\x1f]')
|
/external/skia/tools/ |
BUILD_simulator.py | 16 import re namespace 29 DOUBLE_STAR_RE = re.compile(r'/\*\*/') 30 STAR_RE = re.compile(r'\*') 45 pattern4 = re.escape(pattern3) 51 pattern_re = re.compile(pattern7)
|
/external/tpm2/ |
parsep3 | 4 import re namespace 15 head_spaces = re.compile('^\s*[0-9]+\s{0,4}') 50 f = re.match('^\s*[0-9]+\.[0-9]+\s+(\S+)$', line) 52 func_name = re.sub('^TPM2_', '', f.groups(0)[0]) 54 num = re.match('^\s*([0-9]+)[$ ]', line + ' ')
|
/prebuilts/gdb/darwin-x86/lib/python2.7/json/ |
scanner.py | 3 import re namespace 11 NUMBER_RE = re.compile( 13 (re.VERBOSE | re.MULTILINE | re.DOTALL))
|
/prebuilts/gdb/linux-x86/lib/python2.7/json/ |
scanner.py | 3 import re namespace 11 NUMBER_RE = re.compile( 13 (re.VERBOSE | re.MULTILINE | re.DOTALL))
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/json/ |
scanner.py | 3 import re namespace 11 NUMBER_RE = re.compile( 13 (re.VERBOSE | re.MULTILINE | re.DOTALL))
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/json/ |
scanner.py | 3 import re namespace 11 NUMBER_RE = re.compile( 13 (re.VERBOSE | re.MULTILINE | re.DOTALL))
|
/external/smali/smali/src/main/java/org/jf/smali/ |
smaliTreeWalker.java | 543 catch (RecognitionException re) { 544 reportError(re); 545 recover(input,re); 586 catch (RecognitionException re) { 587 reportError(re); 588 recover(input,re); 622 catch (RecognitionException re) { 623 reportError(re); 624 recover(input,re); 658 catch (RecognitionException re) { [all...] |
/external/chromium-trace/catapult/third_party/py_vulcanize/third_party/rcssmin/bench/ |
cssmin.py | 31 import re namespace 83 regex = re.compile(r"(^|\})(([^\{\:])+\:)+([^\{]*\{)") 95 css = re.sub(r"\s+([!{};:>+\(\)\],])", r"\1", css) 98 css = re.sub(r"^(.*)(@charset \"[^\"]*\";)", r"\2\1", css) 99 css = re.sub(r"^(\s*@charset [^;]+;\s*)+", r"\1", css) 103 css = re.sub(r"\band\(", "and (", css) 109 css = re.sub(r"([!{}:;>+\(\[,])\s+", r"\1", css) 117 return re.sub(r";+\}", "}", css) 123 return re.sub(r"[^\}\{]+\{\}", "", css) 129 regex = re.compile(r"rgb\s*\(\s*([0-9,\s]+)\s*\)" [all...] |
/external/autotest/client/cros/ |
power_suspend.py | 5 import logging, os, re, shutil, time namespace 116 if not re.search('Using.*/dev interface to.*clock', hwclock_output): 171 finished_regex = re.compile(r'powerd_suspend\[\d+\]: Resume finished') 214 match = re.search(r'([0-9]+) seconds since .+ (-?[0-9.]+) sec', 215 utils.read_file(self.HWCLOCK_FILE), re.DOTALL) 227 wake_elog = (['unknown'] + re.findall(r'Wake Source.*', elog))[-1] 229 match = re.search(r'PM1_STS: WAK.*', line) 236 if (re.search(b, utils.get_board()) and 237 re.search(e, wake_elog) and re.search(s, wake_syslog)) [all...] |
/prebuilts/python/darwin-x86/2.7.5/share/pretty-printers/libstdcxx/gcc-4.6/ |
printers.py | 20 import re namespace 615 # we're done. 721 pretty_printers_dict[re.compile('^std::basic_string<.*>$')] = lambda val: StdStringPrinter(val) 722 pretty_printers_dict[re.compile('^std::bitset<.*>$')] = lambda val: StdBitsetPrinter("std::bitset", val) 723 pretty_printers_dict[re.compile('^std::deque<.*>$')] = lambda val: StdDequePrinter("std::deque", val) 724 pretty_printers_dict[re.compile('^std::list<.*>$')] = lambda val: StdListPrinter("std::list", val) 725 pretty_printers_dict[re.compile('^std::map<.*>$')] = lambda val: StdMapPrinter("std::map", val) 726 pretty_printers_dict[re.compile('^std::multimap<.*>$')] = lambda val: StdMapPrinter("std::multimap", val) 727 pretty_printers_dict[re.compile('^std::multiset<.*>$')] = lambda val: StdSetPrinter("std::multiset", val) 728 pretty_printers_dict[re.compile('^std::priority_queue<.*>$')] = lambda val: StdStackOrQueuePrinter("std::priority_queue", (…) [all...] |
/prebuilts/python/linux-x86/2.7.5/share/pretty-printers/libstdcxx/gcc-4.6/ |
printers.py | 20 import re namespace 615 # we're done. 721 pretty_printers_dict[re.compile('^std::basic_string<.*>$')] = lambda val: StdStringPrinter(val) 722 pretty_printers_dict[re.compile('^std::bitset<.*>$')] = lambda val: StdBitsetPrinter("std::bitset", val) 723 pretty_printers_dict[re.compile('^std::deque<.*>$')] = lambda val: StdDequePrinter("std::deque", val) 724 pretty_printers_dict[re.compile('^std::list<.*>$')] = lambda val: StdListPrinter("std::list", val) 725 pretty_printers_dict[re.compile('^std::map<.*>$')] = lambda val: StdMapPrinter("std::map", val) 726 pretty_printers_dict[re.compile('^std::multimap<.*>$')] = lambda val: StdMapPrinter("std::multimap", val) 727 pretty_printers_dict[re.compile('^std::multiset<.*>$')] = lambda val: StdSetPrinter("std::multiset", val) 728 pretty_printers_dict[re.compile('^std::priority_queue<.*>$')] = lambda val: StdStackOrQueuePrinter("std::priority_queue", (…) [all...] |
/frameworks/base/core/java/android/print/ |
PrinterDiscoverySession.java | 72 } catch (RemoteException re) { 73 Log.e(LOG_TAG, "Error creating printer discovery session", re); 86 } catch (RemoteException re) { 87 Log.e(LOG_TAG, "Error starting printer discovery", re); 101 } catch (RemoteException re) { 102 Log.e(LOG_TAG, "Error stopping printer discovery", re); 114 } catch (RemoteException re) { 115 Log.e(LOG_TAG, "Error starting printer state tracking", re); 126 } catch (RemoteException re) { 127 Log.e(LOG_TAG, "Error stopping printer state tracking", re); [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/treeparser/ |
LangDumpDecl.m | 174 @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];
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
HTMLParser.py | 12 import re namespace 16 interesting_normal = re.compile('[&<]') 17 incomplete = re.compile('&[a-zA-Z#]') 19 entityref = re.compile('&([a-zA-Z][-.a-zA-Z0-9]*)[^a-zA-Z0-9]') 20 charref = re.compile('&#(?:[0-9]+|[xX][0-9a-fA-F]+)[^0-9a-fA-F]') 22 starttagopen = re.compile('<[a-zA-Z]') 23 piclose = re.compile('>') 24 commentclose = re.compile(r'--\s*>') 25 tagfind = re.compile('([a-zA-Z][-.a-zA-Z0-9:_]*)(?:\s|/(?!>))*') 28 tagfind_tolerant = re.compile('[a-zA-Z][^\t\n\r\f />\x00]*' [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
HTMLParser.py | 12 import re namespace 16 interesting_normal = re.compile('[&<]') 17 incomplete = re.compile('&[a-zA-Z#]') 19 entityref = re.compile('&([a-zA-Z][-.a-zA-Z0-9]*)[^a-zA-Z0-9]') 20 charref = re.compile('&#(?:[0-9]+|[xX][0-9a-fA-F]+)[^0-9a-fA-F]') 22 starttagopen = re.compile('<[a-zA-Z]') 23 piclose = re.compile('>') 24 commentclose = re.compile(r'--\s*>') 25 tagfind = re.compile('([a-zA-Z][-.a-zA-Z0-9:_]*)(?:\s|/(?!>))*') 28 tagfind_tolerant = re.compile('[a-zA-Z][^\t\n\r\f />\x00]*' [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
HTMLParser.py | 12 import re namespace 16 interesting_normal = re.compile('[&<]') 17 incomplete = re.compile('&[a-zA-Z#]') 19 entityref = re.compile('&([a-zA-Z][-.a-zA-Z0-9]*)[^a-zA-Z0-9]') 20 charref = re.compile('&#(?:[0-9]+|[xX][0-9a-fA-F]+)[^0-9a-fA-F]') 22 starttagopen = re.compile('<[a-zA-Z]') 23 piclose = re.compile('>') 24 commentclose = re.compile(r'--\s*>') 25 tagfind = re.compile('([a-zA-Z][-.a-zA-Z0-9:_]*)(?:\s|/(?!>))*') 28 tagfind_tolerant = re.compile('[a-zA-Z][^\t\n\r\f />\x00]*' [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
HTMLParser.py | 12 import re namespace 16 interesting_normal = re.compile('[&<]') 17 incomplete = re.compile('&[a-zA-Z#]') 19 entityref = re.compile('&([a-zA-Z][-.a-zA-Z0-9]*)[^a-zA-Z0-9]') 20 charref = re.compile('&#(?:[0-9]+|[xX][0-9a-fA-F]+)[^0-9a-fA-F]') 22 starttagopen = re.compile('<[a-zA-Z]') 23 piclose = re.compile('>') 24 commentclose = re.compile(r'--\s*>') 25 tagfind = re.compile('([a-zA-Z][-.a-zA-Z0-9:_]*)(?:\s|/(?!>))*') 28 tagfind_tolerant = re.compile('[a-zA-Z][^\t\n\r\f />\x00]*' [all...] |