Searched defs:os (Results 26 - 50 of 66) sorted by relevance

123

/art/runtime/
H A Dsignal_catcher.cc32 #include "os.h"
42 static void DumpCmdLine(std::ostream& os) { argument
52 os << "Cmd line: " << current_cmd_line << "\n";
56 os << "Original command line: " << stashed_cmd_line << "\n";
60 os << "Cmd line: " << GetCmdLine() << "\n";
138 std::ostringstream os; local
139 os << "\n"
142 DumpCmdLine(os);
145 os << "ABI: " << GetInstructionSetString(runtime->GetInstructionSet()) << "\n";
147 os << "Buil
[all...]
H A Dprofiler_options.h117 friend std::ostream & operator<<(std::ostream &os, const ProfilerOptions& po) { argument
118 os << "enabled=" << po.enabled_
128 return os;
H A Dreference_table.cc112 static void DumpSummaryLine(std::ostream& os, mirror::Object* obj, size_t element_count,
116 os << " NULL reference (count=" << equiv << ")\n";
120 os << " cleared jweak (count=" << equiv << ")\n";
139 os << " " << msg << "\n";
146 void ReferenceTable::Dump(std::ostream& os) { argument
147 os << name_ << " reference table dump:\n";
148 Dump(os, entries_);
151 void ReferenceTable::Dump(std::ostream& os, Table& entries) { argument
153 os << " (empty)\n";
164 os << " Las
[all...]
H A Dcommon_runtime_test.cc39 #include "os.h"
392 std::ostream& operator<<(std::ostream& os, const std::vector<T>& rhs) { argument
393 os << ::art::ToString(rhs);
394 return os;
H A Dthread_list.cc88 void ThreadList::DumpNativeStacks(std::ostream& os) { argument
91 os << "DUMPING THREAD " << thread->GetTid() << "\n";
92 DumpNativeStack(os, thread->GetTid(), "\t");
93 os << "\n";
97 void ThreadList::DumpForSigQuit(std::ostream& os) { argument
100 DumpLocked(os);
102 DumpUnattachedThreads(os);
105 static void DumpUnattachedThread(std::ostream& os, pid_t tid) NO_THREAD_SAFETY_ANALYSIS {
108 Thread::DumpState(os, NULL, tid);
109 DumpKernelStack(os, ti
118 DumpUnattachedThreads(std::ostream& os) argument
143 DumpLocked(std::ostream& os) argument
903 std::ostringstream os; local
[all...]
H A Dmem_map.cc49 std::ostream& os,
52 os << StringPrintf("0x%08x-0x%08x %c%c%c %s\n",
59 return os;
62 std::ostream& operator<<(std::ostream& os, const MemMap::Maps& mem_maps) { argument
63 os << "MemMap:" << std::endl;
68 os << *map << std::endl;
70 return os;
227 std::ostringstream os; local
228 os << StringPrintf("Failed to mmap at expected address, mapped at "
232 os << "
48 operator <<( std::ostream& os, std::pair<BacktraceMap::const_iterator, BacktraceMap::const_iterator> iters) argument
612 DumpMaps(std::ostream& os) argument
617 DumpMapsLocked(std::ostream& os) argument
662 operator <<(std::ostream& os, const MemMap& mem_map) argument
[all...]
H A Dinstrumentation.cc39 #include "os.h"
1149 std::ostringstream os; local
1150 os << "Frame " << frame_id_ << " " << PrettyMethod(method_) << ":"
1152 return os.str();
H A Dmonitor.cc928 void Monitor::DescribeWait(std::ostream& os, const Thread* thread) { argument
952 os << wait_message << "an unknown object";
958 os << wait_message << StringPrintf("<@addr=0x%" PRIxPTR "> (a %s)",
963 os << wait_message << StringPrintf("<0x%08x> (a %s)", pretty_object->IdentityHashCode(),
969 os << " held by thread " << lock_owner;
971 os << "\n";
H A Dprofiler.cc35 #include "os.h"
100 std::ostringstream os; local
101 thread->Dump(os);
102 std::string data(os.str());
297 std::ostringstream os; local
298 uint32_t num_methods = DumpProfile(os);
299 std::string data(os.str());
465 uint32_t BackgroundMethodSamplingProfiler::DumpProfile(std::ostream& os) { argument
466 return profile_table_.Write(os, options_.GetProfileType());
568 uint32_t ProfileSampleResults::Write(std::ostream& os, ProfileDataTyp argument
[all...]
/art/compiler/utils/
H A Darena_allocator.cc83 void ArenaAllocatorStatsImpl<kCount>::Dump(std::ostream& os, const Arena* first, argument
97 os << " MEM: used: " << bytes_allocated << ", allocated: " << malloc_bytes
101 os << "Number of arenas allocated: " << num_arenas << ", Number of allocations: "
104 os << "===== Allocation by kind\n";
107 os << kAllocNames[i] << std::setw(10) << alloc_stats_[i] << "\n";
272 void MemStats::Dump(std::ostream& os) const {
273 os << name_ << " stats:\n";
274 stats_->Dump(os, first_arena_, lost_bytes_adjustment_);
H A Darena_allocator.h77 void Dump(std::ostream& os, const Arena* first, ssize_t lost_bytes_adjustment) const { argument
78 UNUSED(os); UNUSED(first); UNUSED(lost_bytes_adjustment);
93 void Dump(std::ostream& os, const Arena* first, ssize_t lost_bytes_adjustment) const;
215 void Dump(std::ostream& os) const;
/art/runtime/base/
H A Dhistogram-inl.h152 inline void Histogram<Value>::PrintBins(std::ostream& os, const CumulativeData& data) const { argument
159 os << GetRange(bin_idx) << ": " << data.freq_[bin_idx] << "\t"
165 inline void Histogram<Value>::PrintConfidenceIntervals(std::ostream &os, double interval, argument
173 os << Name() << ":\tSum: " << PrettyDuration(Sum() * kAdjust) << " "
H A Dtiming_logger.cc86 void CumulativeLogger::Dump(std::ostream &os) const {
88 DumpHistogram(os);
116 void CumulativeLogger::DumpHistogram(std::ostream &os) const {
117 os << "Start Dumping histograms for " << iterations_ << " iterations"
125 histogram->PrintConfidenceIntervals(os, 0.99, cumulative_data);
127 os << "Done Dumping histograms \n";
195 void TimingLogger::Dump(std::ostream &os, const char* indent_string) const { argument
208 os << name_ << " [Exclusive time] [Total time]\n";
219 os << indent_string;
221 os << FormatDuratio
[all...]
H A Dbit_vector.cc397 void BitVector::Dump(std::ostream& os, const char *prefix) const { argument
400 os << buffer.str() << std::endl;
H A Dlogging.h227 // A convenience to allow any class with a "Dump(std::ostream& os)" member function
230 // os << Dumpable<MyType>(my_type_instance);
238 void Dump(std::ostream& os) const {
239 value_.Dump(os);
249 std::ostream& operator<<(std::ostream& os, const Dumpable<T>& rhs) { argument
250 rhs.Dump(os);
251 return os;
260 void Dump(std::ostream& os) const {
261 value_.Dump(os);
271 std::ostream& operator<<(std::ostream& os, cons argument
282 std::ostringstream os; local
[all...]
H A Dmutex.cc121 void BaseMutex::DumpAll(std::ostream& os) { argument
123 os << "Mutex logging:\n";
131 os << "(Contended)\n";
135 mutex->Dump(os);
136 os << "\n";
139 os << "(Never contented)\n";
143 mutex->Dump(os);
144 os << "\n";
208 void BaseMutex::DumpContention(std::ostream& os) const {
215 os << "neve
454 operator <<(std::ostream& os, const Mutex& mu) argument
668 operator <<(std::ostream& os, const ReaderWriterMutex& mu) argument
[all...]
/art/runtime/gc/accounting/
H A Dmod_union_table.cc242 void ModUnionTableReferenceCache::Dump(std::ostream& os) { argument
244 os << "ModUnionTable cleared cards: [";
248 os << reinterpret_cast<void*>(start) << "-" << reinterpret_cast<void*>(end) << ",";
250 os << "]\nModUnionTable references: [";
255 os << reinterpret_cast<void*>(start) << "-" << reinterpret_cast<void*>(end) << "->{";
257 os << reinterpret_cast<const void*>(ref->AsMirrorPtr()) << ",";
259 os << "},";
325 void ModUnionTableCardCache::Dump(std::ostream& os) { argument
327 os << "ModUnionTable dirty cards: [";
331 os << reinterpret_cas
[all...]
/art/runtime/gc/space/
H A Dbump_pointer_space.cc84 void BumpPointerSpace::Dump(std::ostream& os) const {
85 os << GetName() << " "
261 void BumpPointerSpace::LogFragmentationAllocFailure(std::ostream& os, argument
264 os << "; failed due to fragmentation (largest possible contiguous allocation "
H A Ddlmalloc_space.cc316 void DlMallocSpace::LogFragmentationAllocFailure(std::ostream& os, size_t failed_alloc_bytes) { argument
327 os << "; failed due to fragmentation (largest possible contiguous allocation "
/art/runtime/jdwp/
H A Djdwp_main.cc601 std::ostream& operator<<(std::ostream& os, const JdwpLocation& rhs) { argument
602 os << "JdwpLocation["
605 return os;
/art/runtime/verifier/
H A Dreg_type.cc1009 std::ostream& operator<<(std::ostream& os, const RegType& rhs) { argument
1011 os << rhs_non_const.Dump();
1012 return os;
H A Dreg_type_cache.cc582 void RegTypeCache::Dump(std::ostream& os) { argument
586 os << i << ": " << cur_entry->Dump() << "\n";
/art/disassembler/
H A Ddisassembler_x86.cc29 size_t DisassemblerX86::Dump(std::ostream& os, const uint8_t* begin) { argument
30 return DumpInstruction(os, begin);
33 void DisassemblerX86::Dump(std::ostream& os, const uint8_t* begin, const uint8_t* end) { argument
36 length = DumpInstruction(os, cur);
66 static void DumpReg0(std::ostream& os, uint8_t rex, size_t reg, argument
71 os << ((rex == 0) ? gReg8Names[reg] : gExtReg8Names[reg]);
73 os << gReg64Names[reg];
75 os << gReg16Names[reg];
77 os << gReg32Names[reg];
83 static void DumpAnyReg(std::ostream& os, uint8_ argument
94 DumpReg(std::ostream& os, uint8_t rex, uint8_t reg, bool byte_operand, uint8_t size_override, RegFile reg_file) argument
101 DumpRmReg(std::ostream& os, uint8_t rex, uint8_t reg, bool byte_operand, uint8_t size_override, RegFile reg_file) argument
108 DumpAddrReg(std::ostream& os, uint8_t rex, uint8_t reg) argument
116 DumpBaseReg(std::ostream& os, uint8_t rex, uint8_t reg) argument
122 DumpIndexReg(std::ostream& os, uint8_t rex, uint8_t reg) argument
128 DumpOpcodeReg(std::ostream& os, uint8_t rex, uint8_t reg, bool byte_operand, uint8_t size_override) argument
144 DumpSegmentOverride(std::ostream& os, uint8_t segment_prefix) argument
156 DumpInstruction(std::ostream& os, const uint8_t* instr) argument
[all...]
H A Ddisassembler_arm.cc30 size_t DisassemblerArm::Dump(std::ostream& os, const uint8_t* begin) { argument
32 DumpArm(os, begin);
37 return DumpThumb16(os, begin);
41 void DisassemblerArm::Dump(std::ostream& os, const uint8_t* begin, const uint8_t* end) { argument
44 DumpArm(os, cur);
51 cur += DumpThumb16(os, cur);
75 void DisassemblerArm::DumpCond(std::ostream& os, uint32_t cond) { argument
77 os << kConditionCodeNames[cond];
79 os << "Unexpected condition: " << cond;
83 void DisassemblerArm::DumpMemoryDomain(std::ostream& os, uint32_ argument
96 DumpBranchTarget(std::ostream& os, const uint8_t* instr_ptr, int32_t imm32) argument
131 operator <<(std::ostream& os, const ArmRegister& r) argument
153 operator <<(std::ostream& os, const Rm& r) argument
169 operator <<(std::ostream& os, const ShiftedImmediate& rhs) argument
178 operator <<(std::ostream& os, const RegisterList& rhs) argument
219 operator <<(std::ostream& os, const FpRegister& rhs) argument
229 operator <<(std::ostream& os, const FpRegisterRange& rhs) argument
244 DumpArm(std::ostream& os, const uint8_t* instr_ptr) argument
439 DumpThumb32(std::ostream& os, const uint8_t* instr_ptr) argument
1619 DumpThumb16(std::ostream& os, const uint8_t* instr_ptr) argument
[all...]
/art/runtime/mirror/
H A Dclass.cc201 void Class::DumpClass(std::ostream& os, int flags) { argument
203 os << PrettyClass(this);
205 os << ' ' << GetClassLoader();
208 os << ' ' << GetStatus();
210 os << "\n";
220 os << "----- " << (IsInterface() ? "interface" : "class") << " "
222 os << " objectSize=" << SizeOf() << " "
224 os << StringPrintf(" access=0x%04x.%04x\n",
227 os << " super='" << PrettyClass(h_super.Get()) << "' (cl=" << h_super->GetClassLoader()
231 os << " componentTyp
[all...]

Completed in 1572 milliseconds

123