/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 | flags.cc | 145 void DumpValue(std::ostream& oss, const std::optional<Value>& val) { in DumpValue() argument 147 oss << val.value(); in DumpValue() 149 oss << kUndefinedValue; in DumpValue() 154 void Flag<Value>::Dump(std::ostream& oss) const { in Dump() 164 oss << "value: " << std::get<0>(valueOrigin) << " (from " << origin << ")"; in Dump() 166 oss << "\n default: " << default_; in Dump() 167 oss << "\n " << command_line_argument_name_ << ": "; in Dump() 168 DumpValue(oss, from_command_line_); in Dump() 169 oss << "\n " << system_property_name_ << ": "; in Dump() 170 DumpValue(oss, from_system_property_); in Dump() [all …]
|
D | flags.h | 116 static void DumpFlags(std::ostream& oss) { in DumpFlags() argument 118 oss << "\n{\n"; in DumpFlags() 119 flag->Dump(oss); in DumpFlags() 120 oss << "\n}"; in DumpFlags() 131 virtual void Dump(std::ostream& oss) const = 0; 211 void Dump(std::ostream& oss) const override;
|
/art/runtime/gc/ |
D | verification.cc | 34 std::ostringstream oss; in DumpRAMAroundAddress() local 38 oss << " adjacent_ram="; in DumpRAMAroundAddress() 42 oss << "|"; in DumpRAMAroundAddress() 45 oss << std::hex << std::setfill('0') << std::setw(2) << static_cast<uintptr_t>(*ptr); in DumpRAMAroundAddress() 48 oss << " <invalid address>"; in DumpRAMAroundAddress() 50 return oss.str(); in DumpRAMAroundAddress() 54 std::ostringstream oss; in DumpObjectInfo() local 55 oss << tag << "=" << addr; in DumpObjectInfo() 59 oss << " klass=" << klass; in DumpObjectInfo() 61 oss << "(" << klass->PrettyClass() << ")"; in DumpObjectInfo() [all …]
|
D | reference_queue_test.cc | 71 std::ostringstream oss; in TEST_F() local 72 queue.Dump(oss); in TEST_F() 73 LOG(INFO) << oss.str(); in TEST_F() 88 oss.str(""); in TEST_F() 89 queue.Dump(oss); in TEST_F() 90 LOG(INFO) << oss.str(); in TEST_F() 93 oss.str(""); in TEST_F() 94 queue.Dump(oss); in TEST_F() 95 LOG(INFO) << oss.str(); in TEST_F()
|
/art/runtime/ |
D | reference_table_test.cc | 88 std::ostringstream oss; in TEST_F() local 89 rt.Dump(oss); in TEST_F() 90 EXPECT_NE(oss.str().find("(empty)"), std::string::npos) << oss.str(); in TEST_F() 106 std::ostringstream oss; in TEST_F() local 107 rt.Dump(oss); in TEST_F() 108 EXPECT_NE(oss.str().find("1 of java.lang.String"), std::string::npos) << oss.str(); in TEST_F() 109 EXPECT_EQ(oss.str().find("short[]"), std::string::npos) << oss.str(); in TEST_F() 117 std::ostringstream oss; in TEST_F() local 118 rt.Dump(oss); in TEST_F() 119 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 | 266 std::ostringstream oss; in Add() local 267 oss << "JNI ERROR (app bug): " << kind_ << " table overflow " in Add() 270 *error_msg = oss.str(); in Add() 276 std::ostringstream oss; in Add() local 277 oss << "JNI ERROR (app bug): " << kind_ << " table overflow " in Add() 281 *error_msg = oss.str(); in Add() 287 std::ostringstream oss; in Add() local 288 oss << "JNI ERROR (app bug): " << kind_ << " table overflow " in Add() 292 *error_msg = oss.str(); in Add()
|
D | indirect_reference_table_test.cc | 35 std::ostringstream oss; in CheckDump() local 36 irt->Dump(oss); in CheckDump() 38 EXPECT_EQ(oss.str().find("java.lang.Object"), std::string::npos) << oss.str(); in CheckDump() 40 EXPECT_NE(oss.str().find("1 of java.lang.Object"), std::string::npos) << oss.str(); in CheckDump() 42 EXPECT_NE(oss.str().find(StringPrintf("%zd of java.lang.Object (%zd unique instances)", in CheckDump() 47 << oss.str(); in CheckDump()
|
/art/runtime/jit/ |
D | jit_memory_region.cc | 87 std::ostringstream oss; in Initialize() local 88 oss << "Failed to initialize dual view JIT. memfd_create() error: " << strerror(errno); in Initialize() 92 *error_msg = oss.str(); in Initialize() 95 VLOG(jit) << oss.str(); in Initialize() 97 std::ostringstream oss; in Initialize() local 98 oss << "Failed to initialize memory file: " << strerror(errno); in Initialize() 99 *error_msg = oss.str(); in Initialize() 171 std::ostringstream oss; in Initialize() local 172 oss << "Failed to create dual data view: " << error_str; in Initialize() 173 *error_msg = oss.str(); in Initialize() [all …]
|
/art/test/2031-zygote-compiled-frame-deopt/ |
D | native-wait.cc | 68 std::ostringstream oss; in Java_art_Test2031_setupJvmti() local 70 oss << testdir_str << (kIsDebugBuild ? "libtiagentd.so" : "libtiagent.so") in Java_art_Test2031_setupJvmti() 72 LOG(INFO) << "agent " << oss.str(); in Java_art_Test2031_setupJvmti() 73 runtime->AttachAgent(env, oss.str(), nullptr); in Java_art_Test2031_setupJvmti()
|
/art/test/ti-stress/ |
D | stress.cc | 387 std::ostringstream oss; in GetName() local 388 oss << name << " (value: \"" << val << "\")"; in GetName() 389 name = oss.str(); in GetName() 400 std::ostringstream oss; in GetValOf() local 408 oss << val.b; in GetValOf() 409 return oss.str(); in GetValOf() 411 oss << val.c; in GetValOf() 412 return oss.str(); in GetValOf() 414 oss << val.s; in GetValOf() 415 return oss.str(); in GetValOf() [all …]
|
/art/tools/jvmti-agents/chain-agents/ |
D | chainagents.cc | 71 std::ostringstream oss; in Load() local 73 oss << "Failed to dlopen due to " << dlerror(); in Load() 74 *err = oss.str(); in Load() 80 oss << "Failed to dlsym " << (start == StartType::OnLoad ? kOnLoad : kOnAttach) << " due to " in Load() 82 *err = oss.str(); in Load()
|
/art/test/1972-jni-id-swap-indices/ |
D | jni_id.cc | 46 std::ostringstream oss; in Java_Main_GetJniType() local 47 oss << Runtime::Current()->GetJniIdType(); in Java_Main_GetJniType() 48 return env->NewStringUTF(oss.str().c_str()); in Java_Main_GetJniType()
|
/art/tools/signal_dumper/ |
D | signal_dumper.cc | 527 std::ostringstream oss; in DumpThread() local 528 oss << prefix << StringPrintf("#%02zu pc ", it->num); in DumpThread() 531 oss << StringPrintf(kIs64Bit ? "%016" PRIx64 " ???" : "%08" PRIx64 " ???", it->pc); in DumpThread() 533 oss << StringPrintf(kIs64Bit ? "%016" PRIx64 " " : "%08" PRIx64 " ", it->rel_pc); in DumpThread() 535 oss << StringPrintf("<anonymous:%" PRIx64 ">", it->map.start); in DumpThread() 537 oss << it->map.name; in DumpThread() 540 oss << StringPrintf(" (offset %" PRIx64 ")", it->map.offset); in DumpThread() 542 oss << " ("; in DumpThread() 544 oss << it->func_name; in DumpThread() 546 oss << "+" << it->func_offset; in DumpThread() [all …]
|
/art/compiler/optimizing/ |
D | optimizing_unit_test.h | 323 bool CheckGraph(HGraph* graph, std::ostream& oss = std::cerr) { 324 return CheckGraph(graph, /*check_ref_type_info=*/true, oss); 327 bool CheckGraph(std::ostream& oss = std::cerr) { 328 return CheckGraph(graph_, oss); 334 bool CheckGraphSkipRefTypeInfoChecks(HGraph* graph, std::ostream& oss = std::cerr) { 335 return CheckGraph(graph, /*check_ref_type_info=*/false, oss); 338 bool CheckGraphSkipRefTypeInfoChecks(std::ostream& oss = std::cerr) { 339 return CheckGraphSkipRefTypeInfoChecks(graph_, oss); 377 std::ostringstream oss; in EnsurePredecessorOrder() local 378 oss << "["; in EnsurePredecessorOrder() [all …]
|
D | execution_subgraph_test.cc | 808 std::ostringstream oss; in TEST_F() local 809 oss << "blk" << i; in TEST_F() 810 mid_blocks.push_back(oss.str().c_str()); in TEST_F() 838 std::ostringstream oss; in TEST_F() local 839 oss << "blk" << i; in TEST_F() 840 mid_blocks.push_back(oss.str()); in TEST_F() 869 std::ostringstream oss; in TEST_F() local 870 oss << "blk" << i; in TEST_F() 871 mid_blocks.push_back(oss.str()); in TEST_F() 895 std::ostringstream oss; in TEST_F() local [all …]
|
D | superblock_cloner.cc | 689 std::ostringstream oss; in DumpBB() local 690 oss << bb->GetBlockId(); in DumpBB() 691 oss << " <- "; in DumpBB() 693 oss << pred->GetBlockId() << " "; in DumpBB() 695 oss << " -> "; in DumpBB() 697 oss << succ->GetBlockId() << " "; in DumpBB() 701 oss << " dom " << bb->GetDominator()->GetBlockId(); in DumpBB() 705 oss << "\tloop: " << bb->GetLoopInformation()->GetHeader()->GetBlockId(); in DumpBB() 708 LOG(INFO) << oss.str(); in DumpBB() 1153 std::ostringstream oss; in DoLoopTransformationImpl() local [all …]
|
/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/test/ti-agent/ |
D | common_helper.cc | 93 std::ostringstream oss; in GetJavaValueByType() local 94 oss << "(" << type << ")L" << name << ";"; in GetJavaValueByType() 95 std::string args = oss.str(); in GetJavaValueByType()
|
/art/runtime/gc/accounting/ |
D | mod_union_table_test.cc | 134 std::ostream& operator<<(std::ostream& oss, ModUnionTableFactory::TableType type) { in operator <<() argument 137 oss << "CardCache"; in operator <<() 141 oss << "ReferenceCache"; in operator <<() 148 return oss; in operator <<() 242 std::ostringstream oss; in RunTest() local 243 table->Dump(oss); in RunTest()
|
/art/openjdkjvmti/ |
D | alloc_manager.cc | 103 std::ostringstream oss; in PreObjectAllocated() 104 oss << "allocating " << *byte_count << " bytes of type " << type->PrettyClass(); in PreObjectAllocated() 105 return oss.str(); in PreObjectAllocated()
|
/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/tools/jvmti-agents/simple-profile/ |
D | simple_profile.cc | 324 std::ostringstream oss; in DoDump() local 325 oss << "["; in DoDump() 333 oss << "," << std::endl; in DoDump() 336 oss << DataDefinition { in DoDump() 343 oss << "]"; in DoDump() 344 CHECK_GE(TEMP_FAILURE_RETRY(write(out_fd_, oss.str().c_str(), oss.str().size())), 0) in DoDump()
|