Searched defs:oss (Results 1 - 25 of 27) sorted by relevance

12

/art/runtime/base/
H A Dhex_dump_test.cc35 std::ostringstream oss; local
36 oss << HexDump(test_text, strlen(test_text), false, "");
37 EXPECT_STREQ(oss.str().c_str(),
44 std::ostringstream oss; local
45 oss << HexDump(test_text, strlen(test_text), false, "");
46 EXPECT_STREQ(oss.str().c_str(),
56 std::ostringstream oss; local
57 oss << HexDump(&g16byte_aligned_number, 8, true, "");
59 EXPECT_STREQ(oss.str().c_str() + (kBitsPerIntPtrT / 4),
65 std::ostringstream oss; local
[all...]
H A Dhash_set_test.cc45 std::ostringstream oss; local
47 oss << static_cast<char>('A' + PRand() % 64);
50 oss << " " << unique_number_++; // Relies on ' ' < 'A'
51 return oss.str();
/art/runtime/
H A Dreference_table_test.cc39 std::ostringstream oss; local
40 rt.Dump(oss);
41 EXPECT_NE(oss.str().find("(empty)"), std::string::npos) << oss.str();
57 std::ostringstream oss; local
58 rt.Dump(oss);
59 EXPECT_NE(oss.str().find("1 of java.lang.String"), std::string::npos) << oss.str();
60 EXPECT_EQ(oss.str().find("short[]"), std::string::npos) << oss
68 std::ostringstream oss; local
87 std::ostringstream oss; local
96 std::ostringstream oss; local
[all...]
H A Dgc_root-inl.h39 std::ostringstream oss; local
40 Describe(oss);
41 return oss.str();
H A Dindirect_reference_table_test.cc30 std::ostringstream oss; local
31 irt->Dump(oss);
33 EXPECT_EQ(oss.str().find("java.lang.Object"), std::string::npos) << oss.str();
35 EXPECT_NE(oss.str().find("1 of java.lang.Object"), std::string::npos) << oss.str();
37 EXPECT_NE(oss.str().find(StringPrintf("%zd of java.lang.Object (%zd unique instances)",
42 << oss.str();
H A Dmonitor.cc307 std::ostringstream oss; local
308 oss << "monitor contention with owner " << owner_name << " (" << owner_tid << ")";
310 oss << " at " << PrettyMethod(owners_method);
311 oss << "(" << owners_filename << ":" << owners_line_number << ")";
313 oss << " waiters=" << num_waiters;
314 return oss.str();
365 std::ostringstream oss; local
368 oss << PrettyContentionInfo(name,
379 oss << " blocking from "
382 ATRACE_BEGIN(oss
470 std::ostringstream oss; local
[all...]
H A Dthread_list.cc329 std::ostringstream oss; local
330 thread->ShortDump(oss);
331 ATRACE_BEGIN((std::string("Waiting for suspension of thread ") + oss.str()).c_str());
1202 std::ostringstream oss; local
1203 self->ShortDump(oss); // We don't hold the mutator_lock_ yet and so cannot call Dump.
1204 LOG(INFO) << "ThreadList::Register() " << *self << "\n" << oss.str();
H A Delf_file.cc1043 std::ostringstream oss; local
1044 oss << "Program header #" << i << " has overflow in p_vaddr+p_memsz: 0x" << std::hex
1047 *error_msg = oss.str();
1061 std::ostringstream oss; local
1062 oss << "Loaded size is 0x" << std::hex << loaded_size << " but maximum size_t is 0x"
1064 *error_msg = oss.str();
1082 std::ostringstream oss; local
1083 oss << "Expected ISA " << kRuntimeISA << " but found " << elf_ISA;
1084 *error_msg = oss.str();
H A Dcheck_jni.cc1245 std::ostringstream oss; local
1246 oss << std::hex;
1250 oss << "<";
1252 oss << "0x" << std::setfill('0') << std::setw(2) << static_cast<uint32_t>(*tmp);
1254 oss << '>';
1258 oss << ' ';
1263 " string: '%s'\n input: '%s'", errorKind, *utf8, bytes, oss.str().c_str());
H A Ddex_file.cc473 std::ostringstream oss; local
474 oss << "Unrecognized magic number in " << GetLocation() << ":"
479 *error_msg = oss.str();
483 std::ostringstream oss; local
484 oss << "Unrecognized version number in " << GetLocation() << ":"
489 *error_msg = oss.str();
/art/compiler/utils/mips64/
H A Dassembler_mips64_test.cc638 std::ostringstream oss; local
639 oss <<
654 std::string expected = oss.str();
808 std::ostringstream oss; local
809 oss <<
822 std::string expected = oss.str();
/art/compiler/linker/
H A Drelative_patcher_test.h233 std::ostringstream oss; local
234 oss << "[stripped " << remove << "]";
235 std::string replacement = oss.str();
/art/compiler/utils/
H A Ddedupe_set-inl.h213 std::ostringstream oss; local
214 oss << set_name << " lock " << i;
215 shards_[i].reset(new Shard(alloc, oss.str()));
/art/runtime/gc/accounting/
H A Dmod_union_table_test.cc132 std::ostream& operator<<(std::ostream& oss, ModUnionTableFactory::TableType type) { argument
135 oss << "CardCache";
139 oss << "ReferenceCache";
146 return oss;
240 std::ostringstream oss; local
241 table->Dump(oss);
/art/compiler/utils/arm/
H A Dassembler_arm32_test.cc243 std::ostringstream oss; variable
244 oss << c;
245 return oss.str();
266 std::ostringstream oss; variable
270 oss << sop.GetRegister() << ", " << sop.GetShift();
272 oss << sop.GetRegister() << ", " << sop.GetShift() << " #" << sop.GetImmediate();
275 oss << sop.GetRegister();
278 oss << "#" << sop.GetImmediate();
280 return oss.str();
299 void ExecuteAndPrint(std::function<void()> f, std::string fmt, std::ostringstream& oss) { argument
326 TemplateHelper(std::function<void(arm::Register)> f, int depth ATTRIBUTE_UNUSED, bool without_pc, std::string fmt, std::string filter, std::ostringstream& oss) argument
353 TemplateHelper(std::function<void(const arm::ShifterOperand&)> f, int depth ATTRIBUTE_UNUSED, bool without_pc ATTRIBUTE_UNUSED, std::string fmt, std::string filter, std::ostringstream& oss) argument
377 TemplateHelper(std::function<void(arm::Condition)> f, int depth ATTRIBUTE_UNUSED, bool without_pc ATTRIBUTE_UNUSED, std::string fmt, std::string filter, std::ostringstream& oss) argument
401 TemplateHelper(std::function<void(arm::SetCc)> f, int depth ATTRIBUTE_UNUSED, bool without_pc ATTRIBUTE_UNUSED, std::string fmt, std::string filter, std::ostringstream& oss) argument
426 TemplateHelper(std::function<void(arm::Register, Args...)> f, int depth, bool without_pc, std::string fmt, std::string filter, std::ostringstream& oss) argument
450 after_reg, after_reg_filter, oss); local
455 TemplateHelper(std::function<void(const arm::ShifterOperand&, Args...)> f, int depth, bool without_pc, std::string fmt, std::string filter, std::ostringstream& oss) argument
477 after_shift, after_shift_filter, oss); local
482 TemplateHelper(std::function<void(arm::Condition, Args...)> f, int depth, bool without_pc, std::string fmt, std::string filter, std::ostringstream& oss) argument
503 after_cond, after_cond_filter, oss); local
508 TemplateHelper(std::function<void(arm::SetCc, Args...)> f, int depth, bool without_pc, std::string fmt, std::string filter, std::ostringstream& oss) argument
529 after_cond, after_cond_filter, oss); local
561 std::ostringstream oss; local
[all...]
H A Dassembler_arm_test.h96 std::ostringstream oss; local
149 oss << "\n";
151 oss << base4;
160 oss << "\n";
162 return oss.str();
187 std::ostringstream oss; local
241 oss << "\n";
243 oss << after_reg2;
251 oss << "\n";
253 return oss
273 std::ostringstream oss; local
339 std::ostringstream oss; local
403 std::ostringstream oss; local
459 std::ostringstream oss; local
[all...]
/art/runtime/gc/collector/
H A Dsemi_space.cc182 std::ostringstream oss; local
184 runtime->GetThreadList()->DumpForSigQuit(oss);
185 runtime->GetThreadList()->DumpNativeStacks(oss);
186 runtime->SetFaultMessage(oss.str());
/art/runtime/interpreter/
H A Dinterpreter_common.h992 std::ostringstream oss; local
993 oss << PrettyMethod(shadow_frame.GetMethod())
999 oss << StringPrintf(" vreg%u=0x%08X", i, raw_value);
1003 oss << "/java.lang.String \"" << ref_value->AsString()->ToModifiedUtf8() << "\"";
1005 oss << "/" << PrettyTypeOf(ref_value);
1009 TRACE_LOG << oss.str() << "\n";
/art/runtime/jit/
H A Djit.cc191 std::ostringstream oss; local
192 oss << "JIT could not load libart-compiler.so: " << dlerror();
193 *error_msg = oss.str();
H A Djit_code_cache.cc73 std::ostringstream oss; local
74 oss << "Maxium code cache capacity is limited to 1 GB, "
76 *error_msg = oss.str();
85 std::ostringstream oss; local
86 oss << "Failed to create read write execute cache: " << error_str << " size=" << max_capacity;
87 *error_msg = oss.str();
105 std::ostringstream oss; local
106 oss << "Failed to create read write execute cache: " << error_str << " size=" << max_capacity;
107 *error_msg = oss.str();
/art/dexdump/
H A Ddexdump.cc1202 std::ostringstream oss; local
1203 DumpMethodCFG(dex_file, dex_method_idx, oss);
1204 fprintf(gOutFile, "%s", oss.str().c_str());
/art/imgdiag/
H A Dimgdiag.cc149 std::ostringstream oss; local
152 oss << obj->GetFieldObject<mirror::Object, kVerifyNone, kWithoutReadBarrier>(
157 oss << static_cast<bool>(obj->GetFieldBoolean<kVerifyNone>(field->GetOffset()));
161 oss << static_cast<int32_t>(obj->GetFieldByte<kVerifyNone>(field->GetOffset()));
165 oss << obj->GetFieldChar<kVerifyNone>(field->GetOffset());
169 oss << obj->GetFieldShort<kVerifyNone>(field->GetOffset());
173 oss << obj->GetField32<kVerifyNone>(field->GetOffset());
177 oss << obj->GetField64<kVerifyNone>(field->GetOffset());
181 oss << obj->GetField32<kVerifyNone>(field->GetOffset());
185 oss << ob
[all...]
/art/compiler/
H A Dimage_writer.cc1980 std::ostringstream oss; local
1981 oss << ptr;
1982 return oss.str();
/art/dex2oat/
H A Ddex2oat.cc1011 std::ostringstream oss; local
1014 oss << ' ';
1016 oss << argv[i];
1018 key_value_store_->Put(OatHeader::kDex2OatCmdLineKey, oss.str());
1019 oss.str(""); // Reset.
1020 oss << kRuntimeISA;
1021 key_value_store_->Put(OatHeader::kDex2OatHostKey, oss.str());
/art/compiler/driver/
H A Dcompiler_driver.cc137 std::ostringstream oss; local
138 oss << static_cast<InvokeType>(i) << " methods were AOT resolved";
139 DumpStat(resolved_methods_[i], unresolved_methods_[i], oss.str().c_str());
2866 std::ostringstream oss; local
2869 oss << "arena alloc=" << PrettySize(max_arena_alloc_) << " (" << max_arena_alloc_ << "B)";
2870 oss << " java alloc=" << PrettySize(java_alloc) << " (" << java_alloc << "B)";
2875 oss << " native alloc=" << PrettySize(allocated_space) << " (" << allocated_space << "B)"
2878 compiled_method_storage_.DumpMemoryUsage(oss, extended);
2879 return oss.str();

Completed in 609 milliseconds

12