Home
last modified time | relevance | path

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

123

/art/libartbase/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() + (kBitsPerIntPtrT / 4), in TEST()
65 std::ostringstream oss; in TEST() local
[all …]
/art/runtime/gc/
Dverification.cc34 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 …]
Dreference_queue_test.cc71 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()
Dheap_verification_test.cc179 std::ostringstream oss; in TEST_F() local
180 oss << arr.Get(); in TEST_F()
181 EXPECT_NE(path.find(oss.str()), std::string::npos); in TEST_F()
/art/runtime/
Dreference_table_test.cc88 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 …]
Ddebug_print.cc37 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 …]
Dgc_root-inl.h45 std::ostringstream oss; in ToString() local
46 Describe(oss); in ToString()
47 return oss.str(); in ToString()
Dindirect_reference_table.cc259 std::ostringstream oss; in Add() local
260 oss << "JNI ERROR (app bug): " << kind_ << " table overflow " in Add()
263 *error_msg = oss.str(); in Add()
269 std::ostringstream oss; in Add() local
270 oss << "JNI ERROR (app bug): " << kind_ << " table overflow " in Add()
274 *error_msg = oss.str(); in Add()
280 std::ostringstream oss; in Add() local
281 oss << "JNI ERROR (app bug): " << kind_ << " table overflow " in Add()
285 *error_msg = oss.str(); in Add()
Dindirect_reference_table_test.cc35 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()
Dmonitor.cc409 std::ostringstream oss; in PrettyContentionInfo() local
410 oss << "monitor contention with owner " << owner_name << " (" << owner_tid << ")"; in PrettyContentionInfo()
412 oss << " at " << owners_method->PrettyMethod(); in PrettyContentionInfo()
413 oss << "(" << owners_filename << ":" << owners_line_number << ")"; in PrettyContentionInfo()
415 oss << " waiters=" << num_waiters; in PrettyContentionInfo()
416 return oss.str(); in PrettyContentionInfo()
473 std::ostringstream oss; in Lock() local
476 oss << PrettyContentionInfo(name, in Lock()
488 oss << " blocking from " in Lock()
491 ATraceBegin(oss.str().c_str()); in Lock()
[all …]
/art/runtime/jit/
Djit_memory_region.cc78 std::ostringstream oss; in Initialize() local
79 oss << "Failed to initialize dual view JIT. memfd_create() error: " << strerror(errno); in Initialize()
83 *error_msg = oss.str(); in Initialize()
86 VLOG(jit) << oss.str(); in Initialize()
88 std::ostringstream oss; in Initialize() local
89 oss << "Failed to initialize memory file: " << strerror(errno); in Initialize()
90 *error_msg = oss.str(); in Initialize()
169 std::ostringstream oss; in Initialize() local
170 oss << "Failed to create read write cache: " << error_str << " size=" << capacity; in Initialize()
171 *error_msg = oss.str(); in Initialize()
[all …]
/art/test/2031-zygote-compiled-frame-deopt/
Dnative-wait.cc68 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/
Dstress.cc387 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/test/1972-jni-id-swap-indices/
Djni_id.cc46 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/jvmti-agents/chain-agents/
Dchainagents.cc71 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/ti-agent/
Dcommon_helper.cc93 std::ostringstream oss; in GetJavaValueByType() local
94 oss << "(" << type << ")L" << name << ";"; in GetJavaValueByType()
95 std::string args = oss.str(); in GetJavaValueByType()
/art/tools/signal_dumper/
Dsignal_dumper.cc527 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/test/906-iterate-heap/
Diterate_heap.cc258 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/
Dmod_union_table_test.cc134 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/
Dalloc_manager.cc103 std::ostringstream oss; in PreObjectAllocated()
104 oss << "allocating " << *byte_count << " bytes of type " << type->PrettyClass(); in PreObjectAllocated()
105 return oss.str(); in PreObjectAllocated()
/art/compiler/optimizing/
Dsuperblock_cloner.cc689 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/runtime/gc/space/
Dlarge_object_space_test.cc109 std::ostringstream oss; in LargeObjectTest() local
110 los->Dump(oss); in LargeObjectTest()
111 LOG(INFO) << oss.str(); in LargeObjectTest()
/art/oatdump/
Doatdump_test.h358 std::ostringstream oss; variable
361 oss << "Did not find prefix " << expected_prefixes[i] << std::endl;
366 oss << "Processed bytes " << total << ":" << std::endl;
370 : (::testing::AssertionFailure() << oss.str() << error_buf.data());
/art/compiler/utils/
Ddedupe_set-inl.h215 std::ostringstream oss;
216 oss << set_name << " lock " << i;
217 shards_[i].reset(new Shard(alloc, oss.str()));
/art/libdexfile/dex/
Ddex_file.cc154 std::ostringstream oss; in CheckMagicAndVersion() local
155 oss << "Unrecognized magic number in " << GetLocation() << ":" in CheckMagicAndVersion()
160 *error_msg = oss.str(); in CheckMagicAndVersion()
164 std::ostringstream oss; in CheckMagicAndVersion() local
165 oss << "Unrecognized version number in " << GetLocation() << ":" in CheckMagicAndVersion()
170 *error_msg = oss.str(); in CheckMagicAndVersion()

123