Home
last modified time | relevance | path

Searched refs:reserve (Results 1 – 25 of 66) 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.h341 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.cc121 liveness_of_values.reserve(number_of_registers + number_of_spill_slots); in ValidateIntervals()
/art/compiler/debug/
Delf_debug_writer.cc71 compilation_units.reserve(class_to_compilation_unit.size()); in WriteDebugInfo()
122 buffer.reserve(KB); in MakeMiniDebugInfoInternal()
142 compressed_buffer.reserve(buffer.size() / 4); in MakeMiniDebugInfoInternal()
185 buffer.reserve(KB); in MakeElfFileForJIT()
250 inner_elf_file.reserve(1 * KB); // Approximate size of ELF file with a single symbol. in PackElfFileForJIT()
324 gnu_debugdata.reserve(inner_elf_file.size() / 4); in PackElfFileForJIT()
327 outer_elf_file.reserve(KB + gnu_debugdata.size()); in PackElfFileForJIT()
350 buffer.reserve(KB); in WriteDebugElfFileForClasses()
Delf_debug_line_writer.h98 pc2dex_map.reserve(code_info.GetNumberOfStackMaps()); in WriteCompilationUnit()
265 buffer.reserve(opcodes.data()->size() + KB); in WriteCompilationUnit()
Delf_debug_frame_writer.h180 sorted_method_infos.reserve(method_infos.size()); in WriteCFISection()
200 binary_search_table.reserve(2 * sorted_method_infos.size()); in WriteCFISection()
/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()
303 loaded_types.reserve(dex_files_loaded.size()); in CheckClassCollision()
308 unloaded_types.reserve(dex_files_unloaded.size()); in CheckClassCollision()
660 headers.reserve(maps.size()); in GetDexFileHeaders()
671 headers.reserve(dex_files.size()); in GetDexFileHeaders()
/art/libartbase/base/
Dstl_util.h142 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/
Drelative_patcher_test.h59 patched_code_.reserve(16 * KB); in RelativePatcherTest()
145 output_.reserve(output_size); in Link()
/art/dex2oat/linker/arm64/
Drelative_patcher_arm64.cc94 adrp_thunk_locations_.reserve(16u); in Arm64RelativePatcher()
95 current_method_thunks_.reserve(16u * kAdrpThunkSize); in Arm64RelativePatcher()
/art/dex2oat/linker/arm/
Drelative_patcher_arm_base.cc199 pending_thunks_.reserve(thunks_.size()); in WriteThunks()
246 result.reserve(number_of_thunks); in GenerateThunkDebugInfo()
Drelative_patcher_thumb2_test.cc103 result.reserve(num_nops * 2u); in GenNops()
114 raw_code.reserve(insns.size() * 4u - number_of_16_bit_insns * 2u); in RawCode()
266 result.reserve(num_nops * 2u + 4u); in GenNopsAndBl()
1262 code.reserve(1 * MB); in TEST_F()
1265 patches.reserve(num_patches); in TEST_F()
/art/runtime/arch/mips/
Dquick_entrypoints_mips.S89 addiu $sp, $sp, -ARG_SLOT_SIZE # reserve argument slots on the stack
136 addiu $sp, $sp, -ARG_SLOT_SIZE # reserve argument slots on the stack
255 addiu $sp, $sp, -ARG_SLOT_SIZE # reserve argument slots on the stack
273 addiu $sp, $sp, -ARG_SLOT_SIZE # reserve argument slots on the stack
446 addiu $sp, $sp, -ARG_SLOT_SIZE # reserve argument slots on the stack
986 subu $t0, $sp, $t0 # reserve & align *stack* to 16 bytes:
1440 addiu $sp, $sp, -16 # reserve argument slots on the stack
1506 addiu $sp, $sp, -16 # Use branch delay slot to reserve argument slots on the stack
1576 addiu $sp, $sp, -16 # reserve argument slots on the stack
2256 addiu $sp, $sp, -5120 # reserve space on the stack
[all …]
/art/libelffile/dwarf/
Ddebug_frame_opcode_writer.h288 opcodes_.reserve(kDefaultCapacity); in SetEnabled()
/art/dexoptanalyzer/
Ddexoptanalyzer.cc63 command.reserve(original_argc); in CommandLine()
/art/compiler/
Dcommon_compiler_test.cc65 chunk->reserve(size + max_padding); in MakeExecutable()

123