/development/testrunner/test_defs/ |
gtest.py | 22 import re namespace 117 if re.search("_test$|_test_$|_unittest$|_unittest_$|^test_", name):
|
native_test.py | 22 import re namespace 120 if re.search("_test$|_test_$|_unittest$|_unittest_$|^test_", name):
|
/external/chromium/testing/gmock/scripts/generator/cpp/ |
gmock_class.py | 33 import re namespace 93 args_strings = re.sub(r'//.*', '', source[start:end]) 98 args = re.sub(' +', ' ', args_strings.replace('\n', ' '))
|
/external/chromium/testing/gtest/test/ |
gtest_xml_test_utils.py | 36 import re namespace 165 time.value = re.sub(r"^\d+(\.\d+)?$", "*", time.value) 173 cdata = re.sub(r"^.*[/\\](.*:)\d+\n", "\\1*\n", child.nodeValue) 175 child.nodeValue = re.sub(r"\nStack trace:\n(.|\n)*",
|
/external/chromium/testing/gtest/xcode/Scripts/ |
versiongenerate.py | 53 import re namespace 75 version_expression = re.compile(r"AC_INIT\(.*?\[(\d+)\.(\d+)\.(\d+)\].*?\)", 76 re.DOTALL)
|
/external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/common/ |
filetestcase.py | 27 import re namespace 41 _EXPECTED_RE = re.compile(r'\s*//\s*(?:(?P<line>[+-]?[0-9]+):)?'
|
simplefileflags.py | 24 import re namespace 149 ignore_dirs_regexs.append(re.compile(r'(^|[\\/])%s[\\/]' % ignore))
|
/external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/ |
full_test.py | 26 import re namespace
|
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/ |
run_all.py | 50 import re namespace 55 _TEST_MODULE_PATTERN = re.compile(r'^(test_.+)\.py$')
|
/external/clang/tools/scan-build/ |
set-xcode-analyzer | 14 import re namespace 45 m = re.search('^(\s*ExecPath\s*=\s*")', line)
|
/external/compiler-rt/lib/asan/scripts/ |
symbolize.py | 11 import re namespace 42 match = re.match(r'\s*LOAD\s+0x[01-9a-zA-Z]+\s+(0x[01-9a-zA-Z]+)', line, re.UNICODE) 53 file_name = re.sub(".*" + path_to_cut, "", file_name) 54 file_name = re.sub(".*asan_[a-z_]*.(cc|h):[0-9]*", "[asan_rtl]", file_name) 55 file_name = re.sub(".*crtstuff.c:0", "???:0", file_name) 62 line = re.sub(r'^[A-Z]/[^\s]*\(\s*\d+\): ', '', line) 64 match = re.match(r'^(\s*#)([0-9]+) *(0x[0-9a-f]+) *\((.*)\+(0x[0-9a-f]+)\)', line, re.UNICODE)
|
/external/eigen/debug/gdb/ |
printers.py | 30 import re namespace 49 regex = re.compile('\<.*\>') 175 pretty_printers_dict[re.compile('^Eigen::Quaternion<.*>$')] = lambda val: EigenQuaternionPrinter(val) 176 pretty_printers_dict[re.compile('^Eigen::Matrix<.*>$')] = lambda val: EigenMatrixPrinter("Matrix", val) 177 pretty_printers_dict[re.compile('^Eigen::Array<.*>$')] = lambda val: EigenMatrixPrinter("Array", val)
|
/external/gtest/test/ |
gtest_xml_test_utils.py | 36 import re namespace 165 time.value = re.sub(r"^\d+(\.\d+)?$", "*", time.value) 173 cdata = re.sub(r"^.*[/\\](.*:)\d+\n", "\\1*\n", child.nodeValue) 175 child.nodeValue = re.sub(r"\nStack trace:\n(.|\n)*",
|
/external/icu4c/tools/ |
icu-svnprops-check.py | 27 import re namespace 100 if re.match("\s*(#.*)?$", propline): # Match comment and blank lines 102 if re.match("\s*\[auto-props\]", propline): # Match the [auto-props] line. 104 if not re.match("\s*[^\s]+\s*=", propline): # minimal syntax check for <file-type> = 120 string_proplist = re.split("(?<!;);(?!;)", string_proplist) 221 if re.match(file_pattern, f):
|
/external/libvpx/libvpx/third_party/googletest/src/test/ |
gtest_xml_test_utils.py | 36 import re namespace 165 time.value = re.sub(r"^\d+(\.\d+)?$", "*", time.value) 173 cdata = re.sub(r"^.*[/\\](.*:)\d+\n", "\\1*\n", child.nodeValue) 175 child.nodeValue = re.sub(r"\nStack trace:\n(.|\n)*",
|
/external/libvpx/libvpx/third_party/googletest/src/xcode/Scripts/ |
versiongenerate.py | 53 import re namespace 75 version_expression = re.compile(r"AC_INIT\(.*?\[(\d+)\.(\d+)\.(\d+)\].*?\)", 76 re.DOTALL)
|
/external/libvpx/libvpx/tools/ |
intersect-diffs.py | 19 import re namespace 80 """Walk a file-like object, yielding DiffHunks as they're parsed.""" 82 file_regex = re.compile(r"(\+\+\+|---) (\S+)") 83 range_regex = re.compile(r"@@ -(\d+)(,(\d+))? \+(\d+)(,(\d+))?") 137 """Re-serialize a list of DiffHunks."""
|
/external/llvm/utils/ |
DSAextract.py | 28 import re namespace 49 regexp_list.append(re.compile(name)) 52 nodeexp = re.compile('Node') 54 arrowexp = re.compile('->') 68 node_set |= set([re.split('\s+',buffer,2)[1]]) 105 node = re.split('\s+', buffer,2)[1]
|
/external/llvm/utils/release/ |
findRegressions-nightly.py | 2 import re, string, sys, os, time namespace 17 d = re.sub(r',\d+:\d','', d) 19 r = re.findall(r'TEST-(PASS|FAIL|RESULT.*?):\s+(.*?)\s+(.*?)\r*\n', d)
|
findRegressions-simple.py | 2 import re, string, sys, os, time, math namespace 13 d = re.sub(r',\d+:\d', '', d) 15 r = re.findall(r'TEST-(PASS|FAIL|RESULT.*?):\s+(.*?)\s+(.*?)\r*\n', d)
|
/external/markdown/markdown/extensions/ |
abbr.py | 26 import markdown, re namespace 30 ABBR_REF_RE = re.compile(r'[*]\[(?P<abbr>[^\]]*)\][ ]?:\s*(?P<title>.*)')
|
def_list.py | 22 import markdown, re namespace 29 RE = re.compile(r'(^|\n)[ ]{0,3}:[ ]{1,3}(.*?)(\n|$)') 32 return bool(self.RE.search(block)) 36 m = self.RE.search(block)
|
fenced_code.py | 63 import markdown, re namespace 66 FENCED_BLOCK_RE = re.compile( \ 68 re.MULTILINE|re.DOTALL
|
toc.py | 13 import re namespace 35 header_rgx = re.compile("[Hh][123456]") 127 value = unicode(re.sub('[^\w\s-]', '', value).strip().lower()) 128 return re.sub('[-\s]+','-',value)
|
wikilinks.py | 82 import re namespace 86 clean_label = re.sub(r'([ ]+_)|(_[ ]+)|([ ]+)', '_', label)
|