Home
last modified time | relevance | path

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

/USBX-v6.2.1/test/regression/
Dusbx_ux_utility_unicode_to_string_test.c336 UCHAR s_buffer[16]; in ux_test_thread_simulation_0_entry() local
340 _ux_utility_memory_set(s_buffer, 0xFF, sizeof(s_buffer)); in ux_test_thread_simulation_0_entry()
363 printf("ERROR #%d: expected 0x%x but got 0x%x\n", __LINE__, 0xFF, s_buffer[j]); in ux_test_thread_simulation_0_entry()
370 _ux_utility_unicode_to_string((UCHAR *)u_buffer, s_buffer); in ux_test_thread_simulation_0_entry()
373 if (test_str[i] != s_buffer[i]) in ux_test_thread_simulation_0_entry()
375 printf("ERROR #%d: expected 0x%x but got 0x%x\n", __LINE__, test_str[i], s_buffer[i]); in ux_test_thread_simulation_0_entry()
378 for (; i < sizeof(s_buffer); i ++) in ux_test_thread_simulation_0_entry()
380 if (0xFF != s_buffer[i]) in ux_test_thread_simulation_0_entry()
382 printf("ERROR #%d: expected 0x%x but got 0x%x\n", __LINE__, 0xFF, s_buffer[i]); in ux_test_thread_simulation_0_entry()