/external/chromium/build/util/ |
lastchange.py | 10 import re namespace 137 match = re.search(r'^\w+://.*$', output, re.M) 160 match = re.search(r'\S+$', output) 175 git_re = re.compile(r'^\s*git-svn-id:\s+(\S+)@(\d+)')
|
/external/chromium/googleurl/ |
PRESUBMIT_unittest.py | 12 import re namespace 19 self.re = re
|
/external/clang/utils/ |
SummarizeErrors | 3 import os, sys, re namespace 27 kDiagnosticRE = re.compile(': (error|warning): (.*)') 28 kAssertionRE = re.compile('Assertion failed: (.*, function .*, file .*, line [0-9]+\\.)')
|
/external/icu4c/stubdata/ |
icu_dat_generator.py | 39 import re namespace 170 language = re.sub(r"(_.*)", "", locale) 261 icu_version = re.sub(r"([^0-9])", "", os.path.basename(input_files[0]))
|
/external/llvm/utils/lit/lit/ |
TestFormats.py | 137 import re namespace 154 self.pattern = re.compile(pattern)
|
/external/markdown/markdown/extensions/ |
codehilite.py | 143 import re namespace 150 c = re.compile(r''' 154 ''', re.VERBOSE)
|
/external/markdown/markdown/ |
preprocessors.py | 10 import re namespace 194 RE = re.compile(r'^(\ ?\ ?\ ?)\[([^\]]*)\]:\s*([^ ]*)(.*)$', re.DOTALL) 199 m = self.RE.match(line)
|
treeprocessors.py | 2 import re namespace 44 self.__placeholder_re = re.compile(markdown.INLINE_PLACEHOLDER % r'([0-9]{4})')
|
/external/mesa3d/src/glsl/builtins/tools/ |
generate_builtins.py | 4 import re namespace 33 for c in re.sub('\s\s+', ' ', s): 56 kill_paren_whitespace = re.compile(r'[ \n]*\)', re.MULTILINE); 72 kill_globals = re.compile(r'^\(declare.*\n', re.MULTILINE); 75 # Kill pointer addresses. They're not necessary in prototypes and just 77 proto_ir = re.sub(r'@0x[0-9a-f]+', '', proto_ir); 86 for func in re.finditer(r'\(function (.+)\n', proto_ir): 237 version = re.sub(r'_(vert|frag)$', '', profile [all...] |
/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/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 151 bc_dst = re.sub('tmp\/', cts_res_raw_path, bc_src, 1) 154 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
|
/bionic/libc/tools/ |
checksyscalls.py | 8 import sys, re, string, os, commands namespace 69 re_nr_line = re.compile( r"#define __NR_(\w*)\s*\(__NR_SYSCALL_BASE\+\s*(\w*)\)" ) 70 re_nr_clock_line = re.compile( r"#define __NR_(\w*)\s*\(__NR_timer_create\+(\w*)\)" ) 71 re_arm_nr_line = re.compile( r"#define __ARM_NR_(\w*)\s*\(__ARM_NR_BASE\+\s*(\w*)\)" ) 72 re_x86_line = re.compile( r"#define __NR_(\w*)\s*([0-9]*)" )
|
/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:]
|
/cts/tests/tests/webkitsecurity/generate/ |
generate_webview_crash_tests.py | 30 import re namespace 151 Unfortunately, the names of the tests we're given are all across the board, 168 # note that this is fragile, but we're being conservative here 189 fragments = re.split(undesired_chars, name) 261 # and we're done!
|