/art/runtime/ |
D | reference_table_test.cc | 37 std::ostringstream oss; in TEST_F() local 38 rt.Dump(oss); in TEST_F() 39 EXPECT_NE(oss.str().find("(empty)"), std::string::npos) << oss.str(); in TEST_F() 55 std::ostringstream oss; in TEST_F() local 56 rt.Dump(oss); in TEST_F() 57 EXPECT_NE(oss.str().find("1 of java.lang.String"), std::string::npos) << oss.str(); in TEST_F() 58 EXPECT_EQ(oss.str().find("short[]"), std::string::npos) << oss.str(); in TEST_F() 66 std::ostringstream oss; in TEST_F() local 67 rt.Dump(oss); in TEST_F() 68 EXPECT_NE(oss.str().find(StringPrintf("Last %zd entries (of %zd):", in TEST_F() [all …]
|
D | indirect_reference_table_test.cc | 29 std::ostringstream oss; in CheckDump() local 30 irt->Dump(oss); in CheckDump() 32 EXPECT_EQ(oss.str().find("java.lang.Object"), std::string::npos) << oss.str(); in CheckDump() 34 EXPECT_NE(oss.str().find("1 of java.lang.Object"), std::string::npos) << oss.str(); in CheckDump() 36 EXPECT_NE(oss.str().find(StringPrintf("%zd of java.lang.Object (%zd unique instances)", in CheckDump() 41 << oss.str(); in CheckDump()
|
D | dex_file.cc | 386 std::ostringstream oss; in CheckMagicAndVersion() local 387 oss << "Unrecognized magic number in " << GetLocation() << ":" in CheckMagicAndVersion() 392 *error_msg = oss.str(); in CheckMagicAndVersion() 396 std::ostringstream oss; in CheckMagicAndVersion() local 397 oss << "Unrecognized version number in " << GetLocation() << ":" in CheckMagicAndVersion() 402 *error_msg = oss.str(); in CheckMagicAndVersion()
|
D | thread_list.cc | 862 std::ostringstream oss; in Register() local 863 self->ShortDump(oss); // We don't hold the mutator_lock_ yet and so cannot call Dump. in Register() 864 LOG(INFO) << "ThreadList::Register() " << *self << "\n" << oss.str(); in Register()
|
D | monitor.cc | 317 std::ostringstream oss; in ThreadToString() local 319 oss << *thread; in ThreadToString() 320 return oss.str(); in ThreadToString()
|
D | elf_file.cc | 1071 std::ostringstream oss; in Load() local 1072 oss << "Expected ISA " << kRuntimeISA << " but found " << elf_ISA; in Load() 1073 *error_msg = oss.str(); in Load()
|
/art/runtime/base/ |
D | hex_dump_test.cc | 35 std::ostringstream oss; in TEST() local 36 oss << HexDump(test_text, strlen(test_text), false, ""); in TEST() 37 EXPECT_STREQ(oss.str().c_str(), in TEST() 44 std::ostringstream oss; in TEST() local 45 oss << HexDump(test_text, strlen(test_text), false, ""); in TEST() 46 EXPECT_STREQ(oss.str().c_str(), in TEST() 56 std::ostringstream oss; in TEST() local 57 oss << HexDump(&g16byte_aligned_number, 8, true, ""); in TEST() 59 EXPECT_STREQ(oss.str().c_str() + (kBitsPerWord / 4), in TEST() 65 std::ostringstream oss; in TEST() local [all …]
|
D | hash_set_test.cc | 43 std::ostringstream oss; in RandomString() local 45 oss << static_cast<char>('A' + PRand() % 64); in RandomString() 48 oss << " " << unique_number_++; // Relies on ' ' < 'A' in RandomString() 49 return oss.str(); in RandomString()
|
/art/compiler/utils/ |
D | dedupe_set.h | 104 std::ostringstream oss; in DedupeSet() local 105 oss << set_name << " lock " << i; in DedupeSet() 106 lock_name_[i] = oss.str(); in DedupeSet()
|
/art/runtime/interpreter/ |
D | interpreter_common.h | 352 std::ostringstream oss; in TraceExecution() local 353 oss << PrettyMethod(shadow_frame.GetMethod()) in TraceExecution() 359 oss << StringPrintf(" vreg%u=0x%08X", i, raw_value); in TraceExecution() 363 oss << "/java.lang.String \"" << ref_value->AsString()->ToModifiedUtf8() << "\""; in TraceExecution() 365 oss << "/" << PrettyTypeOf(ref_value); in TraceExecution() 369 TRACE_LOG << oss.str() << "\n"; in TraceExecution()
|
/art/compiler/driver/ |
D | compiler_driver.cc | 121 std::ostringstream oss; in Dump() local 122 oss << static_cast<InvokeType>(i) << " methods were AOT resolved"; in Dump() 123 DumpStat(resolved_methods_[i], unresolved_methods_[i], oss.str().c_str()); in Dump() 2302 std::ostringstream oss; in GetMemoryUsageString() local 2305 oss << "arena alloc=" << PrettySize(arena_pool->GetBytesAllocated()); in GetMemoryUsageString() 2306 oss << " java alloc=" << PrettySize(heap->GetBytesAllocated()); in GetMemoryUsageString() 2311 oss << " native alloc=" << PrettySize(allocated_space) << " free=" in GetMemoryUsageString() 2315 oss << " swap=" << PrettySize(swap_space_->GetSize()); in GetMemoryUsageString() 2318 oss << "\nCode dedupe: " << dedupe_code_.DumpStats(); in GetMemoryUsageString() 2319 oss << "\nMapping table dedupe: " << dedupe_mapping_table_.DumpStats(); in GetMemoryUsageString() [all …]
|
/art/runtime/gc/collector/ |
D | semi_space.cc | 171 std::ostringstream oss; in MarkingPhase() local 173 runtime->GetThreadList()->DumpForSigQuit(oss); in MarkingPhase() 174 runtime->GetThreadList()->DumpNativeStacks(oss); in MarkingPhase() 175 runtime->SetFaultMessage(oss.str()); in MarkingPhase()
|
/art/dex2oat/ |
D | dex2oat.cc | 1527 std::ostringstream oss; in dex2oat() local 1530 oss << ' '; in dex2oat() 1532 oss << argv[i]; in dex2oat() 1534 key_value_store->Put(OatHeader::kDex2OatCmdLineKey, oss.str()); in dex2oat() 1535 oss.str(""); // Reset. in dex2oat() 1536 oss << kRuntimeISA; in dex2oat() 1537 key_value_store->Put(OatHeader::kDex2OatHostKey, oss.str()); in dex2oat()
|
/art/runtime/gc/ |
D | heap.cc | 935 std::ostringstream oss; in ThrowOutOfMemoryError() local 937 oss << "Failed to allocate a " << byte_count << " byte allocation with " << total_bytes_free in ThrowOutOfMemoryError() 952 space->LogFragmentationAllocFailure(oss, byte_count); in ThrowOutOfMemoryError() 955 self->ThrowOutOfMemoryError(oss.str().c_str()); in ThrowOutOfMemoryError() 1199 std::ostringstream oss; in DumpSpaces() local 1200 DumpSpaces(oss); in DumpSpaces() 1201 return oss.str(); in DumpSpaces()
|