Searched defs:os (Results 1 - 25 of 48) sorted by relevance

12

/art/runtime/
H A Doffsets.cc23 std::ostream& operator<<(std::ostream& os, const Offset& offs) { argument
24 return os << offs.Int32Value();
H A Dprimitive.cc33 std::ostream& operator<<(std::ostream& os, const Primitive::Type& type) { argument
36 os << kTypeNames[int_type];
38 os << "Type[" << int_type << "]";
40 return os;
H A Ddisassembler_mips.cc171 static void DumpMips(std::ostream& os, const uint8_t* instr_ptr) { argument
257 os << StringPrintf("%p: %08x\t%-7s ", instr_ptr, instruction, opcode.c_str()) << args.str() << '\n';
263 size_t DisassemblerMips::Dump(std::ostream& os, const uint8_t* begin) { argument
264 DumpMips(os, begin);
268 void DisassemblerMips::Dump(std::ostream& os, const uint8_t* begin, const uint8_t* end) { argument
270 DumpMips(os, cur);
H A Dmem_map.cc35 static std::ostream& operator<<(std::ostream& os, map_info_t* rhs) { argument
37 os << StringPrintf("0x%08x-0x%08x %c%c %s\n",
42 return os;
H A Dreference_table.cc108 static void DumpSummaryLine(std::ostream& os, const mirror::Object* obj, size_t element_count,
112 os << " NULL reference (count=" << equiv << ")\n";
116 os << " cleared jweak (count=" << equiv << ")\n";
135 os << " " << msg << "\n";
142 void ReferenceTable::Dump(std::ostream& os) const {
143 os << name_ << " reference table dump:\n";
144 Dump(os, entries_);
147 void ReferenceTable::Dump(std::ostream& os, const Table& entries) { argument
149 os << " (empty)\n";
160 os << " Las
[all...]
H A Druntime_linux.cc32 void Dump(std::ostream& os) { argument
33 DumpNativeStack(os, GetTid(), "\t", true);
38 void Dump(std::ostream& os) { argument
43 os << info.sysname << " " << info.release << " (" << info.machine << ")";
134 void Dump(std::ostream& os) { argument
137 DumpRegister32(os, "eax", context->__ss.__eax);
138 DumpRegister32(os, "ebx", context->__ss.__ebx);
139 DumpRegister32(os, "ecx", context->__ss.__ecx);
140 DumpRegister32(os, "edx", context->__ss.__edx);
141 os << '\
191 DumpRegister32(std::ostream& os, const char* name, uint32_t value) argument
195 DumpX86Flags(std::ostream& os, uint32_t flags) argument
[all...]
H A Dsignal_catcher.cc31 #include "os.h"
41 static void DumpCmdLine(std::ostream& os) { argument
50 os << "Cmdline: " << current_cmd_line;
53 os << "Original command line: " << stashed_cmd_line;
56 os << "\n";
58 os << "Cmdline: " << GetCmdLine() << "\n";
130 std::ostringstream os; local
131 os << "\n"
134 DumpCmdLine(os);
136 os << "Buil
[all...]
H A Ddex_instruction.cc375 std::ostringstream os; local
378 os << StringPrintf("0x%04x", insn[i]) << " ";
381 os << " ";
383 return os.str();
387 std::ostringstream os; local
390 case k10x: os << opcode; break;
391 case k12x: os << StringPrintf("%s v%d, v%d", opcode, VRegA_12x(), VRegB_12x()); break;
392 case k11n: os << StringPrintf("%s v%d, #%+d", opcode, VRegA_11n(), VRegB_11n()); break;
393 case k11x: os << StringPrintf("%s v%d", opcode, VRegA_11x()); break;
394 case k10t: os << StringPrint
620 operator <<(std::ostream& os, const Instruction::Code& code) argument
[all...]
H A Dthread_list.cc68 void ThreadList::DumpForSigQuit(std::ostream& os) { argument
71 DumpLocked(os);
73 DumpUnattachedThreads(os);
76 static void DumpUnattachedThread(std::ostream& os, pid_t tid) NO_THREAD_SAFETY_ANALYSIS {
79 Thread::DumpState(os, NULL, tid);
80 DumpKernelStack(os, tid, " kernel: ", false);
84 DumpNativeStack(os, tid, " native: ", false);
86 os << "\n";
89 void ThreadList::DumpUnattachedThreads(std::ostream& os) { argument
107 DumpUnattachedThread(os, ti
114 DumpLocked(std::ostream& os) argument
[all...]
/art/runtime/arch/arm/
H A Dregisters_arm.cc28 std::ostream& operator<<(std::ostream& os, const Register& rhs) { argument
30 os << kRegisterNames[rhs];
32 os << "Register[" << static_cast<int>(rhs) << "]";
34 return os;
37 std::ostream& operator<<(std::ostream& os, const SRegister& rhs) { argument
39 os << "s" << static_cast<int>(rhs);
41 os << "SRegister[" << static_cast<int>(rhs) << "]";
43 return os;
/art/runtime/arch/mips/
H A Dregisters_mips.cc30 std::ostream& operator<<(std::ostream& os, const Register& rhs) { argument
32 os << kRegisterNames[rhs];
34 os << "Register[" << static_cast<int>(rhs) << "]";
36 return os;
39 std::ostream& operator<<(std::ostream& os, const FRegister& rhs) { argument
41 os << "f" << static_cast<int>(rhs);
43 os << "FRegister[" << static_cast<int>(rhs) << "]";
45 return os;
/art/runtime/arch/x86/
H A Dregisters_x86.cc27 std::ostream& operator<<(std::ostream& os, const Register& rhs) { argument
29 os << kRegisterNames[rhs];
31 os << "Register[" << static_cast<int>(rhs) << "]";
33 return os;
/art/runtime/base/
H A Dstl_util.h83 std::ostringstream os; local
84 os << "[";
86 os << v[i];
88 os << ", ";
91 os << "]";
92 return os.str();
H A Dhistogram-inl.h145 inline void Histogram<Value>::PrintBins(std::ostream& os, const CumulativeData& data) const { argument
152 os << GetRange(bin_idx) << ": " << data.freq_[bin_idx] << "\t"
158 inline void Histogram<Value>::PrintConfidenceIntervals(std::ostream &os, double interval, argument
165 os << Name() << ":\t";
167 os << (interval * 100) << "% C.I. " << FormatDuration(Percentile(per_0, data) * kAdjust, unit);
168 os << "-" << FormatDuration(Percentile(per_1, data) * kAdjust, unit) << " ";
169 os << "Avg: " << FormatDuration(Mean() * kAdjust, unit) << " Max: ";
170 os << FormatDuration(Max() * kAdjust, unit) << "\n";
H A Dlogging.cc165 void HexDump::Dump(std::ostream& os) const {
171 os << "00000000:";
234 os << out;
242 std::ostream& operator<<(std::ostream& os, const HexDump& rhs) { argument
243 rhs.Dump(os);
244 return os;
H A Dtiming_logger.cc89 void CumulativeLogger::Dump(std::ostream &os) { argument
91 DumpHistogram(os);
107 void CumulativeLogger::DumpHistogram(std::ostream &os) { argument
108 os << "Start Dumping histograms for " << iterations_ << " iterations"
114 it->second->PrintConfidenceIntervals(os, 0.99, cumulative_data);
118 os << "Done Dumping histograms \n";
166 void TimingLogger::Dump(std::ostream &os) const {
188 os << name_ << ": " << std::setw(8) << FormatDuration(split_time, tu) << " "
191 os << name_ << ": end, " << NsToMs(total_ns) << " ms\n";
/art/runtime/gc/space/
H A Dspace.cc28 void Space::Dump(std::ostream& os) const {
29 os << GetName() << ":" << GetGcRetentionPolicy();
32 std::ostream& operator<<(std::ostream& os, const Space& space) { argument
33 space.Dump(os);
34 return os;
/art/tools/
H A Dgenerate-operator-out.py20 import os namespace
169 print 'std::ostream& operator<<(std::ostream& os, const %s& rhs) {' % enum_name
172 print ' case %s: os << "%s"; break;' % (enum_value, enum_text)
173 print ' default: os << "%s[" << static_cast<int>(rhs) << "]"; break;' % enum_name
175 print ' return os;'
/art/compiler/utils/arm/
H A Dmanaged_register_arm.cc85 void ArmManagedRegister::Print(std::ostream& os) const {
87 os << "No Register";
89 os << "Core: " << static_cast<int>(AsCoreRegister());
91 os << "Pair: " << static_cast<int>(AsRegisterPairLow()) << ", "
94 os << "SRegister: " << static_cast<int>(AsSRegister());
96 os << "DRegister: " << static_cast<int>(AsDRegister());
98 os << "??: " << RegId();
102 std::ostream& operator<<(std::ostream& os, const ArmManagedRegister& reg) { argument
103 reg.Print(os);
104 return os;
107 operator <<(std::ostream& os, const RegisterPair& r) argument
[all...]
/art/compiler/utils/mips/
H A Dmanaged_register_mips.cc87 void MipsManagedRegister::Print(std::ostream& os) const {
89 os << "No Register";
91 os << "Core: " << static_cast<int>(AsCoreRegister());
93 os << "Pair: " << AsRegisterPairLow() << ", " << AsRegisterPairHigh();
95 os << "FRegister: " << static_cast<int>(AsFRegister());
97 os << "DRegister: " << static_cast<int>(AsDRegister());
99 os << "??: " << RegId();
103 std::ostream& operator<<(std::ostream& os, const MipsManagedRegister& reg) { argument
104 reg.Print(os);
105 return os;
108 operator <<(std::ostream& os, const RegisterPair& reg) argument
[all...]
/art/compiler/utils/x86/
H A Dmanaged_register_x86.cc65 std::ostream& operator<<(std::ostream& os, const RegisterPair& reg) { argument
66 os << X86ManagedRegister::FromRegisterPair(reg);
67 return os;
106 void X86ManagedRegister::Print(std::ostream& os) const {
108 os << "No Register";
110 os << "XMM: " << static_cast<int>(AsXmmRegister());
112 os << "X87: " << static_cast<int>(AsX87Register());
114 os << "CPU: " << static_cast<int>(AsCpuRegister());
116 os << "Pair: " << AsRegisterPairLow() << ", " << AsRegisterPairHigh();
118 os << "
122 operator <<(std::ostream& os, const X86ManagedRegister& reg) argument
[all...]
/art/runtime/jdwp/
H A Dobject_registry.cc25 std::ostream& operator<<(std::ostream& os, const ObjectRegistryEntry& rhs) { argument
26 os << "ObjectRegistryEntry[" << rhs.jni_reference_type
30 return os;
H A Djdwp_main.cc606 std::ostream& operator<<(std::ostream& os, const JdwpLocation& rhs) { argument
607 os << "JdwpLocation["
610 return os;
/art/runtime/gc/accounting/
H A Dmod_union_table.cc215 void ModUnionTableReferenceCache::Dump(std::ostream& os) { argument
217 os << "ModUnionTable cleared cards: [";
221 os << reinterpret_cast<void*>(start) << "-" << reinterpret_cast<void*>(end) << ",";
223 os << "]\nModUnionTable references: [";
228 os << reinterpret_cast<void*>(start) << "-" << reinterpret_cast<void*>(end) << "->{";
230 os << reinterpret_cast<const void*>(ref) << ",";
232 os << "},";
309 void ModUnionTableCardCache::Dump(std::ostream& os) { argument
311 os << "ModUnionTable dirty cards: [";
315 os << reinterpret_cas
[all...]
/art/runtime/verifier/
H A Dreg_type_cache.cc513 void RegTypeCache::Dump(std::ostream& os) { argument
517 os << i << ": " << cur_entry->Dump() << "\n";

Completed in 452 milliseconds

12