Searched defs:line (Results 1 - 16 of 16) sorted by relevance

/art/compiler/debug/dwarf/
H A Ddwarf_test.cc248 // DWARF has special one byte codes which advance PC and line at the same time.
253 int line = 1; local
265 line += line_delta;
266 opcodes.AddRow(pc, line);
269 ASSERT_EQ(opcodes.CurrentLine(), line);
271 sprintf(expected, "%i 0x%x", line, pc);
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/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/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/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/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/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/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/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/jit/
H A Dprofile_compilation_info_test.cc275 // Write that we have at least one line.
291 // Write that we have at least one line.
297 uint8_t line[] = { 255, 255, 0, 1, 0, 1, 0, 0, 0, 0 }; local
298 ASSERT_TRUE(profile.GetFile()->WriteFully(line, sizeof(line)));
/art/compiler/debug/
H A Delf_debug_line_writer.h53 // Write line table for given set of methods.
88 // Ignore function if we have already generated line table for the same address.
90 // We allow the line table for method to be replicated in different compilation unit.
91 // This ensures that each compilation unit contains line table for all its methods.
126 // However, the debugger is more clever and it will ask us for line-number
128 // instruction could belong to other line, this is the correct thing to do).
142 // This ensures we have correct line number mapping at call sites (which is
238 int line = (--dex2line)->line_; local
250 opcodes.AddRow(method_address + pc, line);
251 } else 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
248 void LogMessage::LogLine(const char* file, unsigned int line, LogSeverity log_severity, argument
258 LOG_PRI(priority, tag, "%s:%u] %s", file, line, message);
267 ProgramInvocationShortName(), severity, getpid(), ::art::GetTid(), file, line, message);
271 void LogMessage::LogLineLowStack(const char* file, unsigned int line, LogSeverit argument
[all...]
/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/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/
H A Dprofiler.cc725 // Read a single line into the given string. Returns true if everything OK, false
727 static bool ReadProfileLine(int fd, std::string& line) { argument
729 line.clear();
738 line += buf[0];
747 std::string line; local
749 // The first line contains summary information.
750 if (!ReadProfileLine(fd, line)) {
754 Split(line, '/', &summary_info);
763 // Now read each line until the end of file. Each line consist
825 std::string line; local
[all...]
/art/runtime/verifier/
H A Dmethod_verifier.cc1843 * Sanity check: retrieve the stored register line (assuming
1873 * down the line, possibly in the verifier.
1939 // Setup a register line for the given return instruction.
1942 RegisterLine* line) {
1948 SafelyMarkAllRegistersAsConflicts(verifier, line);
1953 line->MarkAllRegistersAsConflictsExcept(verifier, ret_inst->VRegA_11x());
1957 line->MarkAllRegistersAsConflictsExceptWide(verifier, ret_inst->VRegA_11x());
1972 monitor_enter_dex_pcs_->clear(); // The new work line is more accurate than the previous one.
2023 // We need to ensure the work line is consistent while performing validation. When we spot a
2024 // peephole pattern we compute a new line fo
1940 AdjustReturnLine(MethodVerifier* verifier, const Instruction* ret_inst, RegisterLine* line) argument
5005 RegisterLine* line = reg_table_.GetLine(dex_pc); local
[all...]

Completed in 757 milliseconds