Home
last modified time | relevance | path

Searched refs:result (Results 1 – 5 of 5) sorted by relevance

/USBX-v6.2.1/test/regression/
Dusbx_ux_utility_pci_read_test.c335 ULONG result; in ux_test_thread_simulation_0_entry() local
339 result = _ux_utility_pci_read(0, 0, 0, 0, 0); in ux_test_thread_simulation_0_entry()
340 if (result != 0) in ux_test_thread_simulation_0_entry()
342 printf("ERROR #%d: expected 0x%x but got 0x%lx\n", __LINE__, 0, result); in ux_test_thread_simulation_0_entry()
351 result = _ux_utility_pci_read(0, 0, 0, 0, 8); in ux_test_thread_simulation_0_entry()
352 if (result != 0x78) in ux_test_thread_simulation_0_entry()
354 printf("ERROR #%d: expected 0x%x but got 0x%lx\n", __LINE__, 0x78, result); in ux_test_thread_simulation_0_entry()
357 result = _ux_utility_pci_read(0, 0, 0, 0, 16); in ux_test_thread_simulation_0_entry()
358 if (result != 0x5678) in ux_test_thread_simulation_0_entry()
360 printf("ERROR #%d: expected 0x%x but got 0x%lx\n", __LINE__, 0x5678, result); in ux_test_thread_simulation_0_entry()
[all …]
Dux_test_utility_sim_no_overriding.c88 ULONG result; in memory_requested_size_for_block() local
98 result = block_size - added; in memory_requested_size_for_block()
102 result &= ~(UX_ALIGN_MIN); in memory_requested_size_for_block()
107 return(result); in memory_requested_size_for_block()
Dux_test.c77 UCHAR result; in _ux_test_check_action_function() local
81result = (new_actions->usbx_function > 0 && new_actions->usbx_function < (ULONG)UX_TEST_OVERRIDE_R… in _ux_test_check_action_function()
83result = (new_actions->_usbx_function > 0 && new_actions->_usbx_function < (ULONG)UX_TEST_NUMBER_O… in _ux_test_check_action_function()
86 return result; in _ux_test_check_action_function()
673 UX_TEST_ACTION result = { 0 }; in ux_test_action_handler_check() local
1228 result = *this; in ux_test_action_handler_check()
1229 result.matched = 1; in ux_test_action_handler_check()
1235 return result; in ux_test_action_handler_check()
Dusbx_storage_tests.c3328 UCHAR result; in boot_read_fails_action_check_function() local
3332 result = (get_internal_host_storage_medias()->ux_host_class_storage_media_memory != UX_NULL); in boot_read_fails_action_check_function()
3334 result = UX_TRUE; in boot_read_fails_action_check_function()
3336 return result ? UX_TRUE : UX_FALSE; in boot_read_fails_action_check_function()
/USBX-v6.2.1/common/core/inc/
Dux_utility.h336 #define UX_UTILITY_ADD_SAFE(add_a, add_b, result, status) do { \ argument
340 result = (add_a) + (add_b); \
343 #define UX_UTILITY_MULC_SAFE(mul_v, mul_c, result, status) do { \ argument
347 result = (mul_v) * (mul_c); \
350 #define UX_UTILITY_MULV_SAFE(mul_v0, mul_v1, result, status) do { \ argument
354 result = (mul_v0) * (mul_v1); \