HomeSort by relevance Sort by last modified time
    Searched refs:re (Results 276 - 300 of 1775) sorted by null

<<11121314151617181920>>

  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/pgen2/
literals.py 6 import re namespace
48 return re.sub(r"\\(\'|\"|\\|[abfnrtv]|x.{0,2}|[0-7]{1,3})", escape, s)
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
textwrap.py 10 import string, re namespace
95 wordsep_re = re.compile(
104 wordsep_simple_re = re.compile(r'(\s+)')
108 sentence_end_re = re.compile(r'[%s]' # lowercase letter
138 self.wordsep_re_uni = re.compile(self.wordsep_re.pattern, re.U)
139 self.wordsep_simple_re_uni = re.compile(
140 self.wordsep_simple_re.pattern, re.U)
225 # If we're allowed to break long words, then do so: put as much
237 # If we're not allowed to break long words, and there's alread
    [all...]
_osx_support.py 4 import re namespace
98 # We're on a plain darwin box, fall back to the default
103 m = re.search(r'<key>ProductUserVisibleVersion</key>\s*'
213 flags = re.sub('-arch\s+\w+\s', ' ', flags)
214 flags = re.sub('-isysroot [^ \t]*', ' ', flags)
235 if re.search('-arch\s+ppc', _config_vars['CFLAGS']) is not None:
248 flags = re.sub('-arch\s+ppc\w*\s', ' ', flags)
264 flags = re.sub('-arch\s+\w+\s', ' ', flags)
273 # If we're on OSX 10.5 or later and the user tries to
284 m = re.search(r'-isysroot\s+(\S+)', cflags
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/macholib/
framework.py 8 import re namespace
12 STRICT_FRAMEWORK_RE = re.compile(r"""(?x)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/
test_array_in_pointer.py 4 import re namespace
10 return re.sub(r"(..)", r"\1-", h)[:-1]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
keyword.py 54 import sys, re namespace
63 strprog = re.compile('"([^"]+)"')
textwrap.py 10 import string, re namespace
95 wordsep_re = re.compile(
104 wordsep_simple_re = re.compile(r'(\s+)')
108 sentence_end_re = re.compile(r'[%s]' # lowercase letter
138 self.wordsep_re_uni = re.compile(self.wordsep_re.pattern, re.U)
139 self.wordsep_simple_re_uni = re.compile(
140 self.wordsep_simple_re.pattern, re.U)
225 # If we're allowed to break long words, then do so: put as much
237 # If we're not allowed to break long words, and there's alread
    [all...]
_osx_support.py 4 import re namespace
98 # We're on a plain darwin box, fall back to the default
103 m = re.search(r'<key>ProductUserVisibleVersion</key>\s*'
213 flags = re.sub('-arch\s+\w+\s', ' ', flags)
214 flags = re.sub('-isysroot [^ \t]*', ' ', flags)
235 if re.search('-arch\s+ppc', _config_vars['CFLAGS']) is not None:
248 flags = re.sub('-arch\s+ppc\w*\s', ' ', flags)
264 flags = re.sub('-arch\s+\w+\s', ' ', flags)
273 # If we're on OSX 10.5 or later and the user tries to
284 m = re.search(r'-isysroot\s+(\S+)', cflags
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/pgen2/
literals.py 6 import re namespace
48 return re.sub(r"\\(\'|\"|\\|[abfnrtv]|x.{0,2}|[0-7]{1,3})", escape, s)
  /external/fonttools/Lib/fontTools/misc/
sstruct.py 53 import re namespace
112 _elementRE = re.compile(
123 _extraRE = re.compile("\s*([x@=<>!])\s*(#.*)?$")
126 _emptyRE = re.compile("\s*(#.*)?$")
139 lines = re.split("[\n;]", fmt)
  /external/libopus/celt/tests/
test_unit_mdct.c 65 double re = cos(phase); local
67 re /= nfft/4;
69 ansr += in[k] * re;
95 double re = cos(phase); local
97 /*re *= 2;*/
99 ansr += in[k] * re;
  /external/v8/test/message/
testcfg.py 30 import re namespace
37 FLAGS_PATTERN = re.compile(r"//\s+Flags:(.*)")
62 flags_match = re.findall(FLAGS_PATTERN, source)
102 pattern = re.escape(expected.rstrip() % env)
105 if not re.match(pattern, actual):
  /external/v8/tools/
js2c.py 34 import os, re, sys, string namespace
55 lines = re.sub(r'//.*\n', '\n', lines) # end-of-line comments
56 lines = re.sub(re.compile(r'/\*.*?\*/', re.DOTALL), '', lines) # comments.
57 lines = re.sub(r'\s+\n+', '\n', lines) # trailing whitespace
70 EVAL_PATTERN = re.compile(r'\beval\s*\(')
71 WITH_PATTERN = re.compile(r'\bwith\s*\(')
154 CONST_PATTERN = re.compile(r'^const\s+([a-zA-Z0-9_]+)\s*=\s*([^;]*);$')
155 MACRO_PATTERN = re.compile(r'^macro\s+([a-zA-Z0-9_]+)\s*\(([^)]*)\)\s*=\s*([^;]*);$'
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/
version.py 29 import string, re namespace
100 version_re = re.compile(r'^(\d+) \. (\d+) (\. (\d+))? ([ab](\d+))?$',
101 re.VERBOSE)
143 # case 1: neither has prerelease; they're equal
261 component_re = re.compile(r'(\d+ | [a-z]+ | \.)', re.VERBOSE)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/
version.py 29 import string, re namespace
100 version_re = re.compile(r'^(\d+) \. (\d+) (\. (\d+))? ([ab](\d+))?$',
101 re.VERBOSE)
143 # case 1: neither has prerelease; they're equal
261 component_re = re.compile(r'(\d+ | [a-z]+ | \.)', re.VERBOSE)
  /frameworks/data-binding/compilerCommon/src/main/grammar-gen/android/databinding/parser/
BindingExpressionParser.java 147 catch (RecognitionException re) {
148 _localctx.exception = re;
149 _errHandler.reportError(this, re);
150 _errHandler.recover(this, re);
198 catch (RecognitionException re) {
199 _localctx.exception = re;
200 _errHandler.reportError(this, re);
201 _errHandler.recover(this, re);
274 catch (RecognitionException re) {
275 _localctx.exception = re;
    [all...]
  /cts/suite/audio_quality/lib/src/task/
TaskCase.cpp 111 typename std::map<android::String8, T>& map, const char* re)
114 if (regcomp(&regex, re, REG_EXTENDED | REG_NOSUB) != 0) {
167 std::list<TaskCase::BufferPair>* TaskCase::findAllBuffers(const android::String8& re)
170 if (!translateVarName(re, translated)) {
205 std::list<TaskCase::ValuePair>* TaskCase::findAllValues(const android::String8& re)
208 if (!translateVarName(re, translated)) {
229 std::list<TaskCase::IndexPair>* TaskCase::findAllIndices(const android::String8& re)
232 if (!translateVarName(re, translated)) {
243 regex_t re; local
246 if (regcomp(&re, "[a-z0-9_]*[$]([a-z0-9]+)[_]*", REG_EXTENDED) != 0)
    [all...]
  /external/markdown/markdown/
blockprocessors.py 15 import re namespace
116 INDENT_RE = re.compile(r'^(([ ]{%s})+)'% markdown.TAB_LENGTH)
167 # We're in a tightlist - so we already are at correct parent.
170 # We're in a looselist - so we need to find parent.
180 # No more child levels. If we're short of indent_level,
219 RE = re.compile(r'(^|\n)[ ]{0,3}>[ ]?(.*)')
222 return bool(self.RE.search(block))
226 m = self.RE.search(block)
246 m = self.RE.match(line
    [all...]
  /external/v8/test/mjsunit/
regexp-static.js 29 var re = /((\d+)\.(\d+))/; variable
32 re.exec(s);
61 s.match(re);
80 s.replace(re, 'whocares');
99 re.test(s);
120 re = /(.)/g;
122 assertEquals('abcd', 'abcd'.replace(re, f));
139 var re = new RegExp(re_text);
140 assertTrue(re.test(haystack), "$" + i + " setup");
unicodelctest-no-optimization.js 31 var re = /^([a-zªµºß-öø-ÿ????????????????????????????-?????????-???????????????????????????-?????-????-???????-??????-??-????????????-??????????-?????????????????????????????????-???-???????-??-?????-???-??-??-?????????????-????-??-????????????????????????????????????????????????????-????????????????????????????????????????????-??-??-??-????????????????????????????????????????????????????????????????????????????-??????????????????????????????????????????????????-??-??-??-??-??-??-??-??-??-??-??-??-???-??-??-??-??-??-??-?????-??????-??-????-???-??????-??-???????????????????????????????????????????????????-??-??????????????????????????????????????????-?????????????????????????????????-??????????-??-??-?]|\ud801[\udc28-\udc4f]|\ud835[\udc1a-\udc33\udc4e-\udc54\udc56-\udc67\udc82-\udc9b\udcb6-\udcb9\udcbb\udcbd-\udcc3\udcc5-\udccf\udcea-\udd03\udd1e-\udd37\udd52-\udd6b\udd86-\udd9f\uddba-\uddd3\uddee-\ude07\ude22-\ude3b\ude56-\ude6f\ude8a-\udea5\udec2-\udeda\udedc-\udee1\udefc-\udf14\udf16-\udf1b\udf36-\udf4e\udf50-\udf55\udf70-\udf88\udf8a-\udf8f\udfaa-\udfc2\udfc4-\udfc9\udfcb])$/; variable
40 assertTrue(!!re.test(s) == !!answer[i]);
54 assertTrue(!!re.test(BuildSurrogatePair(c)) == !!answer[i]);
113 var re = new RegExp(prefix + cc + "]");
115 retest(re, (ranges[j] - 1), negated);
116 retest(re, (ranges[j]), negated);
117 retest(re, (ranges[j] + 1), negated);
123 function retest(re, code, negated) {
125 assertTrue(negated != (!!re.test(s) == !!fuzz_answer[fuzz_index++]));
    [all...]
unicodelctest.js 30 var re = /^([a-zªµºß-öø-ÿ????????????????????????????-?????????-???????????????????????????-?????-????-???????-??????-??-????????????-??????????-?????????????????????????????????-???-???????-??-?????-???-??-??-?????????????-????-??-????????????????????????????????????????????????????-????????????????????????????????????????????-??-??-??-????????????????????????????????????????????????????????????????????????????-??????????????????????????????????????????????????-??-??-??-??-??-??-??-??-??-??-??-??-???-??-??-??-??-??-??-?????-??????-??-????-???-??????-??-???????????????????????????????????????????????????-??-??????????????????????????????????????????-?????????????????????????????????-??????????-??-??-?]|\ud801[\udc28-\udc4f]|\ud835[\udc1a-\udc33\udc4e-\udc54\udc56-\udc67\udc82-\udc9b\udcb6-\udcb9\udcbb\udcbd-\udcc3\udcc5-\udccf\udcea-\udd03\udd1e-\udd37\udd52-\udd6b\udd86-\udd9f\uddba-\uddd3\uddee-\ude07\ude22-\ude3b\ude56-\ude6f\ude8a-\udea5\udec2-\udeda\udedc-\udee1\udefc-\udf14\udf16-\udf1b\udf36-\udf4e\udf50-\udf55\udf70-\udf88\udf8a-\udf8f\udfaa-\udfc2\udfc4-\udfc9\udfcb])$/; variable
39 assertTrue(!!re.test(s) == !!answer[i]);
53 assertTrue(!!re.test(BuildSurrogatePair(c)) == !!answer[i]);
111 var re = new RegExp(prefix + cc + "]");
113 retest(re, (ranges[j] - 1), negated);
114 retest(re, (ranges[j]), negated);
115 retest(re, (ranges[j] + 1), negated);
121 function retest(re, code, negated) {
123 assertTrue(negated != (!!re.test(s) == !!fuzz_answer[fuzz_index++]));
    [all...]
  /external/chromium-trace/trace-viewer/build/
presubmit_checks.py 6 import re namespace
106 non_html_license_re = re.compile(non_html_license_header, re.MULTILINE)
118 html_license_re = re.compile(html_license_header, re.MULTILINE)
204 return re.match(
221 if input_api.change.BUG is None or re.match('\#\d+$', input_api.change.BUG):
  /external/selinux/libselinux/utils/
sefcontext_compile.c 37 pcre *re; local
103 re = pcre_compile(anchored_regex, PCRE_DOTALL, &err, &erroff, NULL);
104 if (!re) {
108 spec->regex = re;
110 sd = pcre_study(re, 0, &err);
222 pcre *re = specs[i].regex; local
266 rc = pcre_fullinfo(re, NULL, PCRE_INFO_SIZE, &size);
277 len = fwrite(re, 1, to_write, bin_file);
282 rc = pcre_fullinfo(re, sd, PCRE_INFO_STUDYSIZE, &size);
  /system/extras/tests/sdcard/
plot_sdcard.py 41 import re namespace
51 res = re.search(('# StopWatch ([\w]+) total/cumulative '
58 self.summary = re.match('([a-z_]+)_total', self.name)
99 self.kernel = re.search('Linux version ([0-9.]+-[^ ]+)', line).group(1)
101 self.command_line = re.search('# Command: [/\w_]+ (.*)', line).group(1)
106 self.iterations = int(re.search('# Iterations: ([0-9]+)', line).group(1))
108 self.fadvise = re.search('# Fadvise: ([\w]+)', line).group(1)
110 self.sched = re.search('# Sched features: ([\w]+)', line).group(1)
146 if re.match('[a-z_]', line):
  /bionic/tools/bionicbb/
tasks.py 19 import re namespace
32 for match in re.finditer(gerrit_pattern, body, flags=re.MULTILINE):

Completed in 710 milliseconds

<<11121314151617181920>>