Home
last modified time | relevance | path

Searched refs:oss (Results 1 – 14 of 14) sorted by relevance

/art/runtime/
Dreference_table_test.cc37 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 …]
Dindirect_reference_table_test.cc29 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()
Ddex_file.cc386 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()
Dthread_list.cc862 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()
Dmonitor.cc317 std::ostringstream oss; in ThreadToString() local
319 oss << *thread; in ThreadToString()
320 return oss.str(); in ThreadToString()
Delf_file.cc1071 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/
Dhex_dump_test.cc35 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 …]
Dhash_set_test.cc43 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/
Ddedupe_set.h104 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/
Dinterpreter_common.h352 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/
Dcompiler_driver.cc121 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/
Dsemi_space.cc171 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/
Ddex2oat.cc1527 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/
Dheap.cc935 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()