Home
last modified time | relevance | path

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

12345678910

/art/runtime/
Druntime_linux.cc44 void Dump(std::ostream& os) const { in Dump()
45 DumpNativeStack(os, GetTid(), nullptr, "\t", nullptr, raw_context_); in Dump()
55 void Dump(std::ostream& os) const { in Dump()
60 os << info.sysname << " " << info.release << " (" << info.machine << ")"; in Dump()
156 void Dump(std::ostream& os) const { in Dump()
159 DumpRegister32(os, "eax", context->__ss.__eax); in Dump()
160 DumpRegister32(os, "ebx", context->__ss.__ebx); in Dump()
161 DumpRegister32(os, "ecx", context->__ss.__ecx); in Dump()
162 DumpRegister32(os, "edx", context->__ss.__edx); in Dump()
163 os << '\n'; in Dump()
[all …]
Ddex_instruction.cc134 std::ostringstream os; in DumpHex() local
137 os << StringPrintf("0x%04x", insn[i]) << " "; in DumpHex()
140 os << " "; in DumpHex()
142 return os.str(); in DumpHex()
150 std::ostringstream os; in DumpHexLE() local
153 os << StringPrintf("%02x%02x", static_cast<uint8_t>(insn[i] & 0x00FF), in DumpHexLE()
157 os << " "; in DumpHexLE()
159 return os.str(); in DumpHexLE()
163 std::ostringstream os; in DumpString() local
166 case k10x: os << opcode; break; in DumpString()
[all …]
Dsignal_catcher.cc45 static void DumpCmdLine(std::ostream& os) { in DumpCmdLine() argument
55 os << "Cmd line: " << current_cmd_line << "\n"; in DumpCmdLine()
59 os << "Original command line: " << stashed_cmd_line << "\n"; in DumpCmdLine()
63 os << "Cmd line: " << GetCmdLine() << "\n"; in DumpCmdLine()
130 std::ostringstream os; in HandleSigQuit() local
131 os << "\n" in HandleSigQuit()
134 DumpCmdLine(os); in HandleSigQuit()
139 os << "Build fingerprint: '" << (fingerprint.empty() ? "unknown" : fingerprint) << "'\n"; in HandleSigQuit()
140 os << "ABI: '" << GetInstructionSetString(runtime->GetInstructionSet()) << "'\n"; in HandleSigQuit()
142 os << "Build type: " << (kIsDebugBuild ? "debug" : "optimized") << "\n"; in HandleSigQuit()
[all …]
Dreference_table.cc79 static void DumpSummaryLine(std::ostream& os, mirror::Object* obj, size_t element_count, in DumpSummaryLine() argument
83 os << " null reference (count=" << equiv << ")\n"; in DumpSummaryLine()
87 os << " cleared jweak (count=" << equiv << ")\n"; in DumpSummaryLine()
106 os << " " << msg << "\n"; in DumpSummaryLine()
113 void ReferenceTable::Dump(std::ostream& os) { in Dump() argument
114 os << name_ << " reference table dump:\n"; in Dump()
115 Dump(os, entries_); in Dump()
118 void ReferenceTable::Dump(std::ostream& os, Table& entries) { in Dump() argument
152 os << " (empty)\n"; in Dump()
163 os << " Last " << (count - first) << " entries (of " << count << "):\n"; in Dump()
[all …]
/art/runtime/arch/arm64/
Dregisters_arm64.cc38 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/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/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/runtime/arch/mips64/
Dregisters_mips64.cc31 std::ostream& operator<<(std::ostream& os, const GpuRegister& rhs) { in operator <<() argument
33 os << kRegisterNames[rhs]; in operator <<()
35 os << "GpuRegister[" << static_cast<int>(rhs) << "]"; in operator <<()
37 return os; in operator <<()
40 std::ostream& operator<<(std::ostream& os, const FpuRegister& rhs) { in operator <<() argument
42 os << "f" << static_cast<int>(rhs); in operator <<()
44 os << "FpuRegister[" << static_cast<int>(rhs) << "]"; in operator <<()
46 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/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/compiler/utils/mips64/
Dmanaged_register_mips64.cc32 void Mips64ManagedRegister::Print(std::ostream& os) const { in Print()
34 os << "No Register"; in Print()
36 os << "GPU: " << static_cast<int>(AsGpuRegister()); in Print()
38 os << "FpuRegister: " << static_cast<int>(AsFpuRegister()); in Print()
40 os << "??: " << RegId(); in Print()
44 std::ostream& operator<<(std::ostream& os, const Mips64ManagedRegister& reg) { in operator <<() argument
45 reg.Print(os); in operator <<()
46 return os; in operator <<()
/art/compiler/utils/x86/
Dmanaged_register_x86.cc53 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/
Dmanaged_register_arm64.cc86 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/
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/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);
/art/compiler/optimizing/
Dnodes_arm64.cc67 std::ostream& operator<<(std::ostream& os, const HArm64DataProcWithShifterOp::OpKind op) { in operator <<() argument
69 case HArm64DataProcWithShifterOp::kLSL: return os << "LSL"; in operator <<()
70 case HArm64DataProcWithShifterOp::kLSR: return os << "LSR"; in operator <<()
71 case HArm64DataProcWithShifterOp::kASR: return os << "ASR"; in operator <<()
72 case HArm64DataProcWithShifterOp::kUXTB: return os << "UXTB"; in operator <<()
73 case HArm64DataProcWithShifterOp::kUXTH: return os << "UXTH"; in operator <<()
74 case HArm64DataProcWithShifterOp::kUXTW: return os << "UXTW"; in operator <<()
75 case HArm64DataProcWithShifterOp::kSXTB: return os << "SXTB"; in operator <<()
76 case HArm64DataProcWithShifterOp::kSXTH: return os << "SXTH"; in operator <<()
77 case HArm64DataProcWithShifterOp::kSXTW: return os << "SXTW"; in operator <<()
/art/imgdiag/
Dimgdiag.cc51 explicit ImgDiagDumper(std::ostream* os, in ImgDiagDumper() argument
56 : os_(os), in ImgDiagDumper()
63 std::ostream& os = *os_; in Dump() local
64 os << "IMAGE LOCATION: " << image_location_ << "\n\n"; in Dump()
66 os << "MAGIC: " << image_header_.GetMagic() << "\n\n"; in Dump()
68 os << "IMAGE BEGIN: " << reinterpret_cast<void*>(image_header_.GetImageBegin()) << "\n\n"; in Dump()
72 os << "IMAGE DIFF PID (" << image_diff_pid_ << "): "; in Dump()
74 os << "\n\n"; in Dump()
76 os << "IMAGE DIFF PID: disabled\n\n"; in Dump()
79 os << std::flush; in Dump()
[all …]
/art/compiler/linker/
Doutput_stream.cc21 std::ostream& operator<<(std::ostream& os, const Whence& rhs) { in operator <<() argument
23 case kSeekSet: os << "SEEK_SET"; break; in operator <<()
24 case kSeekCurrent: os << "SEEK_CUR"; break; in operator <<()
25 case kSeekEnd: os << "SEEK_END"; break; in operator <<()
28 return os; in operator <<()
/art/oatdump/
Doatdump.cc354 bool Dump(std::ostream& os) { in Dump() argument
358 os << "MAGIC:\n"; in Dump()
359 os << oat_header.GetMagic() << "\n\n"; in Dump()
361 os << "LOCATION:\n"; in Dump()
362 os << oat_file_.GetLocation() << "\n\n"; in Dump()
364 os << "CHECKSUM:\n"; in Dump()
365 os << StringPrintf("0x%08x\n\n", oat_header.GetChecksum()); in Dump()
367 os << "INSTRUCTION SET:\n"; in Dump()
368 os << oat_header.GetInstructionSet() << "\n\n"; in Dump()
374 os << "INSTRUCTION SET FEATURES:\n"; in Dump()
[all …]
/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/compiler/dex/
Dcompiler_enums.h31 std::ostream& operator<<(std::ostream& os, const RegisterClass& rhs);
41 std::ostream& operator<<(std::ostream& os, const BitsUsed& rhs);
80 std::ostream& operator<<(std::ostream& os, const SpecialTargetRegister& code);
88 std::ostream& operator<<(std::ostream& os, const RegLocationType& rhs);
98 std::ostream& operator<<(std::ostream& os, const BBType& code);
121 std::ostream& operator<<(std::ostream& os, const LIRPseudoOpcode& rhs);
372 std::ostream& operator<<(std::ostream& os, const BlockListType& rhs);
378 std::ostream& operator<<(std::ostream& os, const AssemblerStatus& rhs);
392 std::ostream& operator<<(std::ostream& os, const OpSize& kind);
433 std::ostream& operator<<(std::ostream& os, const OpKind& rhs);
[all …]
/art/runtime/base/
Ddumpable.h37 void Dump(std::ostream& os) const { in Dump() argument
38 value_.Dump(os); in Dump()
48 std::ostream& operator<<(std::ostream& os, const Dumpable<T>& rhs) {
49 rhs.Dump(os);
50 return os;
/art/tools/checker/
Dchecker.py18 import os
48 c1File = ParseC1visualizerStream(os.path.basename(outputFilename), open(outputFilename, "r"))
54 c1File = ParseC1visualizerStream(os.path.basename(outputFilename), open(outputFilename, "r"))
74 elif os.path.isfile(path):
76 elif os.path.isdir(path):
78 for root, dirs, files in os.walk(path):
80 extension = os.path.splitext(file)[1]
82 foundFiles.append(os.path.join(root, file))
89 c1File = ParseC1visualizerStream(os.path.basename(outputFilename), open(outputFilename, "r"))
91 checkerFile = ParseCheckerStream(os.path.basename(checkFilename),
/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 <<()

12345678910