Lines Matching refs:test_n
872 ULONG test_n; in tx_test_thread_host_simulation_entry() local
1010 for (test_n = 0; test_n < 8; test_n ++) in tx_test_thread_host_simulation_entry()
1013 test_tmp[4] = (UCHAR)(test_n + '0'); in tx_test_thread_host_simulation_entry()
1015 UX_TEST_ASSERT(buffer_log[test_n].length == 16); in tx_test_thread_host_simulation_entry()
1017 status = _ux_utility_memory_compare(buffer_log[test_n].data, test_tmp, 6); in tx_test_thread_host_simulation_entry()
1021 for(;test_n < buffer_log_count; test_n ++) in tx_test_thread_host_simulation_entry()
1024 UX_TEST_ASSERT(buffer_log[test_n].length == 0); in tx_test_thread_host_simulation_entry()
1059 for (test_n = 0; test_n < 4; test_n ++) in tx_test_thread_host_simulation_entry()
1062 test_tmp[4] = (UCHAR)(test_n + '0'); in tx_test_thread_host_simulation_entry()
1064 UX_TEST_ASSERT(buffer_log[test_n].length == 20); in tx_test_thread_host_simulation_entry()
1066 status = _ux_utility_memory_compare(buffer_log[test_n].data, test_tmp, 6); in tx_test_thread_host_simulation_entry()
1071 for (; test_n < 14; test_n ++) in tx_test_thread_host_simulation_entry()
1074 test_tmp[6] = (UCHAR)(((10 - (test_n - 4)) % 26) + 'A'); in tx_test_thread_host_simulation_entry()
1076 UX_TEST_ASSERT(buffer_log[test_n].length == 32); in tx_test_thread_host_simulation_entry()
1078 status = _ux_utility_memory_compare(buffer_log[test_n].data, test_tmp, 8); in tx_test_thread_host_simulation_entry()
1082 for(;test_n < buffer_log_count; test_n ++) in tx_test_thread_host_simulation_entry()
1085 UX_TEST_ASSERT(buffer_log[test_n].length == 0); in tx_test_thread_host_simulation_entry()
1111 for (test_n = 0; test_n < 6; test_n ++) in tx_test_thread_host_simulation_entry()
1115 UX_TEST_ASSERT(temp == (test_n + '0')); in tx_test_thread_host_simulation_entry()
1122 for (test_n = 0; test_n < 10; test_n ++) in tx_test_thread_host_simulation_entry()
1126 UX_TEST_ASSERT(temp == (test_n + '0')); in tx_test_thread_host_simulation_entry()
1141 for (test_n = 0; test_n < 10; test_n ++) in tx_test_thread_host_simulation_entry()
1143 test_tmp[0] = (UCHAR)(test_n + '0'); in tx_test_thread_host_simulation_entry()
1149 for (test_n = 0; test_n < 7; test_n ++) in tx_test_thread_host_simulation_entry()
1154 UX_TEST_ASSERT(temp == (test_n + '0')); in tx_test_thread_host_simulation_entry()
1175 for (test_n = 0; test_n < 4; test_n ++) in tx_test_thread_host_simulation_entry()
1180 test_tmp[0] = (UCHAR)(test_n * 2 + '0'); in tx_test_thread_host_simulation_entry()
1181 test_tmp[1] = (UCHAR)(test_n * 2 + '1'); in tx_test_thread_host_simulation_entry()
1200 for (test_n = 0; test_n < 3; test_n ++) in tx_test_thread_host_simulation_entry()
1205 test_tmp[0] = (UCHAR)(test_n * 3 + '0'); in tx_test_thread_host_simulation_entry()
1206 test_tmp[1] = (UCHAR)(test_n * 3 + '1'); in tx_test_thread_host_simulation_entry()
1207 test_tmp[2] = (UCHAR)(test_n * 3 + '2'); in tx_test_thread_host_simulation_entry()
1226 for (test_n = 0; test_n < 3; test_n ++) in tx_test_thread_host_simulation_entry()
1231 test_tmp[0] = ((test_n * 4 + 0) % 10) + '0'; in tx_test_thread_host_simulation_entry()
1232 test_tmp[1] = ((test_n * 4 + 1) % 10) + '0'; in tx_test_thread_host_simulation_entry()
1233 test_tmp[2] = ((test_n * 4 + 2) % 10) + '0'; in tx_test_thread_host_simulation_entry()
1234 test_tmp[3] = ((test_n * 4 + 3) % 10) + '0'; in tx_test_thread_host_simulation_entry()
1249 for (test_n = 0; test_n < 2; test_n ++) in tx_test_thread_host_simulation_entry()
1256 transfer_request -> ux_transfer_request_index = (test_tmp[test_n] << 8) | 0; in tx_test_thread_host_simulation_entry()
1261 … UX_TEST_ASSERT(g_slave_audio20_control[test_n].ux_device_class_audio20_control_changed == 0); in tx_test_thread_host_simulation_entry()
1267 …UX_TEST_ASSERT(g_slave_audio20_control[test_n].ux_device_class_audio20_control_changed == UX_DEVIC… in tx_test_thread_host_simulation_entry()
1268 … UX_TEST_ASSERT(g_slave_audio20_control[test_n].ux_device_class_audio20_control_mute[0] == 1); in tx_test_thread_host_simulation_entry()
1274 …UX_TEST_ASSERT(g_slave_audio20_control[test_n].ux_device_class_audio20_control_changed == UX_DEVIC… in tx_test_thread_host_simulation_entry()
1275 … UX_TEST_ASSERT(g_slave_audio20_control[test_n].ux_device_class_audio20_control_mute[0] == 0); in tx_test_thread_host_simulation_entry()
1281 …UX_TEST_ASSERT(g_slave_audio20_control[test_n].ux_device_class_audio20_control_changed == UX_DEVIC… in tx_test_thread_host_simulation_entry()
1282 … UX_TEST_ASSERT(g_slave_audio20_control[test_n].ux_device_class_audio20_control_mute[0] == 1); in tx_test_thread_host_simulation_entry()
1286 transfer_request -> ux_transfer_request_index = (test_tmp[test_n] << 8) | 0; in tx_test_thread_host_simulation_entry()
1291 …UX_TEST_ASSERT(g_slave_audio20_control[test_n].ux_device_class_audio20_control_changed == UX_DEVIC… in tx_test_thread_host_simulation_entry()
1292 …UX_TEST_ASSERT(g_slave_audio20_control[test_n].ux_device_class_audio20_control_volume[0] == 0x0003… in tx_test_thread_host_simulation_entry()
1298 …UX_TEST_ASSERT(g_slave_audio20_control[test_n].ux_device_class_audio20_control_changed == UX_DEVIC… in tx_test_thread_host_simulation_entry()
1299 …UX_TEST_ASSERT(g_slave_audio20_control[test_n].ux_device_class_audio20_control_volume[0] == 0x0103… in tx_test_thread_host_simulation_entry()
1304 … UX_TEST_ASSERT(g_slave_audio20_control[test_n].ux_device_class_audio20_control_changed == 0); in tx_test_thread_host_simulation_entry()
1311 transfer_request -> ux_transfer_request_index = (test_tmp[test_n] << 8) | 0; in tx_test_thread_host_simulation_entry()
1320 transfer_request -> ux_transfer_request_index = (test_tmp[test_n] << 8) | 0; in tx_test_thread_host_simulation_entry()