/external/chromium_org/native_client_sdk/src/tools/ |
quote.py | 6 import re namespace 22 return re.sub(r'(' + r'|'.join(specials)+r'|'+escape + r')', 24 return re.sub(r'(' + escape + r')', escape + r'\1', input_str)
|
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/ |
inline_js_imports.py | 39 import re namespace 70 output_script = re.sub(r'importScripts?\([\'"]([^\'"]+)[\'"]\)', replace, input_script) 71 if re.search("importScripts?\(\"", output_script):
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/webgl/ |
update_webgl_conformance_tests.py | 28 import re namespace 39 return re.compile(r'^<!--.*?-->\s*', re.DOTALL).sub('', text) 53 search = r'(?:[^"\'= ]*/)?' + re.escape(filename) 57 text = re.sub(search, replace, text)
|
/external/chromium_org/tools/gyp/test/mac/ |
gyptest-archs.py | 13 import re namespace 24 if not re.match(expected, o, re.DOTALL):
|
/external/chromium_org/tools/telemetry/telemetry/core/ |
discover.py | 7 import re namespace 35 module_name = re.sub(r'[/\\]', '.', os.path.splitext(module_rel_path)[0]) 68 key_name = re.sub('(?!^)([A-Z]+)', r'_\1', obj.__name__).lower()
|
/external/chromium_org/v8/test/mjsunit/regress/ |
regress-58740.js | 30 var re = /.+/g; variable 31 re.exec(""); 32 re.exec("anystring"); 33 re=/.+/g; 34 re.exec(""); 35 assertEquals(0, re.lastIndex);
|
regress-219.js | 39 function assertFlags(re, global, multiline, ignoreCase) { 40 var name = re + " flag: "; 41 (global ? assertTrue : assertFalse)(re.global, name + "g"); 42 (multiline ? assertTrue : assertFalse)(re.multiline, name + "m"); 43 (ignoreCase ? assertTrue : assertFalse)(re.ignoreCase, name + "i"); 46 var re = /a/; variable 47 assertFlags(re, false, false, false) 49 re = /a/gim; 50 assertFlags(re, true, true, true) 52 re = RegExp("a","") 126 var re = \/a\/gmi; variable [all...] |
/external/chromium_org/v8/tools/ |
disasm.py | 31 import re namespace 44 _DISASM_HEADER_RE = re.compile(r"[a-f0-9]+\s+<.*:$") 45 _DISASM_LINE_RE = re.compile(r"\s*([a-f0-9]+):\s*(\S.*)")
|
gen-postmortem-metadata.py | 49 import re namespace 135 # for which we're going to emit descriptive constants. 180 # Construct a dictionary for the classes we're sure should be present. 201 line = re.sub('//.*', '', line.rstrip().lstrip()); 207 match = re.match('class (\w[^\s:]*)(: public (\w[^\s{]*))?\s*{', 220 types[re.sub('\s*=.*', '', entry).lstrip()] = True; 233 usetype = re.sub('SYMBOL_', 'STRING_', type); 238 usetype = re.sub('_REGEXP_', '_REG_EXP_', usetype); 284 # representation and encoding and add them if they're not 293 cctype = re.sub('AsciiString$' [all...] |
/external/llvm/utils/lint/ |
common_lint.py | 5 import re namespace 42 tab_re = re.compile(r'\t') 63 trailing_whitespace_re = re.compile(r'\s+$')
|
/external/markdown/markdown/extensions/ |
meta.py | 43 import markdown, re namespace 46 META_RE = re.compile(r'^[ ]{0,3}(?P<key>[A-Za-z0-9_-]+):\s*(?P<value>.*)') 47 META_MORE_RE = re.compile(r'^[ ]{4,}(?P<value>.*)')
|
/external/skia/tools/ |
find_mac_sdk.py | 7 import re namespace 20 return map(int, re.findall(r'(\d+)', version_str)) 50 sdks = [re.findall('^MacOSX(10\.\d+)\.sdk$', s) for s in os.listdir(sdk_dir)]
|
/external/v8/test/mjsunit/regress/ |
regress-58740.js | 30 var re = /.+/g; variable 31 re.exec(""); 32 re.exec("anystring"); 33 re=/.+/g; 34 re.exec(""); 35 assertEquals(0, re.lastIndex);
|
regress-219.js | 39 function assertFlags(re, global, multiline, ignoreCase) { 40 var name = re + " flag: "; 41 (global ? assertTrue : assertFalse)(re.global, name + "g"); 42 (multiline ? assertTrue : assertFalse)(re.multiline, name + "m"); 43 (ignoreCase ? assertTrue : assertFalse)(re.ignoreCase, name + "i"); 46 var re = /a/; variable 47 assertFlags(re, false, false, false) 49 re = /a/gim; 50 assertFlags(re, true, true, true) 52 re = RegExp("a","") 126 var re = \/a\/gmi; variable [all...] |
/external/v8/tools/ |
disasm.py | 31 import re namespace 44 _DISASM_HEADER_RE = re.compile(r"[a-f0-9]+\s+<.*:$") 45 _DISASM_LINE_RE = re.compile(r"\s*([a-f0-9]+):\s*(\S.*)")
|
gen-postmortem-metadata.py | 49 import re namespace 137 # for which we're going to emit descriptive constants. 182 # Construct a dictionary for the classes we're sure should be present. 203 line = re.sub('//.*', '', line.rstrip().lstrip()); 209 match = re.match('class (\w[^\s:]*)(: public (\w[^\s{]*))?\s*{', 222 types[re.sub('\s*=.*', '', entry).lstrip()] = True; 235 usetype = re.sub('SYMBOL_', 'STRING_', type); 240 usetype = re.sub('_REGEXP_', '_REG_EXP_', usetype); 286 # representation and encoding and add them if they're not 295 cctype = re.sub('AsciiString$' [all...] |
/frameworks/webview/chromium/tools/ |
run_webview_cts.py | 21 import re namespace 75 passes = set(re.findall(r'.*: (.*) PASS', stdout)) 76 failures = set(re.findall(r'.*: (.*) FAIL', stdout)) 112 print ('More than 5 new passes? Either you''re running webview classic, or '
|
/libcore/luni/src/test/java/tests/api/javax/net/ssl/ |
SSLContextSpiTest.java | 60 } catch (RuntimeException re) { 61 String str = re.getMessage(); 79 } catch (RuntimeException re) { 80 String str = re.getMessage(); 110 } catch (RuntimeException re) { 111 String str = re.getMessage(); 121 } catch (RuntimeException re) { 122 String str = re.getMessage(); 132 } catch (RuntimeException re) { 133 String str = re.getMessage() [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_commands.py | 6 import os, tempfile, re namespace 65 self.assertTrue(re.match(pat, commands.getstatus("/."), re.VERBOSE))
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_commands.py | 6 import os, tempfile, re namespace 65 self.assertTrue(re.match(pat, commands.getstatus("/."), re.VERBOSE))
|
/frameworks/base/services/java/com/android/server/print/ |
RemotePrintSpooler.java | 115 } catch (RemoteException re) { 116 Slog.e(LOG_TAG, "Error getting print jobs.", re); 139 } catch (RemoteException re) { 140 Slog.e(LOG_TAG, "Error creating print job.", re); 162 } catch (RemoteException re) { 163 Slog.e(LOG_TAG, "Error writing print job data.", re); 189 } catch (RemoteException re) { 190 Slog.e(LOG_TAG, "Error getting print job info.", re); 214 } catch (RemoteException re) { 215 Slog.e(LOG_TAG, "Error setting print job state.", re); [all...] |
/external/chromium_org/third_party/simplejson/ |
scanner.py | 3 import re namespace 14 NUMBER_RE = re.compile( 16 (re.VERBOSE | re.MULTILINE | re.DOTALL))
|
/external/chromium_org/tools/android/ |
find_unused_resources.py | 9 import re namespace 29 matches = re.finditer( 31 dump_out, re.MULTILINE) 49 type_regex = '|'.join(map(re.escape, resource_types)) 61 matches = re.finditer(pattern, grep_out)
|
/external/chromium_org/tools/export_tarball/ |
export_v8_tarball.py | 19 import re namespace 24 _V8_MAJOR_VERSION_PATTERN = re.compile(r'#define\s+MAJOR_VERSION\s+(.*)') 25 _V8_MINOR_VERSION_PATTERN = re.compile(r'#define\s+MINOR_VERSION\s+(.*)') 26 _V8_BUILD_NUMBER_PATTERN = re.compile(r'#define\s+BUILD_NUMBER\s+(.*)') 27 _V8_PATCH_LEVEL_PATTERN = re.compile(r'#define\s+PATCH_LEVEL\s+(.*)')
|
/external/chromium_org/tools/ |
ipc_messages_log.py | 24 import re namespace 89 msg_def_re = re.compile( 91 msg_start_re = re.compile( 99 match = re.match(msg_start_re, line) 103 match = re.match(msg_def_re, line) 123 unknown_msg_re = re.compile('\[unknown type (\d+)\]') 126 match = re.search(unknown_msg_re, line) 128 line = re.sub(unknown_msg_re,
|