/external/chromium_org/tools/gyp/pylib/gyp/ |
easy_xml.py | 5 import re namespace 145 _xml_escape_re = re.compile( 146 "(%s)" % "|".join(map(re.escape, _xml_escape_map.keys())))
|
/external/chromium_org/tools/metrics/histograms/ |
update_policies.py | 11 import re namespace 63 text = re.sub(r'\$\d+', '', text) # Remove $1-like substitutions. 64 text = re.sub(r'<[^>]+>', '', text) # Remove XML tags.
|
/external/chromium_org/tools/ |
safely-roll-blink.py | 14 import re namespace 35 new_content = re.sub(old_line, new_line, content, 1) 36 old_rev = re.search(old_line, content).group(2)
|
/external/chromium_org/tools/usb_ids/ |
usb_ids.py | 7 import re namespace 9 VENDOR_PATTERN = re.compile("^(?P<id>[0-9a-fA-F]{4})\s+(?P<name>.+)$") 10 PRODUCT_PATTERN = re.compile("^\t(?P<id>[0-9a-fA-F]{4})\s+(?P<name>.+)$")
|
/external/clang/tools/clang-format/ |
clang-format-diff.py | 25 import re namespace 96 match = re.search('^\+\+\+\ (.*?/){%s}(\S*)' % args.p, line) 102 match = re.search('^@@.*\+(\d+)(,(\d+))?', line)
|
/external/gtest/src/ |
gtest-port.cc | 113 // Implements RE. Currently only needed for death tests. 115 RE::~RE() { 127 // Returns true iff regular expression re matches the entire str. 128 bool RE::FullMatch(const char* str, const RE& re) { 129 if (!re.is_valid_) return false; 132 return regexec(&re.full_regex_, str, 1, &match, 0) == 0; 135 // Returns true iff regular expression re matches a substring of st [all...] |
/external/libvpx/libvpx/third_party/googletest/src/src/ |
gtest-port.cc | 113 // Implements RE. Currently only needed for death tests. 115 RE::~RE() { 127 // Returns true iff regular expression re matches the entire str. 128 bool RE::FullMatch(const char* str, const RE& re) { 129 if (!re.is_valid_) return false; 132 return regexec(&re.full_regex_, str, 1, &match, 0) == 0; 135 // Returns true iff regular expression re matches a substring of st [all...] |
/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)
|
/external/llvm/utils/unittest/googletest/ |
gtest-port.cc | 113 // Implements RE. Currently only needed for death tests. 115 RE::~RE() { 127 // Returns true iff regular expression re matches the entire str. 128 bool RE::FullMatch(const char* str, const RE& re) { 129 if (!re.is_valid_) return false; 132 return regexec(&re.full_regex_, str, 1, &match, 0) == 0; 135 // Returns true iff regular expression re matches a substring of st [all...] |
/external/mesa3d/src/gtest/src/ |
gtest-port.cc | 113 // Implements RE. Currently only needed for death tests. 115 RE::~RE() { 127 // Returns true iff regular expression re matches the entire str. 128 bool RE::FullMatch(const char* str, const RE& re) { 129 if (!re.is_valid_) return false; 132 return regexec(&re.full_regex_, str, 1, &match, 0) == 0; 135 // Returns true iff regular expression re matches a substring of st [all...] |
/external/open-vcdiff/gtest/src/ |
gtest-port.cc | 109 // Implements RE. Currently only needed for death tests. 111 RE::~RE() { 117 // Returns true iff regular expression re matches the entire str. 118 bool RE::FullMatch(const char* str, const RE& re) { 119 if (!re.is_valid_) return false; 122 return regexec(&re.full_regex_, str, 1, &match, 0) == 0; 125 // Returns true iff regular expression re matches a substring of st [all...] |
/external/protobuf/gtest/src/ |
gtest-port.cc | 109 // Implements RE. Currently only needed for death tests. 111 RE::~RE() { 117 // Returns true iff regular expression re matches the entire str. 118 bool RE::FullMatch(const char* str, const RE& re) { 119 if (!re.is_valid_) return false; 122 return regexec(&re.full_regex_, str, 1, &match, 0) == 0; 125 // Returns true iff regular expression re matches a substring of st [all...] |
/external/qemu/ |
offset_layout.py | 3 import re namespace 9 _RE_LINE = re.compile("^\s*(?P<keyword>[\w-]+)\s+{\s*$") 10 _RE_XY = re.compile("^(?P<start>\s*)(?P<xy>[x|y]\s+)(?P<num>\d+)(?P<end>\s*)$")
|
/frameworks/base/core/java/android/view/accessibility/ |
AccessibilityInteractionClient.java | 215 } catch (RemoteException re) { 218 + " findAccessibilityNodeInfoByAccessibilityId", re); 262 } catch (RemoteException re) { 265 + " findAccessibilityNodeInfoByViewIdInActiveWindow", re); 310 } catch (RemoteException re) { 313 + " findAccessibilityNodeInfosByViewText", re); 355 } catch (RemoteException re) { 357 Log.w(LOG_TAG, "Error while calling remote findFocus", re); 399 } catch (RemoteException re) { 401 Log.w(LOG_TAG, "Error while calling remote accessibilityFocusSearch", re); [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/ |
AutoExpand.py | 2 import re namespace 53 wbefore = re.findall(r"\b" + word + r"\w+\b", before) 56 wafter = re.findall(r"\b" + word + r"\w+\b", after)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
sgmllib.py | 18 import re namespace 24 interesting = re.compile('[&<]') 25 incomplete = re.compile('&([a-zA-Z][a-zA-Z0-9]*|#[0-9]*)?|' 30 entityref = re.compile('&([a-zA-Z][-.a-zA-Z0-9]*)[^a-zA-Z0-9]') 31 charref = re.compile('&#([0-9]+)[^0-9]') 33 starttagopen = re.compile('<[>a-zA-Z]') 34 shorttagopen = re.compile('<[a-zA-Z][-.a-zA-Z0-9]*/') 35 shorttag = re.compile('<([a-zA-Z][-.a-zA-Z0-9]*)/([^/]*)/') 36 piclose = re.compile('>') 37 endbracket = re.compile('[<>]' [all...] |
token.py | 88 import re namespace 102 prog = re.compile( 104 re.IGNORECASE)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/ |
AutoExpand.py | 2 import re namespace 53 wbefore = re.findall(r"\b" + word + r"\w+\b", before) 56 wafter = re.findall(r"\b" + word + r"\w+\b", after)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
sgmllib.py | 18 import re namespace 24 interesting = re.compile('[&<]') 25 incomplete = re.compile('&([a-zA-Z][a-zA-Z0-9]*|#[0-9]*)?|' 30 entityref = re.compile('&([a-zA-Z][-.a-zA-Z0-9]*)[^a-zA-Z0-9]') 31 charref = re.compile('&#([0-9]+)[^0-9]') 33 starttagopen = re.compile('<[>a-zA-Z]') 34 shorttagopen = re.compile('<[a-zA-Z][-.a-zA-Z0-9]*/') 35 shorttag = re.compile('<([a-zA-Z][-.a-zA-Z0-9]*)/([^/]*)/') 36 piclose = re.compile('>') 37 endbracket = re.compile('[<>]' [all...] |
token.py | 88 import re namespace 102 prog = re.compile( 104 re.IGNORECASE)
|
/external/chromium/testing/gtest/scripts/ |
pump.py | 68 import re namespace 73 (re.compile(r'\$var\s+'), '$var'), 74 (re.compile(r'\$elif\s+'), '$elif'), 75 (re.compile(r'\$else\s+'), '$else'), 76 (re.compile(r'\$for\s+'), '$for'), 77 (re.compile(r'\$if\s+'), '$if'), 78 (re.compile(r'\$range\s+'), '$range'), 79 (re.compile(r'\$[_A-Za-z]\w*'), '$id'), 80 (re.compile(r'\$\(\$\)'), '$($)'), 81 (re.compile(r'\$'), '$') [all...] |
/external/gtest/scripts/ |
pump.py | 68 import re namespace 73 (re.compile(r'\$var\s+'), '$var'), 74 (re.compile(r'\$elif\s+'), '$elif'), 75 (re.compile(r'\$else\s+'), '$else'), 76 (re.compile(r'\$for\s+'), '$for'), 77 (re.compile(r'\$if\s+'), '$if'), 78 (re.compile(r'\$range\s+'), '$range'), 79 (re.compile(r'\$[_A-Za-z]\w*'), '$id'), 80 (re.compile(r'\$\(\$\)'), '$($)'), 81 (re.compile(r'\$'), '$') [all...] |
/external/libvpx/libvpx/third_party/googletest/src/scripts/ |
pump.py | 68 import re namespace 73 (re.compile(r'\$var\s+'), '$var'), 74 (re.compile(r'\$elif\s+'), '$elif'), 75 (re.compile(r'\$else\s+'), '$else'), 76 (re.compile(r'\$for\s+'), '$for'), 77 (re.compile(r'\$if\s+'), '$if'), 78 (re.compile(r'\$range\s+'), '$range'), 79 (re.compile(r'\$[_A-Za-z]\w*'), '$id'), 80 (re.compile(r'\$\(\$\)'), '$($)'), 81 (re.compile(r'\$'), '$') [all...] |
/external/chromium_org/third_party/jinja2/ |
lexer.py | 17 import re namespace 29 whitespace_re = re.compile(r'\s+', re.U) 30 string_re = re.compile(r"('([^'\\]*(?:\\.[^'\\]*)*)'" 31 r'|"([^"\\]*(?:\\.[^"\\]*)*)")', re.S) 32 integer_re = re.compile(r'\d+') 39 name_re = re.compile(r'\b[a-zA-Z_][a-zA-Z0-9_]*\b') 42 name_re = re.compile(r'[%s][%s]*' % (_stringdefs.xid_start, 45 float_re = re.compile(r'(?<!\.)\d+\.\d+') 46 newline_re = re.compile(r'(\r\n|\r|\n)' [all...] |
/external/doclava/src/com/google/doclava/parser/ |
JavaParser.java | 123 * type and then move on to decide whether we're dealing with a field 631 catch (RecognitionException re) { 632 reportError(re); 633 recover(input,re); [all...] |