Lines Matching refs:ptr_size
246 inline ArtField* DexCache::GetResolvedField(uint32_t field_idx, PointerSize ptr_size) {
247 DCHECK_EQ(Runtime::Current()->GetClassLinker()->GetImagePointerSize(), ptr_size);
248 auto pair = GetNativePairPtrSize(GetResolvedFields(), FieldSlotIndex(field_idx), ptr_size);
252 inline void DexCache::SetResolvedField(uint32_t field_idx, ArtField* field, PointerSize ptr_size) {
253 DCHECK_EQ(Runtime::Current()->GetClassLinker()->GetImagePointerSize(), ptr_size);
256 SetNativePairPtrSize(GetResolvedFields(), FieldSlotIndex(field_idx), pair, ptr_size);
259 inline void DexCache::ClearResolvedField(uint32_t field_idx, PointerSize ptr_size) {
260 DCHECK_EQ(Runtime::Current()->GetClassLinker()->GetImagePointerSize(), ptr_size);
265 if (GetNativePairPtrSize(resolved_fields, slot_idx, ptr_size).index == field_idx) {
267 SetNativePairPtrSize(resolved_fields, slot_idx, cleared, ptr_size);
278 inline ArtMethod* DexCache::GetResolvedMethod(uint32_t method_idx, PointerSize ptr_size) {
279 DCHECK_EQ(Runtime::Current()->GetClassLinker()->GetImagePointerSize(), ptr_size);
280 auto pair = GetNativePairPtrSize(GetResolvedMethods(), MethodSlotIndex(method_idx), ptr_size);
286 PointerSize ptr_size) {
287 DCHECK_EQ(Runtime::Current()->GetClassLinker()->GetImagePointerSize(), ptr_size);
290 SetNativePairPtrSize(GetResolvedMethods(), MethodSlotIndex(method_idx), pair, ptr_size);
293 inline void DexCache::ClearResolvedMethod(uint32_t method_idx, PointerSize ptr_size) {
294 DCHECK_EQ(Runtime::Current()->GetClassLinker()->GetImagePointerSize(), ptr_size);
299 if (GetNativePairPtrSize(resolved_methods, slot_idx, ptr_size).index == method_idx) {
301 SetNativePairPtrSize(resolved_methods, slot_idx, cleared, ptr_size);
308 PointerSize ptr_size) {
309 if (ptr_size == PointerSize::k64) {
325 PointerSize ptr_size) {
326 if (ptr_size == PointerSize::k64) {