Searched refs:line (Results 1 - 25 of 38) sorted by relevance

12

/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/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 __processLine(line, lineN
[all...]
/art/compiler/
H A Dcfi_test.h68 for (const std::string& line : lines) {
69 fprintf(f, "// %s\n", line.c_str());
85 std::string line; local
86 while (std::getline(*stream, line)) {
87 line = line.substr(0, FindEndOf(line, ": ")) +
88 line.substr(FindEndOf(line, "\t"));
90 while ((pos = line
[all...]
/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/dexfuzz/src/dexfuzz/
H A DExecutionResult.java44 for (String line : output) {
45 builder.append(line);
58 for (String line : output) {
59 builder.append(line).append("\n");
72 for (String line : error) {
73 builder.append(line);
86 for (String line : error) {
87 builder.append(line).append("\n");
H A DOptions.java269 String line = reader.readLine();
270 while (line != null) {
271 line = line.replaceAll("\\s+", " ");
272 String[] entries = line.split(" ");
282 line = reader.readLine();
294 * the program's command line arguments.
/art/tools/
H A Dcpplint.py49 # - Check for spaces between brackets in one-line inline method
75 same line, but it is far from perfect (in either direction).
104 'NOLINT(category)' comment to the line. NOLINT or NOLINT(*)
105 suppresses errors of all categories on that line.
324 # False positives include C-style multi-line comments (http://go/nsiut )
325 # and multi-line strings (http://go/beujw ), but those have always been
342 _END_ASM = 2 # Last line of inline assembly block
367 Parses any NOLINT comments on the current line, updating the global
373 raw_line: str, the line of input text, with comments.
374 linenum: int, the number of the current line
[all...]
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)
/art/compiler/debug/dwarf/
H A Ddwarf_test.h53 // If next is true, it must be the next line. Otherwise lines are skipped.
91 const char* line; local
92 while ((line = fgets(buffer, sizeof(buffer), output)) != nullptr) {
94 printf("%s", line);
96 if (line[0] != '\0' && line[0] != '\n') {
97 EXPECT_TRUE(strstr(line, "objdump: Error:") == nullptr) << line;
98 EXPECT_TRUE(strstr(line, "objdump: Warning:") == nullptr) << line;
[all...]
/art/runtime/arch/mips64/
H A Dinstruction_set_features_mips64.cc55 std::string line; local
56 std::getline(in, line);
58 LOG(INFO) << "cpuinfo line: " << line;
59 if (line.find("processor") != std::string::npos && line.find(": 1") != std::string::npos) {
/art/runtime/arch/x86/
H A Dinstruction_set_features_x86.cc184 std::string line; local
185 std::getline(in, line);
187 LOG(INFO) << "cpuinfo line: " << line;
188 if (line.find("flags") != std::string::npos) {
190 if (line.find("ssse3") != std::string::npos) {
193 if (line.find("sse4_1") != std::string::npos) {
196 if (line.find("sse4_2") != std::string::npos) {
199 if (line.find("avx") != std::string::npos) {
202 if (line
[all...]
/art/runtime/base/
H A Dlogging.cc80 // Stash the command line for later use. We can use /proc/self/cmdline on Linux to recover this,
141 LogMessageData(const char* file, unsigned int line, LogSeverity severity, int error) argument
143 line_number_(line),
185 LogMessage::LogMessage(const char* file, unsigned int line, LogSeverity severity, int error) argument
186 : data_(new LogMessageData(file, line, severity, error)) {
192 << " " << getpid() << " " << ::art::GetTid() << " " << file << ":" << line << "]"; local
252 void LogMessage::LogLine(const char* file, unsigned int line, LogSeverity log_severity, argument
262 LOG_PRI(priority, tag, "%s:%u] %s", file, line, message);
271 ProgramInvocationShortName(), severity, getpid(), ::art::GetTid(), file, line, message);
275 void LogMessage::LogLineLowStack(const char* file, unsigned int line, LogSeverit argument
[all...]
/art/runtime/arch/arm64/
H A Dinstruction_set_features_arm64.cc79 std::string line; local
80 std::getline(in, line);
82 LOG(INFO) << "cpuinfo line: " << line;
83 if (line.find("processor") != std::string::npos && line.find(": 1") != std::string::npos) {
/art/runtime/interpreter/mterp/
H A Dgen_mterp.py258 for line in opcode_fp:
259 match = opcode_re.match(line)
393 for line in fallback_stub_text:
394 asm_fp.write(line)
416 for line in asm_stub_text:
417 templ = Template(line)
421 # Append the file specified by "source" to the open "outfp". Each line will
424 # If the first line of the file starts with "%" it is taken as a directive.
425 # A "%include" line contains a filename and, optionally, a Python-style
429 # If "sister_list" is provided, and we find a line tha
570 line = line.strip() # remove CRLF, leading spaces variable
[all...]
/art/compiler/dex/
H A Dverified_method.cc98 verifier::RegisterLine* line = method_verifier->GetRegLine(dex_pc); local
100 method_verifier->GetQuickInvokedMethod(inst, line, is_range_quick, true);
102 // It can be null if the line wasn't verified since it was unreachable.
112 verifier::RegisterLine* line = method_verifier->GetRegLine(dex_pc); local
113 ArtField* field = method_verifier->GetQuickFieldAccess(inst, line);
115 // It can be null if the line wasn't verified since it was unreachable.
151 verifier::RegisterLine* line = method_verifier->GetRegLine(dex_pc); local
155 reg_type(line->GetRegisterType(method_verifier,
226 const verifier::RegisterLine* line = method_verifier->GetRegLine(dex_pc); local
229 const verifier::RegType& reg_type(line
[all...]
/art/test/970-iface-super-resolution-generated/util-src/
H A Dgenerate_java.py48 for line in str(self.inner).splitlines(keepends = True):
49 if line.startswith("#"):
50 out += line[1:]
/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/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/runtime/arch/arm/
H A Dinstruction_set_features_arm.cc135 std::string line; local
136 std::getline(in, line);
138 LOG(INFO) << "cpuinfo line: " << line;
139 if (line.find("Features") != std::string::npos) {
141 if (line.find("idivt") != std::string::npos) {
144 CHECK_NE(line.find("idiva"), std::string::npos);
147 if (line.find("lpae") != std::string::npos) {
150 } else if (line.find("processor") != std::string::npos &&
151 line
[all...]
/art/compiler/utils/
H A Dassembler_test_base.h151 std::string line = FindTool(assembler_cmd_name_); local
152 if (line.length() == 0) {
153 return line;
156 resolved_assembler_cmd_ = line + assembler_parameters_;
168 std::string line = FindTool(objdump_cmd_name_); local
169 if (line.length() == 0) {
170 return line;
173 resolved_objdump_cmd_ = line + objdump_parameters_;
185 std::string line = FindTool(disassembler_cmd_name_); local
186 if (line
271 std::string line; local
512 std::string line; local
555 std::string line; local
[all...]
/art/runtime/arch/mips/
H A Dinstruction_set_features_mips.cc136 std::string line; local
137 std::getline(in, line);
139 LOG(INFO) << "cpuinfo line: " << line;
140 if (line.find("processor") != std::string::npos && line.find(": 1") != std::string::npos) {
/art/test/968-default-partial-compile-generated/util-src/
H A Dgenerate_java.py52 for line in str(self.inner).splitlines(keepends = True):
53 if line.startswith("#"):
54 out += line[1:]
/art/test/971-iface-super/util-src/
H A Dgenerate_java.py52 for line in str(self.inner).splitlines(keepends = True):
53 if line.startswith("#"):
54 out += line[1:]
/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/
H A Dchecker.py60 for line in compiler_pass.body:
61 Logger.log((str(curLineNo) + ":").ljust(lenLineNo) + line)

Completed in 546 milliseconds

12