Home
last modified time | relevance | path

Searched refs:reserve (Results 1 – 25 of 67) sorted by relevance

123

/art/compiler/utils/
Dswap_space_test.cc45 v.reserve(1000000); in SwapTest()
52 v2.reserve(1000000); in SwapTest()
59 v3.reserve(500000); in SwapTest()
Datomic_dex_ref_map-inl.h141 result.reserve(arrays_.size()); in GetDexFiles()
Dassembler.h340 opcodes_.reserve(capacity); in ReserveCFIStream()
/art/compiler/optimizing/
Dparallel_move_resolver.h36 moves_.reserve(32); in ParallelMoveResolver()
130 scratches_.reserve(32); in ParallelMoveResolverNoSwap()
131 pending_moves_.reserve(8); in ParallelMoveResolverNoSwap()
Dssa_phi_elimination.cc38 worklist.reserve(kDefaultWorklistSize); in MarkDeadPhis()
132 worklist.reserve(kDefaultWorklistSize); in Run()
Dregister_allocator_linear_scan.cc68 temp_intervals_.reserve(4); in RegisterAllocatorLinearScan()
69 int_spill_slots_.reserve(kDefaultNumberOfSpillSlots); in RegisterAllocatorLinearScan()
70 long_spill_slots_.reserve(kDefaultNumberOfSpillSlots); in RegisterAllocatorLinearScan()
71 float_spill_slots_.reserve(kDefaultNumberOfSpillSlots); in RegisterAllocatorLinearScan()
72 double_spill_slots_.reserve(kDefaultNumberOfSpillSlots); in RegisterAllocatorLinearScan()
Dregister_allocator.cc110 liveness_of_values.reserve(number_of_registers + number_of_spill_slots); in ValidateIntervals()
Dscheduler.h168 data_predecessors_.reserve(kPreallocatedPredecessors); in SchedulingNode()
/art/compiler/debug/
Delf_debug_writer.cc72 compilation_units.reserve(class_to_compilation_unit.size()); in WriteDebugInfo()
123 buffer.reserve(KB); in MakeMiniDebugInfoInternal()
143 compressed_buffer.reserve(buffer.size() / 4); in MakeMiniDebugInfoInternal()
186 buffer.reserve(KB); in MakeElfFileForJIT()
255 inner_elf_file.reserve(1 * KB); // Approximate size of ELF file with a single symbol. in PackElfFileForJIT()
329 gnu_debugdata.reserve(inner_elf_file.size() / 4); in PackElfFileForJIT()
332 outer_elf_file.reserve(KB + gnu_debugdata.size()); in PackElfFileForJIT()
356 buffer.reserve(KB); in WriteDebugElfFileForClasses()
Delf_debug_frame_writer.h160 sorted_method_infos.reserve(method_infos.size()); in WriteCFISection()
180 binary_search_table.reserve(2 * sorted_method_infos.size()); in WriteCFISection()
Delf_debug_line_writer.h96 pc2dex_map.reserve(code_info.GetNumberOfStackMaps()); in WriteCompilationUnit()
263 buffer.reserve(opcodes.data()->size() + KB); in WriteCompilationUnit()
/art/openjdkjvmti/
Djvmti_weak_table-inl.h252 explicit ReleasableContainer(const allocator_type& alloc, size_t reserve = 10)
254 data(reserve > 0 ? allocator.allocate(reserve) : nullptr),
256 capacity(reserve) {
/art/compiler/driver/
Dcompiled_method_storage_test.cc62 compiled_methods.reserve(1u << 4); in TEST()
/art/runtime/
Doat_file_manager.cc132 oat_files.reserve(image_spaces.size()); in GetBootOatFiles()
165 oat_files.reserve(spaces.size()); in RegisterImageOatFiles()
425 headers.reserve(maps.size()); in GetDexFileHeaders()
436 headers.reserve(dex_files.size()); in GetDexFileHeaders()
Daot_class_linker.cc206 prefixes.reserve(packages.size()); in SetUpdatableBootClassPackages()
/art/dex2oat/linker/
Drelative_patcher_test.h58 patched_code_.reserve(16 * KB); in RelativePatcherTest()
144 output_.reserve(output_size); in Link()
/art/dex2oat/linker/arm64/
Drelative_patcher_arm64.cc95 adrp_thunk_locations_.reserve(16u); in Arm64RelativePatcher()
96 current_method_thunks_.reserve(16u * kAdrpThunkSize); in Arm64RelativePatcher()
/art/libartbase/base/
Dstl_util.h151 result.reserve(src.size()); in MakeNonOwningPointerVector()
Dhash_set_test.cc342 hash_set.reserve(size); in TEST_F()
355 hash_set.reserve(size); in TEST_F()
Dleb128.h322 data_->reserve(size); in Reserve()
Ddchecked_vector.h114 using Base::reserve;
/art/dex2oat/linker/arm/
Drelative_patcher_arm_base.cc199 pending_thunks_.reserve(thunks_.size()); in WriteThunks()
246 result.reserve(number_of_thunks); in GenerateThunkDebugInfo()
/art/compiler/
Dcommon_compiler_test.cc76 chunk->reserve(size + max_padding); in MakeExecutable()
/art/dexoptanalyzer/
Ddexoptanalyzer.cc63 command.reserve(original_argc); in CommandLine()
/art/libelffile/dwarf/
Ddebug_frame_opcode_writer.h290 opcodes_.reserve(kDefaultCapacity); in SetEnabled()

123