/USBX-v6.2.1/test/regression/ |
D | usbx_ux_device_class_cdc_ecm_initialize_test.c | 51 ULONG test_n; in post_init_host() local 77 for (test_n = 0; test_n < rsc_cdc_thread_usage; test_n ++) in post_init_host() 80 stepinfo("%4ld / %4ld\n", test_n, rsc_cdc_thread_usage - 1); in post_init_host() 91 …R #%d.%ld: Memory level different after re-init %ld <> %ld\n", __LINE__, test_n, mem_free, _ux_sys… in post_init_host() 96 ux_test_utility_sim_thread_error_generation_start(test_n); in post_init_host() 106 printf("ERROR #%d.%ld: code 0x%x\n", __LINE__, test_n, status); in post_init_host() 116 for (test_n = 0; test_n < rsc_cdc_mutex_usage; test_n ++) in post_init_host() 119 stepinfo("%4ld / %4ld\n", test_n, rsc_cdc_mutex_usage - 1); in post_init_host() 130 …R #%d.%ld: Memory level different after re-init %ld <> %ld\n", __LINE__, test_n, mem_free, _ux_sys… in post_init_host() 135 ux_test_utility_sim_mutex_error_generation_start(test_n); in post_init_host() [all …]
|
D | usbx_ux_host_device_initialize_tests.c | 709 ULONG test_n; in test_application_define() local 798 for (test_n = 0; test_n < mem_count; test_n ++) in test_application_define() 801 stepinfo(" .memTest %2ld / %2ld\n", test_n, mem_count - 1); in test_application_define() 811 printf("ERROR #6.%ld\n", test_n); in test_application_define() 816 ux_test_utility_sim_mem_alloc_error_generation_start(test_n); in test_application_define() 822 printf("ERROR #7.%ld: memory error should be reported\n", test_n); in test_application_define() 829 for (test_n = 0; test_n < sem_count; test_n ++) in test_application_define() 832 stepinfo(" .semTest %2ld / %2ld\n", test_n, sem_count - 1); in test_application_define() 842 printf("ERROR #8.%ld\n", test_n); in test_application_define() 847 ux_test_utility_sim_sem_error_generation_start(test_n); in test_application_define() [all …]
|
D | usbx_cdc_ecm_basic_memory_test.c | 136 ULONG test_n; in post_init_host() local 186 for (test_n = 0; test_n < 3; test_n++) in post_init_host() 188 stepinfo("%4ld / 2\n", test_n); in post_init_host() 200 …d: Memory level different after re-enumerations %ld <> %ld\n", __LINE__, test_n, mem_free, _ux_sys… in post_init_host() 216 printf("ERROR #%d.%ld: Enumeration fail\n", __LINE__, test_n); in post_init_host() 226 for (test_n = 0; test_n < rsc_cdc_mem_alloc_count; test_n ++) in post_init_host() 229 stepinfo("%4ld / %4ld\n", test_n, rsc_cdc_mem_alloc_count - 1); in post_init_host() 241 …d: Memory level different after re-enumerations %ld <> %ld\n", __LINE__, test_n, mem_free, _ux_sys… in post_init_host() 246 ux_test_utility_sim_mem_alloc_error_generation_start(test_n + rsc_enum_mem_alloc_count); in post_init_host() 253 if (test_n >= rsc_cdc_mem_alloc_count - rsc_cdc_mem_tx_rx_count) in post_init_host() [all …]
|
D | usbx_audio20_device_basic_test.c | 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() [all …]
|
D | usbx_audio10_iad_device_basic_test.c | 822 ULONG test_n; in tx_test_thread_host_simulation_entry() local 960 for (test_n = 0; test_n < 8; test_n ++) in tx_test_thread_host_simulation_entry() 963 test_cmp[4] = (UCHAR)(test_n + '0'); in tx_test_thread_host_simulation_entry() 965 UX_TEST_ASSERT(buffer_log[test_n].length == 16); in tx_test_thread_host_simulation_entry() 967 status = _ux_utility_memory_compare(buffer_log[test_n].data, test_cmp, 6); in tx_test_thread_host_simulation_entry() 971 for(;test_n < buffer_log_count; test_n ++) in tx_test_thread_host_simulation_entry() 974 UX_TEST_ASSERT(buffer_log[test_n].length == 0); in tx_test_thread_host_simulation_entry() 1009 for (test_n = 0; test_n < 4; test_n ++) in tx_test_thread_host_simulation_entry() 1012 test_cmp[4] = (UCHAR)(test_n + '0'); in tx_test_thread_host_simulation_entry() 1014 UX_TEST_ASSERT(buffer_log[test_n].length == 20); in tx_test_thread_host_simulation_entry() [all …]
|
D | usbx_hub_basic_memory_test.c | 119 ULONG test_n; in post_init_host() local 159 for (test_n = 0; test_n < 3; test_n++) in post_init_host() 161 stepinfo("%4ld / 2\n", test_n); in post_init_host() 173 …d: Memory level different after re-enumerations %ld <> %ld\n", __LINE__, test_n, mem_free, _ux_sys… in post_init_host() 189 printf("ERROR #%d.%ld: Enumeration fail\n", __LINE__, test_n); in post_init_host() 203 for (test_n = 0; test_n < rsc_cdc_mem_alloc_count; test_n ++) in post_init_host() 206 stepinfo("%4ld / %4ld\n", test_n, rsc_cdc_mem_alloc_count - 1); in post_init_host() 218 …d: Memory level different after re-enumerations %ld <> %ld\n", __LINE__, test_n, mem_free, _ux_sys… in post_init_host() 223 ux_test_utility_sim_mem_alloc_error_generation_start(test_n + rsc_enum_mem_alloc_count); in post_init_host() 237 printf("ERROR #%d.%ld: device detected when there is memory error\n", __LINE__, test_n); in post_init_host()
|
D | usbx_audio10_device_basic_test.c | 847 ULONG test_n; in tx_test_thread_host_simulation_entry() local 985 for (test_n = 0; test_n < 8; test_n ++) in tx_test_thread_host_simulation_entry() 988 test_cmp[4] = (UCHAR)(test_n + '0'); in tx_test_thread_host_simulation_entry() 990 UX_TEST_ASSERT(buffer_log[test_n].length == 16); in tx_test_thread_host_simulation_entry() 992 status = _ux_utility_memory_compare(buffer_log[test_n].data, test_cmp, 6); in tx_test_thread_host_simulation_entry() 996 for(;test_n < buffer_log_count; test_n ++) in tx_test_thread_host_simulation_entry() 999 UX_TEST_ASSERT(buffer_log[test_n].length == 0); in tx_test_thread_host_simulation_entry() 1034 for (test_n = 0; test_n < 4; test_n ++) in tx_test_thread_host_simulation_entry() 1037 test_cmp[4] = (UCHAR)(test_n + '0'); in tx_test_thread_host_simulation_entry() 1039 UX_TEST_ASSERT(buffer_log[test_n].length == 20); in tx_test_thread_host_simulation_entry() [all …]
|
D | usbx_audio20_device_feedback_test.c | 975 ULONG test_n; in tx_test_thread_host_simulation_entry() local 1130 for (test_n = 0; test_n < 8; test_n ++) in tx_test_thread_host_simulation_entry() 1133 test_tmp[4] = (UCHAR)(test_n + '0'); in tx_test_thread_host_simulation_entry() 1135 UX_TEST_ASSERT(buffer_log[test_n].length == 16); in tx_test_thread_host_simulation_entry() 1137 status = _ux_utility_memory_compare(buffer_log[test_n].data, test_tmp, 6); in tx_test_thread_host_simulation_entry() 1141 for(;test_n < buffer_log_count; test_n ++) in tx_test_thread_host_simulation_entry() 1144 UX_TEST_ASSERT(buffer_log[test_n].length == 0); in tx_test_thread_host_simulation_entry() 1179 for (test_n = 0; test_n < 4; test_n ++) in tx_test_thread_host_simulation_entry() 1182 test_tmp[4] = (UCHAR)(test_n + '0'); in tx_test_thread_host_simulation_entry() 1184 UX_TEST_ASSERT(buffer_log[test_n].length == 20); in tx_test_thread_host_simulation_entry() [all …]
|
D | usbx_audio10_device_feedback_test.c | 926 ULONG test_n; in tx_test_thread_host_simulation_entry() local 1076 for (test_n = 0; test_n < 8; test_n ++) in tx_test_thread_host_simulation_entry() 1079 test_cmp[4] = (UCHAR)(test_n + '0'); in tx_test_thread_host_simulation_entry() 1081 UX_TEST_ASSERT(buffer_log[test_n].length == 16); in tx_test_thread_host_simulation_entry() 1083 status = _ux_utility_memory_compare(buffer_log[test_n].data, test_cmp, 6); in tx_test_thread_host_simulation_entry() 1087 for(;test_n < buffer_log_count; test_n ++) in tx_test_thread_host_simulation_entry() 1090 UX_TEST_ASSERT(buffer_log[test_n].length == 0); in tx_test_thread_host_simulation_entry() 1125 for (test_n = 0; test_n < 4; test_n ++) in tx_test_thread_host_simulation_entry() 1128 test_cmp[4] = (UCHAR)(test_n + '0'); in tx_test_thread_host_simulation_entry() 1130 UX_TEST_ASSERT(buffer_log[test_n].length == 20); in tx_test_thread_host_simulation_entry() [all …]
|
D | usbx_ux_device_class_video_basic_tests.c | 826 ULONG test_n; in tx_test_thread_host_simulation_entry() local 966 for (test_n = 0; test_n < 8; test_n ++) in tx_test_thread_host_simulation_entry() 969 test_cmp[4] = (UCHAR)(test_n + '0'); in tx_test_thread_host_simulation_entry() 971 UX_TEST_ASSERT(buffer_log[test_n].length == 16); in tx_test_thread_host_simulation_entry() 973 status = _ux_utility_memory_compare(buffer_log[test_n].data, test_cmp, 6); in tx_test_thread_host_simulation_entry() 977 for(;test_n < buffer_log_count; test_n ++) in tx_test_thread_host_simulation_entry() 980 UX_TEST_ASSERT(buffer_log[test_n].length == 0); in tx_test_thread_host_simulation_entry() 1015 for (test_n = 0; test_n < 4; test_n ++) in tx_test_thread_host_simulation_entry() 1018 test_cmp[4] = (UCHAR)(test_n + '0'); in tx_test_thread_host_simulation_entry() 1020 UX_TEST_ASSERT(buffer_log[test_n].length == 20); in tx_test_thread_host_simulation_entry() [all …]
|
D | usbx_ux_host_class_cdc_acm_entry_test.c | 475 INT test_n; in tx_test_thread_host_simulation_entry() local 506 for (test_n = 0; test_n < 2; test_n ++) in tx_test_thread_host_simulation_entry() 509 framework = test_n ? device_framework_high_speed : device_framework_full_speed; in tx_test_thread_host_simulation_entry() 510 speed = test_n ? UX_HIGH_SPEED_DEVICE : UX_FULL_SPEED_DEVICE; in tx_test_thread_host_simulation_entry() 512 ifc_off = test_n ? (18+10+9) : (18+9+8); in tx_test_thread_host_simulation_entry() 514 if (test_n == 0) in tx_test_thread_host_simulation_entry() 517 stepinfo(">>>>>>>>>>>>>>>> Test %s IAD IAD.bClass error\n", test_n ? "no" : "with"); in tx_test_thread_host_simulation_entry() 532 printf("ERROR #%d.%d: expect enum fail\n", __LINE__, test_n); in tx_test_thread_host_simulation_entry() 537 stepinfo(">>>>>>>>>>>>>>>> Test %s IAD IAD.bSubClass error\n", test_n ? "no" : "width"); in tx_test_thread_host_simulation_entry() 552 printf("ERROR #%d.%d: expect enum fail\n", __LINE__, test_n); in tx_test_thread_host_simulation_entry() [all …]
|
D | usbx_standalone_host_storage_basic_test.c | 404 ULONG test_n; in test_application_define() local 704 ULONG test_n; in _msc_media_read_test() local 729 for (test_n = 0; test_n < sizeof(test_size)/sizeof(test_size[0]); test_n ++) in _msc_media_read_test() 732 stepinfo(">>>>>>>>>>>> Disk read(%d) test\n", test_size[test_n]); in _msc_media_read_test() 734 buffer, 0, test_size[test_n]); in _msc_media_read_test() 737 printf("ERROR %d.%ld: 0x%x\n", __LINE__, test_n, status); in _msc_media_read_test() 746 ULONG test_n; in _msc_media_write_read_test() local 790 for (test_n = 0; test_n < sizeof(test_size)/sizeof(test_size[0]); test_n ++) in _msc_media_write_read_test() 793 test_size[test_n], test_size[test_n]); in _msc_media_write_read_test() 795 for(i = 0; i < test_size[test_n] * 512; i ++) in _msc_media_write_read_test() [all …]
|
D | usbx_standalone_host_storage_insert_eject_test.c | 404 ULONG test_n; in test_application_define() local 704 ULONG test_n; in _msc_media_read_test() local 729 for (test_n = 0; test_n < sizeof(test_size)/sizeof(test_size[0]); test_n ++) in _msc_media_read_test() 732 stepinfo(">>>>>>>>>>>> Disk read(%d) test\n", test_size[test_n]); in _msc_media_read_test() 734 buffer, 0, test_size[test_n]); in _msc_media_read_test() 737 printf("ERROR %d.%ld: 0x%x\n", __LINE__, test_n, status); in _msc_media_read_test() 746 ULONG test_n; in _msc_media_write_read_test() local 790 for (test_n = 0; test_n < sizeof(test_size)/sizeof(test_size[0]); test_n ++) in _msc_media_write_read_test() 793 test_size[test_n], test_size[test_n]); in _msc_media_write_read_test() 795 for(i = 0; i < test_size[test_n] * 512; i ++) in _msc_media_write_read_test() [all …]
|
D | usbx_standalone_host_storage_read_write_test.c | 407 ULONG test_n; in test_application_define() local 707 ULONG test_n; in _msc_media_read_test() local 732 for (test_n = 0; test_n < sizeof(test_size)/sizeof(test_size[0]); test_n ++) in _msc_media_read_test() 735 stepinfo(">>>>>>>>>>>> Disk read(%ld) test\n", test_size[test_n]); in _msc_media_read_test() 737 buffer, 0, test_size[test_n]); in _msc_media_read_test() 740 printf("ERROR %d.%ld: 0x%x\n", __LINE__, test_n, status); in _msc_media_read_test() 749 ULONG test_n; in _msc_media_write_read_test() local 793 for (test_n = 0; test_n < sizeof(test_size)/sizeof(test_size[0]); test_n ++) in _msc_media_write_read_test() 796 test_size[test_n], test_size[test_n]); in _msc_media_write_read_test() 798 for(i = 0; i < test_size[test_n] * 512; i ++) in _msc_media_write_read_test() [all …]
|
D | usbx_storage_basic_memory_test.c | 300 ULONG test_n; in test_application_define() local 392 for (test_n = 0; test_n < rsc_storage_mem_alloc_count; test_n ++) in test_application_define() 395 stepinfo("%4ld / %4ld\n", test_n, rsc_storage_mem_alloc_count - 1); in test_application_define() 406 …d.%ld: Memory level different after re-register %ld <> %ld\n", __LINE__, test_n, mem_free, _ux_sys… in test_application_define() 411 ux_test_utility_sim_mem_alloc_error_generation_start(test_n); in test_application_define() 418 … printf("ERROR #%d.%ld: Class registered when there is memory error\n", __LINE__, test_n); in test_application_define() 496 ULONG test_n; in tx_demo_thread_host_simulation_entry() local 592 for (test_n = 0; test_n < 3; test_n++) in tx_demo_thread_host_simulation_entry() 594 stepinfo("%4ld / 2\n", test_n); in tx_demo_thread_host_simulation_entry() 604 printf("ERROR #%d.%ld: Disconnect fail\n", __LINE__, test_n); in tx_demo_thread_host_simulation_entry() [all …]
|
D | usbx_ux_host_device_basic_memory_tests.c | 827 ULONG test_n; in tx_test_thread_host_simulation_entry() local 876 test_n = 10; in tx_test_thread_host_simulation_entry() 877 while((!cdc_acm_host_control || !cdc_acm_host_data) && test_n --) in tx_test_thread_host_simulation_entry() 896 for (test_n = 0; test_n < 3; test_n++) in tx_test_thread_host_simulation_entry() 898 stepinfo("%4ld / 2\n", test_n); in tx_test_thread_host_simulation_entry() 907 …printf("ERROR #%d.%ld: number of devices (%d) must be 0\n", __LINE__, test_n, hcd->ux_hcd_nb_devic… in tx_test_thread_host_simulation_entry() 917 …ROR #14.%ld: Memory level different after re-enumerations %ld <> %ld\n", test_n, mem_free, _ux_sys… in tx_test_thread_host_simulation_entry() 933 printf("ERROR #15.%ld: Enumeration fail\n", test_n); in tx_test_thread_host_simulation_entry() 943 for (test_n = 0; test_n < rsc_enum_mem_alloc_count; test_n ++) in tx_test_thread_host_simulation_entry() 946 stepinfo("%4ld / %4ld\n", test_n, rsc_enum_mem_alloc_count - 1); in tx_test_thread_host_simulation_entry() [all …]
|
D | usbx_standalone_device_cdc_acm_basic_memory_test.c | 641 ULONG test_n; in ux_test_thread_host_simulation_entry() local 702 for (test_n = 0; test_n < 3; test_n++) in ux_test_thread_host_simulation_entry() 704 stepinfo("%4ld / 2\n", test_n); in ux_test_thread_host_simulation_entry() 716 …ROR #11.%ld: Memory level different after re-enumerations %ld <> %ld\n", test_n, mem_free, _ux_sys… in ux_test_thread_host_simulation_entry() 732 printf("ERROR #12.%ld: Enumeration fail\n", test_n); in ux_test_thread_host_simulation_entry() 742 for (test_n = 0; test_n < rsc_cdc_mem_alloc_count; test_n ++) in ux_test_thread_host_simulation_entry() 745 stepinfo("%4ld / %4ld\n", test_n, rsc_cdc_mem_alloc_count - 1); in ux_test_thread_host_simulation_entry() 757 …ROR #11.%ld: Memory level different after re-enumerations %ld <> %ld\n", test_n, mem_free, _ux_sys… in ux_test_thread_host_simulation_entry() 762 ux_test_utility_sim_mem_alloc_error_generation_start(test_n + rsc_enum_mem_alloc_count); in ux_test_thread_host_simulation_entry() 776 printf("ERROR #12.%ld: device detected when there is memory error\n", test_n); in ux_test_thread_host_simulation_entry()
|
D | usbx_standalone_cdc_acm_basic_memory_test.c | 657 ULONG test_n; in ux_test_thread_host_simulation_entry() local 718 for (test_n = 0; test_n < 3; test_n++) in ux_test_thread_host_simulation_entry() 720 stepinfo("%4ld / 2\n", test_n); in ux_test_thread_host_simulation_entry() 732 …ROR #11.%ld: Memory level different after re-enumerations %ld <> %ld\n", test_n, mem_free, _ux_sys… in ux_test_thread_host_simulation_entry() 748 printf("ERROR #12.%ld: Enumeration fail\n", test_n); in ux_test_thread_host_simulation_entry() 758 for (test_n = 0; test_n < rsc_cdc_mem_alloc_count; test_n ++) in ux_test_thread_host_simulation_entry() 761 stepinfo("%4ld / %4ld\n", test_n, rsc_cdc_mem_alloc_count - 1); in ux_test_thread_host_simulation_entry() 773 …ROR #11.%ld: Memory level different after re-enumerations %ld <> %ld\n", test_n, mem_free, _ux_sys… in ux_test_thread_host_simulation_entry() 778 ux_test_utility_sim_mem_alloc_error_generation_start(test_n + rsc_enum_mem_alloc_count); in ux_test_thread_host_simulation_entry() 792 printf("ERROR #12.%ld: device detected when there is memory error\n", test_n); in ux_test_thread_host_simulation_entry()
|
D | usbx_class_hid_basic_memory_test.c | 419 ULONG test_n; in test_application_define() local 544 for (test_n = 0; test_n < alloc_count; test_n ++) in test_application_define() 547 stepinfo("%4ld / %4ld\n", test_n, alloc_count - 1); in test_application_define() 560 …d: Memory level different after re-enumerations %ld <> %ld\n", __LINE__, test_n, mem_free, _ux_sys… in test_application_define() 566 ux_test_utility_sim_mem_alloc_error_generation_start(test_n); in test_application_define() 580 printf("ERROR #%d.%ld: registered when there is memory error\n", __LINE__, test_n); in test_application_define() 681 ULONG test_n; in tx_demo_thread_host_simulation_entry() local 755 for (test_n = 0; test_n < rsc_hid_mem_alloc_count; test_n ++) in tx_demo_thread_host_simulation_entry() 758 stepinfo("%4ld / %4ld\n", test_n, rsc_hid_mem_alloc_count - 1); in tx_demo_thread_host_simulation_entry() 767 …printf("ERROR #%d.%ld: number of devices (%d) must be 0\n", __LINE__, test_n, hcd->ux_hcd_nb_devic… in tx_demo_thread_host_simulation_entry() [all …]
|
D | usbx_ux_device_class_hid_receiver_memory_test.c | 413 ULONG test_n; in test_application_define() local 552 for (test_n = 0; test_n < alloc_count; test_n ++) in test_application_define() 555 stepinfo("%4ld / %4ld\n", test_n, alloc_count - 1); in test_application_define() 568 …d: Memory level different after re-enumerations %ld <> %ld\n", __LINE__, test_n, mem_free, _ux_sys… in test_application_define() 574 ux_test_utility_sim_mem_alloc_error_generation_start(test_n); in test_application_define() 588 printf("ERROR #%d.%ld: registered when there is memory error\n", __LINE__, test_n); in test_application_define() 676 ULONG test_n; in tx_demo_thread_host_simulation_entry() local 750 for (test_n = 0; test_n < rsc_hid_mem_alloc_count; test_n ++) in tx_demo_thread_host_simulation_entry() 753 stepinfo("%4ld / %4ld\n", test_n, rsc_hid_mem_alloc_count - 1); in tx_demo_thread_host_simulation_entry() 762 …printf("ERROR #%d.%ld: number of devices (%d) must be 0\n", __LINE__, test_n, hcd->ux_hcd_nb_devic… in tx_demo_thread_host_simulation_entry() [all …]
|
D | usbx_ux_device_class_hid_basic_memory_test.c | 413 ULONG test_n; in test_application_define() local 538 for (test_n = 0; test_n < alloc_count; test_n ++) in test_application_define() 541 stepinfo("%4ld / %4ld\n", test_n, alloc_count - 1); in test_application_define() 554 …d: Memory level different after re-enumerations %ld <> %ld\n", __LINE__, test_n, mem_free, _ux_sys… in test_application_define() 560 ux_test_utility_sim_mem_alloc_error_generation_start(test_n); in test_application_define() 574 printf("ERROR #%d.%ld: registered when there is memory error\n", __LINE__, test_n); in test_application_define() 675 ULONG test_n; in tx_demo_thread_host_simulation_entry() local 749 for (test_n = 0; test_n < rsc_hid_mem_alloc_count; test_n ++) in tx_demo_thread_host_simulation_entry() 752 stepinfo("%4ld / %4ld\n", test_n, rsc_hid_mem_alloc_count - 1); in tx_demo_thread_host_simulation_entry() 761 …printf("ERROR #%d.%ld: number of devices (%d) must be 0\n", __LINE__, test_n, hcd->ux_hcd_nb_devic… in tx_demo_thread_host_simulation_entry() [all …]
|
D | usbx_audio10_iad_device_interrupt_test.c | 929 ULONG test_n; in tx_test_thread_host_simulation_entry() local 978 for (test_n = 0; test_n < 2; test_n ++) in tx_test_thread_host_simulation_entry() 985 transfer_request -> ux_transfer_request_index = (test_tmp[test_n] << 8) | 1; in tx_test_thread_host_simulation_entry() 990 … UX_TEST_ASSERT(g_slave_audio10_control[test_n].ux_device_class_audio10_control_changed == 0); in tx_test_thread_host_simulation_entry() 996 …UX_TEST_ASSERT(g_slave_audio10_control[test_n].ux_device_class_audio10_control_changed == UX_DEVIC… in tx_test_thread_host_simulation_entry() 997 … UX_TEST_ASSERT(g_slave_audio10_control[test_n].ux_device_class_audio10_control_mute[0] == 1); in tx_test_thread_host_simulation_entry() 1003 …UX_TEST_ASSERT(g_slave_audio10_control[test_n].ux_device_class_audio10_control_changed == UX_DEVIC… in tx_test_thread_host_simulation_entry() 1004 … UX_TEST_ASSERT(g_slave_audio10_control[test_n].ux_device_class_audio10_control_mute[0] == 0); in tx_test_thread_host_simulation_entry() 1010 …UX_TEST_ASSERT(g_slave_audio10_control[test_n].ux_device_class_audio10_control_changed == UX_DEVIC… in tx_test_thread_host_simulation_entry() 1011 … UX_TEST_ASSERT(g_slave_audio10_control[test_n].ux_device_class_audio10_control_mute[0] == 1); in tx_test_thread_host_simulation_entry() [all …]
|
D | usbx_cdc_acm_basic_memory_test.c | 685 ULONG test_n; in ux_test_thread_host_simulation_entry() local 746 for (test_n = 0; test_n < 3; test_n++) in ux_test_thread_host_simulation_entry() 748 stepinfo("%4ld / 2\n", test_n); in ux_test_thread_host_simulation_entry() 760 …ROR #11.%ld: Memory level different after re-enumerations %ld <> %ld\n", test_n, mem_free, _ux_sys… in ux_test_thread_host_simulation_entry() 776 printf("ERROR #12.%ld: Enumeration fail\n", test_n); in ux_test_thread_host_simulation_entry() 786 for (test_n = 0; test_n < rsc_cdc_mem_alloc_count; test_n ++) in ux_test_thread_host_simulation_entry() 789 stepinfo("%4ld / %4ld\n", test_n, rsc_cdc_mem_alloc_count - 1); in ux_test_thread_host_simulation_entry() 801 …ROR #11.%ld: Memory level different after re-enumerations %ld <> %ld\n", test_n, mem_free, _ux_sys… in ux_test_thread_host_simulation_entry() 806 ux_test_utility_sim_mem_alloc_error_generation_start(test_n + rsc_enum_mem_alloc_count); in ux_test_thread_host_simulation_entry() 820 printf("ERROR #12.%ld: device detected when there is memory error\n", test_n); in ux_test_thread_host_simulation_entry()
|
D | usbx_ux_host_device_basic_tests.c | 838 ULONG test_n; in tx_test_thread_host_simulation_entry() local 1004 for (test_n = 0; test_n < rsc_enum_mutex_usage; test_n ++) in tx_test_thread_host_simulation_entry() 1007 stepinfo("%ld / %ld\n", test_n, rsc_enum_mutex_usage - 1); in tx_test_thread_host_simulation_entry() 1017 ux_test_utility_sim_mutex_error_generation_start(test_n); in tx_test_thread_host_simulation_entry() 1030 printf("ERROR #19.%ld: device detected when there is mutex error\n", test_n); in tx_test_thread_host_simulation_entry() 1043 for (test_n = 0; test_n < rsc_enum_sem_usage; test_n ++) in tx_test_thread_host_simulation_entry() 1046 stepinfo("%2ld / %2ld\n", test_n, rsc_enum_sem_usage - 1); in tx_test_thread_host_simulation_entry() 1053 ux_test_utility_sim_sem_error_generation_start(test_n); in tx_test_thread_host_simulation_entry() 1067 printf("ERROR #21.%ld: device detected when there is semaphore error\n", test_n); in tx_test_thread_host_simulation_entry() 1079 for (test_n = 0; test_n < rsc_enum_sem_get_count; test_n ++) in tx_test_thread_host_simulation_entry() [all …]
|
D | usbx_class_printer_device_standalone_basic_tests.c | 438 ULONG test_n; in _printer_enumeration_test() local 486 for (test_n = 0; test_n < 3; test_n++) in _printer_enumeration_test() 488 stepinfo("%4ld / 2\n", test_n); in _printer_enumeration_test() 499 printf("ERROR #%d.%ld: Disconnect fail\n", __LINE__, test_n); in _printer_enumeration_test() 509 …d: Memory level different after re-enumerations %ld <> %ld\n", __LINE__, test_n, mem_free, _ux_sys… in _printer_enumeration_test() 526 printf("ERROR #%d.%ld: Enumeration fail\n", __LINE__, test_n); in _printer_enumeration_test() 534 for (test_n = 0; test_n < rsc_test_mem_alloc_count; test_n ++) in _printer_enumeration_test() 537 stepinfo("%4ld / %4ld\n", test_n, rsc_test_mem_alloc_count - 1); in _printer_enumeration_test() 548 stepinfo("ERROR #%d.%ld: Disconnect fail\n", __LINE__, test_n); in _printer_enumeration_test() 558 …d: Memory level different after re-enumerations %ld <> %ld\n", __LINE__, test_n, mem_free, _ux_sys… in _printer_enumeration_test() [all …]
|