Home
last modified time | relevance | path

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

/USBX-v6.2.1/test/regression/
Dusbx_ux_utility_unicode_to_string_test.c337 UCHAR u_buffer[16 * 2 + 1]; in ux_test_thread_simulation_0_entry() local
341 _ux_utility_memory_set(u_buffer, 0xFF, sizeof(u_buffer)); in ux_test_thread_simulation_0_entry()
343 _ux_utility_string_to_unicode(test_str, (UCHAR *)u_buffer); in ux_test_thread_simulation_0_entry()
344 if (u_buffer[0] != TEST_STR_LEN) in ux_test_thread_simulation_0_entry()
346 printf("ERROR #%d: expected 0x%x but got 0x%x\n", __LINE__, TEST_STR_LEN, u_buffer[0]); in ux_test_thread_simulation_0_entry()
350 if (test_str[i] != u_buffer[j]) in ux_test_thread_simulation_0_entry()
352 printf("ERROR #%d: expected 0x%x but got 0x%x\n", __LINE__, test_str[i], u_buffer[j]); in ux_test_thread_simulation_0_entry()
354 if (0x0 != u_buffer[j + 1]) in ux_test_thread_simulation_0_entry()
356 printf("ERROR #%d: expected 0x%x but got 0x%x\n", __LINE__, 0, u_buffer[j + 1]); in ux_test_thread_simulation_0_entry()
359 for (; j < sizeof(u_buffer); j ++) in ux_test_thread_simulation_0_entry()
[all …]