Home
last modified time | relevance | path

Searched refs:os (Results 1 – 25 of 160) sorted by relevance

1234567

/art/runtime/
Druntime_linux.cc35 void Dump(std::ostream& os) { in Dump()
36 DumpNativeStack(os, GetTid(), "\t"); in Dump()
41 void Dump(std::ostream& os) { in Dump()
46 os << info.sysname << " " << info.release << " (" << info.machine << ")"; in Dump()
137 void Dump(std::ostream& os) { in Dump()
140 DumpRegister32(os, "eax", context->__ss.__eax); in Dump()
141 DumpRegister32(os, "ebx", context->__ss.__ebx); in Dump()
142 DumpRegister32(os, "ecx", context->__ss.__ecx); in Dump()
143 DumpRegister32(os, "edx", context->__ss.__edx); in Dump()
144 os << '\n'; in Dump()
[all …]
Ddex_instruction.cc125 std::ostringstream os; in DumpHex() local
128 os << StringPrintf("0x%04x", insn[i]) << " "; in DumpHex()
131 os << " "; in DumpHex()
133 return os.str(); in DumpHex()
137 std::ostringstream os; in DumpString() local
140 case k10x: os << opcode; break; in DumpString()
141 case k12x: os << StringPrintf("%s v%d, v%d", opcode, VRegA_12x(), VRegB_12x()); break; in DumpString()
142 case k11n: os << StringPrintf("%s v%d, #%+d", opcode, VRegA_11n(), VRegB_11n()); break; in DumpString()
143 case k11x: os << StringPrintf("%s v%d", opcode, VRegA_11x()); break; in DumpString()
144 case k10t: os << StringPrintf("%s %+d", opcode, VRegA_10t()); break; in DumpString()
[all …]
Dreference_table.cc112 static void DumpSummaryLine(std::ostream& os, mirror::Object* obj, size_t element_count, in DumpSummaryLine() argument
116 os << " NULL reference (count=" << equiv << ")\n"; in DumpSummaryLine()
120 os << " cleared jweak (count=" << equiv << ")\n"; in DumpSummaryLine()
139 os << " " << msg << "\n"; in DumpSummaryLine()
146 void ReferenceTable::Dump(std::ostream& os) { in Dump() argument
147 os << name_ << " reference table dump:\n"; in Dump()
148 Dump(os, entries_); in Dump()
151 void ReferenceTable::Dump(std::ostream& os, Table& entries) { in Dump() argument
153 os << " (empty)\n"; in Dump()
164 os << " Last " << (count - first) << " entries (of " << count << "):\n"; in Dump()
[all …]
Dsignal_catcher.cc42 static void DumpCmdLine(std::ostream& os) { in DumpCmdLine() argument
52 os << "Cmd line: " << current_cmd_line << "\n"; in DumpCmdLine()
56 os << "Original command line: " << stashed_cmd_line << "\n"; in DumpCmdLine()
60 os << "Cmd line: " << GetCmdLine() << "\n"; in DumpCmdLine()
138 std::ostringstream os; in HandleSigQuit() local
139 os << "\n" in HandleSigQuit()
142 DumpCmdLine(os); in HandleSigQuit()
145 os << "ABI: " << GetInstructionSetString(runtime->GetInstructionSet()) << "\n"; in HandleSigQuit()
147 os << "Build type: " << (kIsDebugBuild ? "debug" : "optimized") << "\n"; in HandleSigQuit()
149 runtime->DumpForSigQuit(os); in HandleSigQuit()
[all …]
Dprimitive.cc33 std::ostream& operator<<(std::ostream& os, const Primitive::Type& type) { in operator <<() argument
36 os << kTypeNames[int_type]; in operator <<()
38 os << "Type[" << int_type << "]"; in operator <<()
40 return os; in operator <<()
/art/runtime/arch/arm64/
Dregisters_arm64.cc38 std::ostream& operator<<(std::ostream& os, const Register& 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/oatdump/
Doatdump.cc162 bool Dump(std::ostream& os) { in Dump() argument
166 os << "MAGIC:\n"; in Dump()
167 os << oat_header.GetMagic() << "\n\n"; in Dump()
169 os << "CHECKSUM:\n"; in Dump()
170 os << StringPrintf("0x%08x\n\n", oat_header.GetChecksum()); in Dump()
172 os << "INSTRUCTION SET:\n"; in Dump()
173 os << oat_header.GetInstructionSet() << "\n\n"; in Dump()
175 os << "INSTRUCTION SET FEATURES:\n"; in Dump()
176 os << oat_header.GetInstructionSetFeatures().GetFeatureString() << "\n\n"; in Dump()
178 os << "DEX FILE COUNT:\n"; in Dump()
[all …]
/art/compiler/utils/mips/
Dmanaged_register_mips.cc76 void MipsManagedRegister::Print(std::ostream& os) const { in Print()
78 os << "No Register"; in Print()
80 os << "Core: " << static_cast<int>(AsCoreRegister()); in Print()
82 os << "Pair: " << AsRegisterPairLow() << ", " << AsRegisterPairHigh(); in Print()
84 os << "FRegister: " << static_cast<int>(AsFRegister()); in Print()
86 os << "DRegister: " << static_cast<int>(AsDRegister()); in Print()
88 os << "??: " << RegId(); in Print()
92 std::ostream& operator<<(std::ostream& os, const MipsManagedRegister& reg) { in operator <<() argument
93 reg.Print(os); in operator <<()
94 return os; in operator <<()
[all …]
/art/compiler/utils/arm/
Dmanaged_register_arm.cc75 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/mips/
Dregisters_mips.cc30 std::ostream& operator<<(std::ostream& os, const Register& rhs) { in operator <<() argument
32 os << kRegisterNames[rhs]; in operator <<()
34 os << "Register[" << static_cast<int>(rhs) << "]"; in operator <<()
36 return os; in operator <<()
39 std::ostream& operator<<(std::ostream& os, const FRegister& rhs) { in operator <<() argument
41 os << "f" << static_cast<int>(rhs); in operator <<()
43 os << "FRegister[" << static_cast<int>(rhs) << "]"; in operator <<()
45 return os; in operator <<()
/art/runtime/arch/arm/
Dregisters_arm.cc28 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/runtime/arch/x86_64/
Dregisters_x86_64.cc28 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/compiler/utils/x86/
Dmanaged_register_x86.cc53 std::ostream& operator<<(std::ostream& os, const RegisterPair& reg) { in operator <<() argument
54 os << X86ManagedRegister::FromRegisterPair(reg); in operator <<()
55 return os; in operator <<()
94 void X86ManagedRegister::Print(std::ostream& os) const { in Print()
96 os << "No Register"; in Print()
98 os << "XMM: " << AsXmmRegister(); in Print()
100 os << "X87: " << AsX87Register(); in Print()
102 os << "CPU: " << AsCpuRegister(); in Print()
104 os << "Pair: " << AsRegisterPairLow() << ", " << AsRegisterPairHigh(); in Print()
106 os << "??: " << RegId(); in Print()
[all …]
/art/compiler/utils/x86_64/
Dmanaged_register_x86_64.cc52 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/compiler/utils/arm64/
Dmanaged_register_arm64.cc94 void Arm64ManagedRegister::Print(std::ostream& os) const { in Print()
96 os << "No Register"; in Print()
98 os << "XCore: " << static_cast<int>(AsCoreRegister()); in Print()
100 os << "WCore: " << static_cast<int>(AsWRegister()); in Print()
102 os << "DRegister: " << static_cast<int>(AsDRegister()); in Print()
104 os << "SRegister: " << static_cast<int>(AsSRegister()); in Print()
106 os << "??: " << RegId(); in Print()
110 std::ostream& operator<<(std::ostream& os, const Arm64ManagedRegister& reg) { in operator <<() argument
111 reg.Print(os); in operator <<()
112 return os; in operator <<()
/art/disassembler/
Ddisassembler_arm.h31 size_t Dump(std::ostream& os, const uint8_t* begin) OVERRIDE;
32 void Dump(std::ostream& os, const uint8_t* begin, const uint8_t* end) OVERRIDE;
35 void DumpArm(std::ostream& os, const uint8_t* instr);
38 size_t DumpThumb16(std::ostream& os, const uint8_t* instr);
39 size_t DumpThumb32(std::ostream& os, const uint8_t* instr_ptr);
41 void DumpBranchTarget(std::ostream& os, const uint8_t* instr_ptr, int32_t imm32);
42 void DumpCond(std::ostream& os, uint32_t cond);
43 void DumpMemoryDomain(std::ostream& os, uint32_t domain);
Ddisassembler_x86.cc29 size_t DisassemblerX86::Dump(std::ostream& os, const uint8_t* begin) { in Dump() argument
30 return DumpInstruction(os, begin); in Dump()
33 void DisassemblerX86::Dump(std::ostream& os, const uint8_t* begin, const uint8_t* end) { in Dump() argument
36 length = DumpInstruction(os, cur); in Dump()
66 static void DumpReg0(std::ostream& os, uint8_t rex, size_t reg, in DumpReg0() argument
71 os << ((rex == 0) ? gReg8Names[reg] : gExtReg8Names[reg]); in DumpReg0()
73 os << gReg64Names[reg]; in DumpReg0()
75 os << gReg16Names[reg]; in DumpReg0()
77 os << gReg32Names[reg]; in DumpReg0()
83 static void DumpAnyReg(std::ostream& os, uint8_t rex, size_t reg, in DumpAnyReg() argument
[all …]
Ddisassembler_arm.cc30 size_t DisassemblerArm::Dump(std::ostream& os, const uint8_t* begin) { in Dump() argument
32 DumpArm(os, begin); in Dump()
37 return DumpThumb16(os, begin); in Dump()
41 void DisassemblerArm::Dump(std::ostream& os, const uint8_t* begin, const uint8_t* end) { in Dump() argument
44 DumpArm(os, cur); in Dump()
51 cur += DumpThumb16(os, cur); in Dump()
75 void DisassemblerArm::DumpCond(std::ostream& os, uint32_t cond) { in DumpCond() argument
77 os << kConditionCodeNames[cond]; in DumpCond()
79 os << "Unexpected condition: " << cond; in DumpCond()
83 void DisassemblerArm::DumpMemoryDomain(std::ostream& os, uint32_t domain) { in DumpMemoryDomain() argument
[all …]
Ddisassembler_arm64.cc34 size_t DisassemblerArm64::Dump(std::ostream& os, const uint8_t* begin) { in Dump() argument
37 os << FormatInstructionPointer(begin) in Dump()
42 void DisassemblerArm64::Dump(std::ostream& os, const uint8_t* begin, const uint8_t* end) { in Dump() argument
44 Dump(os, cur); in Dump()
/art/runtime/jdwp/
Djdwp_constants.h90 std::ostream& operator<<(std::ostream& os, const JdwpError& value);
102 std::ostream& operator<<(std::ostream& os, const JdwpClassStatus& value);
132 std::ostream& operator<<(std::ostream& os, const JdwpEventKind& value);
151 std::ostream& operator<<(std::ostream& os, const JdwpModKind& value);
160 std::ostream& operator<<(std::ostream& os, const JdwpInvokeOptions& value);
170 std::ostream& operator<<(std::ostream& os, const JdwpStepDepth& value);
179 std::ostream& operator<<(std::ostream& os, const JdwpStepSize& value);
189 std::ostream& operator<<(std::ostream& os, const JdwpSuspendPolicy& value);
198 std::ostream& operator<<(std::ostream& os, const JdwpSuspendStatus& value);
210 std::ostream& operator<<(std::ostream& os, const JdwpThreadStatus& value);
[all …]
/art/runtime/base/
Dstl_util.h83 std::ostringstream os; in ToString() local
84 os << "["; in ToString()
86 os << v[i]; in ToString()
88 os << ", "; in ToString()
91 os << "]"; in ToString()
92 return os.str(); in ToString()
Dtiming_logger.cc86 void CumulativeLogger::Dump(std::ostream &os) const { in Dump()
88 DumpHistogram(os); in Dump()
116 void CumulativeLogger::DumpHistogram(std::ostream &os) const { in DumpHistogram()
117 os << "Start Dumping histograms for " << iterations_ << " iterations" in DumpHistogram()
125 histogram->PrintConfidenceIntervals(os, 0.99, cumulative_data); in DumpHistogram()
127 os << "Done Dumping histograms \n"; in DumpHistogram()
195 void TimingLogger::Dump(std::ostream &os, const char* indent_string) const { in Dump() argument
208 os << name_ << " [Exclusive time] [Total time]\n"; in Dump()
219 os << indent_string; in Dump()
221 os << FormatDuration(exclusive_time, tu, kFractionalDigits); in Dump()
[all …]
Dhex_dump.h37 void Dump(std::ostream& os) const;
48 inline std::ostream& operator<<(std::ostream& os, const HexDump& rhs) {
49 rhs.Dump(os);
50 return os;
Dlogging.h238 void Dump(std::ostream& os) const { in Dump() argument
239 value_.Dump(os); in Dump()
249 std::ostream& operator<<(std::ostream& os, const Dumpable<T>& rhs) {
250 rhs.Dump(os);
251 return os;
260 void Dump(std::ostream& os) const { in Dump() argument
261 value_.Dump(os); in Dump()
271 std::ostream& operator<<(std::ostream& os, const ConstDumpable<T>& rhs) {
272 rhs.Dump(os);
273 return os;
[all …]
/art/runtime/arch/x86/
Dregisters_x86.cc27 std::ostream& operator<<(std::ostream& os, const Register& rhs) { in operator <<() argument
29 os << kRegisterNames[rhs]; in operator <<()
31 os << "Register[" << static_cast<int>(rhs) << "]"; in operator <<()
33 return os; in operator <<()

1234567