/prebuilts/gdb/linux-x86/lib/python2.7/ |
mimify.py | 30 import re namespace 38 qp = re.compile('^content-transfer-encoding:\\s*quoted-printable', re.I) 39 base64_re = re.compile('^content-transfer-encoding:\\s*base64', re.I) 40 mp = re.compile('^content-type:.*multipart/.*boundary="?([^;"\n]*)', re.I|re.S) 41 chrset = re.compile('^(content-type:.*charset=")(us-ascii|iso-8859-[0-9]+)(".*)', re.I|re.S [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
mimify.py | 30 import re namespace 38 qp = re.compile('^content-transfer-encoding:\\s*quoted-printable', re.I) 39 base64_re = re.compile('^content-transfer-encoding:\\s*base64', re.I) 40 mp = re.compile('^content-type:.*multipart/.*boundary="?([^;"\n]*)', re.I|re.S) 41 chrset = re.compile('^(content-type:.*charset=")(us-ascii|iso-8859-[0-9]+)(".*)', re.I|re.S [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
mimify.py | 30 import re namespace 38 qp = re.compile('^content-transfer-encoding:\\s*quoted-printable', re.I) 39 base64_re = re.compile('^content-transfer-encoding:\\s*base64', re.I) 40 mp = re.compile('^content-type:.*multipart/.*boundary="?([^;"\n]*)', re.I|re.S) 41 chrset = re.compile('^(content-type:.*charset=")(us-ascii|iso-8859-[0-9]+)(".*)', re.I|re.S [all...] |
/external/v8/test/mjsunit/ |
regexp-capture-3.js | 28 function oneMatch(re) { 29 "abcd".replace(re, function() { }); 57 function captureMatch(re) { 58 "abcd".replace(re, function() { }); 100 var re = new RegExp(re_src); 109 OverrideCase(function() { return input.replace(re, "x"); }); 111 OverrideCase(function() { return input.replace(re, ""); }); 113 OverrideCase(function() { return input.match(re); }); 115 OverrideCase(function() { return re.test(input); }); 164 function NoHang(re) { 195 var re = "\\u0100*\\\\w"; variable [all...] |
/frameworks/base/core/java/android/accessibilityservice/ |
AccessibilityService.java | 571 } catch (RemoteException re) { 572 throw new RuntimeException(re); 647 } catch (RemoteException re) { 648 throw new RuntimeException(re); 800 } catch (RemoteException re) { 801 throw new RuntimeException(re); [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/simplecTreeParser/ |
SimpleCTP.m | 329 @catch (ANTLRRecognitionException *re) { 330 [self reportError:re]; 331 [self recover:input Exception:re]; 444 @catch (ANTLRRecognitionException *re) { 445 [self reportError:re]; 446 [self recover:input Exception:re]; 497 @catch (ANTLRRecognitionException *re) { 498 [self reportError:re]; 499 [self recover:input Exception:re]; 530 @catch (ANTLRRecognitionException *re) { [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/simplecTreeParser/output1/ |
SimpleCTP.m | 322 @catch (ANTLRRecognitionException *re) { 323 [self reportError:re]; 324 [self recover:input Exception:re]; 417 @catch (ANTLRRecognitionException *re) { 418 [self reportError:re]; 419 [self recover:input Exception:re]; 458 @catch (ANTLRRecognitionException *re) { 459 [self reportError:re]; 460 [self recover:input Exception:re]; 485 @catch (ANTLRRecognitionException *re) { [all...] |
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/template/ |
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/autotest/client/cros/ |
pkcs11.py | 7 import grp, logging, os, pwd, re, stat, sys, shutil, pwd, grp namespace 29 match = re.search(r'Slot \d+: (/.*)$', line) 45 match = re.search(r'^Slot (\d+): ' + token_path, line) 55 match = re.search(r'/home/root/(.*)/chaps', token_path) 66 match = re.search(r'^Slot \d+: (.*)$', line) 199 if not re.search('Sign: CKR_OK', output): 206 if not re.search('Sign: CKR_OK', output): 255 return re.search('Sign: CKR_OK', output) 260 return re.search('Sign: CKR_OK', output) 265 return re.search('Sign: CKR_OK', output [all...] |
ec.py | 5 import re namespace 76 return (re.search(self.HELLO_RE, response) is not None) 85 return (re.search(self.TOGGLE_AUTO_FAN_RE, response) is not None) 95 match = re.search(self.GET_FANSPEED_RE, response) 112 return (re.search(self.SET_FANSPEED_RE, response) is not None) 124 match = re.search(self.TEMP_SENSOR_RE, response) 136 return (re.search(self.BATTERY_RE, response) is not None) 148 return (re.search(self.LIGHTBAR_RE, response, re.MULTILINE) is not None) 169 _invalidate_port_data: Remove port data to force re-eval [all...] |
/external/autotest/client/site_tests/graphics_GLAPICheck/ |
graphics_GLAPICheck.py | 7 import re namespace 69 version = re.findall(r'GL_VERSION = ([0-9]+).([0-9]+)', result) 90 version = re.findall(r'GLES_VERSION = OpenGL ES.* ([0-9]+).([0-9]+)', 102 version = re.findall(r'EGL_VERSION = ([0-9]+).([0-9]+)', result) 142 version = re.findall(r'OpenGL version string: ' 158 version = re.findall(r'EGL version string: ([0-9]+).([0-9]+)', 211 errors = re.findall(r'ERROR: ', result) 212 run_through = re.findall(r'SUCCEED: run to the end', result) 224 errors = re.findall(r'ERROR: ', result) 225 run_through = re.findall(r'SUCCEED: run to the end', result [all...] |
/external/chromium-trace/catapult/third_party/gsutil/gslib/ |
storage_url.py | 20 import re namespace 25 PROVIDER_REGEX = re.compile(r'(?P<provider>[^:]*)://$') 27 BUCKET_REGEX = re.compile(r'(?P<provider>[^:]*)://(?P<bucket>[^/]*)/{0,1}$') 29 OBJECT_REGEX = re.compile( 32 GS_GENERATION_REGEX = re.compile(r'(?P<object>.+)#(?P<generation>[0-9]+)$') 34 S3_VERSION_REGEX = re.compile(r'(?P<object>.+)#(?P<version_id>.+)$') 36 FILE_OBJECT_REGEX = re.compile(r'([^:]*://)(?P<filepath>.*)') 38 BUCKET_NAME_RE = re.compile(r'^[a-zA-Z0-9][a-zA-Z0-9\._-]{1,253}[a-zA-Z0-9]$') 40 TOO_LONG_DNS_NAME_COMP = re.compile(r'[-_a-z0-9]{64}') 42 WILDCARD_REGEX = re.compile(r'[*?\[\]]' [all...] |
/external/v8/build/android/pylib/utils/ |
proguard.py | 6 import re namespace 13 _PROGUARD_CLASS_RE = re.compile(r'\s*?- Program class:\s*([\S]+)$') 14 _PROGUARD_SUPERCLASS_RE = re.compile(r'\s*? Superclass:\s*([\S]+)$') 15 _PROGUARD_SECTION_RE = re.compile( 18 _PROGUARD_METHOD_RE = re.compile(r'\s*?- Method:\s*(\S*)[(].*$') 19 _PROGUARD_ANNOTATION_RE = re.compile(r'^(\s*?)- Annotation \[L(\S*);\]:$') 25 re.compile(r'^(\s*?)- Constant element value \[(\S*) .*\]$')), 27 re.compile(r'^(\s*?)- Array element value \[(\S*)\]:$')), 29 re.compile(r'^(\s*?)- Annotation element value \[(\S*)\]:$')) 32 _PROGUARD_ANNOTATION_VALUE_RE = re.compile(r'^(\s*?)- \S+? \[(.*)\]$' [all...] |
/external/v8/build/mac/ |
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.match("^ 0x(..) 0x(..) 0x(..) 0x(..) [all...] |
/external/v8/test/mjsunit/regress/ |
regress-2438.js | 28 function testSideEffects(subject, re) { 31 re.lastIndex = side_effect_object; 32 re.exec(subject); 35 re.lastIndex = side_effect_object; 36 re.test(subject);
|
/frameworks/base/core/java/android/printservice/ |
PrinterDiscoverySession.java | 118 } catch (RemoteException re) { 119 Log.e(LOG_TAG, "Error sending added printers", re); 194 } catch (RemoteException re) { 195 Log.e(LOG_TAG, "Error sending added printers", re); 255 } catch (RemoteException re) { 256 Log.e(LOG_TAG, "Error sending removed printers", re); 297 } catch (RemoteException re) { 298 Log.e(LOG_TAG, "Error sending added printers", re); 317 } catch (RemoteException re) { 318 Log.e(LOG_TAG, "Error sending removed printers", re); [all...] |
/external/pcre/dist/ |
pcrecpp_unittest.cc | 47 using pcrecpp::RE; 71 RE pattern("ruby:\\d+"); 80 RE pattern("ruby:(\\d+)"); 94 RE line_matcher(".*\n"); 116 RE newre(buf); 133 CHECK(RE("([0-9a-fA-F]+)[uUlL]*").FullMatch(#value, Hex(&v))); \ 135 CHECK(RE("([0-9a-fA-FxX]+)[uUlL]*").FullMatch("0x" #value, CRadix(&v))); \ 159 CHECK(RE("([0-7]+)[uUlL]*").FullMatch(#value, Octal(&v))); \ 161 CHECK(RE("([0-9a-fA-FxX]+)[uUlL]*").FullMatch("0" #value, CRadix(&v))); \ 185 CHECK(RE("(-?[0-9]+)[uUlL]*").FullMatch(#value, &v)); [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/treeparser/ |
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/autotest/client/site_tests/logging_KernelCrash/ |
logging_KernelCrash.py | 5 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/autotest/server/ |
site_log_time_diff.py | 13 import re namespace 27 self.from_re = re.compile(from_str) 28 self.to_re = re.compile(to_str) 51 return float('%d.%s' % (int_time, re.split('[+-]', fraction)[0])) 67 from_match = re.search('kernel:\s*\[\s*([0-9.]*)', self.start_line) 68 to_match = re.search('kernel:\s*\[\s*([0-9.]*)', self.end_line)
|
/external/autotest/server/site_tests/video_VDAStress/ |
output_test_video_params.py | 25 import re namespace 39 regex = re.compile(pattern, re.MULTILINE) 85 results = re.findall('Input #0, (\S+),', content) 99 results = re.findall('Stream #0.*Video:.* (\d+)x(\d+)', content) 104 results = re.findall('frame= *(\d+)', content)
|
/external/autotest/tko/ |
machine_aggr.cgi | 5 import cgi, cgitb, os, sys, re, subprocess namespace 13 released_kernel = re.compile('2\.\d\.\d+(-smp-)[0-9]{3}\.[0-9]$') 14 rc_kernel = re.compile('2\.\d\.\d+(-smp-)[0-9]{3}\.[0-9]_rc[0-9]$') 75 if not re.match(released_kernel, test.kernel().printable)\ 76 and not re.match(rc_kernel, test.kernel().printable): 80 if re.match(kernel, test.kernel().printable):
|
/external/chromium-trace/catapult/catapult_build/ |
js_checks.py | 5 import re namespace 35 match = re.search(regex, line) 49 if re.search(r'\*\s+@const', line): 135 matches = re.match('^(.*?);', stripped_contents, re.DOTALL) 147 return not any(re.match(pattern, path) for pattern in excluded_paths)
|
/external/chromium-trace/catapult/third_party/Paste/paste/debug/ |
prints.py | 21 import re namespace 132 _body_re = re.compile(r'<body[^>]*>', re.I) 133 _explicit_re = re.compile(r'<pre\s*[^>]*id="paste-debug-prints".*?>', 134 re.I+re.S)
|
/external/google-breakpad/src/testing/gtest/test/ |
gtest_xml_test_utils.py | 36 import re namespace 168 timestamp.value = re.sub(r'^\d{4}-\d\d-\d\dT\d\d:\d\d:\d\d$', 172 time.value = re.sub(r'^\d+(\.\d+)?$', '*', time.value) 180 message.value = re.sub(source_line_pat, '\\1*\n', message.value) 184 cdata = re.sub(source_line_pat, '\\1*\n', child.nodeValue) 186 child.nodeValue = re.sub(r'\nStack trace:\n(.|\n)*',
|