Home
last modified time | relevance | path

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

/art/libartbase/base/
Dbit_vector_test.cc28 BitVector bv(kBits, false, Allocator::GetMallocAllocator()); in TEST()
74 BitVector bv(false, Allocator::GetNoopAllocator(), kWords, bits); in TEST()
131 BitVector bv(false, Allocator::GetNoopAllocator(), kWords, bits); in TEST()
146 BitVector first(2, true, Allocator::GetMallocAllocator()); in TEST()
147 BitVector second(5, true, Allocator::GetMallocAllocator()); in TEST()
148 BitVector third(5, true, Allocator::GetMallocAllocator()); in TEST()
158 BitVector first(2, true, Allocator::GetMallocAllocator()); in TEST()
159 BitVector second(5, true, Allocator::GetMallocAllocator()); in TEST()
160 BitVector third(5, true, Allocator::GetMallocAllocator()); in TEST()
172 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()
Dsafe_map.h31 typename Allocator = std::allocator<std::pair<const K, V>>>
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>::value_type value_type;
[all …]
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);
Dbit_vector.h28 class Allocator; variable
118 Allocator* allocator);
121 Allocator* allocator,
127 Allocator* allocator);
262 Allocator* GetAllocator() const;
289 Allocator* const allocator_; // Allocator if expandable.
Darena_bit_vector.h33 template <typename Allocator>
34 static ArenaBitVector* Create(Allocator* allocator,
Dbit_vector.cc28 Allocator* allocator, in BitVector()
43 Allocator* allocator) in BitVector()
53 Allocator* allocator) in BitVector()
371 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 typedef TrackingAllocator<uint8_t, kAllocatorTagMonitorPool> Allocator; typedef
240 Allocator allocator_;
Doat_file_manager.cc194 BitVector type_indexes(/*start_bits=*/0, /*expandable=*/true, Allocator::GetMallocAllocator()); in GenerateTypeIndexes()
/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/test/1959-redefine-object-instrument/
Dfake_redef_object.cc66 class JvmtiAllocator : public dex::Writer::Allocator { in RedefineObjectHook()
/art/openjdkjvmti/
Djvmti_weak_table-inl.h248 template <typename Storage, class Allocator>
250 using allocator_type = Allocator;
299 Allocator allocator;
Djvmti_weak_table.h195 template <typename Storage, class Allocator = JvmtiAllocator<T>>
/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() argument
109 Allocator alloc(env); in DoExtractClassFromData()
/art/dex2oat/driver/
Dcompiler_driver.h77 template <class Allocator> class SrcMap;
/art/tools/jvmti-agents/simple-force-redefine/
Dforceredefine.cc81 class JvmtiAllocator : public dex::Writer::Allocator {
/art/dex2oat/dex/
Ddex_to_dex_compiler.cc154 Allocator::GetMallocAllocator())); in GetOrAddBitVectorForDex()
/art/dex2oat/linker/
Doat_writer.cc919 BitVector(number_of_indexes, /* expandable */ false, Allocator::GetMallocAllocator())); in AddBssReference()
4150 method_bitmap_.reset(new BitVector(num_methods, false, Allocator::GetMallocAllocator())); in OatClass()