Home
last modified time | relevance | path

Searched refs:DexCachePair (Results 1 – 5 of 5) sorted by relevance

/art/runtime/mirror/
Ddex_cache.h51 template <typename T> struct PACKED(8) DexCachePair { struct
72 DexCachePair(ObjPtr<T> object, uint32_t index); argument
73 DexCachePair() : index(0) {} in DexCachePair() argument
74 DexCachePair(const DexCachePair<T>&) = default;
75 DexCachePair& operator=(const DexCachePair<T>&) = default; argument
77 static void Initialize(std::atomic<DexCachePair<T>>* dex_cache);
117 using TypeDexCachePair = DexCachePair<Class>;
120 using StringDexCachePair = DexCachePair<String>;
129 using MethodTypeDexCachePair = DexCachePair<MethodType>;
Ddex_cache-inl.h45 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()
342 inline void VisitDexCachePairs(std::atomic<DexCachePair<T>>* pairs, in VisitDexCachePairs()
347 DexCachePair<T> source = pairs[i].load(std::memory_order_relaxed); in VisitDexCachePairs()
Dclass.h76 template <typename T> struct PACKED(8) DexCachePair;
78 using StringDexCachePair = DexCachePair<String>;
/art/dex2oat/linker/
Dimage_writer.h515 void FixupDexCacheArrayEntry(std::atomic<mirror::DexCachePair<T>>* orig_array,
516 std::atomic<mirror::DexCachePair<T>>* new_array,
Dimage_writer.cc3224 void ImageWriter::FixupDexCacheArrayEntry(std::atomic<mirror::DexCachePair<T>>* orig_array, in FixupDexCacheArrayEntry()
3225 std::atomic<mirror::DexCachePair<T>>* new_array, in FixupDexCacheArrayEntry()
3227 static_assert(sizeof(std::atomic<mirror::DexCachePair<T>>) == sizeof(mirror::DexCachePair<T>), in FixupDexCacheArrayEntry()
3229 mirror::DexCachePair<T>* orig_pair = in FixupDexCacheArrayEntry()
3230 reinterpret_cast<mirror::DexCachePair<T>*>(&orig_array[array_index]); in FixupDexCacheArrayEntry()
3231 mirror::DexCachePair<T>* new_pair = in FixupDexCacheArrayEntry()
3232 reinterpret_cast<mirror::DexCachePair<T>*>(&new_array[array_index]); in FixupDexCacheArrayEntry()