Searched defs:oss (Results 1 - 22 of 22) sorted by relevance

/art/runtime/base/
H A Dhex_dump_test.cc35 std::ostringstream oss; local
36 oss << HexDump(test_text, strlen(test_text), false, "");
37 EXPECT_STREQ(oss.str().c_str(),
44 std::ostringstream oss; local
45 oss << HexDump(test_text, strlen(test_text), false, "");
46 EXPECT_STREQ(oss.str().c_str(),
56 std::ostringstream oss; local
57 oss << HexDump(&g16byte_aligned_number, 8, true, "");
59 EXPECT_STREQ(oss.str().c_str() + (kBitsPerIntPtrT / 4),
65 std::ostringstream oss; local
[all...]
H A Dhash_set_test.cc43 std::ostringstream oss; local
45 oss << static_cast<char>('A' + PRand() % 64);
48 oss << " " << unique_number_++; // Relies on ' ' < 'A'
49 return oss.str();
/art/runtime/
H A Dreference_table_test.cc39 std::ostringstream oss; local
40 rt.Dump(oss);
41 EXPECT_NE(oss.str().find("(empty)"), std::string::npos) << oss.str();
57 std::ostringstream oss; local
58 rt.Dump(oss);
59 EXPECT_NE(oss.str().find("1 of java.lang.String"), std::string::npos) << oss.str();
60 EXPECT_EQ(oss.str().find("short[]"), std::string::npos) << oss
68 std::ostringstream oss; local
87 std::ostringstream oss; local
96 std::ostringstream oss; local
[all...]
H A Dgc_root-inl.h39 std::ostringstream oss; local
40 Describe(oss);
41 return oss.str();
H A Dindirect_reference_table_test.cc30 std::ostringstream oss; local
31 irt->Dump(oss);
33 EXPECT_EQ(oss.str().find("java.lang.Object"), std::string::npos) << oss.str();
35 EXPECT_NE(oss.str().find("1 of java.lang.Object"), std::string::npos) << oss.str();
37 EXPECT_NE(oss.str().find(StringPrintf("%zd of java.lang.Object (%zd unique instances)",
42 << oss.str();
H A Dthread_list.cc298 std::ostringstream oss; local
299 thread->ShortDump(oss);
300 ATRACE_BEGIN((std::string("Waiting for suspension of thread ") + oss.str()).c_str());
1085 std::ostringstream oss; local
1086 self->ShortDump(oss); // We don't hold the mutator_lock_ yet and so cannot call Dump.
1087 LOG(INFO) << "ThreadList::Register() " << *self << "\n" << oss.str();
H A Dmonitor.cc319 std::ostringstream oss; local
321 oss << *thread;
322 return oss.str();
H A Ddex_file.cc437 std::ostringstream oss; local
438 oss << "Unrecognized magic number in " << GetLocation() << ":"
443 *error_msg = oss.str();
447 std::ostringstream oss; local
448 oss << "Unrecognized version number in " << GetLocation() << ":"
453 *error_msg = oss.str();
H A Delf_file.cc1097 std::ostringstream oss; local
1098 oss << "Program header #" << i << " has overflow in p_vaddr+p_memsz: 0x" << std::hex
1101 *error_msg = oss.str();
1115 std::ostringstream oss; local
1116 oss << "Loaded size is 0x" << std::hex << loaded_size << " but maximum size_t is 0x"
1118 *error_msg = oss.str();
1133 std::ostringstream oss; local
1134 oss << "Expected ISA " << kRuntimeISA << " but found " << elf_ISA;
1135 *error_msg = oss.str();
/art/runtime/jit/
H A Djit.cc84 std::ostringstream oss; local
85 oss << "JIT could not load libart-compiler.so: " << dlerror();
86 *error_msg = oss.str();
H A Djit_code_cache.cc36 std::ostringstream oss; local
37 oss << "Failed to create read write execute cache: " << error_str << " size=" << capacity;
38 *error_msg = oss.str();
/art/compiler/linker/
H A Drelative_patcher_test.h204 std::ostringstream oss; local
205 oss << "[stripped " << remove << "]";
206 std::string replacement = oss.str();
/art/compiler/optimizing/
H A Doptimizing_compiler_stats.h77 std::ostringstream oss; local
78 oss << "Attempted compilation of " << compile_stats_[kAttemptCompilation] << " methods: ";
80 oss << unoptimized_percent << "% (" << compile_stats_[kCompiledBaseline] << ") unoptimized, ";
81 oss << optimized_percent << "% (" << compile_stats_[kCompiledOptimized] << ") optimized, ";
82 oss << quick_percent << "% (" << compile_stats_[kCompiledQuick] << ") quick.";
84 LOG(INFO) << oss.str();
/art/compiler/utils/arm/
H A Dassembler_arm32_test.cc238 std::ostringstream oss; variable
239 oss << c;
240 return oss.str();
252 std::ostringstream oss; variable
256 oss << sop.GetRegister() << ", " << sop.GetShift();
258 oss << sop.GetRegister() << ", " << sop.GetShift() << " #" << sop.GetImmediate();
261 oss << sop.GetRegister();
264 oss << "#" << sop.GetImmediate();
266 return oss.str();
285 void ExecuteAndPrint(std::function<void()> f, std::string fmt, std::ostringstream& oss) { argument
296 TemplateHelper(std::function<void(arm::Register)> f, int depth ATTRIBUTE_UNUSED, bool without_pc, std::string fmt, std::ostringstream& oss) argument
315 TemplateHelper(std::function<void(const arm::ShifterOperand&)> f, int depth ATTRIBUTE_UNUSED, bool without_pc ATTRIBUTE_UNUSED, std::string fmt, std::ostringstream& oss) argument
330 TemplateHelper(std::function<void(arm::Condition)> f, int depth ATTRIBUTE_UNUSED, bool without_pc ATTRIBUTE_UNUSED, std::string fmt, std::ostringstream& oss) argument
345 TemplateHelper(std::function<void(arm::Register, Args...)> f, int depth, bool without_pc, std::string fmt, std::ostringstream& oss) argument
361 after_reg, oss); local
366 TemplateHelper(std::function<void(const arm::ShifterOperand&, Args...)> f, int depth, bool without_pc, std::string fmt, std::ostringstream& oss) argument
379 after_shift, oss); local
384 TemplateHelper(std::function<void(arm::Condition, Args...)> f, int depth, bool without_pc, std::string fmt, std::ostringstream& oss) argument
396 after_cond, oss); local
428 std::ostringstream oss; local
[all...]
H A Dassembler_arm_test.h90 std::ostringstream oss; local
143 oss << "\n";
145 oss << base4;
154 oss << "\n";
156 return oss.str();
181 std::ostringstream oss; local
235 oss << "\n";
237 oss << after_reg2;
245 oss << "\n";
247 return oss
267 std::ostringstream oss; local
333 std::ostringstream oss; local
397 std::ostringstream oss; local
453 std::ostringstream oss; local
[all...]
/art/compiler/utils/
H A Ddedupe_set.h105 std::ostringstream oss; local
106 oss << set_name << " lock " << i;
107 lock_name_[i] = oss.str();
/art/runtime/gc/accounting/
H A Dmod_union_table_test.cc119 std::ostream& operator<<(std::ostream& oss, ModUnionTableFactory::TableType type) { argument
122 oss << "CardCache";
126 oss << "ReferenceCache";
133 return oss;
222 std::ostringstream oss; local
223 table->Dump(oss);
/art/runtime/interpreter/
H A Dinterpreter_common.h365 std::ostringstream oss; local
366 oss << PrettyMethod(shadow_frame.GetMethod())
372 oss << StringPrintf(" vreg%u=0x%08X", i, raw_value);
376 oss << "/java.lang.String \"" << ref_value->AsString()->ToModifiedUtf8() << "\"";
378 oss << "/" << PrettyTypeOf(ref_value);
382 TRACE_LOG << oss.str() << "\n";
/art/runtime/gc/collector/
H A Dsemi_space.cc172 std::ostringstream oss; local
174 runtime->GetThreadList()->DumpForSigQuit(oss);
175 runtime->GetThreadList()->DumpNativeStacks(oss);
176 runtime->SetFaultMessage(oss.str());
/art/dex2oat/
H A Ddex2oat.cc1073 std::ostringstream oss; local
1076 oss << ' ';
1078 oss << argv[i];
1080 key_value_store_->Put(OatHeader::kDex2OatCmdLineKey, oss.str());
1081 oss.str(""); // Reset.
1082 oss << kRuntimeISA;
1083 key_value_store_->Put(OatHeader::kDex2OatHostKey, oss.str());
/art/compiler/driver/
H A Dcompiler_driver.cc136 std::ostringstream oss; local
137 oss << static_cast<InvokeType>(i) << " methods were AOT resolved";
138 DumpStat(resolved_methods_[i], unresolved_methods_[i], oss.str().c_str());
2492 std::ostringstream oss; local
2496 oss << "arena alloc=" << PrettySize(arena_pool->GetBytesAllocated());
2497 oss << " java alloc=" << PrettySize(heap->GetBytesAllocated());
2502 oss << " native alloc=" << PrettySize(allocated_space) << " free="
2506 oss << " swap=" << PrettySize(swap_space_->GetSize());
2509 oss << "\nCode dedupe: " << dedupe_code_.DumpStats();
2510 oss << "\nMappin
[all...]
/art/runtime/gc/
H A Dheap.cc1139 std::ostringstream oss; local
1141 oss << "Failed to allocate a " << byte_count << " byte allocation with " << total_bytes_free
1159 space->LogFragmentationAllocFailure(oss, byte_count);
1162 self->ThrowOutOfMemoryError(oss.str().c_str());
1402 std::ostringstream oss; local
1403 DumpSpaces(oss);
1404 return oss.str();

Completed in 426 milliseconds