/external/chromium_org/tools/ |
nocompile_driver.py | 19 import re namespace 38 NCTEST_CONFIG_RE = re.compile(r'^#(?:el)?if.*\s+(\S*NCTEST\S*)\s*(//.*)?') 47 STRIP_DEFINED_RE = re.compile(r'defined\((.*)\)') 54 EXTRACT_EXPECTATION_RE = re.compile(r'//\s*(\[.*\])') 118 expectation.append(re.compile(regex_str)) 139 expectations: [re.Pattern, re.Pattern] }
|
/external/chromium_org/tools/valgrind/ |
drmemory_analyze.py | 16 import re namespace 94 m = re.search("# Suppression for Error #([0-9]+)", line.strip()) 113 match = re.search("^Error #([0-9]+): (.*)", self.line_) 121 if re.search("SUPPRESSIONS USED:", self.line_): 125 (count, name) = re.match(" *([0-9]+)x(?: \(leaked .*\))?: (.*)",
|
test_suppressions.py | 9 import re namespace 120 if all([re.search("%20Mac%20|mac_valgrind", url) 124 elif all([re.search("Windows%20", url) for url in all_reports[r]]): 127 elif all([re.search("Linux%20", url) for url in all_reports[r]]): 129 elif all([re.search("%20Heapcheck", url)
|
/external/chromium_org/v8/test/mjsunit/ |
string-replace.js | 212 var re = /sh/g; variable 214 str.replace(re,"$$" + 'sch')) 238 function testIndices99(re) { 242 subject.replace(re, "$" + i)); 248 subject.replace(re, "$0" + i)); 251 assertEquals("$0", subject.replace(re, "$0")); 252 assertEquals("$00", subject.replace(re, "$00")); 254 subject.replace(re, "$100")); 263 function testIndices59(re) { 270 subject.replace(re, "$" + i)) [all...] |
/external/chromium_org/v8/test/webkit/ |
testcfg.py | 30 import re namespace 35 FLAGS_PATTERN = re.compile(r"//\s+Flags:(.*)") 36 FILES_PATTERN = re.compile(r"//\s+Files:(.*)") 37 SELF_SCRIPT_PATTERN = re.compile(r"//\s+Env: TEST_FILE_NAME") 66 flags_match = re.findall(FLAGS_PATTERN, source)
|
/external/eigen/debug/gdb/ |
printers.py | 30 import re namespace 49 regex = re.compile('\<.*\>') 175 pretty_printers_dict[re.compile('^Eigen::Quaternion<.*>$')] = lambda val: EigenQuaternionPrinter(val) 176 pretty_printers_dict[re.compile('^Eigen::Matrix<.*>$')] = lambda val: EigenMatrixPrinter("Matrix", val) 177 pretty_printers_dict[re.compile('^Eigen::Array<.*>$')] = lambda val: EigenMatrixPrinter("Array", val)
|
/prebuilts/python/darwin-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/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/chromium_org/third_party/icu/source/i18n/ |
uregex.cpp | 84 static UBool validateRE(const RegularExpression *re, UErrorCode *status, UBool requiresText = TRUE) { 88 if (re == NULL || re->fMagic != REXP_MAGIC) { 92 // !!! Not sure how to update this with the new UText backing, which is stored in re->fMatcher anyway 93 if (requiresText && re->fText == NULL && !re->fOwnsText) { 124 RegularExpression *re = new RegularExpression; local 127 if (re == NULL || refC == NULL || patBuf == NULL) { 129 delete re; 134 re->fPatRefCount = refC 204 RegularExpression *re = new RegularExpression; local 268 RegularExpression *re = (RegularExpression*)re2; local [all...] |
/external/icu4c/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...] |
/frameworks/base/core/java/com/android/internal/widget/ |
LockPatternUtils.java | 262 } catch (RemoteException re) { 270 } catch (RemoteException re) { 295 } catch (RemoteException re) { 310 } catch (RemoteException re) { 349 } catch (RemoteException re) { 361 } catch (RemoteException re) { 520 } catch (RemoteException re) { 521 Log.e(TAG, "Couldn't save lock pattern " + re); 703 } catch (RemoteException re) { 705 Log.e(TAG, "Unable to save lock password " + re); [all...] |
/bionic/libc/tools/zoneinfo/ |
update-tzdata.py | 8 import re namespace 110 new_version = re.search('(tzdata.+)\\.tar\\.gz', data_filename).group(1) 167 m = re.compile('.*href="/time-zones/repository/releases/(tzdata20\d\d\c\.tar\.gz)".*').match(line) 171 # If you're several releases behind, we'll walk you through the upgrades
|
/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/chromium/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/chromium-trace/trace-viewer/third_party/pywebsocket/src/mod_pywebsocket/handshake/ |
draft75.py | 41 import re namespace 59 _FIRST_FIVE_LINES = map(re.compile, [ 67 _SIXTH_AND_LATER = re.compile(
|
/external/chromium_org/build/android/ |
adb_logcat_printer.py | 24 import re namespace 55 if re.match('^\d{2}-\d{2} \d{2}:\d{2}:\d{2}.\d{3} ', line): 79 logcat_filter = re.compile('^logcat_(\w+)_(\d+)$')
|
/external/chromium_org/build/android/pylib/ |
ports.py | 12 import re namespace 98 re_port = re.compile(port_info, re.MULTILINE)
|