/external/mesa3d/scons/ |
custom.py | 35 import re namespace 98 import_re = re.compile(r'^import\s+(\S+)$', re.M) 128 # We're generating code using Python scripts, so we have to be
|
/external/selinux/policycoreutils/sepolicy/sepolicy/ |
interface.py | 24 import re, sys namespace 106 m = re.findall("(.*)%s" % USER_TRANSITION_INTERFACE, i) 173 te += re.sub("TEMPLATETYPE", name, test_module.te_test_module )
|
/external/v8/ |
PRESUBMIT.py | 154 inclusion_pattern = input_api.re.compile(r'(%s)\s*\(' % base_function_pattern) 155 comment_pattern = input_api.re.compile(r'//.*(%s)' % base_function_pattern) 156 exclusion_pattern = input_api.re.compile(
|
/external/v8/test/mjsunit/ |
cyrillic.js | 189 var re = new RegExp(mixed, flag); 192 assertEquals(expected, re.test("A" + suffix), 58 + flag + f); 193 assertTrue(re.test("a" + suffix), 59 + flag + f); 194 assertTrue(re.test("~" + suffix), 60 + flag + f); 195 assertTrue(re.test(cyrillic.MIDDLE), 61 + flag + f); 196 assertEquals(ignore_case || full, re.test(cyrillic.middle), 62 + flag + f);
|
/frameworks/base/core/java/android/ddm/ |
DdmHandleHeap.java | 50 * Register for the messages we're interested in. 173 } catch (RuntimeException re) { 202 } catch (RuntimeException re) { 203 failMsg = "Exception: " + re.getMessage();
|
/frameworks/base/core/java/android/speech/ |
RecognitionService.java | 108 } catch (RemoteException re) { 184 } catch (RemoteException re) { 185 Log.e(TAG, "sending ERROR_INSUFFICIENT_PERMISSIONS message failed", re);
|
/frameworks/native/opengl/tools/glgen2/ |
glgen.py | 21 import re namespace 171 if re.search('_BIT($|\d*_)', name): 175 if not re.search('0x[0-9A-Fa-f]+', value):
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
base64.py | 8 import re namespace 212 mo = re.search('(?P<pad>[=]*)$', s) 275 if re.search('[^0-9A-F]', s):
|
doctest.py | 98 import sys, traceback, inspect, linecache, os, re namespace 235 return re.sub('(?m)^(?!$)', indent*' ', s) 558 _EXAMPLE_RE = re.compile(r''' 569 ''', re.MULTILINE | re.VERBOSE) 580 _EXCEPTION_RE = re.compile(r""" 591 """, re.VERBOSE | re.MULTILINE | re.DOTALL) 595 _IS_BLANK_OR_COMMENT = re.compile(r'^[ ]*(#.*)?$').matc [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/ |
ScriptBinding.py | 21 import re namespace 94 source = re.sub(r"\r\n", "\n", source) 95 source = re.sub(r"\r", "\n", source)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
base64.py | 8 import re namespace 212 mo = re.search('(?P<pad>[=]*)$', s) 275 if re.search('[^0-9A-F]', s):
|
doctest.py | 98 import sys, traceback, inspect, linecache, os, re namespace 235 return re.sub('(?m)^(?!$)', indent*' ', s) 558 _EXAMPLE_RE = re.compile(r''' 569 ''', re.MULTILINE | re.VERBOSE) 580 _EXCEPTION_RE = re.compile(r""" 591 """, re.VERBOSE | re.MULTILINE | re.DOTALL) 595 _IS_BLANK_OR_COMMENT = re.compile(r'^[ ]*(#.*)?$').matc [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/ |
ScriptBinding.py | 21 import re namespace 94 source = re.sub(r"\r\n", "\n", source) 95 source = re.sub(r"\r", "\n", source)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setools/ |
descriptors.py | 29 import re namespace 85 self.instances[obj] = re.compile(value) 101 self.instances[obj] = re.compile(value) 204 keep the max assigned value until re-initialized.
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setoolsgui/setools/ |
descriptors.py | 29 import re namespace 85 self.instances[obj] = re.compile(value) 101 self.instances[obj] = re.compile(value) 204 keep the max assigned value until re-initialized.
|
/system/vold/bench/ |
benchgen.py | 29 import re, sys, collections, traceback, argparse namespace 110 re_event = re.compile(r"^([\d\.]+) (.+?)\((.+?)\) = (.+?)$") 111 re_arg = re.compile(r'''((?:[^,"']|"[^"]*"|'[^']*')+)''')
|
/external/antlr/antlr-3.4/runtime/Python/tests/ |
testbase.py | 7 import re namespace 200 m = re.match(r'\s*((lexer|parser|tree)\s+|)grammar\s+(\S+);', grammar, re.MULTILINE) 366 m = re.match(r'\s*((lexer|parser|tree)\s+|)grammar\s+(\S+);', grammar, re.MULTILINE)
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
Interpreter.java | 95 catch (RecognitionException re) { 97 reportScanError(re); 202 catch (RecognitionException re) { 440 public void reportScanError(RecognitionException re) { 446 cs.getLine()+":"+cs.getCharPositionInLine()+" "+re);
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
ttProgram.py | 7 import re namespace 159 _mnemonicPat = re.compile("[A-Z][A-Z0-9]*$") 190 _tokenRE = re.compile(_token) 191 _whiteRE = re.compile(r"\s*") 193 _pushCountPat = re.compile(r"[A-Z][A-Z0-9]*\s*\[.*?\]\s*/\* ([0-9]*).*?\*/")
|
/external/iproute2/tc/ |
tc_util.c | 489 struct gnet_stats_rate_est re = {0}; local 490 memcpy(&re, RTA_DATA(tbs[TCA_STATS_RATE_EST]), MIN(RTA_PAYLOAD(tbs[TCA_STATS_RATE_EST]), sizeof(re))); 492 prefix, sprint_rate(re.bps, b1), re.pps);
|
/ndk/sources/cxx-stl/stlport/src/ |
complex.cpp | 168 _Tp re = z._M_re; local 170 _Tp mag = ::hypot(re, im); 175 } else if (re > 0.f) { 176 result._M_re = ::sqrt(0.5f * (mag + re)); 179 result._M_im = ::sqrt(0.5f * (mag - re));
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/pgen2/ |
tokenize.py | 32 import string, re namespace 106 re.compile, (Token, PseudoToken, Single3, Double3)) 107 endprogs = {"'": re.compile(Single), '"': re.compile(Double), 239 cookie_re = re.compile("coding[:=]\s*([-\w.]+)")
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/pgen2/ |
tokenize.py | 32 import string, re namespace 106 re.compile, (Token, PseudoToken, Single3, Double3)) 107 endprogs = {"'": re.compile(Single), '"': re.compile(Double), 239 cookie_re = re.compile("coding[:=]\s*([-\w.]+)")
|
/external/lldb/examples/python/ |
crashlog.py | 38 import re namespace 86 parent_process_regex = re.compile('^Parent Process:\s*(.*)\[(\d+)\]'); 87 thread_state_regex = re.compile('^Thread ([0-9]+) crashed with') 88 thread_regex = re.compile('^Thread ([0-9]+)([^:]*):(.*)') 89 frame_regex = re.compile('^([0-9]+) +([^ ]+) *\t?(0x[0-9a-fA-F]+) +(.*)') 90 image_regex_uuid = re.compile('(0x[0-9a-fA-F]+)[- ]+(0x[0-9a-fA-F]+) +[+]?([^ ]+) +([^<]+)<([-0-9a-fA-F]+)> (.*)'); 91 image_regex_no_uuid = re.compile('(0x[0-9a-fA-F]+)[- ]+(0x[0-9a-fA-F]+) +[+]?([^ ]+) +([^/]+)/(.*)'); 92 empty_line_regex = re.compile('^$') 151 dwarfdump_uuid_regex = re.compile('UUID: ([-0-9a-fA-F]+) \(([^\(]+)\) .*') 262 matched_pair = re.search("(.+)\((.+)\)", version_string [all...] |
/external/parameter-framework/tools/xmlGenerator/ |
EddParser.py | 34 import re namespace 302 match = re.compile(r"[ \t]*\n?$").match 315 match = re.compile(r"#").match 325 match = re.compile(r".+=").match 344 match = re.compile(tag + r" *:").match 378 match = re.compile(r"[a-zA-Z0-9_.]+ +(Is|IsNot|Includes|Excludes) +[a-zA-Z0-9_.]+").match 401 match = re.compile(r"ANY|ALL").match 430 match = re.compile(r"conf *:").match 533 match = re.compile(r"(supConf|confGroup|confType) *:").match 580 match = re.compile(r"domain *:").matc [all...] |