Home
last modified time | relevance | path

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

123

/art/compiler/utils/
Dswap_space_test.cc43 v.reserve(1000000); in SwapTest()
50 v2.reserve(1000000); in SwapTest()
57 v3.reserve(500000); in SwapTest()
Dassembler.h340 opcodes_.reserve(capacity); in ReserveCFIStream()
/art/compiler/optimizing/
Dssa_phi_elimination.h35 worklist_.reserve(kDefaultWorklistSize); in SsaDeadPhiElimination()
64 worklist_.reserve(kDefaultWorklistSize); in SsaRedundantPhiElimination()
Dstack_map_stream.h88 stack_maps_.reserve(10); in StackMapStream()
89 location_catalog_entries_.reserve(4); in StackMapStream()
90 dex_register_locations_.reserve(10 * 4); in StackMapStream()
91 inline_infos_.reserve(2); in StackMapStream()
92 code_info_encoding_.reserve(16); in StackMapStream()
Dparallel_move_resolver.h36 moves_.reserve(32); in ParallelMoveResolver()
130 scratches_.reserve(32); in ParallelMoveResolverNoSwap()
131 pending_moves_.reserve(8); in ParallelMoveResolverNoSwap()
Dlinear_order.cc108 linear_order->reserve(graph->GetReversePostOrder().size()); in LinearizeGraph()
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.cc103 liveness_of_values.reserve(number_of_registers + number_of_spill_slots); in ValidateIntervals()
Dscheduler.h166 data_predecessors_.reserve(kPreallocatedPredecessors); in SchedulingNode()
/art/compiler/debug/
Delf_gnu_debugdata_writer.h87 buffer.reserve(KB); in MakeMiniDebugInfoInternal()
103 compressed_buffer.reserve(buffer.size() / 4); in MakeMiniDebugInfoInternal()
Delf_debug_frame_writer.h183 sorted_method_infos.reserve(method_infos.size()); in WriteCFISection()
204 binary_search_table.reserve(2 * sorted_method_infos.size()); in WriteCFISection()
206 patch_locations.reserve(sorted_method_infos.size()); in WriteCFISection()
Delf_debug_writer.cc119 buffer.reserve(KB); in WriteDebugElfFileForMethodsInternal()
151 buffer.reserve(KB); in WriteDebugElfFileForClassesInternal()
Delf_debug_line_writer.h103 pc2dex_map.reserve(code_info.GetNumberOfStackMaps(encoding)); in WriteCompilationUnit()
267 buffer.reserve(opcodes.data()->size() + KB); in WriteCompilationUnit()
/art/runtime/openjdkjvmti/
Djvmti_weak_table-inl.h251 explicit ReleasableContainer(const allocator_type& alloc, size_t reserve = 10)
253 data(reserve > 0 ? allocator.allocate(reserve) : nullptr),
255 capacity(reserve) {
/art/compiler/linker/
Drelative_patcher_test.h72 patched_code_.reserve(16 * KB); in RelativePatcherTest()
127 output_.reserve(output_size); in Link()
/art/runtime/base/
Dstl_util.h149 result.reserve(src.size()); in MakeNonOwningPointerVector()
Ddchecked_vector.h114 using Base::reserve;
/art/compiler/driver/
Dcompiled_method_storage_test.cc86 compiled_methods.reserve(1u << 7); in TEST()
/art/runtime/arch/mips/
Dquick_entrypoints_mips.S85 addiu $sp, $sp, -ARG_SLOT_SIZE # reserve argument slots on the stack
132 addiu $sp, $sp, -ARG_SLOT_SIZE # reserve argument slots on the stack
235 addiu $sp, $sp, -ARG_SLOT_SIZE # reserve argument slots on the stack
253 addiu $sp, $sp, -ARG_SLOT_SIZE # reserve argument slots on the stack
404 addiu $sp, $sp, -ARG_SLOT_SIZE # reserve argument slots on the stack
940 subu $t0, $sp, $t0 # reserve & align *stack* to 16 bytes:
1389 addiu $sp, $sp, -16 # reserve argument slots on the stack
1452 addiu $sp, $sp, -16 # Use branch delay slot to reserve argument slots on the stack
1522 addiu $sp, $sp, -16 # reserve argument slots on the stack
2138 addiu $sp, $sp, -5120 # reserve space on the stack
[all …]
/art/compiler/
Dexception_test.cc87 fake_header_code_and_maps_.reserve(fake_header_code_and_maps_.size() + alignment); in SetUp()
/art/runtime/
Dleb128.h288 data_->reserve(size); in Reserve()
Delf_file.cc1145 std::unique_ptr<MemMap> reserve(MemMap::MapAnonymous(reservation_name.c_str(), in Load() local
1152 if (reserve.get() == nullptr) { in Load()
1160 base_address_ = reinterpret_cast<uint8_t*>(reinterpret_cast<uintptr_t>(reserve->Begin()) in Load()
1167 segments_.push_back(reserve.release()); in Load()
1444 section_headers.reserve(GetSectionHeaderNum()); in Strip()
Dreference_table.cc41 entries_.reserve(initial_size); in ReferenceTable()
/art/compiler/linker/arm/
Drelative_patcher_thumb2_test.cc98 result.reserve(num_nops * 2u); in GenNops()
109 raw_code.reserve(insns.size() * 4u - number_of_16_bit_insns * 2u); in RawCode()
217 result.reserve(num_nops * 2u + 4u); in GenNopsAndBl()
1176 code.reserve(1 * MB); in TEST_F()
1179 patches.reserve(num_patches); in TEST_F()
/art/compiler/debug/dwarf/
Ddebug_frame_opcode_writer.h288 opcodes_.reserve(kDefaultCapacity); in SetEnabled()

123