/art/tools/ |
H A D | cpplint.py | 49 # - Check for spaces between brackets in one-line inline method 75 same line, but it is far from perfect (in either direction). 103 'NOLINT(category)' comment to the line. NOLINT or NOLINT(*) 104 suppresses errors of all categories on that line. 320 # False positives include C-style multi-line comments (http://go/nsiut ) 321 # and multi-line strings (http://go/beujw ), but those have always been 338 _END_ASM = 2 # Last line of inline assembly block 363 Parses any NOLINT comments on the current line, updating the global 369 raw_line: str, the line of input text, with comments. 370 linenum: int, the number of the current line [all...] |
H A D | generate-operator-out.py | 33 def Confused(filename, line_number, line): 34 sys.stderr.write('%s:%d: confused by:\n%s\n' % (filename, line_number, line)) 109 line = re.sub(r'//.*', '', raw_line) 112 line = line.strip() 115 if len(line) == 0: 119 # or a blank line, this line should be the next enum value... 120 m = _ENUM_VALUE_RE.search(line)
|
/art/compiler/dex/ |
H A D | verified_method.cc | 128 verifier::RegisterLine* line = method_verifier->GetRegLine(i); local 129 line->WriteReferenceBitMap(dex_gc_map_, ref_bitmap_bytes); 151 verifier::RegisterLine* line = method_verifier->GetRegLine(i); local 153 if (line->GetRegisterType(j).IsNonZeroReferenceTypes()) { 159 // If a register doesn't contain a reference then the bitmap may be shorter than the line. 179 verifier::RegisterLine* line = method_verifier->GetRegLine(i); local 180 max_ref_reg = line->GetMaxNonZeroReferenceReg(max_ref_reg); 215 verifier::RegisterLine* line = method_verifier->GetRegLine(dex_pc); local 219 reg_type(line->GetRegisterType(is_range ? inst->VRegC_3rc() : inst->VRegC_35c())); 283 const verifier::RegisterLine* line local [all...] |
/art/compiler/utils/ |
H A D | assembler_test.h | 247 std::string line = FindTool(GetAssemblerCmdName()); local 248 if (line.length() == 0) { 249 return line; 252 resolved_assembler_cmd_ = line + GetAssemblerParameters(); 254 return line; 274 std::string line = FindTool(GetObjdumpCmdName()); local 275 if (line.length() == 0) { 276 return line; 279 resolved_objdump_cmd_ = line + GetObjdumpParameters(); 281 return line; 300 std::string line = FindTool(GetDisassembleCmdName()); local 437 std::string line; local 672 std::string line; local [all...] |
/art/runtime/base/ |
H A D | logging.cc | 65 // Stash the command line for later use. We can use /proc/self/cmdline on Linux to recover this, 122 LogMessageData::LogMessageData(const char* file, int line, LogSeverity severity, int error) argument 124 line_number(line),
|
H A D | logging.h | 194 LogMessageData(const char* file, int line, LogSeverity severity, int error); 207 LogMessage(const char* file, int line, LogSeverity severity, int error) argument 208 : data_(new LogMessageData(file, line, severity, error)) { 301 // and the "-verbose:" command line argument.
|
/art/runtime/ |
H A D | profiler.cc | 719 // Read a single line into the given string. Returns true if everything OK, false 721 static bool ReadProfileLine(int fd, std::string& line) { argument 723 line.clear(); 732 line += buf[0]; 741 std::string line; local 743 // The first line contains summary information. 744 if (!ReadProfileLine(fd, line)) { 748 Split(line, '/', summary_info); 757 // Now read each line until the end of file. Each line consist 819 std::string line; local [all...] |
H A D | dex_file.cc | 713 // "line number == -2" is how libcore tells from StackTraceElement. 721 // A method with no line number info should return -1 764 uint32_t line = DecodeUnsignedLeb128(&stream); local 832 line += DecodeSignedLeb128(&stream); 910 line += DBG_LINE_BASE + (adjopcode % DBG_LINE_RANGE); 913 if (position_cb(context, address, line)) { 947 // The line number from the previous positions callback
|
/art/compiler/dex/quick/ |
H A D | resource_mask.cc | 53 // This should be a two-dimensions array, kSingleRegMasks[][32] and each line should be 62 // NOTE: Each line is 512B of constant data, 3KiB in total. 129 constexpr bool CheckTwoRegsMaskLine(size_t line, size_t lower = 0u) { argument 130 return (lower == line) || 131 (CheckTwoRegsMask(line, lower) && CheckTwoRegsMaskLine(line, lower + 1u));
|
H A D | codegen_util.cc | 40 std::string line(StringPrintf("\n %s %s%s_%s_table[%u] = {", table_name, 42 std::replace(line.begin(), line.end(), ';', '_'); 43 LOG(INFO) << line; 45 line = StringPrintf(" {0x%05x, 0x%04x},", first.NativePcOffset(), first.DexPc()); 47 LOG(INFO) << line;
|
/art/compiler/ |
H A D | common_compiler_test.cc | 79 std::string line; local 80 std::getline(in, line); 82 if (line.find("Features") != std::string::npos) { 83 if (line.find("idivt") != std::string::npos) {
|
/art/runtime/verifier/ |
H A D | method_verifier.cc | 1360 * Sanity check: retrieve the stored register line (assuming 1390 * down the line, possibly in the verifier. 1440 monitor_enter_dex_pcs_->clear(); // The new work line is more accurate than the previous one. 1490 // We need to ensure the work line is consistent while performing validation. When we spot a 1491 // peephole pattern we compute a new line for either the fallthrough instruction or the 2925 // needed. If the merge changes the state of the registers then the work line will be 4135 RegisterLine* line = reg_table_.GetLine(dex_pc); local 4136 DCHECK(line != nullptr) << "No register line at DEX pc " << StringPrintf("0x%x", dex_pc); 4138 for (size_t i = 0; i < line [all...] |