/build/core/ |
checktree | 3 import sys, os, re namespace 14 excludes_compiled = map(re.compile, excludes) 59 regex_compiled = re.compile(regex) 60 filt_compiled = re.compile(filt)
|
/build/tools/ |
adbs | 19 import re namespace
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/treerewrite/output1/ |
TreeRewriteParser.m | 288 @catch (ANTLRRecognitionException *re) { 289 [self reportError:re]; 290 [self recover:input Exception:re]; 291 retval.tree = (ANTLRCommonTree *)[treeAdaptor errorNode:input From:retval.startToken To:[input LT:-1] Exception:re]; 338 @catch (ANTLRRecognitionException *re) { 339 [self reportError:re]; 340 [self recover:input Exception:re]; 341 retval.tree = (ANTLRCommonTree *)[treeAdaptor errorNode:input From:retval.startToken To:[input LT:-1] Exception:re];
|
/external/antlr/antlr-3.4/runtime/Python/tests/ |
t033backtracking.py | 13 def recover(self, input, re):
|
t038lexerRuleLabel.py | 13 def recover(self, input, re):
|
t040bug80.py | 13 def recover(self, input, re):
|
/external/autotest/client/site_tests/hardware_Smartctl/ |
hardware_Smartctl.py | 5 import logging, re namespace 47 if re.match('.*mmc.*', dev): 87 pattern = re.compile(self._SMARTCTL_DEVICE_MODEL_PATTERN) 103 pattern = re.compile(self._SMARTCTL_RESULT_PATTERN)
|
/external/autotest/client/site_tests/kernel_Bootcache/ |
kernel_Bootcache.py | 7 import logging, optparse, os, shutil, re, string namespace
|
/external/autotest/client/site_tests/power_ARMSettings/ |
power_ARMSettings.py | 5 import logging, re, commands namespace 54 match = re.search(r'ARMv[4-7]', cpuinfo) 69 match = re.search(r'Power Management:(.*)', iwconfig_out) 108 commit = int(re.search(r'(commit=)([0-9]*)', line).group(2))
|
/external/autotest/client/site_tests/video_WebRtcCamera/ |
video_WebRtcCamera.py | 7 import re namespace 55 if re.search(r'\s+wWidth\s+1280\s+wHeight\s+720', usb_devices): 59 if re.search(r'\s+wWidth\s+640\s+wHeight\s+480', usb_devices): 123 output_resolution = re.sub(',', 'x', resolution)
|
/external/autotest/client/tests/kvm/tests/ |
cpu_hotplug.py | 1 import os, logging, re namespace 42 cpu_regexp = re.compile("CPU #(\d+)") 78 cpu_regexp = re.compile("cpu(\d+)", re.IGNORECASE)
|
hdparm.py | 1 import re, logging namespace 19 params = re.findall("(-[a-zA-Z])([0-9]*)", set_cmd) 20 disk = re.findall("(\/+[a-z]*\/[a-z]*$)", set_cmd)[0] 44 (result, unit) = re.findall("= *([0-9]*.+[0-9]*) ([a-zA-Z]*)",
|
/external/autotest/client/tests/unixbench5/ |
unixbench5.py | 1 import os, re namespace 76 if re.search('no measured results', line, flags=re.IGNORECASE): 84 key = re.sub('\W', '', '_'.join(words[:-6]))
|
/external/autotest/client/virt/tests/ |
multicast.py | 1 import logging, os, re namespace 53 prefix = re.findall("\d+.\d+.\d+", mcast)[0] 54 suffix = int(re.findall("\d+", mcast)[-1]) 63 pid = re.findall("join_mcast_pid:(\d+)", output)[0]
|
/external/libopus/celt/tests/ |
test_unit_dft.c | 67 double re = cos(phase); local 74 re /= nfft; 78 ansr += in[k].r * re - in[k].i * im; 79 ansi += in[k].r * im + in[k].i * re;
|
/external/pcre/dist/ |
pcre_scanner_unittest.cc | 69 const char *re = "(\\w+) = (\\d+);"; local 78 s.Consume(re, &var, &number); 87 s.Consume(re, &var, &number); 95 s.Consume(re, &var, &number);
|
/external/webrtc/webrtc/tools/e2e_quality/audio/ |
run_audio_test.py | 22 import re namespace 60 default_source = re.search(r'(^ \* index: )([0-9]+$)', output, 61 re.MULTILINE).group(2) 121 value = ''.join(re.findall(options.regexp, output))
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
fnmatch.py | 13 import re namespace 54 _cache[pat] = re.compile(res) 78 _cache[pat] = re.compile(res) 115 res = res + re.escape(c)
|
/prebuilts/gdb/linux-x86/lib/python2.7/ |
fnmatch.py | 13 import re namespace 54 _cache[pat] = re.compile(res) 78 _cache[pat] = re.compile(res) 115 res = res + re.escape(c)
|
/prebuilts/go/darwin-x86/test/bench/shootout/ |
regex-dna.go | 76 re := regexp.MustCompile(pat) 79 e := re.FindIndex(bytes)
|
/prebuilts/go/linux-x86/test/bench/shootout/ |
regex-dna.go | 76 re := regexp.MustCompile(pat) 79 e := re.FindIndex(bytes)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
fnmatch.py | 13 import re namespace 54 _cache[pat] = re.compile(res) 78 _cache[pat] = re.compile(res) 115 res = res + re.escape(c)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
fnmatch.py | 13 import re namespace 54 _cache[pat] = re.compile(res) 78 _cache[pat] = re.compile(res) 115 res = res + re.escape(c)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setools/ |
commonquery.py | 20 import re namespace
|
/system/sepolicy/tools/ |
post_process_mac_perms | 29 import re namespace 53 results = re.findall(PEM_CERT_RE, pem_string, re.DOTALL) 76 policy_certs = re.findall(cert_pattern, f.read())
|