Searched refs:Allocator (Results 1 - 20 of 20) sorted by relevance

/art/runtime/base/
H A Dallocator.cc28 class MallocAllocator FINAL : public Allocator {
47 class NoopAllocator FINAL : public Allocator {
69 Allocator* Allocator::GetMallocAllocator() {
73 Allocator* Allocator::GetNoopAllocator() {
H A Dbit_vector_test.cc28 BitVector bv(kBits, false, Allocator::GetMallocAllocator());
74 BitVector bv(false, Allocator::GetNoopAllocator(), kWords, bits);
131 BitVector bv(false, Allocator::GetNoopAllocator(), kWords, bits);
146 BitVector first(2, true, Allocator::GetMallocAllocator());
147 BitVector second(5, true, Allocator::GetMallocAllocator());
148 BitVector third(5, true, Allocator::GetMallocAllocator());
158 BitVector first(2, true, Allocator::GetMallocAllocator());
159 BitVector second(5, true, Allocator::GetMallocAllocator());
160 BitVector third(5, true, Allocator::GetMallocAllocator());
172 BitVector first(2, true, Allocator
[all...]
H A Dallocator.h32 class Allocator { class in namespace:art
34 static Allocator* GetMallocAllocator();
35 static Allocator* GetNoopAllocator();
37 Allocator() {} function in class:art::Allocator
38 virtual ~Allocator() {}
44 DISALLOW_COPY_AND_ASSIGN(Allocator);
H A Dbit_vector.h27 class Allocator;
115 Allocator* allocator);
118 Allocator* allocator,
124 Allocator* allocator);
241 Allocator* GetAllocator() const;
268 Allocator* const allocator_; // Allocator if expandable.
H A Dbit_vector.cc28 Allocator* allocator,
43 Allocator* allocator)
53 Allocator* allocator)
375 Allocator* BitVector::GetAllocator() const {
/art/runtime/
H A Dsafe_map.h31 typename Allocator = TrackingAllocator<std::pair<const K, V>, kAllocatorTagSafeMap>>
34 typedef SafeMap<K, V, Comparator, Allocator> Self;
37 typedef typename ::std::map<K, V, Comparator, Allocator>::key_compare key_compare;
38 typedef typename ::std::map<K, V, Comparator, Allocator>::value_compare value_compare;
39 typedef typename ::std::map<K, V, Comparator, Allocator>::allocator_type allocator_type;
40 typedef typename ::std::map<K, V, Comparator, Allocator>::iterator iterator;
41 typedef typename ::std::map<K, V, Comparator, Allocator>::const_iterator const_iterator;
42 typedef typename ::std::map<K, V, Comparator, Allocator>::size_type size_type;
43 typedef typename ::std::map<K, V, Comparator, Allocator>::key_type key_type;
44 typedef typename ::std::map<K, V, Comparator, Allocator>
[all...]
H A Dleb128.h130 template<typename Allocator>
131 static inline void EncodeUnsignedLeb128(std::vector<uint8_t, Allocator>* dest, uint32_t value) {
168 template<typename Allocator>
169 static inline void EncodeSignedLeb128(std::vector<uint8_t, Allocator>* dest, int32_t value) {
H A Dmonitor_pool.h181 typedef TrackingAllocator<uint8_t, kAllocatorTagMonitorPool> Allocator; typedef in class:art::MonitorPool
182 Allocator allocator_;
/art/compiler/dwarf/
H A Dheaders.h39 template<typename Allocator>
43 const DebugFrameOpCodeWriter<Allocator>& opcodes,
52 writer.PushUleb128(DebugFrameOpCodeWriter<Allocator>::kCodeAlignmentFactor);
53 writer.PushSleb128(DebugFrameOpCodeWriter<Allocator>::kDataAlignmentFactor);
77 template<typename Allocator>
80 const std::vector<uint8_t, Allocator>* opcodes,
110 template<typename Allocator>
112 const DebugInfoEntryWriter<Allocator>& entries,
138 template<typename Allocator>
141 const DebugLineOpCodeWriter<Allocator>
[all...]
H A Ddebug_info_entry_writer.h32 template< typename Allocator >
34 size_t operator()(const std::vector<uint8_t, Allocator>& v) const {
55 template< typename Allocator = std::allocator<uint8_t> >
56 class DebugInfoEntryWriter FINAL : private Writer<Allocator> {
179 using Writer<Allocator>::data;
182 std::vector<uint8_t, Allocator>* debug_abbrev,
183 const Allocator& alloc = Allocator())
184 : Writer<Allocator>(&entries_),
224 const std::vector<uint8_t, Allocator>
181 DebugInfoEntryWriter(bool is64bitArch, std::vector<uint8_t, Allocator>* debug_abbrev, const Allocator& alloc = Allocator()) argument
[all...]
H A Ddebug_line_opcode_writer.h33 template<typename Allocator = std::allocator<uint8_t>>
34 class DebugLineOpCodeWriter FINAL : private Writer<Allocator> {
215 using Writer<Allocator>::data;
219 const Allocator& alloc = Allocator())
220 : Writer<Allocator>(&opcodes_),
237 std::vector<uint8_t, Allocator> opcodes_;
217 DebugLineOpCodeWriter(bool use64bitAddress, int codeFactorBits, const Allocator& alloc = Allocator()) argument
H A Ddebug_frame_opcode_writer.h34 template<typename Allocator = std::allocator<uint8_t> >
35 class DebugFrameOpCodeWriter : private Writer<Allocator> {
291 using Writer<Allocator>::data;
294 const Allocator& alloc = Allocator())
295 : Writer<Allocator>(&opcodes_),
321 std::vector<uint8_t, Allocator> opcodes_;
293 DebugFrameOpCodeWriter(bool enabled = true, const Allocator& alloc = Allocator()) argument
H A Dwriter.h29 template<typename Allocator = std::allocator<uint8_t>>
158 const std::vector<uint8_t, Allocator>* data() const {
162 explicit Writer(std::vector<uint8_t, Allocator>* buffer) : data_(buffer) { }
165 std::vector<uint8_t, Allocator>* data_;
/art/compiler/
H A Dcompiled_method.h106 template <class Allocator>
107 class SrcMap FINAL : public std::vector<SrcMapElem, Allocator> {
109 using std::vector<SrcMapElem, Allocator>::begin;
110 using typename std::vector<SrcMapElem, Allocator>::const_iterator;
111 using std::vector<SrcMapElem, Allocator>::empty;
112 using std::vector<SrcMapElem, Allocator>::end;
113 using std::vector<SrcMapElem, Allocator>::resize;
114 using std::vector<SrcMapElem, Allocator>::shrink_to_fit;
115 using std::vector<SrcMapElem, Allocator>::size;
118 explicit SrcMap(const Allocator
[all...]
H A Doat_writer.cc1493 method_bitmap_ = new BitVector(num_methods, false, Allocator::GetMallocAllocator());
/art/compiler/utils/
H A Darena_bit_vector.cc25 class ArenaBitVectorAllocator FINAL : public Allocator,
/art/compiler/dex/
H A Dglobal_value_numbering.h208 ScopedArenaAllocator* Allocator() const { function in class:art::GlobalValueNumbering
H A Dgvn_dead_code_elimination.cc77 vreg_high_words_(false, Allocator::GetNoopAllocator(),
/art/runtime/verifier/
H A Dreg_type_cache.cc322 Allocator::GetMallocAllocator()); // TODO: Arenas in the verifier.
/art/compiler/driver/
H A Dcompiler_driver.h66 template <class Allocator> class SrcMap;

Completed in 350 milliseconds