Home
last modified time | relevance | path

Searched refs:emplace (Results 1 – 25 of 49) sorted by relevance

12

/art/compiler/utils/x86_64/
Dassembler_x86_64_test.cc219 secondary_register_names_.emplace(x86_64::CpuRegister(x86_64::RAX), "eax"); in SetUpHelpers()
220 secondary_register_names_.emplace(x86_64::CpuRegister(x86_64::RBX), "ebx"); in SetUpHelpers()
221 secondary_register_names_.emplace(x86_64::CpuRegister(x86_64::RCX), "ecx"); in SetUpHelpers()
222 secondary_register_names_.emplace(x86_64::CpuRegister(x86_64::RDX), "edx"); in SetUpHelpers()
223 secondary_register_names_.emplace(x86_64::CpuRegister(x86_64::RBP), "ebp"); in SetUpHelpers()
224 secondary_register_names_.emplace(x86_64::CpuRegister(x86_64::RSP), "esp"); in SetUpHelpers()
225 secondary_register_names_.emplace(x86_64::CpuRegister(x86_64::RSI), "esi"); in SetUpHelpers()
226 secondary_register_names_.emplace(x86_64::CpuRegister(x86_64::RDI), "edi"); in SetUpHelpers()
227 secondary_register_names_.emplace(x86_64::CpuRegister(x86_64::R8), "r8d"); in SetUpHelpers()
228 secondary_register_names_.emplace(x86_64::CpuRegister(x86_64::R9), "r9d"); in SetUpHelpers()
[all …]
/art/libartbase/base/
Dsafe_map.h99 std::pair<iterator, bool> result = map_.emplace(k, v); in Put()
104 std::pair<iterator, bool> result = map_.emplace(k, std::move(v)); in Put()
162 std::pair<iterator, bool> emplace(Args&&... args) { in emplace() function
163 return map_.emplace(std::forward<Args>(args)...); in emplace()
Dlogging.h125 msg_.emplace<::android::base::LogMessage>(file, line, severity, tag, error); in VlogMessage()
Ddchecked_vector.h185 iterator emplace(const_iterator position, Args&&... args) { in emplace() function
187 Base::emplace(position, std::forward(args...)); in emplace()
Dbit_table_test.cc149 indices.emplace(bitmap, builder.Dedup(&bitmap, MinimumBitsToStore(bitmap))); in TEST()
Dbit_table.h329 dedup_.emplace(hash, index);
434 dedup_.emplace(hash, index); in Dedup()
/art/runtime/
Ddex_reference_collection.h76 current_vector_ = &map_.emplace(dex, IndexVector(vector_allocator_)).first->second; in GetOrInsertVector()
Dtransaction.cc256 it = array_logs_.emplace(array, std::move(log)).first; in RecordWriteArray()
378 object_logs_.emplace(new_root, std::move(old_root_it->second)); in VisitObjectLogs()
405 array_logs_.emplace(new_root, std::move(old_root_it->second)); in VisitArrayLogs()
462 field_values_.emplace(offset.Uint32Value(), std::move(field_value)); in LogValue()
Ddexopt_test.cc119 scratch.emplace(); // Create the scratch directory for the generated boot image. in GenerateOatForTest()
/art/libdexfile/dex/
Dtest_dex_file_builder.h43 auto it = strings_.emplace(str, IdxAndDataOffset()).first; in AddString()
50 types_.emplace(descriptor, 0u); in AddType()
60 fields_.emplace(key, 0u); in AddField()
75 auto it = protos_.emplace(proto_key, IdxAndDataOffset()).first; in AddMethod()
81 methods_.emplace(method_key, 0u); in AddMethod()
/art/compiler/debug/
Delf_debug_info_writer.h164 type_cache_.emplace(std::string(dex_class_desc), reference_tag_offset); in Write()
333 class_declarations.emplace(type, class_offset); in Write()
373 base_class_references.emplace(info_.size(), base_class.Ptr()); in Write()
433 class_declarations.emplace(base_class, base_class_declaration_offset); in Write()
496 lazy_types_.emplace(std::string(type_descriptor), info_.size()); in WriteLazyType()
610 type_cache_.emplace(desc, offset); in WriteTypeDeclaration()
Delf_debug_line_writer.h190 directories_map.emplace(package_name, directory_index); in WriteCompilationUnit()
202 files_map.emplace(full_path, file_index); in WriteCompilationUnit()
Delf_debug_loc_writer.h111 stack_maps.emplace(low_pc, s); in GetVariableLocations()
/art/tools/veridex/
Dhidden_api.cc64 api_list_.emplace(signature, membership); in AddSignatureToApiList()
/art/openjdkjvmti/
Djvmti_weak_table-inl.h173 auto insert_it = tagged_objects_.emplace(art::GcRoot<art::mirror::Object>(obj), new_tag); in SetLocked()
232 tagged_objects_.emplace(art::GcRoot<art::mirror::Object>(target_obj), tag); in UpdateTableWith()
/art/runtime/verifier/
Dverifier_deps.cc44 dex_deps_.emplace(dex_file, std::move(deps)); in VerifierDeps()
307 dex_deps->classes_.emplace(ClassResolution(type_idx, GetAccessFlags(klass))); in AddClassResolution()
325 dex_deps->fields_.emplace(FieldResolution(field_idx, in AddFieldResolution()
506 dex_deps->assignable_types_.emplace(TypeAssignability(destination_id, source_id)); in AddAssignability()
508 dex_deps->unassignable_types_.emplace(TypeAssignability(destination_id, source_id)); in AddAssignability()
668 set->emplace(tuple); in DecodeSet()
/art/compiler/utils/
Dswap_space.cc59 free_by_size_.emplace(chunk.size, insert_result.first); in InsertChunk()
Dassembler_test_base.h51 scratch_dir_.emplace(/*keep_files=*/ kKeepDisassembledFiles); in SetUp()
/art/dexlayout/
Ddex_ir_builder.cc132 auto it = collection_.emplace(offset, object); in AddItem()
650 flags->emplace(&field, DecodeUnsignedLeb128(&ptr)); in AddHiddenapiClassDataFromMapListSection()
653 flags->emplace(&field, DecodeUnsignedLeb128(&ptr)); in AddHiddenapiClassDataFromMapListSection()
656 flags->emplace(&method, DecodeUnsignedLeb128(&ptr)); in AddHiddenapiClassDataFromMapListSection()
659 flags->emplace(&method, DecodeUnsignedLeb128(&ptr)); in AddHiddenapiClassDataFromMapListSection()
920 code_items_map_.emplace(offsets_pair, code_item); in DedupeOrCreateCodeItem()
/art/dex2oat/dex/
Ddex_to_dex_compiler.cc151 auto inserted = should_quicken_.emplace(dex_file, in GetOrAddBitVectorForDex()
580 bool inserted = shared_code_item_quicken_info_.emplace(code_item, new_state).second; in CompileMethod()
/art/compiler/driver/
Dcompiled_method_storage.cc265 thunk_map_.emplace(key, std::move(value)); in SetThunkCode()
/art/dex2oat/linker/
Dimage_writer.cc645 saved_hashcode_map_.emplace(object, lw.GetHashCode()); in SetImageBinSlot()
723 native_object_relocations_.emplace(&preresolved_strings[i], in PrepareDexCacheArraySlots()
738 native_object_relocations_.emplace(array, in AddDexCacheArrayRelocation()
757 pointer_arrays_.emplace(arr.Ptr(), Bin::kArtMethodClean); in AddMethodPointerArray()
868 oat_index_map_.emplace(object, oat_index); in AssignImageBinSlot()
1022 visited_->emplace(ref); in operator ()()
1071 visited->emplace(klass.Ptr()); in PruneImageClassInternal()
1608 native_object_relocations_.emplace( in RecordNativeRelocations()
1622 native_object_relocations_.emplace( in RecordNativeRelocations()
1660 native_object_relocations_.emplace(array, in RecordNativeRelocations()
[all …]
/art/test/1940-ddms-ext/
Dddm_ext.cc163 data->callbacks_received.emplace(type, size, bytes); in PublishCB()
/art/tools/dexanalyze/
Ddexanalyze_strings.cc280 queue.emplace(elem->Savings(), elem); in ExtractPrefixes()
300 prefixes.emplace(pair.first, pair.second); in ExtractPrefixes()
/art/adbconnection/
Dadbconnection.cc280 gPthread.emplace(); in StartDebuggerThreads()
871 gState.emplace(kDefaultJdwpAgentName); in ArtPlugin_Initialize()

12