/prebuilts/go/darwin-x86/src/runtime/ |
runtime-gdb.py | 19 import re namespace 63 pattern = re.compile(r'^struct string( \*)?$') 79 pattern = re.compile(r'^struct \[\]') 105 pattern = re.compile(r'^map\[.*\].*$') 156 pattern = re.compile(r'^struct hchan<.*>$') 192 # For reference, this is what we're trying to do:
|
/prebuilts/go/linux-x86/src/runtime/ |
runtime-gdb.py | 19 import re namespace 63 pattern = re.compile(r'^struct string( \*)?$') 79 pattern = re.compile(r'^struct \[\]') 105 pattern = re.compile(r'^map\[.*\].*$') 156 pattern = re.compile(r'^struct hchan<.*>$') 192 # For reference, this is what we're trying to do:
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
doctest.py | 98 import sys, traceback, inspect, linecache, os, re namespace 235 return re.sub('(?m)^(?!$)', indent*' ', s) 558 _EXAMPLE_RE = re.compile(r''' 569 ''', re.MULTILINE | re.VERBOSE) 580 _EXCEPTION_RE = re.compile(r""" 591 """, re.VERBOSE | re.MULTILINE | re.DOTALL) 595 _IS_BLANK_OR_COMMENT = re.compile(r'^[ ]*(#.*)?$').matc [all...] |
cookielib.py | 32 import re, urlparse, copy, time, urllib namespace 122 TIMEZONE_RE = re.compile(r"^([-+])?(\d\d?):?(\d\d)?$") 190 STRICT_DATE_RE = re.compile( 193 WEEKDAY_RE = re.compile( 194 r"^(?:Sun|Mon|Tue|Wed|Thu|Fri|Sat)[a-z]*,?\s*", re.I) 195 LOOSE_HTTP_DATE_RE = re.compile( 211 \s*$""", re.X) 268 ISO_DATE_RE = re.compile( 283 \s*$""", re.X) 318 """Return unmatched part of re.Match object."" [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/pgen2/ |
tokenize.py | 32 import string, re namespace 106 re.compile, (Token, PseudoToken, Single3, Double3)) 107 endprogs = {"'": re.compile(Single), '"': re.compile(Double), 239 cookie_re = re.compile("coding[:=]\s*([-\w.]+)")
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
doctest.py | 98 import sys, traceback, inspect, linecache, os, re namespace 235 return re.sub('(?m)^(?!$)', indent*' ', s) 558 _EXAMPLE_RE = re.compile(r''' 569 ''', re.MULTILINE | re.VERBOSE) 580 _EXCEPTION_RE = re.compile(r""" 591 """, re.VERBOSE | re.MULTILINE | re.DOTALL) 595 _IS_BLANK_OR_COMMENT = re.compile(r'^[ ]*(#.*)?$').matc [all...] |
cookielib.py | 32 import re, urlparse, copy, time, urllib namespace 122 TIMEZONE_RE = re.compile(r"^([-+])?(\d\d?):?(\d\d)?$") 190 STRICT_DATE_RE = re.compile( 193 WEEKDAY_RE = re.compile( 194 r"^(?:Sun|Mon|Tue|Wed|Thu|Fri|Sat)[a-z]*,?\s*", re.I) 195 LOOSE_HTTP_DATE_RE = re.compile( 211 \s*$""", re.X) 268 ISO_DATE_RE = re.compile( 283 \s*$""", re.X) 318 """Return unmatched part of re.Match object."" [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/pgen2/ |
tokenize.py | 32 import string, re namespace 106 re.compile, (Token, PseudoToken, Single3, Double3)) 107 endprogs = {"'": re.compile(Single), '"': re.compile(Double), 239 cookie_re = re.compile("coding[:=]\s*([-\w.]+)")
|
/external/deqp/external/vulkancts/ |
gen_framework.py | 24 import re namespace 156 name = re.sub(r'([a-z])([A-Z])', r'\1_\2', self.name) 293 definition = re.search(r'#\s*define\s+' + name + r'\s+([^\n]+)\n', src) 305 matches = re.findall(keyValuePtrn, src) 311 matches = re.findall(r'typedef enum(\s*' + IDENT_PTRN + r')?\s*{([^}]*)}\s*(' + IDENT_PTRN + r')\s*;', src) 322 matches = re.findall(typeNamePtrn, src) 329 matches = re.findall(r'typedef (struct|union)(\s*' + IDENT_PTRN + r')?\s*{([^}]*)}\s*(' + IDENT_PTRN + r')\s*;', src) 338 matches = re.findall(r'VK_DEFINE(_NON_DISPATCHABLE|)_HANDLE\((' + IDENT_PTRN + r')\)[ \t]*[\n\r]', src) 353 m = re.search(typeNamePtrn, rawArg) 360 matches = re.findall(ptrn, src [all...] |
/external/opencv3/modules/python/src2/ |
hdr_parser.py | 4 import os, sys, re, string, io namespace 251 ll = re.split(r'\s*[,:]?\s*', l) 303 implmatch = re.match(r"(\(.*?\))\s*:\s*(\w+\(.*?\),?\s*)+", fdecl[apos:]) 310 args0str = re.sub(r"\([^)]*\)", lambda m: m.group(0).replace(',', "@comma@"), args0str) 363 if bool(re.match(r".*\)\s*(const)?\s*=\s*0", decl_str)): 365 if bool(re.match(r".*\)\s*const(\s*=\s*0)?", decl_str)): 443 if bool(re.match(r'^(\w+::)*(?P<x>\w+)::~?(?P=x)$', decl_start)): 459 if bool(re.match('\w+\s+\(\*\w+\)\s*\(.*\)', decl_str)): 461 elif bool(re.match('\w+\s+\(\w+::\*\w+\)\s*\(.*\)', decl_str)): 463 elif bool(re.match('[A-Z_]+', decl_start)) [all...] |
/external/parameter-framework/upstream/tools/xmlGenerator/ |
EddParser.py | 34 import re namespace 302 match = re.compile(r"[ \t]*\n?$").match 315 match = re.compile(r"#").match 325 match = re.compile(r".+=").match 344 match = re.compile(tag + r" *:").match 378 match = re.compile(r"[a-zA-Z0-9_.]+ +(Is|IsNot|Includes|Excludes) +[a-zA-Z0-9_.]+").match 401 match = re.compile(r"ANY|ALL").match 430 match = re.compile(r"conf *:").match 533 match = re.compile(r"(supConf|confGroup|confType) *:").match 580 match = re.compile(r"domain *:").matc [all...] |
/external/selinux/policycoreutils/sepolicy/sepolicy/ |
__init__.py | 174 import re namespace 182 pat = re.compile(r"%s$" % reg) 200 pat = re.compile(r"%s$" % reg) 500 import re namespace 505 m = re.findall("(.*)%s" % "_exec_t$", i) 507 if len(re.findall("(.*)%s" % "_initrc$", m[0])) == 0 and m[0] not in all_domains: 877 import re namespace 885 desc = re.sub("\n", " ", desc) 889 desc = re.sub("\n", " ", desc) 893 desc = re.sub("\n", " ", desc [all...] |
/external/v8/tools/ |
run_perf.py | 104 import re namespace 121 GENERIC_RESULTS_RE = re.compile(r"^RESULT ([^:]+): ([^=]+)= ([^ ]+) ([^ ]*)$") 122 RESULT_STDDEV_RE = re.compile(r"^\{([^\}]+)\}$") 123 RESULT_LIST_RE = re.compile(r"^\[([^\]]+)\]$") 192 result = re.search(self.results_regexp, stdout, re.M).group(1) 206 self.stddev = re.search(self.stddev_regexp, stdout, re.M).group(1) 408 regexp_default = parent.results_regexp % re.escape(suite["name"]) 415 stddev_default = parent.stddev_regexp % re.escape(suite["name"] [all...] |
presubmit.py | 43 import re namespace 57 # TODO(bmeurer): Fix and re-enable readability/check 69 LINT_OUTPUT_PATTERN = re.compile(r'^.+[:(]\d+[:)]|^Done processing') 70 FLAGS_LINE = re.compile("//\s*Flags:.*--([A-z0-9-])+_[A-z0-9].*\n") 252 COPYRIGHT_HEADER_PATTERN = re.compile( 412 comma_space_bracket = re.compile(", *]") 439 contents = re.sub(r"\b%s\b" % key, "\"%s\"" % key, contents) 479 input_api.re.match(r'[^#]+\s+\<(.+?)\>\s*$', line)
|
/external/autotest/site_utils/ |
test_runner_utils.py | 7 import re namespace 333 suitematch = re.match(_SUITE_REGEX, test) 334 name_pattern_match = re.match(r'e:(.*)', test) 335 file_pattern_match = re.match(r'f:(.*)', test) 363 suitematch = re.match(_SUITE_REGEX, test) 364 name_pattern_match = re.match(r'e:(.*)', test) 365 file_pattern_match = re.match(r'f:(.*)', test) [all...] |
/external/autotest/tko/parsers/ |
version_0.py | 1 import re, os namespace 172 return re.sub("-autotest$", "", uname[2]) 266 return re.search(r"^\t*(\S[^\t]*\t){3}", line) is not None 273 match = re.search(r"^(\t*)(.*)$", line, flags=re.DOTALL) 292 kv = re.search(r"^(\w+)=(.+)", parts[part_index]) 357 # we're currently seeking 423 not re.search(r"^(boot(\.\d+)?$|kernel\.)",
|
/external/chromium-trace/catapult/third_party/WebOb/webob/ |
exc.py | 168 import re namespace 184 tag_re = re.compile(r'<.*?>', re.S) 185 br_re = re.compile(r'<br.*?>', re.I|re.S) 186 comment_re = re.compile(r'<!--|-->') [all...] |
/external/chromium-trace/catapult/third_party/webtest/webtest/ |
response.py | 2 import re namespace 73 _tag_re = re.compile(r'<(/?)([:a-z0-9_\-]*)(.*?)>', re.S | re.I) 176 href_extract=re.compile(r"location\.href='(.*?)'"), 296 _normal_body_regex = re.compile(to_bytes(r'[ \n\r\t]+')) 307 _unicode_normal_body_regex = re.compile('[ \\n\\r\\t]+')
|
/external/compiler-rt/lib/asan/scripts/ |
asan_symbolize.py | 14 import re namespace 32 file_name = re.sub('.*' + path_to_cut, '', file_name) 33 file_name = re.sub('.*asan_[a-z_]*.cc:[0-9]*', '_asan_rtl_', file_name) 34 file_name = re.sub('.*crtstuff.c:0', '???:0', file_name) 41 # Guess which arch we're running. 10 = len('0x') + 8 hex digits. 186 # We're the child. Transfer control to command. 230 match = re.match('^(.*) \(in (.*)\) \((.*:\d*)\)$', atos_line) 235 function_name = re.sub('\(.*?\)', '', function_name) 438 match = re.match(stack_trace_line_format, line)
|
/external/libedit/src/ |
search.c | 117 regex_t re; local 131 if (regcomp(&re, ct_encode_string(pat, &conv), 0) == 0) { 132 rv = regexec(&re, ct_encode_string(str, &conv), (size_t)0, NULL, 134 regfree(&re); 140 if ((re = regcomp(ct_encode_string(pat, &conv))) != NULL) { 141 rv = regexec(re, ct_encode_string(str, &conv)); 142 el_free(re);
|
/external/vulkan-validation-layers/ |
vk-layer-generate.py | 40 import re namespace 108 temp = re.sub('(.)([A-Z][a-z]+)', r'\1_\2', CamelCase) 109 return re.sub('([a-z0-9])([A-Z])', r'\1_\2', temp).upper() 384 layer_name = re.sub('(.)([A-Z][a-z]+)', r'\1_\2', layer) 385 layer_name = re.sub('([a-z0-9])([A-Z])', r'\1_\2', layer_name).lower() [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
cookielib.py | 32 import re, urlparse, copy, time, urllib namespace 122 TIMEZONE_RE = re.compile(r"^([-+])?(\d\d?):?(\d\d)?$") 190 STRICT_DATE_RE = re.compile( 193 WEEKDAY_RE = re.compile( 194 r"^(?:Sun|Mon|Tue|Wed|Thu|Fri|Sat)[a-z]*,?\s*", re.I) 195 LOOSE_HTTP_DATE_RE = re.compile( 211 \s*$""", re.X) 268 ISO_DATE_RE = re.compile( 283 \s*$""", re.X) 318 """Return unmatched part of re.Match object."" [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
cookielib.py | 32 import re, urlparse, copy, time, urllib namespace 122 TIMEZONE_RE = re.compile(r"^([-+])?(\d\d?):?(\d\d)?$") 190 STRICT_DATE_RE = re.compile( 193 WEEKDAY_RE = re.compile( 194 r"^(?:Sun|Mon|Tue|Wed|Thu|Fri|Sat)[a-z]*,?\s*", re.I) 195 LOOSE_HTTP_DATE_RE = re.compile( 211 \s*$""", re.X) 268 ISO_DATE_RE = re.compile( 283 \s*$""", re.X) 318 """Return unmatched part of re.Match object."" [all...] |
/external/pcre/dist/ |
pcre_exec.c | 323 #define RMATCH(ra,rb,rc,rd,re,rw) \ 326 rrc = match(ra,rb,mstart,rc,rd,re,rdepth+1); \ 335 #define RMATCH(ra,rb,rc,rd,re,rw) \ 336 rrc = match(ra,rb,mstart,rc,rd,re,rdepth+1) 349 #define RMATCH(ra,rb,rc,rd,re,rw)\ 364 newframe->Xeptrb = re;\ 813 not a matching mark, we have to re-run the match, ignoring the SKIP_ARG 816 SKIP_ARG gets to top level, the match is re-run with md->ignore_skip_arg 6386 const REAL_PCRE *re = (const REAL_PCRE *)argument_re; local [all...] |
/prebuilts/gradle-plugin/com/android/databinding/compilerCommon/1.0/ |
compilerCommon-1.0.jar | |