Home
last modified time | relevance | path

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

/USBX-v6.2.1/test/regression/
Dusbx_ux_utility_memory_test.c301 UINT n, i, j; in test_application_define() local
367 for (j = 0; j < sizeof(aligns)/sizeof(aligns[0]); j ++) in test_application_define()
376 ux_test_utility_sim_mem_allocate_until_align_flagged(0, aligns[j], UX_REGULAR_MEMORY); in test_application_define()
377 … ux_test_utility_sim_mem_allocate_until_align_flagged(0, aligns[j], UX_CACHE_SAFE_MEMORY); in test_application_define()
386 printf("ERROR #%d.%d.%d: Expect regular pool level down\n", __LINE__, n, j); in test_application_define()
393 printf("ERROR #%d.%d.%d: Expect cache safe pool level down\n", __LINE__, n, j); in test_application_define()
410 …printf("ERROR #%d.%d.%d: Regular pool level diff %lu -> %lu\n", __LINE__, n, j, rpool_free[0], rpo… in test_application_define()
416 …printf("ERROR #%d.%d.%d: Cache safe pool level diff %lu -> %lu\n", __LINE__, n, j, cpool_free[0], … in test_application_define()
431 ptr = ux_utility_memory_allocate(aligns[j], flags[i], 8); in test_application_define()
440 printf("ERROR #%d.%d.%d.%d: Expect fail\n", __LINE__, n, j, i); in test_application_define()
[all …]
Dusbx_ux_utility_unicode_to_string_test.c338 INT i, j; in ux_test_thread_simulation_0_entry() local
348 for (i = 0, j = 1; i < TEST_STR_LEN; i ++, j += 2) 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()
361 if (0xFF != u_buffer[j]) 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()
Dusbx_test_USBX_141_keyboard_layout.c449 UINT i, j; in tx_demo_thread_host_simulation_entry() local
492 for (j = 0; j < N_KEY; j ++) in tx_demo_thread_host_simulation_entry()
497 printf("ERROR #%d.%d.%d: code 0x%x\n", __LINE__, i, j, status); in tx_demo_thread_host_simulation_entry()
500 if ((UCHAR)keyboard_key != expected_keys[i][j]) in tx_demo_thread_host_simulation_entry()
502 printf("ERROR #%d.%d.%d: key 0x%x (%c) <> 0x%x (%c)\n", __LINE__, i, j, in tx_demo_thread_host_simulation_entry()
504 expected_keys[i][j], expected_keys[i][j]); in tx_demo_thread_host_simulation_entry()
Dusbx_ux_device_stack_class_control_request_test.c82 INT i, j; in _test_class_entry() local
90 for (j = 0; j < class_req_accepted[i].n_req; j++) in _test_class_entry()
92 …nsfer->ux_slave_transfer_request_setup[UX_SETUP_REQUEST] == class_req_accepted[i].req[j].request && in _test_class_entry()
93 …nsfer->ux_slave_transfer_request_setup[UX_SETUP_REQUEST_TYPE] == class_req_accepted[i].req[j].type) in _test_class_entry()
Dusbx_ux_device_class_hid_event_get_AND_set_test.c334 for (int j = 0; j < UX_DEVICE_CLASS_HID_EVENT_BUFFER_LENGTH; j++) in tx_demo_thread_host_simulation_entry() local
335 hid_events[i].ux_device_class_hid_event_buffer[j] = i; in tx_demo_thread_host_simulation_entry()
Dusbx_storage_tests.c3137 UINT j; in ux_test_host_class_storage_media_read_write_basic_test() local
3214 for (j = 0; j < size; j++) in ux_test_host_class_storage_media_read_write_basic_test()
3217 if (global_buffer[j] != buffer_pattern) in ux_test_host_class_storage_media_read_write_basic_test()
3228 for (j = 0; j < size / 2; j++) in ux_test_host_class_storage_media_read_write_basic_test()
3231 … if ((global_buffer[j] != buffer_pattern) || (global_buffer[size / 2 + j] != (buffer_pattern + 1))) in ux_test_host_class_storage_media_read_write_basic_test()