/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() + (kBitsPerIntPtrT / 4), in TEST() 65 std::ostringstream oss; in TEST() local [all …]
|
D | hash_set_test.cc | 45 std::ostringstream oss; in RandomString() local 47 oss << static_cast<char>('A' + PRand() % 64); in RandomString() 50 oss << " " << unique_number_++; // Relies on ' ' < 'A' in RandomString() 51 return oss.str(); in RandomString()
|
/art/runtime/ |
D | reference_table_test.cc | 81 std::ostringstream oss; in TEST_F() local 82 rt.Dump(oss); in TEST_F() 83 EXPECT_NE(oss.str().find("(empty)"), std::string::npos) << oss.str(); in TEST_F() 99 std::ostringstream oss; in TEST_F() local 100 rt.Dump(oss); in TEST_F() 101 EXPECT_NE(oss.str().find("1 of java.lang.String"), std::string::npos) << oss.str(); in TEST_F() 102 EXPECT_EQ(oss.str().find("short[]"), std::string::npos) << oss.str(); in TEST_F() 110 std::ostringstream oss; in TEST_F() local 111 rt.Dump(oss); in TEST_F() 112 EXPECT_NE(oss.str().find(StringPrintf("Last %zd entries (of %zd):", in TEST_F() [all …]
|
D | gc_root-inl.h | 45 std::ostringstream oss; in ToString() local 46 Describe(oss); in ToString() 47 return oss.str(); in ToString()
|
D | monitor.cc | 316 std::ostringstream oss; in PrettyContentionInfo() local 317 oss << "monitor contention with owner " << owner_name << " (" << owner_tid << ")"; in PrettyContentionInfo() 319 oss << " at " << owners_method->PrettyMethod(); in PrettyContentionInfo() 320 oss << "(" << owners_filename << ":" << owners_line_number << ")"; in PrettyContentionInfo() 322 oss << " waiters=" << num_waiters; in PrettyContentionInfo() 323 return oss.str(); in PrettyContentionInfo() 369 std::ostringstream oss; in Lock() local 372 oss << PrettyContentionInfo(name, in Lock() 383 oss << " blocking from " in Lock() 386 ATRACE_BEGIN(oss.str().c_str()); in Lock() [all …]
|
D | indirect_reference_table_test.cc | 34 std::ostringstream oss; in CheckDump() local 35 irt->Dump(oss); in CheckDump() 37 EXPECT_EQ(oss.str().find("java.lang.Object"), std::string::npos) << oss.str(); in CheckDump() 39 EXPECT_NE(oss.str().find("1 of java.lang.Object"), std::string::npos) << oss.str(); in CheckDump() 41 EXPECT_NE(oss.str().find(StringPrintf("%zd of java.lang.Object (%zd unique instances)", in CheckDump() 46 << oss.str(); in CheckDump()
|
D | elf_file.cc | 1048 std::ostringstream oss; in GetLoadedSize() local 1049 oss << "Program header #" << i << " has overflow in p_vaddr+p_memsz: 0x" << std::hex in GetLoadedSize() 1052 *error_msg = oss.str(); in GetLoadedSize() 1066 std::ostringstream oss; in GetLoadedSize() local 1067 oss << "Loaded size is 0x" << std::hex << loaded_size << " but maximum size_t is 0x" in GetLoadedSize() 1069 *error_msg = oss.str(); in GetLoadedSize() 1087 std::ostringstream oss; in Load() local 1088 oss << "Expected ISA " << kRuntimeISA << " but found " << elf_ISA; in Load() 1089 *error_msg = oss.str(); in Load()
|
/art/runtime/gc/ |
D | verification.cc | 32 std::ostringstream oss; in DumpRAMAroundAddress() local 36 oss << " adjacent_ram="; in DumpRAMAroundAddress() 40 oss << "|"; in DumpRAMAroundAddress() 43 oss << std::hex << std::setfill('0') << std::setw(2) << static_cast<uintptr_t>(*ptr); in DumpRAMAroundAddress() 46 oss << " <invalid address>"; in DumpRAMAroundAddress() 48 return oss.str(); in DumpRAMAroundAddress() 52 std::ostringstream oss; in DumpObjectInfo() local 53 oss << tag << "=" << addr; in DumpObjectInfo() 57 oss << " klass=" << klass; in DumpObjectInfo() 59 oss << "(" << klass->PrettyClass() << ")"; in DumpObjectInfo() [all …]
|
D | reference_queue_test.cc | 70 std::ostringstream oss; in TEST_F() local 71 queue.Dump(oss); in TEST_F() 72 LOG(INFO) << oss.str(); in TEST_F() 87 oss.str(""); in TEST_F() 88 queue.Dump(oss); in TEST_F() 89 LOG(INFO) << oss.str(); in TEST_F() 92 oss.str(""); in TEST_F() 93 queue.Dump(oss); in TEST_F() 94 LOG(INFO) << oss.str(); in TEST_F()
|
D | heap_verification_test.cc | 162 std::ostringstream oss; in TEST_F() local 163 oss << arr.Get(); in TEST_F() 164 EXPECT_NE(path.find(oss.str()), std::string::npos); in TEST_F()
|
/art/compiler/utils/arm/ |
D | assembler_arm_test.h | 96 std::ostringstream oss; in RepeatTemplatedRRIIC() local 149 oss << "\n"; in RepeatTemplatedRRIIC() 151 oss << base4; in RepeatTemplatedRRIIC() 160 oss << "\n"; in RepeatTemplatedRRIIC() 162 return oss.str(); in RepeatTemplatedRRIIC() 187 std::ostringstream oss; in RepeatTemplatedRRiiC() local 241 oss << "\n"; in RepeatTemplatedRRiiC() 243 oss << after_reg2; in RepeatTemplatedRRiiC() 251 oss << "\n"; in RepeatTemplatedRRiiC() 253 return oss.str(); in RepeatTemplatedRRiiC() [all …]
|
/art/test/ti-stress/ |
D | stress.cc | 381 std::ostringstream oss; in GetName() local 382 oss << name << " (value: \"" << val << "\")"; in GetName() 383 name = oss.str(); in GetName() 394 std::ostringstream oss; in GetValOf() local 402 oss << val.b; in GetValOf() 403 return oss.str(); in GetValOf() 405 oss << val.c; in GetValOf() 406 return oss.str(); in GetValOf() 408 oss << val.s; in GetValOf() 409 return oss.str(); in GetValOf() [all …]
|
/art/test/ti-agent/ |
D | common_helper.cc | 92 std::ostringstream oss; in GetJavaValueByType() local 93 oss << "(" << type << ")L" << name << ";"; in GetJavaValueByType() 94 std::string args = oss.str(); in GetJavaValueByType()
|
/art/test/906-iterate-heap/ |
D | iterate_heap.cc | 258 std::ostringstream oss; in Java_art_Test906_iterateThroughHeapPrimitiveArray() local 259 oss << *tag_ptr in Java_art_Test906_iterateThroughHeapPrimitiveArray() 293 oss << android::base::StringPrintf("%02x", data[i]); in Java_art_Test906_iterateThroughHeapPrimitiveArray() 295 oss << "')"; in Java_art_Test906_iterateThroughHeapPrimitiveArray() 300 p->data += oss.str(); in Java_art_Test906_iterateThroughHeapPrimitiveArray() 369 std::ostringstream oss; in Java_art_Test906_iterateThroughHeapPrimitiveFields() local 370 oss << *tag_ptr in Java_art_Test906_iterateThroughHeapPrimitiveFields() 383 oss << android::base::StringPrintf("%016" PRIx64, val); in Java_art_Test906_iterateThroughHeapPrimitiveFields() 388 p->data += oss.str(); in Java_art_Test906_iterateThroughHeapPrimitiveFields()
|
/art/runtime/gc/accounting/ |
D | mod_union_table_test.cc | 133 std::ostream& operator<<(std::ostream& oss, ModUnionTableFactory::TableType type) { in operator <<() argument 136 oss << "CardCache"; in operator <<() 140 oss << "ReferenceCache"; in operator <<() 147 return oss; in operator <<() 241 std::ostringstream oss; in RunTest() local 242 table->Dump(oss); in RunTest()
|
/art/runtime/gc/space/ |
D | large_object_space_test.cc | 108 std::ostringstream oss; in LargeObjectTest() local 109 los->Dump(oss); in LargeObjectTest() 110 LOG(INFO) << oss.str(); in LargeObjectTest()
|
/art/runtime/openjdkjvmti/ |
D | ti_field.cc | 97 std::ostringstream oss; in GetFieldName() local 99 oss << str_array->Get(i)->ToModifiedUtf8(); in GetFieldName() 101 std::string output_string = oss.str(); in GetFieldName()
|
D | ti_method.cc | 232 std::ostringstream oss; in GetMethodName() local 234 oss << str_array->Get(i)->ToModifiedUtf8(); in GetMethodName() 236 std::string output_string = oss.str(); in GetMethodName()
|
/art/compiler/utils/ |
D | dedupe_set-inl.h | 214 std::ostringstream oss; 215 oss << set_name << " lock " << i; 216 shards_[i].reset(new Shard(alloc, oss.str()));
|
/art/runtime/interpreter/ |
D | interpreter_common.h | 486 std::ostringstream oss; in TraceExecution() local 487 oss << shadow_frame.GetMethod()->PrettyMethod() in TraceExecution() 493 oss << android::base::StringPrintf(" vreg%u=0x%08X", i, raw_value); in TraceExecution() 497 oss << "/java.lang.String \"" << ref_value->AsString()->ToModifiedUtf8() << "\""; in TraceExecution() 499 oss << "/" << ref_value->PrettyTypeOf(); in TraceExecution() 503 TRACE_LOG << oss.str() << "\n"; in TraceExecution()
|
/art/test/913-heaps/ |
D | heaps.cc | 608 std::ostringstream oss; in Java_art_Test913_followReferencesPrimitiveArray() local 609 oss << *tag_ptr in Java_art_Test913_followReferencesPrimitiveArray() 643 oss << android::base::StringPrintf("%02x", data[i]); in Java_art_Test913_followReferencesPrimitiveArray() 645 oss << "')"; in Java_art_Test913_followReferencesPrimitiveArray() 650 p->data += oss.str(); in Java_art_Test913_followReferencesPrimitiveArray() 721 std::ostringstream oss; in Java_art_Test913_followReferencesPrimitiveFields() local 722 oss << *tag_ptr in Java_art_Test913_followReferencesPrimitiveFields() 735 oss << android::base::StringPrintf("%016" PRIx64, val); in Java_art_Test913_followReferencesPrimitiveFields() 740 p->data += oss.str(); in Java_art_Test913_followReferencesPrimitiveFields()
|
/art/compiler/linker/ |
D | relative_patcher_test.h | 242 std::ostringstream oss; in DumpDiff() local 243 oss << "[stripped " << remove << "]"; in DumpDiff() 244 std::string replacement = oss.str(); in DumpDiff()
|
/art/imgdiag/ |
D | imgdiag.cc | 103 std::ostringstream oss; in PrettyFieldValue() local 106 oss << object->GetFieldObject<mirror::Object, kVerifyNone, kWithoutReadBarrier>( in PrettyFieldValue() 111 oss << static_cast<bool>(object->GetFieldBoolean<kVerifyNone>(field->GetOffset())); in PrettyFieldValue() 115 oss << static_cast<int32_t>(object->GetFieldByte<kVerifyNone>(field->GetOffset())); in PrettyFieldValue() 119 oss << object->GetFieldChar<kVerifyNone>(field->GetOffset()); in PrettyFieldValue() 123 oss << object->GetFieldShort<kVerifyNone>(field->GetOffset()); in PrettyFieldValue() 127 oss << object->GetField32<kVerifyNone>(field->GetOffset()); in PrettyFieldValue() 131 oss << object->GetField64<kVerifyNone>(field->GetOffset()); in PrettyFieldValue() 135 oss << object->GetField32<kVerifyNone>(field->GetOffset()); in PrettyFieldValue() 139 oss << object->GetField64<kVerifyNone>(field->GetOffset()); in PrettyFieldValue() [all …]
|
/art/runtime/jit/ |
D | jit_code_cache.cc | 82 std::ostringstream oss; in Create() local 83 oss << "Maxium code cache capacity is limited to 1 GB, " in Create() 85 *error_msg = oss.str(); in Create() 104 std::ostringstream oss; in Create() local 105 oss << "Failed to create read write cache: " << error_str << " size=" << max_capacity; in Create() 106 *error_msg = oss.str(); in Create() 124 std::ostringstream oss; in Create() local 125 oss << "Failed to create read write execute cache: " << error_str << " size=" << max_capacity; in Create() 126 *error_msg = oss.str(); in Create()
|
/art/runtime/gc/collector/ |
D | mark_sweep.cc | 427 std::ostringstream oss; in operator ()() local 428 oss << "Tried to mark " << obj << " not contained by any spaces" << std::endl; in operator ()() 432 oss << "Field info: " in operator ()() 456 oss << &p[i] << ": " << "holder+" << (i * sizeof(uint32_t)) << " = " << std::hex << p[i] in operator ()() 460 oss << "Attempting see if it's a bad thread root" << std::endl; in operator ()() 461 mark_sweep_->VerifySuspendedThreadRoots(oss); in operator ()() 462 LOG(FATAL) << oss.str(); in operator ()()
|