Lines Matching refs:access_mode
44 VarHandle::AccessMode access_mode; member
107 AccessModeTemplate GetAccessModeTemplate(VarHandle::AccessMode access_mode) { in GetAccessModeTemplate() argument
108 switch (access_mode) { in GetAccessModeTemplate()
227 bool IsReadOnlyAccessMode(VarHandle::AccessMode access_mode) { in IsReadOnlyAccessMode() argument
228 AccessModeTemplate access_mode_template = GetAccessModeTemplate(access_mode); in IsReadOnlyAccessMode()
653 NO_RETURN void UnreachableAccessMode(const char* access_mode, const char* type_name) { in UnreachableAccessMode() argument
654 LOG(FATAL) << "Unreachable access mode :" << access_mode << " for type " << type_name; in UnreachableAccessMode()
866 static bool Dispatch(VarHandle::AccessMode access_mode,
876 bool FieldAccessor<T>::Dispatch(VarHandle::AccessMode access_mode, in Dispatch() argument
881 switch (access_mode) { in Dispatch()
980 bool FieldAccessor<ObjPtr<Object>>::Dispatch(VarHandle::AccessMode access_mode, in Dispatch() argument
989 switch (access_mode) { in Dispatch()
1111 size_t index = static_cast<size_t>(access_mode); in Dispatch()
1130 static bool Dispatch(VarHandle::AccessMode access_mode, in Dispatch() argument
1137 switch (access_mode) { in Dispatch()
1253 static bool Dispatch(const VarHandle::AccessMode access_mode, in Dispatch() argument
1262 switch (access_mode) { in Dispatch()
1285 switch (access_mode) { in Dispatch()
1425 VarHandle::MatchKind VarHandle::GetMethodTypeMatchForAccessMode(AccessMode access_mode, in GetMethodTypeMatchForAccessMode() argument
1432 AccessModeTemplate access_mode_template = GetAccessModeTemplate(access_mode); in GetMethodTypeMatchForAccessMode()
1471 bool VarHandle::IsInvokerMethodTypeCompatible(AccessMode access_mode, in IsInvokerMethodTypeCompatible() argument
1477 AccessModeTemplate access_mode_template = GetAccessModeTemplate(access_mode); in IsInvokerMethodTypeCompatible()
1514 AccessMode access_mode) { in GetMethodTypeForAccessMode() argument
1516 AccessModeTemplate access_mode_template = GetAccessModeTemplate(access_mode); in GetMethodTypeForAccessMode()
1543 ObjPtr<MethodType> VarHandle::GetMethodTypeForAccessMode(Thread* self, AccessMode access_mode) { in GetMethodTypeForAccessMode() argument
1544 return GetMethodTypeForAccessMode(self, this, access_mode); in GetMethodTypeForAccessMode()
1547 std::string VarHandle::PrettyDescriptorForAccessMode(AccessMode access_mode) { in PrettyDescriptorForAccessMode() argument
1552 AccessModeTemplate access_mode_template = GetAccessModeTemplate(access_mode); in PrettyDescriptorForAccessMode()
1578 bool VarHandle::Access(AccessMode access_mode, in Access() argument
1586 return vh->Access(access_mode, shadow_frame, operands, result); in Access()
1589 return vh->Access(access_mode, shadow_frame, operands, result); in Access()
1592 return vh->Access(access_mode, shadow_frame, operands, result); in Access()
1595 return vh->Access(access_mode, shadow_frame, operands, result); in Access()
1603 AccessMode access_mode; in GetReturnTypeDescriptor() local
1604 if (!GetAccessModeByMethodName(accessor_name, &access_mode)) { in GetReturnTypeDescriptor()
1607 AccessModeTemplate access_mode_template = GetAccessModeTemplate(access_mode); in GetReturnTypeDescriptor()
1667 bool VarHandle::GetAccessModeByMethodName(const char* method_name, AccessMode* access_mode) { in GetAccessModeByMethodName() argument
1680 *access_mode = it->access_mode; in GetAccessModeByMethodName()
1688 bool FieldVarHandle::Access(AccessMode access_mode, in Access() argument
1715 return FieldAccessor<ObjPtr<Object>>::Dispatch(access_mode, obj, offset, &getter, result); in Access()
1717 return FieldAccessor<uint8_t>::Dispatch(access_mode, obj, offset, &getter, result); in Access()
1719 return FieldAccessor<int8_t>::Dispatch(access_mode, obj, offset, &getter, result); in Access()
1721 return FieldAccessor<uint16_t>::Dispatch(access_mode, obj, offset, &getter, result); in Access()
1723 return FieldAccessor<int16_t>::Dispatch(access_mode, obj, offset, &getter, result); in Access()
1725 return FieldAccessor<int32_t>::Dispatch(access_mode, obj, offset, &getter, result); in Access()
1727 return FieldAccessor<float>::Dispatch(access_mode, obj, offset, &getter, result); in Access()
1729 return FieldAccessor<int64_t>::Dispatch(access_mode, obj, offset, &getter, result); in Access()
1731 return FieldAccessor<double>::Dispatch(access_mode, obj, offset, &getter, result); in Access()
1739 bool ArrayElementVarHandle::Access(AccessMode access_mode, in Access() argument
1766 return FieldAccessor<ObjPtr<Object>>::Dispatch(access_mode, in Access()
1773 return PrimitiveArrayElementAccessor<uint8_t>::Dispatch(access_mode, in Access()
1779 return PrimitiveArrayElementAccessor<int8_t>::Dispatch(access_mode, in Access()
1785 return PrimitiveArrayElementAccessor<uint16_t>::Dispatch(access_mode, in Access()
1791 return PrimitiveArrayElementAccessor<int16_t>::Dispatch(access_mode, in Access()
1797 return PrimitiveArrayElementAccessor<int32_t>::Dispatch(access_mode, in Access()
1803 return PrimitiveArrayElementAccessor<int64_t>::Dispatch(access_mode, in Access()
1809 return PrimitiveArrayElementAccessor<float>::Dispatch(access_mode, in Access()
1815 return PrimitiveArrayElementAccessor<double>::Dispatch(access_mode, in Access()
1831 bool ByteArrayViewVarHandle::Access(AccessMode access_mode, in Access() argument
1865 return ByteArrayViewAccessor<uint16_t>::Dispatch(access_mode, in Access()
1872 return ByteArrayViewAccessor<int16_t>::Dispatch(access_mode, in Access()
1879 return ByteArrayViewAccessor<int32_t>::Dispatch(access_mode, in Access()
1888 return ByteArrayViewAccessor<int32_t>::Dispatch(access_mode, in Access()
1895 return ByteArrayViewAccessor<int64_t>::Dispatch(access_mode, in Access()
1904 return ByteArrayViewAccessor<int64_t>::Dispatch(access_mode, in Access()
1919 bool ByteBufferViewVarHandle::Access(AccessMode access_mode, in Access() argument
1939 if (is_read_only && !IsReadOnlyAccessMode(access_mode)) { in Access()
1979 return ByteArrayViewAccessor<uint16_t>::Dispatch(access_mode, in Access()
1986 return ByteArrayViewAccessor<int16_t>::Dispatch(access_mode, in Access()
1993 return ByteArrayViewAccessor<int32_t>::Dispatch(access_mode, in Access()
2002 return ByteArrayViewAccessor<int32_t>::Dispatch(access_mode, in Access()
2009 return ByteArrayViewAccessor<int64_t>::Dispatch(access_mode, in Access()
2018 return ByteArrayViewAccessor<int64_t>::Dispatch(access_mode, in Access()