Home
last modified time | relevance | path

Searched refs:return_val_if_nok (Results 1 – 25 of 36) sorted by relevance

12

/dports/lang/mono/mono-5.10.1.57/mono/metadata/
H A Dw32process.c484 return_val_if_nok (error, NULL); in process_add_module()
487 return_val_if_nok (error, NULL); in process_add_module()
490 return_val_if_nok (error, NULL); in process_add_module()
493 return_val_if_nok (error, NULL); in process_add_module()
503 return_val_if_nok (error, NULL); in process_add_module()
506 return_val_if_nok (error, NULL); in process_add_module()
537 return_val_if_nok (error, NULL); in process_get_module()
540 return_val_if_nok (error, NULL); in process_get_module()
546 return_val_if_nok (error, NULL); in process_get_module()
552 return_val_if_nok (error, NULL); in process_get_module()
[all …]
H A Dmono-mlist.c76 return_val_if_nok (error, NULL); in mono_mlist_alloc_checked()
194 return_val_if_nok (error, NULL); in mono_mlist_prepend_checked()
233 return_val_if_nok (error, NULL); in mono_mlist_append_checked()
H A Dobject.c302 return_val_if_nok (&error, NULL); in get_type_init_exception_for_vtable()
3394 return_val_if_nok (error, NULL); in mono_field_get_value_object_checked()
3506 return_val_if_nok (error, NULL); in mono_field_get_value_object_checked()
4423 return_val_if_nok (error, NULL); in make_transparent_proxy()
4425 return_val_if_nok (error, NULL); in make_transparent_proxy()
4510 return_val_if_nok (error, NULL); in create_unhandled_exception_eventargs()
4513 return_val_if_nok (error, NULL); in create_unhandled_exception_eventargs()
5893 return_val_if_nok (error, NULL); in mono_array_new_full_checked()
5958 return_val_if_nok (error, NULL); in mono_array_new_checked()
6138 return_val_if_nok (error, NULL); in mono_string_new_utf32_checked()
[all …]
H A Dsre-save.c400 return_val_if_nok (error, 0); in method_encode_code()
470 return_val_if_nok (error, 0); in method_encode_code()
513 return_val_if_nok (error, FALSE); in mono_image_basic_method()
517 return_val_if_nok (error, FALSE); in mono_image_basic_method()
519 return_val_if_nok (error, FALSE); in mono_image_basic_method()
609 return_val_if_nok (error, FALSE); in mono_image_add_methodimpl()
666 return_val_if_nok (error, FALSE); in mono_image_get_method_info()
992 return_val_if_nok (error, FALSE); in write_generic_param_entry()
1005 return_val_if_nok (error, FALSE); in write_generic_param_entry()
1886 return_val_if_nok (error, FALSE); in assembly_add_resource_manifest()
[all …]
H A Dlocales.c111 return_val_if_nok (error, NULL); in create_group_sizes_array()
134 return_val_if_nok (error, NULL); in create_names_array_idx()
138 return_val_if_nok (error, NULL); in create_names_array_idx()
166 return_val_if_nok (error, NULL); in create_names_array_idx_dynamic()
170 return_val_if_nok (error, NULL); in create_names_array_idx_dynamic()
363 return_val_if_nok (err, FALSE); \ in construct_culture()
380 return_val_if_nok (error, FALSE); in construct_culture()
401 return_val_if_nok (err, FALSE); \ in construct_region()
H A Dthreadpool.c183 return_val_if_nok (error, FALSE); in mono_threadpool_enqueue_work_item()
436 return_val_if_nok (error, NULL); in mono_threadpool_begin_invoke()
439 return_val_if_nok (error, NULL); in mono_threadpool_begin_invoke()
450 return_val_if_nok (error, NULL); in mono_threadpool_begin_invoke()
454 return_val_if_nok (error, NULL); in mono_threadpool_begin_invoke()
H A Dexception.c160 return_val_if_nok (error, NULL); in create_exception_two_strings()
703 return_val_if_nok (error, NULL); in mono_get_exception_type_initialization_checked()
895 return_val_if_nok (error, MONO_HANDLE_CAST (MonoException, NULL_HANDLE)); in mono_get_exception_reflection_type_load_checked()
937 return_val_if_nok (error, NULL); in mono_get_exception_runtime_wrapped_checked()
1169 return_val_if_nok (error, NULL); in create_exception_four_strings()
H A Dw32file.c237 return_val_if_nok (error, INVALID_HANDLE_VALUE); in ves_icall_System_IO_MonoIO_FindFirstFile()
263 return_val_if_nok (error, FALSE); in ves_icall_System_IO_MonoIO_FindNextFile()
309 return_val_if_nok (error, NULL_HANDLE_STRING); in ves_icall_System_IO_MonoIO_GetCurrentDirectory()
821 return_val_if_nok (error, NULL); in ves_icall_System_IO_MonoIO_get_InvalidPathChars()
H A Dcustom-attrs.c210 return_val_if_nok (error, NULL); in load_cattr_enum_type()
334 return_val_if_nok (error, NULL); in load_cattr_value()
389 return_val_if_nok (error, NULL); in load_cattr_value()
423 return_val_if_nok (error, NULL); in load_cattr_value()
539 return_val_if_nok (error, NULL); in create_cattr_typed_arg()
543 return_val_if_nok (error, NULL); in create_cattr_typed_arg()
547 return_val_if_nok (error, NULL); in create_cattr_typed_arg()
567 return_val_if_nok (error, NULL); in create_cattr_named_arg()
572 return_val_if_nok (error, NULL); in create_cattr_named_arg()
1227 return_val_if_nok (error, NULL); in mono_custom_attrs_construct_by_type()
[all …]
H A Dsre.c469 return_val_if_nok (error, FALSE); in mono_reflection_methodbuilder_from_method_builder()
517 return_val_if_nok (error, FALSE); in mono_reflection_methodbuilder_from_ctor_builder()
529 return_val_if_nok (error, FALSE); in mono_reflection_methodbuilder_from_ctor_builder()
883 return_val_if_nok (error, 0); in mono_image_get_sighelper_token()
1400 return_val_if_nok (error, FALSE); in image_module_basic_init()
1802 return_val_if_nok (error, NULL); in ctor_builder_to_signature()
1825 return_val_if_nok (error, NULL); in method_builder_to_signature()
3072 return_val_if_nok (error, NULL); in ctorbuilder_to_mono_method()
3075 return_val_if_nok (error, NULL); in ctorbuilder_to_mono_method()
3103 return_val_if_nok (error, NULL); in methodbuilder_to_mono_method()
[all …]
H A Dw32event-unix.c284 return_val_if_nok (error, NULL); in ves_icall_System_Threading_Events_CreateEvent_internal()
386 return_val_if_nok (error, NULL); in ves_icall_System_Threading_Events_OpenEvent_internal()
H A Ddynamic-stream.c82 return_val_if_nok (error, -1); in mono_dynstream_insert_mstring()
H A Dicall.c1731 return_val_if_nok (error, FALSE); in ves_icall_RuntimeTypeHandle_IsInstanceOfType()
1733 return_val_if_nok (error, FALSE); in ves_icall_RuntimeTypeHandle_IsInstanceOfType()
3832 return_val_if_nok (error, FALSE); in ves_icall_System_Enum_GetEnumValuesAndNames()
3843 return_val_if_nok (error, FALSE); in ves_icall_System_Enum_GetEnumValuesAndNames()
3845 return_val_if_nok (error, FALSE); in ves_icall_System_Enum_GetEnumValuesAndNames()
3853 return_val_if_nok (error, FALSE); in ves_icall_System_Enum_GetEnumValuesAndNames()
4887 return_val_if_nok (error, NULL); in ves_icall_System_Reflection_Assembly_GetManifestResourceInternal()
6706 return_val_if_nok (error, NULL); in mono_icall_get_environment_variable_names()
7053 return_val_if_nok (error, ret); in ves_icall_Remoting_RemotingServices_GetVirtualMethod()
7813 return_val_if_nok (error, FALSE); in ves_icall_MonoCustomAttrs_IsDefinedInternal()
[all …]
H A Dicall-windows.c126 return_val_if_nok (error, NULL); in mono_icall_get_environment_variable_names()
H A Dreflection-cache.h125 return_val_if_nok (error, NULL); in check_or_construct_handle()
H A Dw32mutex-unix.c354 return_val_if_nok (error, NULL); in ves_icall_System_Threading_Mutex_CreateMutex_internal()
432 return_val_if_nok (error, NULL); in ves_icall_System_Threading_Mutex_OpenMutex_internal()
H A Dmono-perfcounters.c1298 return_val_if_nok (error, NULL); in custom_get_impl()
1710 return_val_if_nok (error, NULL); in get_string_array()
1724 return_val_if_nok (error, NULL); in get_string_array()
1737 return_val_if_nok (error, NULL); in get_string_array_of_strings()
1741 return_val_if_nok (error, NULL); in get_string_array_of_strings()
1781 return_val_if_nok (error, NULL); in get_cpu_instances()
H A Dreflection.c232 return_val_if_nok (error, MONO_HANDLE_CAST (MonoReflectionAssembly, NULL_HANDLE)); in assembly_object_construct()
1381 return_val_if_nok (error, NULL); in mono_get_object_from_blob()
2119 return_val_if_nok (error, NULL); in mono_reflection_get_type_with_rootimage()
2157 return_val_if_nok (error, NULL); in mono_reflection_get_type_with_rootimage()
2286 return_val_if_nok (error, 0); in mono_reflection_get_token_checked()
2467 return_val_if_nok (error, NULL); in reflection_bind_generic_method_parameters()
2491 return_val_if_nok (error, MONO_HANDLE_CAST (MonoReflectionMethod, NULL_HANDLE)); in ves_icall_MonoMethod_MakeGenericMethod_impl()
2960 return_val_if_nok (error, FALSE); in mono_reflection_call_is_assignable_to()
H A Dw32socket.c906 return_val_if_nok (error, MONO_HANDLE_NEW (MonoObject, NULL)); in create_object_handle_from_sockaddr()
925 return_val_if_nok (error, MONO_HANDLE_NEW (MonoObject, NULL)); in create_object_handle_from_sockaddr()
1660 return_val_if_nok (error, 0); in ves_icall_System_Net_Sockets_Socket_SendTo_internal()
2608 return_val_if_nok (error, FALSE); in ves_icall_System_Net_Dns_GetHostByName_internal()
2658 return_val_if_nok (error, FALSE); in ves_icall_System_Net_Dns_GetHostByAddr_internal()
H A Dappdomain.c751 return_val_if_nok (error, NULL); in mono_domain_try_type_resolve_checked()
756 return_val_if_nok (error, NULL); in mono_domain_try_type_resolve_checked()
812 return_val_if_nok (error, NULL_HANDLE); in ves_icall_System_AppDomain_GetData()
1065 return_val_if_nok (error, ad); in ves_icall_System_AppDomain_createDomain()
1609 return_val_if_nok (error, NULL); in get_shadow_assembly_location_base()
H A Dmono-security.c291 return_val_if_nok (error, NULL); in ves_icall_System_Security_Principal_WindowsIdentity_GetUserToken()
H A Dclass.c250 return_val_if_nok (error, NULL); in mono_class_from_typeref_checked()
782 return_val_if_nok (error, NULL); in inflate_generic_type()
807 return_val_if_nok (error, NULL); in inflate_generic_type()
859 return_val_if_nok (error, NULL); in mono_class_inflate_generic_type_with_mempool()
929 return_val_if_nok (error, NULL); in mono_class_inflate_generic_type_no_copy()
951 return_val_if_nok (error, NULL); in mono_class_inflate_generic_class_checked()
1046 return_val_if_nok (error, NULL); in mono_class_inflate_generic_method_full_checked()
6588 return_val_if_nok (error, NULL); in mono_class_create_from_typespec()
7516 return_val_if_nok (error, NULL); in mono_type_get_checked()
10981 return_val_if_nok (error, NULL); in mono_method_get_base_method()
[all …]
/dports/lang/mono/mono-5.10.1.57/mono/utils/
H A Dmono-error-internals.h54 #define return_val_if_nok(error,val) do { if (!is_ok ((error))) return (val); } while (0) macro
/dports/lang/mono/mono-5.10.1.57/mono/mini/
H A Dmini-generic-sharing.c1788 return_val_if_nok (error, NULL); in instantiate_info()
1795 return_val_if_nok (error, NULL); in instantiate_info()
1807 return_val_if_nok (error, NULL); in instantiate_info()
1848 return_val_if_nok (error, NULL); in instantiate_info()
1851 return_val_if_nok (error, NULL); in instantiate_info()
1975 return_val_if_nok (error, NULL); in instantiate_info()
2547 return_val_if_nok (error, NULL); in fill_runtime_generic_context()
H A Djit-icalls.c1534 return_val_if_nok (error, NULL); in resolve_iface_call()
1614 return_val_if_nok (error, NULL); in resolve_vcall()

12