/art/runtime/ |
D | runtime_common.cc | 137 void Dump(std::ostream& os) const; 139 void DumpRegister32(std::ostream& os, const char* name, uint32_t value) const; 140 void DumpRegister64(std::ostream& os, const char* name, uint64_t value) const; 142 void DumpX86Flags(std::ostream& os, uint32_t flags) const; 145 void DumpArmStatusRegister(std::ostream& os, RegisterType status_register) const; 150 void UContext::Dump(std::ostream& os) const { in Dump() 152 DumpRegister32(os, "eax", context->__ss.__eax); in Dump() 153 DumpRegister32(os, "ebx", context->__ss.__ebx); in Dump() 154 DumpRegister32(os, "ecx", context->__ss.__ecx); in Dump() 155 DumpRegister32(os, "edx", context->__ss.__edx); in Dump() [all …]
|
D | reflective_value_visitor.cc | 27 void HeapReflectiveSourceInfo::Describe(std::ostream& os) const { in Describe() 29 ReflectionSourceInfo::Describe(os); in Describe() 30 os << " Class=" << src_->GetClass()->PrettyClass(); in Describe() 34 void JniIdReflectiveSourceInfo<jfieldID>::Describe(std::ostream& os) const { in Describe() 35 ReflectionSourceInfo::Describe(os); in Describe() 36 os << " jfieldID=" << reinterpret_cast<uintptr_t>(id_); in Describe() 40 void JniIdReflectiveSourceInfo<jmethodID>::Describe(std::ostream& os) const { in Describe() 41 ReflectionSourceInfo::Describe(os); in Describe() 42 os << " jmethodID=" << reinterpret_cast<uintptr_t>(id_); in Describe() 45 void ReflectiveHandleScopeSourceInfo::Describe(std::ostream& os) const { in Describe() [all …]
|
D | native_stack_dump.cc | 84 static inline void WritePrefix(std::ostream& os, const char* prefix, bool odd) { in WritePrefix() argument 86 os << prefix; in WritePrefix() 88 os << " "; in WritePrefix() 90 os << " "; in WritePrefix() 159 std::ostream& os) { in Drain() argument 206 WritePrefix(os, prefix, (*pipe)->odd); in Drain() 211 os << tmp; in Drain() 217 os << tmp; in Drain() 234 std::ostream& os, in Addr2line() argument 253 Drain(0, prefix, pipe, os); in Addr2line() [all …]
|
D | java_frame_root_info.cc | 23 void JavaFrameRootInfo::Describe(std::ostream& os) const { in Describe() 26 os << "Type=" << GetType() << " thread_id=" << GetThreadId() << " location=" << in Describe() 29 os << "Unknown"; in Describe() 31 os << "imprecise"; in Describe() 33 os << "Proxy reference argument"; in Describe() 35 os << "method declaring class"; in Describe() 37 os << vreg_; in Describe()
|
D | signal_catcher.cc | 51 static void DumpCmdLine(std::ostream& os) { in DumpCmdLine() argument 61 os << "Cmd line: " << current_cmd_line << "\n"; in DumpCmdLine() 65 os << "Original command line: " << stashed_cmd_line << "\n"; in DumpCmdLine() 69 os << "Cmd line: " << GetCmdLine() << "\n"; in DumpCmdLine() 125 std::ostringstream os; in HandleSigQuit() local 126 os << "\n" in HandleSigQuit() 129 DumpCmdLine(os); in HandleSigQuit() 134 os << "Build fingerprint: '" << (fingerprint.empty() ? "unknown" : fingerprint) << "'\n"; in HandleSigQuit() 135 os << "ABI: '" << GetInstructionSetString(runtime->GetInstructionSet()) << "'\n"; in HandleSigQuit() 137 os << "Build type: " << (kIsDebugBuild ? "debug" : "optimized") << "\n"; in HandleSigQuit() [all …]
|
/art/test/ti-agent/ |
D | jvmti_helper.cc | 130 std::ostream& operator<<(std::ostream& os, const jvmtiError& rhs) { in operator <<() argument 133 return os << "NONE"; in operator <<() 135 return os << "INVALID_THREAD"; in operator <<() 137 return os << "INVALID_THREAD_GROUP"; in operator <<() 139 return os << "INVALID_PRIORITY"; in operator <<() 141 return os << "THREAD_NOT_SUSPENDED"; in operator <<() 143 return os << "THREAD_SUSPENDED"; in operator <<() 145 return os << "THREAD_NOT_ALIVE"; in operator <<() 147 return os << "INVALID_OBJECT"; in operator <<() 149 return os << "INVALID_CLASS"; in operator <<() [all …]
|
/art/runtime/arch/arm64/ |
D | registers_arm64.cc | 38 std::ostream& operator<<(std::ostream& os, const XRegister& rhs) { in operator <<() argument 40 os << kRegisterNames[rhs]; in operator <<() 42 os << "XRegister[" << static_cast<int>(rhs) << "]"; in operator <<() 44 return os; in operator <<() 47 std::ostream& operator<<(std::ostream& os, const WRegister& rhs) { in operator <<() argument 49 os << kWRegisterNames[rhs]; in operator <<() 51 os << "WRegister[" << static_cast<int>(rhs) << "]"; in operator <<() 53 return os; in operator <<() 56 std::ostream& operator<<(std::ostream& os, const DRegister& rhs) { in operator <<() argument 58 os << "d" << static_cast<int>(rhs); in operator <<() [all …]
|
/art/runtime/arch/riscv64/ |
D | registers_riscv64.cc | 39 std::ostream& operator<<(std::ostream& os, const XRegister& rhs) { in operator <<() argument 41 os << kXRegisterNames[rhs]; in operator <<() 43 os << "XRegister[" << static_cast<int>(rhs) << "]"; in operator <<() 45 return os; in operator <<() 48 std::ostream& operator<<(std::ostream& os, const FRegister& rhs) { in operator <<() argument 50 os << kFRegisterNames[rhs]; in operator <<() 52 os << "FRegister[" << static_cast<int>(rhs) << "]"; in operator <<() 54 return os; in operator <<() 57 std::ostream& operator<<(std::ostream& os, const VRegister& rhs) { in operator <<() argument 59 os << kVRegisterNames[rhs]; in operator <<() [all …]
|
/art/libdexfile/dex/ |
D | dex_instruction.cc | 148 std::ostringstream os; in DumpHex() local 151 os << StringPrintf("0x%04x", insn[i]) << " "; in DumpHex() 154 os << " "; in DumpHex() 156 return os.str(); in DumpHex() 164 std::ostringstream os; in DumpHexLE() local 167 os << StringPrintf("%02x%02x", static_cast<uint8_t>(insn[i] & 0x00FF), in DumpHexLE() 171 os << " "; in DumpHexLE() 173 return os.str(); in DumpHexLE() 177 std::ostringstream os; in DumpString() local 180 case k10x: os << opcode; break; in DumpString() [all …]
|
/art/tools/ |
D | generate_cmake_lists.py | 38 import os 43 path_to_top = os.environ.get('ANDROID_BUILD_TOP') 46 this_file_path = os.path.realpath(__file__) 47 path_to_top = os.path.join(os.path.dirname(this_file_path), '../..') 48 path_to_top = os.path.realpath(path_to_top) 50 if not os.path.exists(os.path.join(path_to_top, 'build/envsetup.sh')): 67 os.environ['SOONG_GEN_CMAKEFILES']='1' 68 os.environ['SOONG_GEN_CMAKEFILES_DEBUG']='1' 74 out_art_cmakelists_dir = os.path.join(ANDROID_BUILD_TOP, 79 for root, dirs, files in os.walk(out_art_cmakelists_dir): [all …]
|
D | compile-jar.py | 25 import os 26 import os.path 39 default=os.path.expandvars("$ANDROID_HOST_OUT/bin/dex2oatd64"), 50 default=os.path.expandvars("$ANDROID_HOST_OUT/bin/profmand"), 106 os.path.expandvars( 117 os.path.expandvars( 138 os.path.expandvars( 155 return "/proc/{}/fd/{}".format(os.getpid(), fd) 174 os.set_inheritable(prof_out_fd, True) 176 prof_out_fd = os.memfd_create("reference_prof", flags=0) [all …]
|
/art/test/testrunner/ |
D | env.py | 15 import os 21 _THIS_DIR = os.path.dirname(os.path.realpath(__file__)) 22 _TOP = os.path.join(_THIS_DIR, "../../..") 23 _VAR_CACHE_DIR = os.path.join(_TOP, "art/tools/build/") 30 _env = dict(os.environ) 60 this_file_path = os.path.realpath(__file__) 61 path_to_top = os.path.join(os.path.dirname(this_file_path), '../../../') 62 path_to_top = os.path.realpath(path_to_top) 64 if not os.path.exists(os.path.join(path_to_top, 'build/envsetup.sh')): 132 HOST_OUT_EXECUTABLES = os.path.join(ANDROID_BUILD_TOP, [all …]
|
/art/compiler/utils/arm/ |
D | managed_register_arm.cc | 75 void ArmManagedRegister::Print(std::ostream& os) const { in Print() 77 os << "No Register"; in Print() 79 os << "Core: " << static_cast<int>(AsCoreRegister()); in Print() 81 os << "Pair: " << static_cast<int>(AsRegisterPairLow()) << ", " in Print() 84 os << "SRegister: " << static_cast<int>(AsSRegister()); in Print() 86 os << "DRegister: " << static_cast<int>(AsDRegister()); in Print() 88 os << "??: " << RegId(); in Print() 92 std::ostream& operator<<(std::ostream& os, const ArmManagedRegister& reg) { in operator <<() argument 93 reg.Print(os); in operator <<() 94 return os; in operator <<() [all …]
|
/art/runtime/arch/x86_64/ |
D | registers_x86_64.cc | 28 std::ostream& operator<<(std::ostream& os, const Register& rhs) { in operator <<() argument 30 os << kRegisterNames[rhs]; in operator <<() 32 os << "Register[" << static_cast<int>(rhs) << "]"; in operator <<() 34 return os; in operator <<() 37 std::ostream& operator<<(std::ostream& os, const FloatRegister& rhs) { in operator <<() argument 39 os << "xmm" << static_cast<int>(rhs); in operator <<() 41 os << "Register[" << static_cast<int>(rhs) << "]"; in operator <<() 43 return os; in operator <<()
|
/art/runtime/arch/arm/ |
D | registers_arm.cc | 28 std::ostream& operator<<(std::ostream& os, const Register& rhs) { in operator <<() argument 30 os << kRegisterNames[rhs]; in operator <<() 32 os << "Register[" << static_cast<int>(rhs) << "]"; in operator <<() 34 return os; in operator <<() 37 std::ostream& operator<<(std::ostream& os, const SRegister& rhs) { in operator <<() argument 39 os << "s" << static_cast<int>(rhs); in operator <<() 41 os << "SRegister[" << static_cast<int>(rhs) << "]"; in operator <<() 43 return os; in operator <<()
|
/art/compiler/utils/riscv64/ |
D | managed_register_riscv64.cc | 34 void Riscv64ManagedRegister::Print(std::ostream& os) const { in Print() 36 os << "No Register"; in Print() 38 os << "XRegister: " << static_cast<int>(AsXRegister()); in Print() 40 os << "FRegister: " << static_cast<int>(AsFRegister()); in Print() 42 os << "??: " << RegId(); in Print() 46 std::ostream& operator<<(std::ostream& os, const Riscv64ManagedRegister& reg) { in operator <<() argument 47 reg.Print(os); in operator <<() 48 return os; in operator <<()
|
/art/compiler/utils/x86/ |
D | managed_register_x86.cc | 53 std::ostream& operator<<(std::ostream& os, const RegisterPair& reg) { in operator <<() argument 55 os << "kNoRegisterPair"; in operator <<() 57 os << X86ManagedRegister::FromRegisterPair(reg); in operator <<() 59 return os; in operator <<() 98 void X86ManagedRegister::Print(std::ostream& os) const { in Print() 100 os << "No Register"; in Print() 102 os << "XMM: " << AsXmmRegister(); in Print() 104 os << "X87: " << AsX87Register(); in Print() 106 os << "CPU: " << AsCpuRegister(); in Print() 108 os << "Pair: " << AsRegisterPairLow() << ", " << AsRegisterPairHigh(); in Print() [all …]
|
/art/compiler/utils/arm64/ |
D | managed_register_arm64.cc | 86 void Arm64ManagedRegister::Print(std::ostream& os) const { in Print() 88 os << "No Register"; in Print() 90 os << "XCore: " << static_cast<int>(AsXRegister()); in Print() 92 os << "WCore: " << static_cast<int>(AsWRegister()); in Print() 94 os << "DRegister: " << static_cast<int>(AsDRegister()); in Print() 96 os << "SRegister: " << static_cast<int>(AsSRegister()); in Print() 98 os << "??: " << RegId(); in Print() 102 std::ostream& operator<<(std::ostream& os, const Arm64ManagedRegister& reg) { in operator <<() argument 103 reg.Print(os); in operator <<() 104 return os; in operator <<()
|
/art/compiler/utils/x86_64/ |
D | managed_register_x86_64.cc | 52 std::ostream& operator<<(std::ostream& os, const RegisterPair& reg) { in operator <<() argument 53 os << X86_64ManagedRegister::FromRegisterPair(reg); in operator <<() 54 return os; in operator <<() 93 void X86_64ManagedRegister::Print(std::ostream& os) const { in Print() 95 os << "No Register"; in Print() 97 os << "XMM: " << static_cast<int>(AsXmmRegister().AsFloatRegister()); in Print() 99 os << "X87: " << static_cast<int>(AsX87Register()); in Print() 101 os << "CPU: " << static_cast<int>(AsCpuRegister().AsRegister()); in Print() 103 os << "Pair: " << AsRegisterPairLow() << ", " << AsRegisterPairHigh(); in Print() 105 os << "??: " << RegId(); in Print() [all …]
|
/art/tools/dexanalyze/ |
D | dexanalyze_experiments.cc | 188 void AnalyzeDebugInfo::Dump(std::ostream& os, uint64_t total_size) const { in Dump() argument 189 os << "Debug info bytes " << Percent(total_bytes_, total_size) << "\n"; in Dump() 191 os << " DBG_END_SEQUENCE: " << Percent(total_end_seq_bytes_, total_size) << "\n"; in Dump() 192 os << " DBG_ADVANCE_PC: " << Percent(total_advance_pc_bytes_, total_size) << "\n"; in Dump() 193 os << " DBG_ADVANCE_LINE: " << Percent(total_advance_line_bytes_, total_size) << "\n"; in Dump() 194 os << " DBG_START_LOCAL: " << Percent(total_start_local_bytes_, total_size) << "\n"; in Dump() 195 os << " DBG_START_LOCAL_EXTENDED: " in Dump() 197 os << " DBG_END_LOCAL: " << Percent(total_end_local_bytes_, total_size) << "\n"; in Dump() 198 os << " DBG_RESTART_LOCAL: " << Percent(total_restart_local_bytes_, total_size) << "\n"; in Dump() 199 os << " DBG_SET_PROLOGUE bytes " << Percent(total_epilogue_bytes_, total_size) << "\n"; in Dump() [all …]
|
/art/disassembler/ |
D | disassembler_arm.cc | 45 CustomDisassemblerStream(std::ostream& os, in CustomDisassemblerStream() argument 48 : DisassemblerStream(os), disasm_(disasm), options_(options) {} in CustomDisassemblerStream() 67 os() << "[pc, #" << offset << "]"; in operator <<() 82 os() << " ; "; in operator <<() 83 options_->thread_offset_name_function_(os(), imm12); in operator <<() 94 os() << "tr"; in operator <<() 108 os() << " ; "; in operator <<() 109 options_->thread_offset_name_function_(os(), operand.GetOffsetImmediate()); in operator <<() 130 CustomDisassembler(std::ostream& os, const DisassemblerOptions* options) in CustomDisassembler() argument 132 disassembler_stream_(os, this, options), in CustomDisassembler() [all …]
|
/art/tools/build/ |
D | var_cache.py | 44 import os 75 _THIS_DIR = os.path.dirname(os.path.realpath(__file__)) 76 _TOP = os.path.join(_THIS_DIR, "../../..") 77 _VAR_LIST_PATH = os.path.join(_THIS_DIR, "var_list") 78 _SOONG_UI_SCRIPT = os.path.join(_TOP, "build/soong/soong_ui.bash") 82 if os.environ.get('ART_TOOLS_BUILD_VAR_CACHE'): 106 os.environb[b'ART_TOOLS_BUILD_VAR_CACHE'] = var_values 123 for line in os.environ['ART_TOOLS_BUILD_VAR_CACHE'].splitlines(): 144 print(os.environ['ART_TOOLS_BUILD_VAR_CACHE'])
|
/art/test/utils/ |
D | regen-test-files | 28 import os 36 ME = os.path.basename(sys.argv[0]) 374 self.art_dir = os.path.join(top_dir, "art") 376 self.art_test_dir = os.path.join(self.art_dir, "test") 378 self.mts_config_dir = os.path.join( 383 for run_test in os.listdir(self.art_test_dir) 388 run_test_path = os.path.join(self.art_test_dir, run_test) 389 metadata_file = os.path.join(run_test_path, "test-metadata.json") 391 if os.path.exists(metadata_file): 422 run_test_path = os.path.join(self.art_test_dir, run_test) [all …]
|
/art/dexdump/ |
D | dexdump_cfg.cc | 36 void DumpMethodCFG(const ClassAccessor::Method& method, std::ostream& os) { in DumpMethodCFG() argument 38 os << "digraph {\n"; in DumpMethodCFG() 39 os << " # /* " << dex_file->PrettyMethod(method.GetIndex(), true) << " */\n"; in DumpMethodCFG() 87 os << "}\"];\n"; in DumpMethodCFG() 90 os << " node" << id << " [shape=record,label=\"{"; in DumpMethodCFG() 101 os << " | "; in DumpMethodCFG() 107 os << "<" << "p" << dex_pc << ">"; in DumpMethodCFG() 108 os << " 0x" << std::hex << dex_pc << std::dec << ": "; in DumpMethodCFG() 115 os << inst_str.substr(cur_start, inst_str.size() - cur_start); in DumpMethodCFG() 118 os << inst_str.substr(cur_start, next_escape - cur_start); in DumpMethodCFG() [all …]
|
/art/imgdiag/ |
D | page_info.cc | 85 void DumpPageInfo(uint64_t virtual_page_index, ProcFiles& proc_files, std::ostream& os, in DumpPageInfo() argument 88 os << "Virtual page index: " << virtual_page_index << "\n"; in DumpPageInfo() 89 os << "Virtual page addr: " << virtual_page_addr << "\n"; in DumpPageInfo() 95 os << "Failed to get page frame number: " << error_msg << "\n"; in DumpPageInfo() 98 os << "Page frame number: " << page_frame_number << "\n"; in DumpPageInfo() 105 os << "Failed to get page count: " << error_msg << "\n"; in DumpPageInfo() 108 os << "kpagecount: " << page_count << "\n"; in DumpPageInfo() 115 os << "Failed to get page flags: " << error_msg << "\n"; in DumpPageInfo() 118 os << "kpageflags: " << page_flags << "\n"; in DumpPageInfo() 123 os << "Failed to read page contents\n"; in DumpPageInfo() [all …]
|