Searched refs:LengthPrefixedArray (Results 1 – 14 of 14) sorted by relevance
/art/compiler/driver/ |
D | compiled_method_storage.h | 54 const LengthPrefixedArray<uint8_t>* DeduplicateCode(const ArrayRef<const uint8_t>& code); 55 void ReleaseCode(const LengthPrefixedArray<uint8_t>* code); 57 const LengthPrefixedArray<uint8_t>* DeduplicateVMapTable(const ArrayRef<const uint8_t>& table); 58 void ReleaseVMapTable(const LengthPrefixedArray<uint8_t>* table); 60 const LengthPrefixedArray<uint8_t>* DeduplicateCFIInfo(const ArrayRef<const uint8_t>& cfi_info); 61 void ReleaseCFIInfo(const LengthPrefixedArray<uint8_t>* cfi_info); 63 const LengthPrefixedArray<linker::LinkerPatch>* DeduplicateLinkerPatches( 65 void ReleaseLinkerPatches(const LengthPrefixedArray<linker::LinkerPatch>* linker_patches); 91 const LengthPrefixedArray<T>* AllocateOrDeduplicateArray(const ArrayRef<const T>& data, 95 void ReleaseArrayIfNotDeduplicated(const LengthPrefixedArray<T>* array); [all …]
|
D | compiled_method_storage.cc | 37 const LengthPrefixedArray<T>* CopyArray(SwapSpace* swap_space, const ArrayRef<const T>& array) { in CopyArray() 40 void* storage = allocator.allocate(LengthPrefixedArray<T>::ComputeSize(array.size())); in CopyArray() 41 LengthPrefixedArray<T>* array_copy = new(storage) LengthPrefixedArray<T>(array.size()); in CopyArray() 47 void ReleaseArray(SwapSpace* swap_space, const LengthPrefixedArray<T>* array) { in ReleaseArray() 49 size_t size = LengthPrefixedArray<T>::ComputeSize(array->size()); in ReleaseArray() 50 array->~LengthPrefixedArray<T>(); in ReleaseArray() 57 inline const LengthPrefixedArray<T>* CompiledMethodStorage::AllocateOrDeduplicateArray( in AllocateOrDeduplicateArray() 71 const LengthPrefixedArray<T>* array) { in ReleaseArrayIfNotDeduplicated() 95 const LengthPrefixedArray<T>* Copy(const ArrayRef<const T>& array) { in Copy() 99 void Destroy(const LengthPrefixedArray<T>* array) { in Destroy() [all …]
|
/art/compiler/ |
D | compiled_method.h | 32 template<typename T> class LengthPrefixedArray; variable 78 static ArrayRef<const T> GetArray(const LengthPrefixedArray<T>* array); 101 const LengthPrefixedArray<uint8_t>* const quick_code_; 158 const LengthPrefixedArray<uint8_t>* const vmap_table_; 160 const LengthPrefixedArray<uint8_t>* const cfi_info_; 162 const LengthPrefixedArray<linker::LinkerPatch>* const patches_;
|
D | compiled_method-inl.h | 33 inline ArrayRef<const T> CompiledCode::GetArray(const LengthPrefixedArray<T>* array) { in GetArray()
|
/art/libartbase/base/ |
D | length_prefixed_array.h | 31 class LengthPrefixedArray { 33 explicit LengthPrefixedArray(size_t length) in LengthPrefixedArray() function 68 return RoundUp(offsetof(LengthPrefixedArray<T>, data_), alignment) + index * element_size; 90 size_t gap_offset = offsetof(LengthPrefixedArray<T>, data_); 113 LengthPrefixedArray<T>* arr, size_t element_size = sizeof(T), size_t alignment = alignof(T)) {
|
/art/runtime/ |
D | index_bss_mapping.h | 26 template<typename T> class LengthPrefixedArray; variable 68 using IndexBssMapping = LengthPrefixedArray<IndexBssMappingEntry>;
|
D | image-inl.h | 56 auto* array = reinterpret_cast<LengthPrefixedArray<ArtField>*>(base + fields.Offset() + pos); in VisitPackedArtFields() 72 auto* array = reinterpret_cast<LengthPrefixedArray<ArtMethod>*>(base + methods.Offset() + pos); in VisitPackedArtMethods()
|
D | proxy_test.cc | 109 LengthPrefixedArray<ArtField>* static_fields = proxyClass->GetSFieldsPtr(); in TEST_F() 161 LengthPrefixedArray<ArtField>* static_fields0 = proxyClass0->GetSFieldsPtr(); in TEST_F() 164 LengthPrefixedArray<ArtField>* static_fields1 = proxyClass1->GetSFieldsPtr(); in TEST_F()
|
D | class_linker.h | 84 template<typename T> class LengthPrefixedArray; variable 472 LengthPrefixedArray<ArtField>* AllocArtFieldArray(Thread* self, 476 LengthPrefixedArray<ArtMethod>* AllocArtMethodArray(Thread* self, 1272 LengthPrefixedArray<ArtMethod>* new_methods)
|
/art/runtime/mirror/ |
D | class-inl.h | 177 LengthPrefixedArray<ArtMethod>* methods = GetMethodsPtr(); in GetVirtualMethodsSliceUnchecked() 191 LengthPrefixedArray<ArtMethod>* methods = GetMethodsPtr(); in GetCopiedMethodsSliceUnchecked() 198 inline LengthPrefixedArray<ArtMethod>* Class::GetMethodsPtr() { in GetMethodsPtr() 199 return reinterpret_cast<LengthPrefixedArray<ArtMethod>*>( in GetMethodsPtr() 206 LengthPrefixedArray<ArtMethod>* methods = GetMethodsPtr(); in GetMethodsSlice() 211 LengthPrefixedArray<ArtMethod>* methods, in GetMethodsSliceRangeUnchecked() 235 inline uint32_t Class::NumMethods(LengthPrefixedArray<ArtMethod>* methods) { in NumMethods() 249 inline void Class::SetMethodsPtr(LengthPrefixedArray<ArtMethod>* new_methods, in SetMethodsPtr() 257 inline void Class::SetMethodsPtrUnchecked(LengthPrefixedArray<ArtMethod>* new_methods, in SetMethodsPtrUnchecked() 660 inline LengthPrefixedArray<ArtField>* Class::GetIFieldsPtr() { in GetIFieldsPtr() [all …]
|
D | class.h | 55 template<typename T> class LengthPrefixedArray; variable 638 ALWAYS_INLINE LengthPrefixedArray<ArtMethod>* GetMethodsPtr() 648 void SetMethodsPtr(LengthPrefixedArray<ArtMethod>* new_methods, 653 void SetMethodsPtrUnchecked(LengthPrefixedArray<ArtMethod>* new_methods, 734 static ALWAYS_INLINE uint32_t NumMethods(LengthPrefixedArray<ArtMethod>* methods) 922 LengthPrefixedArray<ArtField>* GetIFieldsPtr() REQUIRES_SHARED(Locks::mutator_lock_); 927 void SetIFieldsPtr(LengthPrefixedArray<ArtField>* new_ifields) 931 void SetIFieldsPtrUnchecked(LengthPrefixedArray<ArtField>* new_sfields) 994 LengthPrefixedArray<ArtField>* GetSFieldsPtr() REQUIRES_SHARED(Locks::mutator_lock_); 998 void SetSFieldsPtr(LengthPrefixedArray<ArtField>* new_sfields) [all …]
|
/art/compiler/debug/ |
D | elf_debug_info_writer.h | 481 void* storage = allocator->Alloc(Thread::Current(), sizeof(LengthPrefixedArray<ArtMethod>)); in WriteLinkageName() 482 methods_ptr = new (storage) LengthPrefixedArray<ArtMethod>(0); in WriteLinkageName()
|
/art/dex2oat/linker/ |
D | image_writer.cc | 1999 LengthPrefixedArray<ArtField>* fields[] = { in TryAssignBinSlot() 2011 for (LengthPrefixedArray<ArtField>* cur_fields : fields) { in TryAssignBinSlot() 2014 const size_t header_size = LengthPrefixedArray<ArtField>::ComputeSize(0); in TryAssignBinSlot() 2064 const size_t header_size = LengthPrefixedArray<ArtMethod>::ComputeSize(0, in TryAssignBinSlot() 2067 LengthPrefixedArray<ArtMethod>* array = as_klass->GetMethodsPtr(); in TryAssignBinSlot() 2840 memcpy(dest, pair.first, LengthPrefixedArray<ArtField>::ComputeSize(0)); in CopyAndFixupNativeData() 2847 memcpy(dest, pair.first, LengthPrefixedArray<ArtMethod>::ComputeSize(0, size, alignment)); in CopyAndFixupNativeData() 2850 reinterpret_cast<LengthPrefixedArray<ArtMethod>*>(dest)->ClearPadding(size, alignment); in CopyAndFixupNativeData()
|
/art/runtime/native/ |
D | java_lang_Class.cc | 337 LengthPrefixedArray<ArtField>* fields) in FindFieldByName()
|