Searched refs:DexCachePair (Results 1 – 6 of 6) sorted by relevance
/art/runtime/mirror/ |
D | dex_cache.h | 49 template <typename T> struct PACKED(8) DexCachePair { struct 70 DexCachePair(ObjPtr<T> object, uint32_t index); argument 71 DexCachePair() : index(0) {} in DexCachePair() argument 72 DexCachePair(const DexCachePair<T>&) = default; 73 DexCachePair& operator=(const DexCachePair<T>&) = default; argument 75 static void Initialize(std::atomic<DexCachePair<T>>* dex_cache); 115 using TypeDexCachePair = DexCachePair<Class>; 118 using StringDexCachePair = DexCachePair<String>; 127 using MethodTypeDexCachePair = DexCachePair<MethodType>;
|
D | dex_cache-inl.h | 45 inline DexCachePair<T>::DexCachePair(ObjPtr<T> object, uint32_t index) in DexCachePair() function 49 inline void DexCachePair<T>::Initialize(std::atomic<DexCachePair<T>>* dex_cache) { in Initialize() 50 DexCachePair<T> first_elem; in Initialize() 57 inline T* DexCachePair<T>::GetObjectForIndex(uint32_t idx) { in GetObjectForIndex() 341 inline void VisitDexCachePairs(std::atomic<DexCachePair<T>>* pairs, in VisitDexCachePairs() 346 DexCachePair<T> source = pairs[i].load(std::memory_order_relaxed); in VisitDexCachePairs()
|
D | class.h | 69 template <typename T> struct PACKED(8) DexCachePair; 71 using StringDexCachePair = DexCachePair<String>;
|
/art/dex2oat/linker/ |
D | image_writer.h | 528 void FixupDexCacheArrayEntry(std::atomic<mirror::DexCachePair<T>>* orig_array, 529 std::atomic<mirror::DexCachePair<T>>* new_array,
|
D | image_writer.cc | 3221 void ImageWriter::FixupDexCacheArrayEntry(std::atomic<mirror::DexCachePair<T>>* orig_array, in FixupDexCacheArrayEntry() 3222 std::atomic<mirror::DexCachePair<T>>* new_array, in FixupDexCacheArrayEntry() 3224 static_assert(sizeof(std::atomic<mirror::DexCachePair<T>>) == sizeof(mirror::DexCachePair<T>), in FixupDexCacheArrayEntry() 3226 mirror::DexCachePair<T>* orig_pair = in FixupDexCacheArrayEntry() 3227 reinterpret_cast<mirror::DexCachePair<T>*>(&orig_array[array_index]); in FixupDexCacheArrayEntry() 3228 mirror::DexCachePair<T>* new_pair = in FixupDexCacheArrayEntry() 3229 reinterpret_cast<mirror::DexCachePair<T>*>(&new_array[array_index]); in FixupDexCacheArrayEntry()
|
/art/runtime/gc/space/ |
D | image_space.cc | 601 void FixupDexCacheArrayEntry(std::atomic<mirror::DexCachePair<T>>* array, uint32_t index) in FixupDexCacheArrayEntry() 603 static_assert(sizeof(std::atomic<mirror::DexCachePair<T>>) == sizeof(mirror::DexCachePair<T>), in FixupDexCacheArrayEntry() 605 PatchGcRoot(&(reinterpret_cast<mirror::DexCachePair<T>*>(array)[index].object)); in FixupDexCacheArrayEntry()
|