/art/tools/checker/file_format/checker/ |
D | parser.py | 22 def __isCheckerLine(line): argument 23 return line.startswith("///") or line.startswith("##") 25 def __extractLine(prefix, line, arch = None, debuggable = False): argument 41 match = re.match(regexPrefix, line) 43 return line[match.end():].strip() 47 def __preprocessLineForStart(prefix, line, targetArch): argument 55 if prefix in line: 57 s = line.find('{') 58 e = line.find('}') 60 archs = line[s+1:e].split(',') [all …]
|
/art/test/1917-get-stack-frame/ |
D | expected.txt | 2 …tive art.StackTrace$StackFrameData[] art.StackTrace.nativeGetStackTrace(java.lang.Thread)' line: -1 3 'public static art.StackTrace$StackFrameData[] art.StackTrace.GetStackTrace(java.lang.Thread)' line… 4 'public void art.Test1917$StackTraceGenerator.run()' line: 82 5 'public void art.Test1917$RecurCount.doRecur(int)' line: 104 6 'public void art.Test1917$RecurCount.doRecur(int)' line: 102 7 'public void art.Test1917$RecurCount.doRecur(int)' line: 102 8 'public void art.Test1917$RecurCount.doRecur(int)' line: 102 9 'public void art.Test1917$RecurCount.doRecur(int)' line: 102 10 'public void art.Test1917$RecurCount.doRecur(int)' line: 102 11 'public void art.Test1917$RecurCount.run()' line: 97 [all …]
|
/art/test/1927-exception-event/ |
D | expected.txt | 3 main: public static void art.Test1927.test_J() @ line = 110 throws class art.Test1927$TestException… 5 …ve art.StackTrace$StackFrameData[] art.StackTrace.nativeGetStackTrace(java.lang.Thread) @ line = -1 6 …c static art.StackTrace$StackFrameData[] art.StackTrace.GetStackTrace(java.lang.Thread) @ line = 61 7 private static void art.Test1927.PrintStack() @ line = 28 8 …ava.lang.reflect.Executable,long,java.lang.Throwable,java.lang.reflect.Executable,long) @ line = 66 9 public static void art.Test1927.test_J() @ line = 110 10 public static void art.Test1927.run() throws java.lang.Exception @ line = 239 11 Will be caught by: public static void art.Test1927.test_J() @ line = 111 12 main: public static void art.Test1927.test_J() @ line = 111 caught class art.Test1927$TestException… 14 …ve art.StackTrace$StackFrameData[] art.StackTrace.nativeGetStackTrace(java.lang.Thread) @ line = -1 [all …]
|
/art/test/994-breakpoint-line/ |
D | expected.txt | 1 Breaking on line: 29 calling with arg: true 2 Breakpoint reached: public static void art.Test994.doMultiPath(boolean) @ line=29 4 Breaking on line: 29 calling with arg: false 5 Breakpoint reached: public static void art.Test994.doMultiPath(boolean) @ line=29 7 Breaking on line: 30 calling with arg: true 8 Breakpoint reached: public static void art.Test994.doMultiPath(boolean) @ line=30 10 Breaking on line: 30 calling with arg: false 11 Breakpoint reached: public static void art.Test994.doMultiPath(boolean) @ line=30 13 Breaking on line: 31 calling with arg: true 14 Breakpoint reached: public static void art.Test994.doMultiPath(boolean) @ line=31 [all …]
|
/art/runtime/interpreter/mterp/ |
D | gen_mterp.py | 32 for line in opcode_fp: 33 match = opcode_re.match(line) 69 for line in lines: 70 line = line.rstrip() 71 if line.startswith("%"): 72 script.write(line.lstrip("%") + "\n") 73 indent = indent_re.match(line).group(1) 74 if line.endswith(":"): 77 line = escape_re.sub(r"''' + \g<name> + '''", line) 78 line = line.replace("\\", "\\\\") [all …]
|
/art/test/1928-exception-event-exception/ |
D | expected.txt | 2 main: public static void art.Test1928.doThrow() @ line = 110 throws class art.Test1928$TestExceptio… 4 …ve art.StackTrace$StackFrameData[] art.StackTrace.nativeGetStackTrace(java.lang.Thread) @ line = -1 5 …c static art.StackTrace$StackFrameData[] art.StackTrace.GetStackTrace(java.lang.Thread) @ line = 61 6 private static void art.Test1928.PrintStack() @ line = 35 7 …ava.lang.reflect.Executable,long,java.lang.Throwable,java.lang.reflect.Executable,long) @ line = 59 8 public static void art.Test1928.doThrow() @ line = 110 9 public void art.Test1928$DoThrowClass.run() @ line = 114 10 public static void art.Test1928.run() throws java.lang.Exception @ line = 196 11 Will be caught by: public static void art.Test1928.run() throws java.lang.Exception @ line = 199 16 main: public static void art.Test1928.throwCatchBaseTestException() @ line = 119 throws class art.T… [all …]
|
/art/test/1929-exception-catch-exception/ |
D | expected.txt | 2 main: public static void art.Test1929.run() throws java.lang.Exception @ line = 298 caught class ar… 4 …ve art.StackTrace$StackFrameData[] art.StackTrace.nativeGetStackTrace(java.lang.Thread) @ line = -1 5 …c static art.StackTrace$StackFrameData[] art.StackTrace.GetStackTrace(java.lang.Thread) @ line = 61 6 private static void art.Test1929.PrintStack() @ line = 52 7 …ptionCatchEvent(java.lang.Thread,java.lang.reflect.Executable,long,java.lang.Throwable) @ line = 65 8 public static void art.Test1929.run() throws java.lang.Exception @ line = 298 12 main: public static void art.Test1929.throwCatchBaseTestException() @ line = 140 caught class art.T… 14 …ve art.StackTrace$StackFrameData[] art.StackTrace.nativeGetStackTrace(java.lang.Thread) @ line = -1 15 …c static art.StackTrace$StackFrameData[] art.StackTrace.GetStackTrace(java.lang.Thread) @ line = 61 16 private static void art.Test1929.PrintStack() @ line = 52 [all …]
|
/art/compiler/ |
D | cfi_test.h | 77 for (const std::string& line : lines) { in GenerateExpected() local 78 fprintf(f, "// %s\n", line.c_str()); in GenerateExpected() 94 std::string line; in ReformatAsm() local 95 while (std::getline(*stream, line)) { in ReformatAsm() 96 line = line.substr(0, FindEndOf(line, ": ")) + in ReformatAsm() 97 line.substr(FindEndOf(line, "\t")); in ReformatAsm() 99 while ((pos = line.find(" ")) != std::string::npos) { in ReformatAsm() 100 line = line.replace(pos, 2, " "); in ReformatAsm() 102 while (!line.empty() && line.back() == ' ') { in ReformatAsm() 103 line.pop_back(); in ReformatAsm() [all …]
|
/art/tools/hiddenapi/ |
D | find_api_violations.pl | 86 while (my $line = <>) { 87 chomp $line; 88 if ($line =~ m/^------ SYSTEM LOG /) { 100 while (my $line = <>) { 101 chomp $line; 102 last if $bugreport and $line =~ m/^------ \d+\.\d+s was the duration of 'SYSTEM LOG' ------/; 103 next if $line =~ m/^--------- beginning of/; 104 …unless ($line =~ m/^\d{2}-\d{2} \d{2}:\d{2}:\d{2}.\d{3}\s+(?:\w+\s+)?(\d+)\s+(\d+)\s+([VWIDE])\s+(… 105 die "Cannot match line: $line\n";
|
/art/tools/checker/file_format/c1visualizer/ |
D | parser.py | 28 def __parseC1Line(line, lineNo, state, fileName): argument 40 if re.match("name\s+\"[^\"]+\"", line): 44 return (None, state.lastMethodName + " " + line.split("\"")[1], None) 49 if line == "end_cfg": 53 return (line, None, None) 57 if re.match("method\s+\"[^\"]*\"", line): 58 methodName = line.split("\"")[1].strip() 62 elif line == "end_compilation": 68 if line == "begin_cfg": 75 elif line == "begin_compilation": [all …]
|
/art/test/993-breakpoints/ |
D | expected.txt | 8 Breakpoint: public static void art.Test993.breakpoint() @ line=41 10 Breakpoint: public static void art.Test993.breakpoint() @ line=41 12 Breakpoint: public static void art.Test993.breakpoint() @ line=41 19 Breakpoint: private static void art.Test993.privateBreakpoint() @ line=45 21 Breakpoint: private static void art.Test993.privateBreakpoint() @ line=45 29 Breakpoint: public static void art.Test993$Breakable.iBreakpoint() @ line=51 31 Breakpoint: public static void art.Test993$Breakable.iBreakpoint() @ line=51 33 Breakpoint: public static void art.Test993$Breakable.iBreakpoint() @ line=51 42 Breakpoint: public default void art.Test993$Breakable.breakit() @ line=55 44 Breakpoint: public default void art.Test993$Breakable.breakit() @ line=55 [all …]
|
/art/test/997-single-step/ |
D | expected.txt | 2 Single step: public static void art.Test997.doMultiPath(boolean) @ line=41 3 Single step: public static void art.Test997.doMultiPath(boolean) @ line=42 4 Single step: public static void art.Test997.doMultiPath(boolean) @ line=43 5 Single step: public static void art.Test997.doMultiPath(boolean) @ line=47 6 Single step: public static void art.Test997.doMultiPath(boolean) @ line=48 8 Single step: public static void art.Test997.doMultiPath(boolean) @ line=41 9 Single step: public static void art.Test997.doMultiPath(boolean) @ line=42 10 Single step: public static void art.Test997.doMultiPath(boolean) @ line=45 11 Single step: public static void art.Test997.doMultiPath(boolean) @ line=47 12 Single step: public static void art.Test997.doMultiPath(boolean) @ line=48
|
/art/test/661-oat-writer-layout/ |
D | parse_oatdump_offsets.sh | 27 while read -r line; do 29 if [[ $line == *dex_method_idx=* ]]; then 30 found_method=$line 33 if [[ $line == *"code_offset: "* ]]; then 34 echo $line $found_method >> "$tmp_file"
|
/art/tools/build/ |
D | var_cache.py | 89 for line in f.readlines(): 90 line = line.strip() 91 if not line or line.startswith('#'): 94 _debug(line) 96 interesting_vars.append(line) 123 for line in os.environ['ART_TOOLS_BUILD_VAR_CACHE'].splitlines(): 124 _debug(line) 125 var_name, var_value = line.split("=")
|
/art/tools/checker/file_format/ |
D | common.py | 31 for line in stream: 33 line = line.strip() 34 if not line: 40 processedLine, newChunkName, testArch = fnProcessLine(line, lineNo) 50 fnLineOutsideChunk(line, lineNo)
|
/art/test/626-checker-arm64-scratch-register/smali/ |
D | Main2.smali | 106 .line 17 350 .line 121 353 .line 128 365 .line 129 378 .line 130 391 .line 131 404 .line 132 417 .line 133 430 .line 134 443 .line 135 [all …]
|
/art/tools/dexfuzz/src/dexfuzz/ |
D | ExecutionResult.java | 45 for (String line : output) { in getFlattenedOutput() 46 builder.append(line); in getFlattenedOutput() 59 for (String line : output) { in getFlattenedOutputWithNewlines() 60 builder.append(line).append("\n"); in getFlattenedOutputWithNewlines() 73 for (String line : error) { in getFlattenedError() 74 builder.append(line); in getFlattenedError() 87 for (String line : error) { in getFlattenedErrorWithNewlines() 88 builder.append(line).append("\n"); in getFlattenedErrorWithNewlines()
|
/art/test/121-modifiers/smali/ |
D | NonInf.smali | 45 .line 11 48 .line 12 53 .line 13 58 .line 14 63 .line 15 68 .line 16 73 .line 17 78 .line 18 83 .line 19 91 .line 24 [all …]
|
/art/tools/ahat/src/test/com/android/ahat/ |
D | ProguardMapTest.java | 69 assertEquals(123, frame.line); in proguardMap() 84 assertEquals(123, frame.line); in proguardMap() 109 assertEquals(13, frame.line); in proguardMap() 115 assertEquals(42, frame.line); in proguardMap() 121 assertEquals(45, frame.line); in proguardMap() 127 assertEquals(49, frame.line); in proguardMap() 134 assertEquals(52, frame.line); in proguardMap() 141 assertEquals(57, frame.line); in proguardMap() 147 assertEquals(59, frame.line); in proguardMap() 153 assertEquals(64, frame.line); in proguardMap() [all …]
|
/art/test/1955-pop-frame-jit-called/src/art/ |
D | Breakpoint.java | 64 best = l.line; in getLine() 122 public final int line; field in Breakpoint.LineNumber 124 private LineNumber(long loc, int line) { in LineNumber() argument 126 this.line = line; in LineNumber() 130 return other instanceof LineNumber && ((LineNumber)other).line == line && in equals() 135 int v = Integer.valueOf(line).compareTo(Integer.valueOf(other.line)); in compareTo() 179 best = l.line; in locationToLine() 188 public static long lineToLocation(Executable m, int line) throws Exception { in lineToLocation() argument 192 if (l.line == line) { in lineToLocation() 196 throw new Exception("Unable to find line " + line + " in " + m); in lineToLocation()
|
/art/test/997-single-step/src/art/ |
D | Breakpoint.java | 64 best = l.line; in getLine() 122 public final int line; field in Breakpoint.LineNumber 124 private LineNumber(long loc, int line) { in LineNumber() argument 126 this.line = line; in LineNumber() 130 return other instanceof LineNumber && ((LineNumber)other).line == line && in equals() 135 int v = Integer.valueOf(line).compareTo(Integer.valueOf(other.line)); in compareTo() 179 best = l.line; in locationToLine() 188 public static long lineToLocation(Executable m, int line) throws Exception { in lineToLocation() argument 192 if (l.line == line) { in lineToLocation() 196 throw new Exception("Unable to find line " + line + " in " + m); in lineToLocation()
|
/art/test/1964-add-to-dex-classloader-file/src/art/ |
D | Breakpoint.java | 64 best = l.line; in getLine() 122 public final int line; field in Breakpoint.LineNumber 124 private LineNumber(long loc, int line) { in LineNumber() argument 126 this.line = line; in LineNumber() 130 return other instanceof LineNumber && ((LineNumber)other).line == line && in equals() 135 int v = Integer.valueOf(line).compareTo(Integer.valueOf(other.line)); in compareTo() 179 best = l.line; in locationToLine() 188 public static long lineToLocation(Executable m, int line) throws Exception { in lineToLocation() argument 192 if (l.line == line) { in lineToLocation() 196 throw new Exception("Unable to find line " + line + " in " + m); in lineToLocation()
|
/art/test/994-breakpoint-line/src/art/ |
D | Breakpoint.java | 64 best = l.line; in getLine() 122 public final int line; field in Breakpoint.LineNumber 124 private LineNumber(long loc, int line) { in LineNumber() argument 126 this.line = line; in LineNumber() 130 return other instanceof LineNumber && ((LineNumber)other).line == line && in equals() 135 int v = Integer.valueOf(line).compareTo(Integer.valueOf(other.line)); in compareTo() 179 best = l.line; in locationToLine() 188 public static long lineToLocation(Executable m, int line) throws Exception { in lineToLocation() argument 192 if (l.line == line) { in lineToLocation() 196 throw new Exception("Unable to find line " + line + " in " + m); in lineToLocation()
|
/art/test/1966-get-set-local-objects-no-table/src/art/ |
D | Breakpoint.java | 64 best = l.line; in getLine() 122 public final int line; field in Breakpoint.LineNumber 124 private LineNumber(long loc, int line) { in LineNumber() argument 126 this.line = line; in LineNumber() 130 return other instanceof LineNumber && ((LineNumber)other).line == line && in equals() 135 int v = Integer.valueOf(line).compareTo(Integer.valueOf(other.line)); in compareTo() 179 best = l.line; in locationToLine() 188 public static long lineToLocation(Executable m, int line) throws Exception { in lineToLocation() argument 192 if (l.line == line) { in lineToLocation() 196 throw new Exception("Unable to find line " + line + " in " + m); in lineToLocation()
|
/art/test/1956-pop-frame-jit-calling/src/art/ |
D | Breakpoint.java | 64 best = l.line; in getLine() 122 public final int line; field in Breakpoint.LineNumber 124 private LineNumber(long loc, int line) { in LineNumber() argument 126 this.line = line; in LineNumber() 130 return other instanceof LineNumber && ((LineNumber)other).line == line && in equals() 135 int v = Integer.valueOf(line).compareTo(Integer.valueOf(other.line)); in compareTo() 179 best = l.line; in locationToLine() 188 public static long lineToLocation(Executable m, int line) throws Exception { in lineToLocation() argument 192 if (l.line == line) { in lineToLocation() 196 throw new Exception("Unable to find line " + line + " in " + m); in lineToLocation()
|