Lines Matching defs:std

189     std::string temp;
215 std::string extra;
255 std::string temp;
272 std::string tmp;
305 typedef std::priority_queue<FieldGap, std::vector<FieldGap>, FieldGapsComparator> FieldGaps;
331 std::deque<ArtField*>* grouped_and_sorted_fields,
390 std::fill_n(find_array_class_cache_, kFindArrayCacheSize, GcRoot<mirror::Class>(nullptr));
400 std::ostringstream os1, os2;
411 bool ClassLinker::InitWithoutImage(std::vector<std::unique_ptr<const DexFile>> boot_class_path,
412 std::string* error_msg) {
600 boot_dex_files_.push_back(std::move(dex_file));
923 bool ClassLinker::InitFromBootImage(std::string* error_msg) {
930 std::vector<gc::space::ImageSpace*> spaces = heap->GetBootImageSpaces();
949 std::vector<const OatFile*> oat_files =
1066 std::vector<std::unique_ptr<const DexFile>> dex_files;
1077 std::make_move_iterator(dex_files.begin()),
1078 std::make_move_iterator(dex_files.end()));
1080 for (const std::unique_ptr<const DexFile>& dex_file : boot_dex_files_) {
1122 std::list<ObjPtr<mirror::String>>* out_dex_file_names,
1123 std::string* error_msg)
1304 ObjPtr<mirror::Class> klass = types[j].load(std::memory_order_relaxed).object.Read();
1383 static std::unique_ptr<const DexFile> OpenOatDexFile(const OatFile* oat_file,
1385 std::string* error_msg)
1388 std::unique_ptr<const DexFile> dex_file;
1391 return std::unique_ptr<const DexFile>();
1393 std::string inner_error_msg;
1400 return std::unique_ptr<const DexFile>();
1408 return std::unique_ptr<const DexFile>();
1414 std::vector<std::unique_ptr<const DexFile>>* out_dex_files,
1415 std::string* error_msg) {
1425 std::string dex_file_location(dex_cache->GetLocation()->ToModifiedUtf8());
1426 std::unique_ptr<const DexFile> dex_file = OpenOatDexFile(oat_file,
1433 out_dex_files->push_back(std::move(dex_file));
1572 const std::vector<gc::space::ImageSpace*>& spaces_;
1576 std::vector<const uint8_t*> space_begin_;
1577 std::vector<const ImageSection*> method_sections_;
1578 std::vector<const ImageSection*> runtime_method_sections_;
1607 std::vector<ObjPtr<mirror::Class>> classes;
1629 ObjPtr<mirror::Class> klass = types[j].load(std::memory_order_relaxed).object.Read();
1643 std::vector<std::unique_ptr<const DexFile>>* out_dex_files,
1644 std::string* error_msg) {
1702 std::string dex_file_location(dex_cache->GetLocation()->ToModifiedUtf8());
1705 if (dex_file_location.find('/') == std::string::npos) {
1706 std::string dex_location_path = dex_location;
1708 CHECK_NE(pos, std::string::npos);
1712 std::unique_ptr<const DexFile> dex_file = OpenOatDexFile(oat_file,
1725 ObjPtr<mirror::Class> klass = types[j].load(std::memory_order_relaxed).object.Read();
1740 out_dex_files->push_back(std::move(dex_file));
1757 std::list<ObjPtr<mirror::String>> image_dex_file_names;
1758 std::string temp_error_msg;
1764 std::list<ObjPtr<mirror::String>> loader_dex_file_names;
1903 class_table->AddClassSet(std::move(temp_set));
2079 std::vector<ObjPtr<mirror::Class>> classes_;
2366 typedef std::pair<const DexFile*, const DexFile::ClassDef*> ClassPathEntry;
2370 size_t hash, const std::vector<const DexFile*>& class_path) {
2587 std::string class_name_string(descriptor + 1, descriptor_length - 2);
2588 std::replace(class_name_string.begin(), class_name_string.end(), '/', '.');
2655 std::string result_storage;
2657 std::string loader_storage;
3118 std::uninitialized_fill_n(&ret->At(0), length, ArtField());
3318 std::string temp;
3378 const std::string dex_cache_location = dex_cache->GetLocation()->ToModifiedUtf8();
3381 std::string dex_file_location = dex_file.GetLocation();
3385 const std::string dex_file_suffix = dex_file_location.substr(
3827 std::string printable_type(PrintableChar(type));
3835 std::string source;
3934 std::vector<ObjPtr<mirror::Class>>* result)
3952 std::vector<ObjPtr<mirror::Class>>* const result_;
3956 std::vector<ObjPtr<mirror::Class>>& result) {
3987 std::string error_msg =
4151 std::string error_msg;
4231 std::string* error_msg) {
4308 std::string temp;
4375 std::string descriptor(GetDescriptorForProxy(temp_klass.Get()));
4503 std::string interfaces_field_name(StringPrintf("java.lang.Class[] %s.interfaces",
4507 std::string throws_field_name(StringPrintf("java.lang.Class[][] %s.throws",
4519 std::string ClassLinker::GetDescriptorForProxy(ObjPtr<mirror::Class> proxy_class) {
4916 std::string temp;
5034 std::string return_type = dex_file->PrettyType(return_type_idx);
5035 std::string class_loader = mirror::Object::PrettyTypeOf(m->GetDeclaringClass()->GetClassLoader());
5056 std::string arg_type = dex_file->PrettyType(arg_type_idx);
5057 std::string class_loader = mirror::Object::PrettyTypeOf(m->GetDeclaringClass()->GetClassLoader());
5071 const std::string& error_msg)
5342 std::fill_n(imt_data, arraysize(imt_data), Runtime::Current()->GetImtUnimplementedMethod());
5613 std::unordered_map<size_t, ClassLinker::MethodTranslation> default_translations;
5680 std::fill(hash_table_, hash_table_ + hash_size_, invalid_index_);
5740 const uint32_t LinkVirtualHashTable::invalid_index_ = std::numeric_limits<uint32_t>::max();
5741 const uint32_t LinkVirtualHashTable::removed_index_ = std::numeric_limits<uint32_t>::max() - 1;
5746 /*out*/std::unordered_map<size_t, ClassLinker::MethodTranslation>* default_translations) {
5827 std::unique_ptr<uint32_t[]> hash_heap_storage;
6253 std::fill_n(imt_data, arraysize(imt_data), unimplemented_method);
6431 const std::unordered_set<ObjPtr<mirror::Class>, HashObjPtr>& classes,
6465 std::vector<mirror::Class*> to_process)
6470 std::unordered_set<ObjPtr<mirror::Class>, HashObjPtr> classes_in_iftable;
6573 std::string temp;
6605 std::vector<mirror::Class*> to_add;
6612 new_ifcount = FillIfTable(iftable.Get(), super_ifcount, std::move(to_add));
6678 std::find_if(virtuals.begin(), virtuals.end(), is_same_method) != virtuals.end())) {
6714 << " (0x" << std::hex << reinterpret_cast<uintptr_t>(vtable_entry) << ") and "
6715 << other_entry->PrettyMethod() << " (0x" << std::hex
6798 const std::unordered_map<size_t, ClassLinker::MethodTranslation>& default_translations,
6816 std::find_if(m->GetDeclaringClass()->GetMethods(pointer_size).begin(),
7123 const std::unordered_map<size_t, ClassLinker::MethodTranslation>& default_translations,
7248 const std::unordered_map<size_t, ClassLinker::MethodTranslation>& default_translations,
7572 std::deque<ArtField*> grouped_and_sorted_fields;
7578 std::sort(grouped_and_sorted_fields.begin(), grouped_and_sorted_fields.end(),
7659 std::string temp;
8588 void ClassLinker::DumpForSigQuit(std::ostream& os) {
8710 const std::vector<const DexFile*>& dex_files,
8843 const std::vector<const DexFile*>& dex_files) {
8851 std::fill_n(find_array_class_cache_, kFindArrayCacheSize, GcRoot<mirror::Class>(nullptr));
8883 std::vector<ClassLoaderData> to_delete;
8909 GetResolvedClassesVisitor(std::set<DexCacheResolvedClasses>* result, bool ignore_boot_classes)
8939 const DexCacheResolvedClasses* resolved_classes = std::addressof(*last_resolved_classes_);
8956 auto it = extra_stats_.find(std::addressof(resolved_classes));
8973 std::set<DexCacheResolvedClasses>* result_;
8975 std::set<DexCacheResolvedClasses>::iterator last_resolved_classes_;
8980 std::map<const DexCacheResolvedClasses*, ExtraStats> extra_stats_;
8981 std::map<const DexCacheResolvedClasses*, ExtraStats>::iterator last_extra_stats_;
8984 std::set<DexCacheResolvedClasses> ClassLinker::GetResolvedClasses(bool ignore_boot_classes) {
8988 std::set<DexCacheResolvedClasses> ret;