/art/tools/ |
H A D | generate-operator-out.py | 21 import re namespace 26 _ENUM_START_RE = re.compile(r'\benum\b\s+(class\s+)?(\S+)\s+:?.*\{(\s+// private)?') 27 _ENUM_VALUE_RE = re.compile(r'([A-Za-z0-9_]+)(.*)') 28 _ENUM_END_RE = re.compile(r'^\s*\};$') 75 m = re.compile(r'^namespace (\S+) \{').search(raw_line) 79 m = re.compile(r'^\}\s+// namespace').search(raw_line) 85 m = re.compile(r'^\s*(?:class|struct)(?: MANAGED)?(?: PACKED\([0-9]\))? (\S+).* \{').search(raw_line) 91 m = re.compile(r'^\s*\}(\s+)?(while)?(.+)?;').search(raw_line) 112 m_comment = re.compile(r'// <<(.*?)>>').search(raw_line) 116 line = re [all...] |
H A D | analyze-init-failures.py | 22 import re namespace 27 _CLASS_RE = re.compile(r'^L(.*);$') 28 _ERROR_LINE_RE = re.compile(r'^dalvik.system.TransactionAbortError: (.*)') 29 _STACK_LINE_RE = re.compile(r'^\s*at\s[^\s]*\s([^\s]*)') 109 failed_clazz_norm = re.sub(r"^L", "", failed_clazz) 110 failed_clazz_norm = re.sub(r";$", "", failed_clazz_norm) 111 failed_clazz_norm = re.sub(r"/", "", failed_clazz_norm)
|
H A D | cpplint.py | 83 import re namespace 327 _ALT_TOKEN_REPLACEMENT_PATTERN = re.compile( 346 _MATCH_ASM = re.compile(r'^\s*(?:asm|_asm|__asm|__asm__)' 354 _RE_SUPPRESSION = re.compile(r'\bNOLINT\b(\([^)]*\))?') 542 # This will always be the fallback because we're not sure 921 _RE_PATTERN_CLEANSE_LINE_ESCAPES = re.compile( 924 _RE_PATTERN_CLEANSE_LINE_DOUBLE_QUOTES = re.compile(r'"[^"]*"') 926 _RE_PATTERN_CLEANSE_LINE_SINGLE_QUOTES = re.compile(r"'.'") 931 # The current rule is: We only clear spaces from both sides when we're at the 935 _RE_PATTERN_CLEANSE_LINE_C_COMMENTS = re [all...] |
/art/tools/checker/file_format/c1visualizer/ |
H A D | parser.py | 19 import re namespace 40 if re.match("name\s+\"[^\"]+\"", line): 57 if re.match("method\s+\"[^\"]*\"", line):
|
/art/runtime/interpreter/mterp/arm/ |
H A D | bincmp.S | 15 cmp rPROFILE, #JIT_CHECK_OSR @ possible OSR re-entry?
|
H A D | zcmp.S | 13 cmp rPROFILE, #JIT_CHECK_OSR @ possible OSR re-entry?
|
/art/tools/checker/match/ |
H A D | line.py | 18 import re namespace 53 pattern = re.escape(getVariable(expression.name, variables, pos)) 58 # Note: re.match will succeed only if matched from the beginning. 59 match = re.match(pattern, stringWord)
|
/art/tools/checker/file_format/checker/ |
H A D | parser.py | 20 import re namespace 41 match = re.match(regexPrefix, line) 121 matchWhitespace = re.search(r"\s+", line) 122 matchPattern = re.search(TestExpression.Regex.regexPattern, line) 123 matchVariableDefinition = re.search(TestExpression.Regex.regexVariableDefinition, line) 124 matchVariableReference = re.search(TestExpression.Regex.regexVariableReference, line) 151 # If we're not currently looking at a special marker, this is a plain
|
H A D | struct.py | 18 import re namespace 159 return TestExpression(TestExpression.Variant.Pattern, None, re.escape(text)) 167 assert re.match(TestExpression.Regex.rName, name) 172 assert re.match(TestExpression.Regex.rName, name)
|
/art/test/031-class-attributes/src/ |
H A D | ClassAttrs.java | 140 } catch (RuntimeException re) { 141 System.err.println("FAILED: " + re); 142 re.printStackTrace(); 337 // Sort types alphabetically so they're always printed in the same order.
|
/art/runtime/interpreter/mterp/ |
H A D | gen_mterp.py | 22 import sys, string, re, time namespace 257 opcode_re = re.compile(r"^\s*V\((....), (\w+),.*", re.DOTALL)
|
/art/test/ |
H A D | Android.run-test.mk | 336 # * 137-cfi needs to unwind a second forked process. We're using a primitive sleep to wait till we 1012 # Clear variables now we're finished with them.
|
/art/runtime/interpreter/mterp/out/ |
H A D | mterp_arm.S | 1159 * they're perfectly legal, so we check for them here. 1184 * they're perfectly legal, so we check for them here. 1403 cmp rPROFILE, #JIT_CHECK_OSR @ possible OSR re-entry? 1429 cmp rPROFILE, #JIT_CHECK_OSR @ possible OSR re-entry? 1455 cmp rPROFILE, #JIT_CHECK_OSR @ possible OSR re-entry? 1481 cmp rPROFILE, #JIT_CHECK_OSR @ possible OSR re-entry? 1507 cmp rPROFILE, #JIT_CHECK_OSR @ possible OSR re-entry? 1533 cmp rPROFILE, #JIT_CHECK_OSR @ possible OSR re-entry? 1557 cmp rPROFILE, #JIT_CHECK_OSR @ possible OSR re-entry? 1581 cmp rPROFILE, #JIT_CHECK_OSR @ possible OSR re [all...] |
H A D | mterp_x86_64.S | 60 If we're not doing variable stack allocation (alloca), the frame pointer can be 1049 * they're perfectly legal, so we check for them here. 1072 * they're perfectly legal, so we check for them here. 5633 GET_VREG %ecx, %rcx # vB (object we're operating on) 5656 GET_VREG %ecx, %rcx # vB (object we're operating on) 5680 GET_VREG OUT_32_ARG0, %rcx # vB (object we're operating on) 5699 GET_VREG %ecx, %rcx # vB (object we're operating on) 5715 GET_VREG %ecx, %rcx # vB (object we're operating on) 5804 GET_VREG %ecx, %rcx # vB (object we're operating on) 5823 GET_VREG %ecx, %rcx # vB (object we're operatin [all...] |
H A D | mterp_x86.S | 65 If we're not doing variable stack allocation (alloca), the frame pointer can be 1139 * they're perfectly legal, so we check for them here. 1165 * they're perfectly legal, so we check for them here. 5891 GET_VREG %ecx, %ecx # vB (object we're operating on) 5907 GET_VREG %ecx, %ecx # vB (object we're operating on) 5924 GET_VREG %ecx, %ecx # vB (object we're operating on) 5946 GET_VREG %ecx, %ecx # vB (object we're operating on) 5962 GET_VREG %ecx, %ecx # vB (object we're operating on) 6059 GET_VREG %ecx, %ecx # vB (object we're operating on) 6078 GET_VREG %ecx, %ecx # vB (object we're operatin [all...] |
H A D | mterp_mips.S | 1415 * they're perfectly legal, so we check for them here. 1472 * they're perfectly legal, so we check for them here. 1531 * The operation we're implementing is: 1587 * The operation we're implementing is: 7545 GET_VREG(a3, a2) # a3 <- object we're operating on 7562 GET_VREG(a3, a2) # a3 <- object we're operating on 7583 GET_VREG(a0, a2) # a0 <- object we're operating on 7785 GET_VREG(a3, a2) # a3 <- object we're operating on 7805 GET_VREG(a3, a2) # a3 <- object we're operating on 7825 GET_VREG(a3, a2) # a3 <- object we're operatin [all...] |
H A D | mterp_mips64.S | 1194 * they're perfectly legal, so we check for them here. 1235 * they're perfectly legal, so we check for them here. 6891 GET_VREG_U a3, a2 # a3 <- object we're operating on 6908 GET_VREG_U a3, a2 # a3 <- object we're operating on 6930 GET_VREG_U a0, a2 # a0 <- object we're operating on 7134 GET_VREG_U a3, a2 # a3 <- object we're operating on 7154 GET_VREG_U a3, a2 # a3 <- object we're operating on 7174 GET_VREG_U a3, a2 # a3 <- object we're operating on 7194 GET_VREG_U a3, a2 # a3 <- object we're operating on 12290 * If we're her [all...] |