Home
last modified time | relevance | path

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

1234

/art/dex2oat/utils/
Dswap_space_test.cc44 v.reserve(1000000); in SwapTest()
51 v2.reserve(1000000); in SwapTest()
58 v3.reserve(500000); in SwapTest()
/art/compiler/optimizing/
Dparallel_move_resolver.h37 moves_.reserve(32); in ParallelMoveResolver()
131 scratches_.reserve(32); in ParallelMoveResolverNoSwap()
132 pending_moves_.reserve(8); in ParallelMoveResolverNoSwap()
Dcode_generation_data.cc29 roots->reserve(GetNumberOfJitRoots()); in EmitJitRoots()
Dssa_phi_elimination.cc38 worklist.reserve(kDefaultWorklistSize); in MarkDeadPhis()
132 worklist.reserve(kDefaultWorklistSize); in Run()
Dcode_generation_data.h101 slow_paths_.reserve(kDefaultSlowPathsCapacity); in CodeGenerationData()
Dregister_allocator_linear_scan.cc73 temp_intervals_.reserve(4); in RegisterAllocatorLinearScan()
74 int_spill_slots_.reserve(kDefaultNumberOfSpillSlots); in RegisterAllocatorLinearScan()
75 long_spill_slots_.reserve(kDefaultNumberOfSpillSlots); in RegisterAllocatorLinearScan()
76 float_spill_slots_.reserve(kDefaultNumberOfSpillSlots); in RegisterAllocatorLinearScan()
77 double_spill_slots_.reserve(kDefaultNumberOfSpillSlots); in RegisterAllocatorLinearScan()
/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()
185 buffer.reserve(KB); in MakeElfFileForJIT()
254 inner_elf_file.reserve(1 * KB); // Approximate size of ELF file with a single symbol. in PackElfFileForJIT()
330 gnu_debugdata.reserve(inner_elf_file.size() / 4); in PackElfFileForJIT()
333 outer_elf_file.reserve(KB + gnu_debugdata.size()); in PackElfFileForJIT()
356 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.h182 sorted_method_infos.reserve(method_infos.size()); in WriteCFISection()
203 binary_search_table.reserve(2 * sorted_method_infos.size()); in WriteCFISection()
/art/test/2005-pause-all-redefine-multithreaded/
Dpause-all.cc44 threads.reserve(env->GetArrayLength(threads_arr)); in Java_art_Test2005_UpdateFieldValuesAndResumeThreads()
49 fields.reserve(env->GetArrayLength(new_fields)); in Java_art_Test2005_UpdateFieldValuesAndResumeThreads()
/art/libartpalette/include/palette/
Dpalette.h46 profile_c_strs.reserve(profiles.size()); in PALETTE_METHOD_LIST()
/art/libprofile/profile/
Dprofile_boot_info_test.cc69 dex_files2.reserve(dex_files.size()); in TEST_F()
108 dex_files2.reserve(dex_files.size()); in TEST_F()
/art/artd/
Dfile_utils.cc174 all_files_to_remove.reserve(files_to_move.size() + files_to_remove.size()); in MoveAllOrAbandon()
237 files_to_move_view.reserve(files_to_move.size()); in MoveAllOrAbandon()
243 files_to_remove_view.reserve(files_to_remove.size()); in MoveAllOrAbandon()
/art/openjdkjvmti/
Djvmti_weak_table-inl.h254 explicit ReleasableContainer(const allocator_type& alloc, size_t reserve = 10)
256 data(reserve > 0 ? allocator.allocate(reserve) : nullptr),
258 capacity(reserve) {
/art/dex2oat/linker/
Dcode_info_table_deduper.cc29 dedupe_set_.reserve(max_size / 2u); in ReserveDedupeBuffer()
51 dedupe_set_.reserve(reservation); in Dedupe()
Drelative_patcher_test.h58 patched_code_.reserve(16 * KB); in RelativePatcherTest()
146 output_.reserve(output_size); in Link()
/art/libartbase/base/
Dtesting.cc65 result.reserve(modules.size()); in GetLibCoreDexFileNames()
Dleb128.h228 data_->reserve(size); in Reserve()
/art/libarttools/
Dtesting.h59 execv_args.reserve(args.size() + 1); in ScopedExec()
/art/test/ti-agent/
Dsuspension_helper.cc40 ret.reserve(len); in CopyToVector()
/art/dex2oat/driver/
Dcompiled_method_storage_test.cc62 compiled_methods.reserve(1u << 4); in TEST()
/art/libarttools/include/tools/
Dcmdline_builder.h143 elements_.reserve(elements_.size() + other.elements_.size()); in Concat()
/art/compiler/utils/
Datomic_dex_ref_map-inl.h141 result.reserve(arrays_.size()); in GetDexFiles()
/art/dex2oat/linker/arm64/
Drelative_patcher_arm64.cc99 adrp_thunk_locations_.reserve(16u); in Arm64RelativePatcher()
100 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()

1234