/art/libartbase/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/gc/ |
D | verification.cc | 33 std::ostringstream oss; in DumpRAMAroundAddress() local 37 oss << " adjacent_ram="; in DumpRAMAroundAddress() 41 oss << "|"; in DumpRAMAroundAddress() 44 oss << std::hex << std::setfill('0') << std::setw(2) << static_cast<uintptr_t>(*ptr); in DumpRAMAroundAddress() 47 oss << " <invalid address>"; in DumpRAMAroundAddress() 49 return oss.str(); in DumpRAMAroundAddress() 53 std::ostringstream oss; in DumpObjectInfo() local 54 oss << tag << "=" << addr; in DumpObjectInfo() 58 oss << " klass=" << klass; in DumpObjectInfo() 60 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/runtime/ |
D | reference_table_test.cc | 84 std::ostringstream oss; in TEST_F() local 85 rt.Dump(oss); in TEST_F() 86 EXPECT_NE(oss.str().find("(empty)"), std::string::npos) << oss.str(); in TEST_F() 102 std::ostringstream oss; in TEST_F() local 103 rt.Dump(oss); in TEST_F() 104 EXPECT_NE(oss.str().find("1 of java.lang.String"), std::string::npos) << oss.str(); in TEST_F() 105 EXPECT_EQ(oss.str().find("short[]"), std::string::npos) << oss.str(); in TEST_F() 113 std::ostringstream oss; in TEST_F() local 114 rt.Dump(oss); in TEST_F() 115 EXPECT_NE(oss.str().find(StringPrintf("Last %zd entries (of %zd):", in TEST_F() [all …]
|
D | debug_print.cc | 37 std::ostringstream oss; in DescribeSpace() local 44 oss << "image;" << ispace->GetName() << ";" in DescribeSpace() 49 oss << "continuous;" << cs->GetName(); in DescribeSpace() 55 oss << "discontinuous;" << ds->GetName(); in DescribeSpace() 57 oss << "invalid"; in DescribeSpace() 60 return oss.str(); in DescribeSpace() 64 std::ostringstream oss; in DescribeLoaders() local 77 oss << "BootClassLoader"; // This would be unexpected. in DescribeLoaders() 81 oss << loader_separator << loader->GetClass()->PrettyDescriptor() in DescribeLoaders() 90 oss << "[hit:" << DescribeSpace(klass) << "]"; in DescribeLoaders() [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 | indirect_reference_table.cc | 257 std::ostringstream oss; in Add() local 258 oss << "JNI ERROR (app bug): " << kind_ << " table overflow " in Add() 261 *error_msg = oss.str(); in Add() 267 std::ostringstream oss; in Add() local 268 oss << "JNI ERROR (app bug): " << kind_ << " table overflow " in Add() 272 *error_msg = oss.str(); in Add() 278 std::ostringstream oss; in Add() local 279 oss << "JNI ERROR (app bug): " << kind_ << " table overflow " in Add() 283 *error_msg = oss.str(); in Add()
|
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 | monitor.cc | 360 std::ostringstream oss; in PrettyContentionInfo() local 361 oss << "monitor contention with owner " << owner_name << " (" << owner_tid << ")"; in PrettyContentionInfo() 363 oss << " at " << owners_method->PrettyMethod(); in PrettyContentionInfo() 364 oss << "(" << owners_filename << ":" << owners_line_number << ")"; in PrettyContentionInfo() 366 oss << " waiters=" << num_waiters; in PrettyContentionInfo() 367 return oss.str(); in PrettyContentionInfo() 435 std::ostringstream oss; in Lock() local 438 oss << PrettyContentionInfo(name, in Lock() 449 oss << " blocking from " in Lock() 452 ATRACE_BEGIN(oss.str().c_str()); in Lock() [all …]
|
/art/test/ti-stress/ |
D | stress.cc | 403 std::ostringstream oss; in GetName() local 404 oss << name << " (value: \"" << val << "\")"; in GetName() 405 name = oss.str(); in GetName() 416 std::ostringstream oss; in GetValOf() local 424 oss << val.b; in GetValOf() 425 return oss.str(); in GetValOf() 427 oss << val.c; in GetValOf() 428 return oss.str(); in GetValOf() 430 oss << val.s; in GetValOf() 431 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/compiler/linker/arm/ |
D | relative_patcher_thumb2.cc | 393 std::ostringstream oss; in GetThunkDebugName() local 394 oss << "BakerReadBarrierThunk"; in GetThunkDebugName() 397 oss << "Field"; in GetThunkDebugName() 399 oss << "Wide"; in GetThunkDebugName() 401 oss << "_r" << BakerReadBarrierFirstRegField::Decode(encoded_data) in GetThunkDebugName() 405 oss << "Array_r" << BakerReadBarrierFirstRegField::Decode(encoded_data); in GetThunkDebugName() 410 oss << "GcRoot"; in GetThunkDebugName() 412 oss << "Wide"; in GetThunkDebugName() 414 oss << "_r" << BakerReadBarrierFirstRegField::Decode(encoded_data); in GetThunkDebugName() 418 return oss.str(); in GetThunkDebugName()
|
/art/runtime/gc/space/ |
D | large_object_space_test.cc | 109 std::ostringstream oss; in LargeObjectTest() local 110 los->Dump(oss); in LargeObjectTest() 111 LOG(INFO) << oss.str(); in LargeObjectTest()
|
/art/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()
|
/art/compiler/utils/ |
D | dedupe_set-inl.h | 215 std::ostringstream oss; 216 oss << set_name << " lock " << i; 217 shards_[i].reset(new Shard(alloc, oss.str()));
|
/art/compiler/linker/ |
D | relative_patcher_test.h | 238 std::ostringstream oss; in DumpDiff() local 239 oss << "[stripped " << remove << "]"; in DumpDiff() 240 std::string replacement = oss.str(); in DumpDiff()
|
/art/runtime/interpreter/ |
D | interpreter_common.h | 520 std::ostringstream oss; in TraceExecution() local 521 oss << shadow_frame.GetMethod()->PrettyMethod() in TraceExecution() 527 oss << android::base::StringPrintf(" vreg%u=0x%08X", i, raw_value); in TraceExecution() 531 oss << "/java.lang.String \"" << ref_value->AsString()->ToModifiedUtf8() << "\""; in TraceExecution() 533 oss << "/" << ref_value->PrettyTypeOf(); in TraceExecution() 537 TRACE_LOG << oss.str() << "\n"; in TraceExecution()
|
/art/test/913-heaps/ |
D | heaps.cc | 645 std::ostringstream oss; in Java_art_Test913_followReferencesPrimitiveArray() local 646 oss << *tag_ptr in Java_art_Test913_followReferencesPrimitiveArray() 680 oss << android::base::StringPrintf("%02x", data[i]); in Java_art_Test913_followReferencesPrimitiveArray() 682 oss << "')"; in Java_art_Test913_followReferencesPrimitiveArray() 687 p->data += oss.str(); in Java_art_Test913_followReferencesPrimitiveArray() 758 std::ostringstream oss; in Java_art_Test913_followReferencesPrimitiveFields() local 759 oss << *tag_ptr in Java_art_Test913_followReferencesPrimitiveFields() 772 oss << android::base::StringPrintf("%016" PRIx64, val); in Java_art_Test913_followReferencesPrimitiveFields() 777 p->data += oss.str(); in Java_art_Test913_followReferencesPrimitiveFields()
|
/art/libdexfile/dex/ |
D | dex_file.cc | 152 std::ostringstream oss; in CheckMagicAndVersion() local 153 oss << "Unrecognized magic number in " << GetLocation() << ":" in CheckMagicAndVersion() 158 *error_msg = oss.str(); in CheckMagicAndVersion() 162 std::ostringstream oss; in CheckMagicAndVersion() local 163 oss << "Unrecognized version number in " << GetLocation() << ":" in CheckMagicAndVersion() 168 *error_msg = oss.str(); in CheckMagicAndVersion()
|
/art/compiler/linker/arm64/ |
D | relative_patcher_arm64.cc | 551 std::ostringstream oss; in GetThunkDebugName() local 552 oss << "BakerReadBarrierThunk"; in GetThunkDebugName() 555 oss << "Field_r" << BakerReadBarrierFirstRegField::Decode(encoded_data) in GetThunkDebugName() 559 oss << "Array_r" << BakerReadBarrierFirstRegField::Decode(encoded_data); in GetThunkDebugName() 563 oss << "GcRoot_r" << BakerReadBarrierFirstRegField::Decode(encoded_data); in GetThunkDebugName() 567 return oss.str(); in GetThunkDebugName()
|
/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 …]
|