/external/v8/tools/ |
js2c.py | 34 import os, re namespace 54 lines = re.sub(r'//.*\n', '\n', lines) # end-of-line comments 55 lines = re.sub(re.compile(r'/\*.*?\*/', re.DOTALL), '', lines) # comments. 56 lines = re.sub(r'\s+\n+', '\n', lines) # trailing whitespace 69 EVAL_PATTERN = re.compile(r'\beval\s*\(') 70 WITH_PATTERN = re.compile(r'\bwith\s*\(') 71 INVALID_ERROR_MESSAGE_PATTERN = re.compile( 73 NEW_ERROR_PATTERN = re.compile(r'new \$\w*Error\((?!\))' [all...] |
/external/vixl/tools/ |
lint.py | 31 import re namespace 75 LINT_ERROR_LINE_REGEXP = re.compile('\[[1-5]\]$') 76 LINT_DONE_PROC_LINE_REGEXP = re.compile('Done processing') 77 LINT_STATUS_LINE_REGEXP = re.compile('Total errors found') 101 res = re.search('\d+$', status_line) 161 CPP_EXT_REGEXP = re.compile('\.(cc|h)$')
|
/external/vulkan-validation-layers/demos/smoke/ |
glsl-to-spirv | 32 import re 45 s = re.sub("[^0-9a-zA-Z_]", "_", s) 47 return re.sub("^[^a-zA-Z_]+", "_", s)
|
/external/vulkan-validation-layers/tests/gtest-1.7.0/test/ |
gtest_xml_test_utils.py | 36 import re namespace 172 timestamp.value = re.sub(r'^\d{4}-\d\d-\d\dT\d\d:\d\d:\d\d$', 176 time.value = re.sub(r'^\d+(\.\d+)?$', '*', time.value) 184 message.value = re.sub(source_line_pat, '\\1*\n', message.value) 188 cdata = re.sub(source_line_pat, '\\1*\n', child.nodeValue) 190 child.nodeValue = re.sub(r'\nStack trace:\n(.|\n)*',
|
/frameworks/base/services/print/java/com/android/server/print/ |
RemotePrintService.java | 223 } catch (RemoteException re) { 224 Slog.e(LOG_TAG, "Error canceling a pring job.", re); 251 } catch (RemoteException re) { 252 Slog.e(LOG_TAG, "Error announcing queued pring job.", re); 278 } catch (RemoteException re) { 279 Slog.e(LOG_TAG, "Error creating printer discovery session.", re); 311 } catch (RemoteException re) { 312 Slog.e(LOG_TAG, "Error destroying printer dicovery session.", re); 348 } catch (RemoteException re) { 349 Slog.e(LOG_TAG, "Error starting printer dicovery.", re); [all...] |
/ndk/sources/third_party/googletest/googletest/test/ |
gtest_xml_test_utils.py | 36 import re namespace 170 timestamp.value = re.sub(r'^\d{4}-\d\d-\d\dT\d\d:\d\d:\d\d$', 174 time.value = re.sub(r'^\d+(\.\d+)?$', '*', time.value) 182 message.value = re.sub(source_line_pat, '\\1*\n', message.value) 186 cdata = re.sub(source_line_pat, '\\1*\n', child.nodeValue) 188 child.nodeValue = re.sub(r'\nStack trace:\n(.|\n)*',
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/all/ |
gas.exp | 187 -re "^ +1\[ \t\]+# This\[^\n\]*\n" { set x1 1 } 188 -re "^ +2\[ \t\]+# correctly\[^\n\]*\n" { set x2 1 } 189 -re "^ +3\[ \t\]+/. C comments too. ./\r?\r?\n" { set x3 1 } 190 -re "\[^\n\]*\n" { } 218 -re "^ \[^\n\]*\t: .*\-agn\[^\n\]*\n" { set x1 1 } 219 -re "^ \[^\n\]*\t: \[^\n\]*comment\.s\[^\n\]*\n" { set x2 1 } 220 -re "^ \[^\n\]*\t: a\.out\[^\n\]*\n" { set x3 1 } 221 -re "\[^\n\]*\n" { } 246 -re "^ +1 .... 00 ?00 ?00 ?00" { fail $testname; set x 1 } 247 -re "^ +1 .... 04 ?00 ?00 ?00" { pass $testname; set x 1 [all...] |
/toolchain/binutils/binutils-2.25/binutils/ |
rescoff.c | 213 rc_res_entry *re; 231 re = (rc_res_entry *) res_alloc (sizeof *re); 232 re->next = NULL; 233 re->id.named = 1; 235 re->id.u.n.length = length; 236 re->id.u.n.name = (unichar *) res_alloc (length * sizeof (unichar)); 238 re->id.u.n.name[j] = windres_get_16 (wrbfd, ers + j * 2 + 2, 2); 241 type = &re->id; 248 re->subdir = 1 212 rc_res_entry *re; local 266 rc_res_entry *re; local 576 const rc_res_entry *re; local [all...] |
/bionic/libc/tools/ |
check-symbols.py | 5 import re namespace 11 arch = re.sub(r'.*/linux-x86/([^/]+)/.*', r'\1', toolchain) 54 r = re.compile(r' +\d+: [0-9a-f]+ +\d+ (FUNC|OBJECT) +\S+ +\S+ +\d+ (\S+)')
|
genserv.py | 4 import sys, os, string, re namespace 14 re_service = re.compile(r"([\d\w\-_]+)\s+(\d+)/(tcp|udp)(.*)") 15 re_alias = re.compile(r"([\d\w\-_]+)(.*)")
|
symbols.py | 18 import re namespace 39 r = re.compile( 51 symbol = re.sub('@.*', '', symbol)
|
/build/core/tasks/check_boot_jars/ |
check_boot_jars.py | 10 import re namespace 15 # The compiled whitelist RE. 32 whitelist_re = re.compile(combined_re) 33 except re.error:
|
/build/tools/ |
filter-product-graph.py | 4 import re namespace 32 (dependency, re.compile(r'"(.*)"\s*->\s*"(.*)"')), 33 (info, re.compile(r'"(.*)"(\s*\[.*\])')),
|
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/modes/ |
filter.rb | 42 rescue ANTLR3::Error::RecognitionError => re 44 report_error( re ) 45 recover( re )
|
/external/autotest/client/bin/ |
kernel_versions.py | 6 import sys,re namespace 21 encode_sep = re.compile(r'(\D+)') 112 version = re.sub(r'[_-]rc\d+', '', version)
|
/external/autotest/client/common_lib/ |
kernel_versions.py | 6 import sys,re namespace 21 encode_sep = re.compile(r'(\D+)') 112 version = re.sub(r'[_-]rc\d+', '', version)
|
/external/autotest/client/site_tests/hardware_TrackpadFunction/ |
hardware_TrackpadFunction.py | 8 import re namespace 107 if re.search(UNLOAD_CMT_RE, line, re.I):
|
/external/autotest/client/site_tests/kernel_LTP/ |
ltp-diff.py | 17 import sys, re namespace 36 r = re.compile('(\S+\s+\S+)\s+(\S+)\s+:') 101 testname_cleaned = re.sub('\s+', ',', testname)
|
/external/autotest/client/tests/ltp/ |
ltp-diff.py | 17 import sys, string, re namespace 33 r = re.compile('(\S+\s+\S+)\s+(\S+)\s+:') 96 testname_cleaned = re.sub('\s+', ',', testname)
|
/external/autotest/client/tools/ |
diffprofile | 5 import os, sys, re namespace 19 if re.match(r'samples\s*%\s*app name\s*symbol name', line): 21 elif re.match(r'samples\s*%\s*image name\s*app name\s*symbol name', line):
|
/external/autotest/client/virt/ |
virt_test_setup.py | 4 import os, logging, time, re, random namespace 60 tmp_list = re.split(';', test_config) 63 test_cfg[re.split(":", tmp_cfg)[0]] = re.split(":", tmp_cfg)[1] 81 if re.findall("\[(.*)\]", parameter): 82 original_config[f_dir] = re.findall("\[(.*)\]", 109 for i in re.split("\[|\]|\n+|\s+", value): 140 if re.findall("enabled", file_path): 144 if re.match("n", i, re.I) [all...] |
/external/chromium-trace/catapult/dashboard/dashboard/ |
buildbucket_job.py | 7 import re namespace 41 old_perf_path_regex = re.compile(r'(?<!src/)tools/perf') 44 old_perf_path_regex_win = re.compile(r'(?<!src\\)tools\\perf')
|
/external/chromium-trace/catapult/perf_insights/perf_insights/mre/ |
reduce_map_results.py | 7 import re namespace 46 m = re.match('^JOB_(RESULTS|FAILURE): (.+)', line, re.DOTALL)
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/actions/ |
page_action.py | 5 import re namespace 73 info_msg = 'using element_function "%s"' % re.escape(element_function) 81 info_msg = 'using exact text match "%s"' % re.escape(text)
|
/external/chromium-trace/catapult/third_party/gsutil/gslib/tests/ |
test_notification.py | 19 import re namespace 63 channel_id = re.findall(r'channel identifier: (?P<id>.*)', stderr) 65 resource_id = re.findall(r'resource identifier: (?P<id>.*)', stderr)
|