Searched refs:line (Results 1 - 25 of 95) sorted by last modified time

1234

/art/tools/ahat/src/main/com/android/ahat/heapdump/
H A DSite.java137 private Site(Site parent, String method, String signature, String file, int line) { argument
142 mLineNumber = line;
167 if (curr.mLineNumber == frame.line
177 frame.filename, frame.line);
366 * Returns the line number of the code in the source file that the
369 * @return the allocation site line number
/art/tools/ahat/src/main/com/android/ahat/proguard/
H A DProguardMap.java80 // TODO: Does this properly interpret the meaning of line numbers? Is
82 // name and signature that differ only by line ranges?
106 * line of source code.
109 Frame(String method, String signature, String filename, int line) { argument
113 this.line = line;
129 * The name of the file with containing the line of source that the stack
135 * The line number of the code in the source file that the stack frame
138 public final int line; field in class:ProguardMap.Frame
185 String line
[all...]
/art/tools/ahat/src/test/com/android/ahat/
H A DProguardMapTest.java64 assertEquals(123, frame.line);
79 assertEquals(123, frame.line);
104 assertEquals(13, frame.line);
110 assertEquals(42, frame.line);
116 assertEquals(45, frame.line);
122 assertEquals(49, frame.line);
129 assertEquals(52, frame.line);
136 assertEquals(57, frame.line);
142 assertEquals(59, frame.line);
148 assertEquals(64, frame.line);
[all...]
/art/tools/
H A Danalyze-init-failures.py31 def Confused(filename, line_number, line):
32 sys.stderr.write('%s:%d: confused by:\n%s\n' % (filename, line_number, line))
59 # The error line should be next.
66 # Found an error line.
74 # Found a stack line. Get the method.
H A Dgenerate_operator_out.py33 def Confused(filename, line_number, line):
34 sys.stderr.write('%s:%d: confused by:\n%s\n' % (filename, line_number, line))
116 line = re.sub(r'//.*', '', raw_line)
119 line = line.strip()
122 if len(line) == 0:
126 # or a blank line, this line should be the next enum value...
127 m = _ENUM_VALUE_RE.search(line)
H A Dstream-trace-converter.py167 for line in self._summary.splitlines(True):
168 if line == "*methods\n":
171 header.write(line)
/art/tools/checker/
H A Dchecker.py60 for line in compiler_pass.body:
61 Logger.log((str(curLineNo) + ":").ljust(lenLineNo) + line)
/art/tools/checker/common/
H A Dlogger.py58 def fail(msg, file=None, line=-1, lineText=None, variables=None):
66 if line > 0:
67 loc += str(line) + ":"
/art/tools/checker/file_format/c1visualizer/
H A Dparser.py28 def __parseC1Line(line, lineNo, state, fileName):
29 """ This function is invoked on each line of the output file and returns
30 a triplet which instructs the parser how the line should be handled. If the
31 line is to be included in the current group, it is returned in the first
32 value. If the line starts a new output group, the name of the group is
38 # Previous line started a new 'cfg' block which means that this one must
40 if re.match("name\s+\"[^\"]+\"", line):
44 return (None, state.lastMethodName + " " + line.split("\"")[1], None)
49 if line == "end_cfg":
53 return (line, Non
[all...]
/art/tools/checker/file_format/checker/
H A Dparser.py22 def __isCheckerLine(line):
23 return line.startswith("///") or line.startswith("##")
25 def __extractLine(prefix, line, arch = None, debuggable = False):
26 """ Attempts to parse a check line. The regex searches for a comment symbol
28 beginning of the line. Whitespaces are ignored.
40 # beginning of the line.
41 match = re.match(regexPrefix, line)
43 return line[match.end():].strip()
47 def __preprocessLineForStart(prefix, line, targetArc
[all...]
H A Dtest.py88 line = self.parseAssertion(string)
89 self.assertEqual(1, len(line.expressions))
90 return line.expressions[0]
111 # Test that individual parts of the line are recognized
/art/tools/checker/file_format/
H A Dcommon.py20 - fnProcessLine: Called on each line with the text and line number. Must
21 return a triplet, composed of the name of the chunk started on this line,
31 for line in stream:
33 line = line.strip()
34 if not line:
37 # Let the child class process the line and return information about it.
38 # The _processLine method can modify the content of the line (or delete it
40 processedLine, newChunkName, testArch = fnProcessLine(line, lineN
[all...]
/art/tools/checker/match/
H A Dfile.py20 from match.line import MatchLines, EvaluateLine
47 """ Finds the first line in `c1Pass` which matches `assertion`.
52 Returns the index of the `c1Pass` line matching the assertion and variables
55 Raises MatchFailedException if no such `c1Pass` line can be found.
68 lines in `scope` are scanned and each line can only match one assertion.
71 line numbers) and the variable values after the match of the last assertion.
86 """ Verifies that none of the given NOT assertions matches a line inside
89 Raises MatchFailedException if an assertion matches a line in the scope.
92 line = c1Pass.body[i]
95 if MatchLines(assertion, line, variable
[all...]
H A Dtest.py22 from match.line import MatchLines
/art/tools/common/
H A Dcommon.py334 f.writelines('{0}\n'.format(line) for line in lines)
415 temp_file.writelines('{0}\n'.format(line) for line in lines)
421 """Extracts PID from a single logcat line in brief format."""
431 """Extracts LogSeverity from a single logcat line in brief format."""
465 for line in logcat_lines:
467 if 'Running dex2oat (parent PID = ' + parent_pid in line:
468 dex2oat_pids.append(self._ExtractPid(line))
471 for line i
[all...]
/art/tools/dexfuzz/src/dexfuzz/
H A DExecutionResult.java45 for (String line : output) {
46 builder.append(line);
59 for (String line : output) {
60 builder.append(line).append("\n");
73 for (String line : error) {
74 builder.append(line);
87 for (String line : error) {
88 builder.append(line).append("\n");
H A DOptions.java283 String line = reader.readLine();
284 while (line != null) {
285 line = line.replaceAll("\\s+", " ");
286 String[] entries = line.split(" ");
296 line = reader.readLine();
308 * the program's command line arguments.
/art/tools/dexfuzz/src/dexfuzz/executors/
H A DExecutor.java133 for (String line : verificationResult.error) {
134 if (line.contains("Verification error")
135 || line.contains("Failure to verify dex file")) {
140 listener.handleDumpVerify(line.replaceFirst(".*(cc|h):\\d+] ", ""));
/art/tools/dexfuzz/src/dexfuzz/program/
H A DMutationSerializer.java50 String line = reader.readLine();
52 if (line != null) {
53 fields = line.split(" ");
55 Log.errorAndQuit("Could not read line during mutation loading.");
/art/tools/hiddenapi/
H A Dhiddenapi.cc253 for (std::string line; std::getline(api_file, line);) {
254 list->insert(line);
/art/tools/runtime_memusage/
H A Dsymbol_trace_info.py182 def get_dex_offset_data(line, dex_file_item):
183 """ Returns a tuple of dex file offset, item name, and data of a line."""
184 return (int(line[:line.find(":")], 16),
186 line.split("|")[1].strip())
221 # Splits each item by line and creates a list of offsets and a
222 # corresponding list of the data associated with that line
223 offset_list, offset_data = zip(*[get_dex_offset_data(line, item[0])
225 for line in item[1:]
226 if re.search("[0-9a-f]{6}:", line)
[all...]
/art/tools/wrapagentproperties/
H A Dwrapagentproperties.cc267 std::string line; local
268 while (std::getline(prop_file, line)) {
269 if (line.size() == 0 || line[0] == '#') {
272 if (line.find('=') == std::string::npos) {
273 LOG(INFO) << "line: " << line << " didn't have a '='";
276 std::string prop = substrOf(line, 0, line.find('='));
277 std::string val = substrOf(line, lin
[all...]
/art/test/testrunner/
H A Denv.py67 for line in config.split("\n"):
69 match = re.search("([^=]+)='([^']*)", line)
/art/test/913-heaps/src/art/
H A DTest913.java318 String line;
319 while ((line = reader.readLine()) != null) {
320 if (line.endsWith(".art")) {
702 private static String getReferrer(String line) { argument
703 int i = line.indexOf(" --");
705 throw new IllegalArgumentException(line);
707 int j = line.indexOf(' ');
709 throw new IllegalArgumentException(line);
711 return line.substring(0, i);
714 private static String getReferree(String line) { argument
[all...]
/art/test/954-invoke-polymorphic-verifier/smali/
H A DUnresolved.smali23 .line 23
37 .line 37

Completed in 376 milliseconds

1234