Lines Matching defs:ptr_size
63 inline ArtField* DexCache::GetResolvedField(uint32_t field_idx, size_t ptr_size) {
64 DCHECK_EQ(Runtime::Current()->GetClassLinker()->GetImagePointerSize(), ptr_size);
66 ArtField* field = GetElementPtrSize(GetResolvedFields(), field_idx, ptr_size);
73 inline void DexCache::SetResolvedField(uint32_t field_idx, ArtField* field, size_t ptr_size) {
74 DCHECK_EQ(Runtime::Current()->GetClassLinker()->GetImagePointerSize(), ptr_size);
76 SetElementPtrSize(GetResolvedFields(), field_idx, field, ptr_size);
79 inline ArtMethod* DexCache::GetResolvedMethod(uint32_t method_idx, size_t ptr_size) {
80 DCHECK_EQ(Runtime::Current()->GetClassLinker()->GetImagePointerSize(), ptr_size);
82 ArtMethod* method = GetElementPtrSize<ArtMethod*>(GetResolvedMethods(), method_idx, ptr_size);
91 inline void DexCache::SetResolvedMethod(uint32_t method_idx, ArtMethod* method, size_t ptr_size) {
92 DCHECK_EQ(Runtime::Current()->GetClassLinker()->GetImagePointerSize(), ptr_size);
94 SetElementPtrSize(GetResolvedMethods(), method_idx, method, ptr_size);
98 inline PtrType DexCache::GetElementPtrSize(PtrType* ptr_array, size_t idx, size_t ptr_size) {
99 if (ptr_size == 8u) {
103 DCHECK_EQ(ptr_size, 4u);
113 size_t ptr_size) {
114 if (ptr_size == 8u) {
118 DCHECK_EQ(ptr_size, 4u);