Searched refs:var_type (Results 1 – 4 of 4) sorted by relevance
/art/test/712-varhandle-invocations/util-src/ |
D | generate_java.py | 101 def types_that_widen_to(var_type): argument 102 types_that_widen = { var_type } 104 if var_type in WIDENING_CONVERSIONS[src_type]: 667 def get_return_type(self, var_type): argument 674 return var_type 781 def build_template_dictionary(test_class, var_handle_kind, accessor, var_type): argument 782 initial_value = RANDOM.choice(var_type.examples) 783 updated_value = RANDOM.choice(list(filter(lambda v : v != initial_value, var_type.examples))) 795 'var_type' : var_type, 809 def emit_accessor_test(var_handle_kind, accessor, var_type, output_path): argument [all …]
|
/art/runtime/mirror/ |
D | var_handle_test.cc | 54 Handle<Class> var_type = hs.NewHandle(art_field->ResolveType()); in CreateFieldVarHandle() local 57 InitializeVarHandle(fvh.Get(), var_type, access_modes_bit_mask); in CreateFieldVarHandle() 61 var_type, in CreateFieldVarHandle() 81 Handle<Class> var_type = hs.NewHandle(array_class->GetComponentType()); in CreateArrayElementVarHandle() local 83 InitializeVarHandle(vh.Get(), var_type, array_class, index_type, access_modes_bit_mask); in CreateArrayElementVarHandle() 100 Handle<Class> var_type = hs.NewHandle(view_array_class->GetComponentType()); in CreateByteArrayViewVarHandle() local 103 InitializeVarHandle(bvh.Get(), var_type, byte_array_class, index_type, access_modes_bit_mask); in CreateByteArrayViewVarHandle() 120 Handle<Class> var_type = hs.NewHandle(view_array_class->GetComponentType()); in CreateByteBufferViewVarHandle() local 125 InitializeVarHandle(bvh.Get(), var_type, byte_buffer_class, index_type, access_modes_bit_mask); in CreateByteBufferViewVarHandle() 142 Handle<Class> var_type, in InitializeVarHandle() argument [all …]
|
D | var_handle.cc | 1343 ObjPtr<Class> var_type = var_handle->GetVarType(); in GetMethodTypeMatchForAccessModeImpl() local 1349 ObjPtr<Class> vh_rtype = GetReturnType(access_mode_template, var_type); in GetMethodTypeMatchForAccessModeImpl() 1364 var_type, in GetMethodTypeMatchForAccessModeImpl() 1438 ObjPtr<Class> var_type = GetVarType(); in PrettyDescriptorForAccessMode() local 1455 oss << var_type->PrettyDescriptor(); in PrettyDescriptorForAccessMode() 1458 ObjPtr<Class> rtype = GetReturnType(access_mode_template, var_type); in PrettyDescriptorForAccessMode()
|
/art/compiler/optimizing/ |
D | instruction_simplifier.cc | 3108 ObjPtr<mirror::Class> var_type = var_handle->GetVarType(); in CanUseKnownImageVarHandle() local 3116 if (type != DataTypeFromPrimitive(var_type->GetPrimitiveType())) { in CanUseKnownImageVarHandle() 3128 !var_type->IsAssignableFrom(arg_type_info.GetTypeHandle().Get())) { in CanUseKnownImageVarHandle()
|