/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
pipes.py | 60 import re namespace 122 if kind[0] == 'f' and not re.search(r'\$IN\b', cmd): 125 if kind[1] == 'f' and not re.search(r'\$OUT\b', cmd): 144 if kind[0] == 'f' and not re.search(r'\$IN\b', cmd): 147 if kind[1] == 'f' and not re.search(r'\$OUT\b', cmd):
|
xmllib.py | 5 import re namespace 24 illegal = re.compile('[^\t\r\n -\176\240-\377]') # illegal chars in content 25 interesting = re.compile('[]&<]') 27 amp = re.compile('&') 28 ref = re.compile('&(' + _Name + '|#[0-9]+|#x[0-9a-fA-F]+)[^-a-zA-Z0-9._:]') 29 entityref = re.compile('&(?P<name>' + _Name + ')[^-a-zA-Z0-9._:]') 30 charref = re.compile('&#(?P<char>[0-9]+[^0-9]|x[0-9a-fA-F]+[^0-9a-fA-F])') 31 space = re.compile(_S + '$') 32 newline = re.compile('\n') 34 attrfind = re.compile [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_strftime.py | 7 import re namespace 24 new_text = re.escape(text) 25 new_text = new_text.replace(re.escape(ampm), ampm) 122 if re.match(escapestr(e[1], self.ampm), result): 168 if re.match(escapestr(e[1], self.ampm), result):
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/ |
FormatParagraph.py | 17 import re namespace 53 # re-split and re-insert the comment header. 123 words = re.split("(\s+)", lines[i]) 142 return re.match(r"^\s*$", line) is not None 145 return re.match(r"^(\s*)", line).group() 148 m = re.match(r"^(\s*#*)", line)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
pipes.py | 60 import re namespace 122 if kind[0] == 'f' and not re.search(r'\$IN\b', cmd): 125 if kind[1] == 'f' and not re.search(r'\$OUT\b', cmd): 144 if kind[0] == 'f' and not re.search(r'\$IN\b', cmd): 147 if kind[1] == 'f' and not re.search(r'\$OUT\b', cmd):
|
xmllib.py | 5 import re namespace 24 illegal = re.compile('[^\t\r\n -\176\240-\377]') # illegal chars in content 25 interesting = re.compile('[]&<]') 27 amp = re.compile('&') 28 ref = re.compile('&(' + _Name + '|#[0-9]+|#x[0-9a-fA-F]+)[^-a-zA-Z0-9._:]') 29 entityref = re.compile('&(?P<name>' + _Name + ')[^-a-zA-Z0-9._:]') 30 charref = re.compile('&#(?P<char>[0-9]+[^0-9]|x[0-9a-fA-F]+[^0-9a-fA-F])') 31 space = re.compile(_S + '$') 32 newline = re.compile('\n') 34 attrfind = re.compile [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_strftime.py | 7 import re namespace 24 new_text = re.escape(text) 25 new_text = new_text.replace(re.escape(ampm), ampm) 122 if re.match(escapestr(e[1], self.ampm), result): 168 if re.match(escapestr(e[1], self.ampm), result):
|
/external/icu/icu4c/source/i18n/ |
uregex.cpp | 85 static UBool validateRE(const RegularExpression *re, UBool requiresText, UErrorCode *status) { 89 if (re == NULL || re->fMagic != REXP_MAGIC) { 93 // !!! Not sure how to update this with the new UText backing, which is stored in re->fMatcher anyway 94 if (requiresText && re->fText == NULL && !re->fOwnsText) { 125 RegularExpression *re = new RegularExpression; local 128 if (re == NULL || refC == NULL || patBuf == NULL) { 130 delete re; 135 re->fPatRefCount = refC 205 RegularExpression *re = new RegularExpression; local 269 RegularExpression *re = (RegularExpression*)re2; local [all...] |
/external/v8/tools/push-to-trunk/ |
common_includes.py | 36 import re namespace 77 return re.sub(rexp, replacement, text, flags=re.MULTILINE) 82 line = re.sub(r"\t", r" ", line.strip()) 108 if not re.search(log_exp, body, flags=re.I | re.M): 119 raw_title = re.sub(r"(\.|\?|!)$", "", title) 140 ref = re.match(r"^BUG[ \t]*=[ \t]*(.+)$", text.strip()) 145 match = re.match(r"^v8:(\d+)$", bug [all...] |
/build/tools/ |
event_log_tags.py | 17 import re namespace 68 parts = re.split(r"\s+", line, 2) 97 if not re.match(r"\(.*\)\s*$", description):
|
generate-notice-files.py | 29 import re namespace 96 SRC_DIR_STRIP_RE = re.compile(input_dir + "(/.*).txt") 154 SRC_DIR_STRIP_RE = re.compile(input_dir + "(/.*).txt")
|
/cts/suite/audio_quality/lib/include/task/ |
TaskCase.h | 50 std::list<BufferPair>* findAllBuffers(const android::String8& re); 111 std::list<ValuePair>* findAllValues(const android::String8& re); 118 std::list<IndexPair>* findAllIndices(const android::String8& re);
|
/external/clang/test/OpenMP/ |
simd_codegen.cpp | 311 IterDouble re; local 312 re.Ptr = Ptr + Delta; 313 return re;
|
/external/clang/www/ |
make_cxx_dr_status | 2 import sys, os, re namespace 34 status_re = re.compile(r'\bdr([0-9]+): (.*)') 41 for match in re.finditer(status_re, file(test_cpp, 'r').read()):
|
/external/deqp/scripts/egl/ |
call_log_wrapper.py | 49 return re.sub(r'\bEGL', 'eglw::EGL', string) 61 if re.match(r'^const +char *\*$', type): 63 elif re.match(r'(EGLenum|EGLConfig|EGLSurface|EGLClientBuffer|EGLNativeDisplayType|EGLNativeWindowType|EGLNativePixmapType|\*)$', type):
|
/external/google-breakpad/src/testing/gtest/scripts/ |
fuse_gtest_files.py | 62 import re namespace 71 INCLUDE_GTEST_FILE_REGEX = re.compile(r'^\s*#\s*include\s*"(gtest/.+)"') 74 INCLUDE_SRC_FILE_REGEX = re.compile(r'^\s*#\s*include\s*"(src/.+)"')
|
/external/google-breakpad/src/testing/gtest/src/ |
gtest-port.cc | 138 // Implements RE. Currently only needed for death tests. 140 RE::~RE() { 152 // Returns true iff regular expression re matches the entire str. 153 bool RE::FullMatch(const char* str, const RE& re) { 154 if (!re.is_valid_) return false; 157 return regexec(&re.full_regex_, str, 1, &match, 0) == 0; 160 // Returns true iff regular expression re matches a substring of st [all...] |
/external/gtest/src/ |
gtest-port.cc | 139 // Implements RE. Currently only needed for death tests. 141 RE::~RE() { 153 // Returns true iff regular expression re matches the entire str. 154 bool RE::FullMatch(const char* str, const RE& re) { 155 if (!re.is_valid_) return false; 158 return regexec(&re.full_regex_, str, 1, &match, 0) == 0; 161 // Returns true iff regular expression re matches a substring of st [all...] |
/external/harfbuzz_ng/test/shaping/ |
hb_test_tools.py | 3 import sys, os, re, difflib, unicodedata, errno, cgi namespace 69 diff_regex = re.compile ('([a-za-z0-9_]*)([^a-za-z0-9_]?)') 412 s = re.sub (r"0[xX]", " ", s) 413 s = re.sub (r"[<+>,;&#\\xXuU\n ]", " ", s) 440 s = re.sub (".* LETTER ", "", s) 441 s = re.sub (".* VOWEL SIGN (.*)", r"\1-MATRA", s) 442 s = re.sub (".* SIGN ", "", s) 443 s = re.sub (".* COMBINING ", "", s) 444 if re.match (".* VIRAMA", s): 452 s = re.sub (r"[<+>\\uU]", " ", s [all...] |
/external/libvpx/libvpx/tools/ |
diff.py | 14 import re namespace 77 """Walk a file-like object, yielding DiffHunks as they're parsed.""" 79 file_regex = re.compile(r"(\+\+\+|---) (\S+)") 80 range_regex = re.compile(r"@@ -(\d+)(,(\d+))? \+(\d+)(,(\d+))?")
|
/external/llvm/utils/release/ |
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/ltrace/ |
filter.c | 112 re_match_or_error(regex_t *re, const char *name, const char *what) 114 int status = regexec(re, name, 0, NULL, 0); 121 regerror(status, re, buf, sizeof buf);
|
/external/markdown/markdown/extensions/ |
codehilite.py | 143 import re namespace 150 c = re.compile(r''' 154 ''', re.VERBOSE)
|
/external/protobuf/gtest/scripts/ |
fuse_gtest_files.py | 62 import re namespace 71 INCLUDE_GTEST_FILE_REGEX = re.compile(r'^\s*#\s*include\s*<(gtest/.+)>') 74 INCLUDE_SRC_FILE_REGEX = re.compile(r'^\s*#\s*include\s*"(src/.+)"')
|
/external/skia/tools/ |
test_gpuveto.py | 13 import re namespace 106 matches = re.findall('[\d]+\.[\d]+', output) 121 matches = re.findall('[\d]+\.[\d]+', output)
|