Home
last modified time | relevance | path

Searched refs:Allocator (Results 1 – 23 of 23) sorted by relevance

/art/libartbase/base/
Dbit_vector_test.cc31 BitVector bv(kBits, false, Allocator::GetMallocAllocator()); in TEST()
71 struct MessyAllocator : public Allocator {
73 MessyAllocator() : malloc_(Allocator::GetMallocAllocator()) {} in MessyAllocator()
87 Allocator* malloc_;
103 BitVector bv(false, Allocator::GetNoopAllocator(), kWords, bits); in TEST()
160 BitVector bv(false, Allocator::GetNoopAllocator(), kWords, bits); in TEST()
175 BitVector first(2, true, Allocator::GetMallocAllocator()); in TEST()
176 BitVector second(5, true, Allocator::GetMallocAllocator()); in TEST()
177 BitVector third(5, true, Allocator::GetMallocAllocator()); in TEST()
187 BitVector first(2, true, Allocator::GetMallocAllocator()); in TEST()
[all …]
Dallocator.cc28 class MallocAllocator final : public Allocator {
47 class NoopAllocator final : public Allocator {
67 Allocator* Allocator::GetMallocAllocator() { in GetMallocAllocator()
71 Allocator* Allocator::GetNoopAllocator() { in GetNoopAllocator()
Dallocator.h29 class Allocator {
31 static Allocator* GetMallocAllocator();
32 static Allocator* GetNoopAllocator();
34 Allocator() {} in Allocator() function
35 virtual ~Allocator() {} in ~Allocator()
41 DISALLOW_COPY_AND_ASSIGN(Allocator);
Dsafe_map.h31 typename Allocator = std::allocator<std::pair<const K, V>>>
34 using Self = SafeMap<K, V, Comparator, Allocator>;
35 using Impl = std::map<K, V, Comparator, Allocator>;
186 template <typename K, typename V, typename Comparator, typename Allocator>
187 bool operator==(const SafeMap<K, V, Comparator, Allocator>& lhs,
188 const SafeMap<K, V, Comparator, Allocator>& rhs) {
192 template <typename K, typename V, typename Comparator, typename Allocator>
193 bool operator!=(const SafeMap<K, V, Comparator, Allocator>& lhs,
194 const SafeMap<K, V, Comparator, Allocator>& rhs) {
Dbit_vector.h29 class Allocator; variable
123 Allocator* allocator);
126 Allocator* allocator,
132 Allocator* allocator);
278 Allocator* GetAllocator() const;
302 Allocator* const allocator_; // Allocator if expandable.
393 BitVectorArray(uint32_t start_rows, uint32_t start_cols, bool expandable, Allocator* allocator) in BitVectorArray()
399 BitVectorArray(const BaseBitVectorArray& src, bool expandable, Allocator* allocator) in BitVectorArray()
Darena_bit_vector.h34 template <typename Allocator>
35 static ArenaBitVector* Create(Allocator* allocator,
Dbit_vector.cc28 Allocator* allocator, in BitVector()
43 Allocator* allocator) in BitVector()
54 Allocator* allocator) in BitVector()
375 Allocator* BitVector::GetAllocator() const { in GetAllocator()
Darena_bit_vector.cc53 class ArenaBitVectorAllocator final : public Allocator, private ArenaBitVectorAllocatorKind {
/art/runtime/
Ddex_reference_collection.h31 template <class IndexType, template<typename Type> class Allocator>
34 using VectorAllocator = Allocator<IndexType>;
36 using MapAllocator = Allocator<std::pair<const DexFile*, IndexVector>>;
41 Allocator<std::pair<const DexFile* const, IndexVector>>>;
Dmonitor_pool.h239 using Allocator = TrackingAllocator<uint8_t, kAllocatorTagMonitorPool>; variable
240 Allocator allocator_;
Dclass_linker.cc8282 Allocator::GetNoopAllocator(), in AssignVTableIndexes()
/art/libdexfile/dex/
Dcompact_dex_utils.h27 template <typename T, template<typename> class Allocator>
28 static inline void AlignmentPadVector(std::vector<T, Allocator<T>>* dest, in AlignmentPadVector()
/art/test/130-hprof/src/
DMain.java135 Allocator allocator = new Allocator(); in testGcAndDump()
147 private static class Allocator extends Thread { class in Main
164 Dumper(Allocator allocator) { in Dumper()
167 Allocator allocator;
/art/test/130-hprof/src-ex/
DAllocator.java18 public class Allocator { class
/art/openjdkjvmti/
Djvmti_weak_table-inl.h250 template <typename Storage, class Allocator>
252 using allocator_type = Allocator;
301 Allocator allocator;
Djvmti_weak_table.h195 template <typename Storage, class Allocator = JvmtiAllocator<T>>
/art/test/1959-redefine-object-instrument/
Dfake_redef_object.cc66 class JvmtiAllocator : public dex::Writer::Allocator { in RedefineObjectHook()
/art/test/980-redefine-object/
Dredef_object.cc79 class JvmtiAllocator : public dex::Writer::Allocator { in RedefineObjectHook()
/art/test/ti-stress/
Dstress.cc93 struct Allocator : public dex::Writer::Allocator { in DoExtractClassFromData() struct
94 explicit Allocator(jvmtiEnv* jvmti_env) : jvmti_env_(jvmti_env) {} in DoExtractClassFromData() function
109 Allocator alloc(env); in DoExtractClassFromData()
/art/dex2oat/driver/
Dcompiler_driver.h75 template <class Allocator> class SrcMap;
/art/tools/jvmti-agents/simple-force-redefine/
Dforceredefine.cc81 class JvmtiAllocator : public dex::Writer::Allocator {
/art/compiler/optimizing/
Doptimizing_unit_test.h346 BitVector bv(preds.size(), false, Allocator::GetMallocAllocator()); in EnsurePredecessorOrder()
/art/dex2oat/linker/
Doat_writer.cc832 BitVector(number_of_indexes, /* expandable */ false, Allocator::GetMallocAllocator())); in AddBssReference()
3997 method_bitmap_.reset(new BitVector(num_methods, false, Allocator::GetMallocAllocator())); in OatClass()