/art/tools/ |
D | cpplint.py | 916 def IsCppString(line): argument 929 line = line.replace(r'\\', 'XX') # after this, \\" does not match to \" 930 return ((line.count('"') - line.count(r'\"') - line.count("'\"'")) & 1) == 1 977 def CleanseComments(line): argument 986 commentpos = line.find('//') 987 if commentpos != -1 and not IsCppString(line[:commentpos]): 988 line = line[:commentpos].rstrip() 990 return _RE_PATTERN_CLEANSE_LINE_C_COMMENTS.sub('', line) 1038 def FindEndOfExpressionInLine(line, startpos, depth, startchar, endchar): argument 1051 for i in xrange(startpos, len(line)): [all …]
|
D | generate-operator-out.py | 33 def Confused(filename, line_number, line): argument 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: 120 m = _ENUM_VALUE_RE.search(line)
|
/art/compiler/dex/ |
D | verified_method.cc | 128 verifier::RegisterLine* line = method_verifier->GetRegLine(i); in GenerateGcMap() local 129 line->WriteReferenceBitMap(dex_gc_map_, ref_bitmap_bytes); in GenerateGcMap() 151 verifier::RegisterLine* line = method_verifier->GetRegLine(i); in VerifyGcMap() local 153 if (line->GetRegisterType(j).IsNonZeroReferenceTypes()) { in VerifyGcMap() 179 verifier::RegisterLine* line = method_verifier->GetRegLine(i); in ComputeGcMapSizes() local 180 max_ref_reg = line->GetMaxNonZeroReferenceReg(max_ref_reg); in ComputeGcMapSizes() 215 verifier::RegisterLine* line = method_verifier->GetRegLine(dex_pc); in GenerateDevirtMap() local 219 reg_type(line->GetRegisterType(is_range ? inst->VRegC_3rc() : inst->VRegC_35c())); in GenerateDevirtMap() 283 const verifier::RegisterLine* line = method_verifier->GetRegLine(dex_pc); in GenerateSafeCastSet() local 286 verifier::RegType& reg_type(line->GetRegisterType(inst->VRegA_21c())); in GenerateSafeCastSet() [all …]
|
/art/compiler/utils/ |
D | assembler_test.h | 247 std::string line = FindTool(GetAssemblerCmdName()); in GetAssemblerCommand() local 248 if (line.length() == 0) { in GetAssemblerCommand() 249 return line; in GetAssemblerCommand() 252 resolved_assembler_cmd_ = line + GetAssemblerParameters(); in GetAssemblerCommand() 254 return line; in GetAssemblerCommand() 274 std::string line = FindTool(GetObjdumpCmdName()); in GetObjdumpCommand() local 275 if (line.length() == 0) { in GetObjdumpCommand() 276 return line; in GetObjdumpCommand() 279 resolved_objdump_cmd_ = line + GetObjdumpParameters(); in GetObjdumpCommand() 281 return line; in GetObjdumpCommand() [all …]
|
/art/runtime/ |
D | profiler.cc | 721 static bool ReadProfileLine(int fd, std::string& line) { in ReadProfileLine() argument 723 line.clear(); in ReadProfileLine() 732 line += buf[0]; in ReadProfileLine() 741 std::string line; in ReadPrevious() local 744 if (!ReadProfileLine(fd, line)) { in ReadPrevious() 748 Split(line, '/', summary_info); in ReadPrevious() 759 if (!ReadProfileLine(fd, line)) { in ReadPrevious() 763 Split(line, '/', info); in ReadPrevious() 819 std::string line; in LoadFile() local 820 std::getline(in, line); in LoadFile() [all …]
|
D | dex_file.cc | 764 uint32_t line = DecodeUnsignedLeb128(&stream); in DecodeDebugInfo0() local 832 line += DecodeSignedLeb128(&stream); in DecodeDebugInfo0() 910 line += DBG_LINE_BASE + (adjopcode % DBG_LINE_RANGE); in DecodeDebugInfo0() 913 if (position_cb(context, address, line)) { in DecodeDebugInfo0()
|
/art/test/304-method-tracing/ |
D | info.txt | 1 Test method tracing from command-line.
|
/art/compiler/dex/quick/ |
D | resource_mask.cc | 129 constexpr bool CheckTwoRegsMaskLine(size_t line, size_t lower = 0u) { in CheckTwoRegsMaskLine() argument 130 return (lower == line) || in CheckTwoRegsMaskLine() 131 (CheckTwoRegsMask(line, lower) && CheckTwoRegsMaskLine(line, lower + 1u)); in CheckTwoRegsMaskLine()
|
D | codegen_util.cc | 40 std::string line(StringPrintf("\n %s %s%s_%s_table[%u] = {", table_name, in DumpMappingTable() local 42 std::replace(line.begin(), line.end(), ';', '_'); in DumpMappingTable() 43 LOG(INFO) << line; in DumpMappingTable() 45 line = StringPrintf(" {0x%05x, 0x%04x},", first.NativePcOffset(), first.DexPc()); in DumpMappingTable() 47 LOG(INFO) << line; in DumpMappingTable()
|
/art/runtime/base/ |
D | logging.cc | 122 LogMessageData::LogMessageData(const char* file, int line, LogSeverity severity, int error) in LogMessageData() argument 124 line_number(line), in LogMessageData()
|
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) in LogMessage() argument 208 : data_(new LogMessageData(file, line, severity, error)) { in LogMessage()
|
/art/compiler/ |
D | common_compiler_test.cc | 79 std::string line; in GuessInstructionFeatures() local 80 std::getline(in, line); in GuessInstructionFeatures() 82 if (line.find("Features") != std::string::npos) { in GuessInstructionFeatures() 83 if (line.find("idivt") != std::string::npos) { in GuessInstructionFeatures()
|
/art/runtime/verifier/ |
D | method_verifier.cc | 4135 RegisterLine* line = reg_table_.GetLine(dex_pc); in DescribeVRegs() local 4136 DCHECK(line != nullptr) << "No register line at DEX pc " << StringPrintf("0x%x", dex_pc); in DescribeVRegs() 4138 for (size_t i = 0; i < line->NumRegs(); ++i) { in DescribeVRegs() 4139 RegType& type = line->GetRegisterType(i); in DescribeVRegs()
|