/external/protobuf/gtest/test/ |
gtest_help_test.py | 43 import re namespace 55 HELP_REGEX = re.compile( 67 re.DOTALL)
|
/external/qemu/ |
gen-charmap.py | 8 import sys, os, string, re namespace 41 re_mapname = re.compile( r".*/(\w+).kcm" ) 42 re_start = re.compile( r"(\w+)\s*(.*)" ) 43 re_char = re.compile( r"('.')\s*(.*)" ) 44 re_hex = re.compile( r"(0x\w+)\s*(.*)" )
|
/external/skia/tools/ |
svndiff.py | 16 import re namespace 102 dest_filename = re.sub(os.sep, '__', modified_file_path)
|
/external/webkit/Tools/QueueStatusServer/model/ |
attachment.py | 29 import re namespace
|
queues.py | 30 import re namespace 100 _dash_regexp = re.compile("-")
|
/external/webkit/Tools/Scripts/ |
print-vse-failure-logs | 37 import re namespace 94 output_window_table = soup.find(text=re.compile("Output Window")).findParent("table")
|
/external/webkit/Tools/Scripts/webkitpy/common/checkout/ |
diff_parser.py | 32 import re namespace 46 _regexp_compile_cache[pattern] = re.compile(pattern) 121 # If this is going to be called DiffParser, it should be a re-useable parser.
|
/external/webkit/Tools/Scripts/webkitpy/common/net/ |
testoutputset.py | 27 import re namespace 68 name_matcher = re.compile(name) 69 actual_matcher = re.compile(r'-actual\.') 70 expected_matcher = re.compile(r'-expected\.') 97 checksum_file_name = re.sub('\.png', '.checksum', image_file.name()) 104 if re.search(r'\.x?html', name):
|
/external/webkit/Tools/Scripts/webkitpy/layout_tests/ |
update_webgl_conformance_tests.py | 32 import re namespace 41 return re.compile(r'^<!--.*?-->\s*', re.DOTALL).sub('', text) 55 search = r'(?:[^"\'= ]*/)?' + re.escape(filename) 59 text = re.sub(search, replace, text)
|
/frameworks/compile/slang/tests/ |
test.py | 13 import re namespace 153 bc_dst = re.sub('tmp\/', cts_res_raw_path, bc_src, 1) 156 java_dst = re.sub('tmp\/', cts_src_path, java_src, 1)
|
/ndk/sources/host-tools/sed-4.2.1/testsuite/ |
tst-pcre.c | 142 regex_t re; local 165 n = regcomp (&re, pattern, 170 regerror (n, &re, buf, sizeof (buf)); 177 if (regexec (&re, string, 20, rm, 0)) 183 regfree (&re);
|
/packages/apps/Browser/tools/ |
get_search_engines.py | 29 import re namespace 89 str = re.sub(r'\\x([a-fA-F0-9]{1,4})', r'&#x\1;', str) 107 search_obj = re.search(re_exp, self.chrome_data) 128 engine_data_str = re.sub('\"\s+\"', '', engine_data_str) 129 engine_data_str = re.sub('\"\s+L\"', '', engine_data_str) 164 engines_str = re.sub('\/\*.+\*\/', '', engines_str) 165 engines_str = re.sub('\s+', '', engines_str)
|
/system/extras/tests/sdcard/ |
plot_sdcard.py | 41 import re namespace 51 res = re.search(('# StopWatch ([\w]+) total/cumulative ' 58 self.summary = re.match('([a-z_]+)_total', self.name) 99 self.kernel = re.search('Linux version ([0-9.]+-[^ ]+)', line).group(1) 101 self.command_line = re.search('# Command: [/\w_]+ (.*)', line).group(1) 106 self.iterations = int(re.search('# Iterations: ([0-9]+)', line).group(1)) 108 self.fadvise = re.search('# Fadvise: ([\w]+)', line).group(1) 110 self.sched = re.search('# Sched features: ([\w]+)', line).group(1) 146 if re.match('[a-z_]', line):
|
/bionic/libc/kernel/tools/ |
find_headers.py | 8 import sys, cpp, glob, os, re, getopt, kernel namespace 90 # if we're using the 'kernel_headers' directory, there is only asm/ 95 # this can happen when we're using the 'kernel_headers' directory
|
/build/tools/ |
java-event-log-tags.py | 30 import re namespace 73 # We're building something that's not being included in the 127 out = name[0].lower() + re.sub(r"[^A-Za-z0-9]", "", name.title())[1:]
|
java-layers.py | 4 import re namespace 184 COMMENTS = re.compile("//.*?\n|/\*.*?\*/", re.S) 185 PACKAGE = re.compile("package\s+(.*)") 186 IMPORT = re.compile("import\s+(.*)")
|
/development/build/tools/ |
mk_sources_zip.py | 18 import re namespace 28 _RE_PKG = re.compile("^\s*package\s+([^\s;]+)\s*;.*")
|
/development/scripts/ |
stack | 11 import re namespace 38 print " the tool will find that and re-print it with" 89 fingerprint_regex = re.compile("^.*Build fingerprint:\s'(?P<fingerprint>.*)'") 139 url_regex = re.compile(regex_str) 240 process_info_line = re.compile("(pid: [0-9]+, tid: [0-9]+.*)") 241 signal_line = re.compile("(signal [0-9]+ \(.*\).*)") 242 register_line = re.compile("(([ ]*[0-9a-z]{2} [0-9a-f]{8}){4})") 243 thread_line = re.compile("(.*)(\-\-\- ){15}\-\-\-") 254 trace_line = re.compile("(.*)\#([0-9]+)[ \t]+(..)[ \t]+([0-9a-f]{8})[ \t]+([^\r\n \t]*)( \((.*)\))?") # pylint: disable-msg=C6310 259 value_line = re.compile("(.*)([0-9a-f]{8})[ \t]+([0-9a-f]{8})[ \t]+([^\r\n \t]*)" [all...] |
/development/testrunner/ |
android_mk.py | 25 import re namespace 33 _RE_INCLUDE = re.compile(r'include\s+\$\((.+)\)') 34 _RE_VARIABLE_REF = re.compile(r'\$\((.+)\)')
|
/external/antlr/antlr-3.4/runtime/Python/ |
ez_setup.py | 158 return main(list(argv)+[egg]) # we're done here 191 import re namespace 208 match = re.search("\nmd5_data = {\n([^}]+)}", src)
|
/external/chromium/chrome/common/extensions/docs/server/ |
chromeextensionsdocs.py | 8 import re namespace 174 match = re.search(r'<updatecheck Version="\d+\.\d+\.(\d+)\.\d+"', result.content)
|
/external/chromium/testing/gmock/scripts/ |
fuse_gmock_files.py | 65 import re namespace 79 INCLUDE_GMOCK_FILE_REGEX = re.compile(r'^\s*#\s*include\s*"(gmock/.+)"')
|
/external/chromium/testing/gmock/test/ |
gmock_output_test.py | 44 import re namespace 68 output = re.sub(r'.*gtest_main.*\n', '', output) 69 output = re.sub(r'\[.*\d+ tests.*\n', '', output) 70 output = re.sub(r'\[.* test environment .*\n', '', output) 71 output = re.sub(r'\[=+\] \d+ tests .* ran.*', '', output) 72 output = re.sub(r'.* FAILED TESTS\n', '', output) 89 return re.sub(r'.*[/\\](.+)(\:\d+|\(\d+\))\:', 'FILE:#:', output) 95 return re.sub(r' error: ', ' Failure\n', output) 101 return re.sub(r'@\w+', '@0x#', output) 107 return re.sub(r'\(used in test .+\) ', '', output [all...] |
/external/chromium/testing/gtest/scripts/ |
fuse_gtest_files.py | 62 import re namespace 71 INCLUDE_GTEST_FILE_REGEX = re.compile(r'^\s*#\s*include\s*"(gtest/.+)"') 74 INCLUDE_SRC_FILE_REGEX = re.compile(r'^\s*#\s*include\s*"(src/.+)"')
|
/external/chromium/testing/gtest/test/ |
gtest_help_test.py | 43 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)
|