Home
last modified time | relevance | path

Searched refs:status (Results 1 – 25 of 1005) sorted by relevance

12345678910>>...41

/USBX-v6.2.1/test/regression/
Dusbx_uxe_host_pima_test.c38 void test_control_return(UINT status);
49 UINT status; in test_application_define() local
67 status = ux_system_initialize(memory_pointer, UX_TEST_MEMORY_SIZE, UX_NULL, 0); in test_application_define()
70 if (status != UX_SUCCESS) in test_application_define()
78status = tx_thread_create(&ux_test_thread_simulation_0, "test simulation", ux_test_thread_simulat… in test_application_define()
83 if (status != TX_SUCCESS) in test_application_define()
93 UINT status; in ux_test_thread_simulation_0_entry() local
105 status = ux_host_class_pima_device_info_get(NX_NULL, &pima_session); in ux_test_thread_simulation_0_entry()
106 UX_TEST_CHECK_CODE(UX_INVALID_PARAMETER ,status); in ux_test_thread_simulation_0_entry()
108 status = ux_host_class_pima_device_info_get(dummy_pima, NX_NULL); in ux_test_thread_simulation_0_entry()
[all …]
Dusbx_uxe_host_hid_test.c49 void test_control_return(UINT status);
61 UINT status; in test_application_define() local
82 status = ux_system_initialize(memory_pointer, UX_TEST_MEMORY_SIZE, UX_NULL, 0); in test_application_define()
85 if (status != UX_SUCCESS) in test_application_define()
93status = tx_thread_create(&ux_test_thread_simulation_0, "test simulation", ux_test_thread_simulat… in test_application_define()
98 if (status != TX_SUCCESS) in test_application_define()
109 UINT status; in ux_test_thread_simulation_0_entry() local
125 status = ux_host_class_hid_client_register(UX_NULL, ux_host_class_hid_keyboard_entry); in ux_test_thread_simulation_0_entry()
126 UX_TEST_CHECK_CODE(UX_INVALID_PARAMETER, status); in ux_test_thread_simulation_0_entry()
127 status = ux_host_class_hid_client_register(dummy_name, UX_NULL); in ux_test_thread_simulation_0_entry()
[all …]
Dusbx_uxe_host_audio_test.c38 void test_control_return(UINT status);
50 UINT status; in test_application_define() local
68 status = ux_system_initialize(memory_pointer, UX_TEST_MEMORY_SIZE, UX_NULL, 0); in test_application_define()
71 if (status != UX_SUCCESS) in test_application_define()
79status = tx_thread_create(&ux_test_thread_simulation_0, "test simulation", ux_test_thread_simulat… in test_application_define()
84 if (status != TX_SUCCESS) in test_application_define()
115 UINT status; in ux_test_thread_simulation_0_entry() local
126 status = ux_host_class_audio_control_get(UX_NULL, &dummy_audio_control); in ux_test_thread_simulation_0_entry()
127 UX_TEST_CHECK_CODE(UX_INVALID_PARAMETER, status); in ux_test_thread_simulation_0_entry()
128 status = ux_host_class_audio_control_get(dummy_audio, UX_NULL); in ux_test_thread_simulation_0_entry()
[all …]
Dusbx_uxe_host_stack_test.c48 void test_control_return(UINT status);
60 UINT status; in test_application_define() local
78 status = ux_system_initialize(memory_pointer, UX_TEST_MEMORY_SIZE, UX_NULL, 0); in test_application_define()
81 if (status != UX_SUCCESS) in test_application_define()
89status = tx_thread_create(&ux_test_thread_simulation_0, "test simulation", ux_test_thread_simulat… in test_application_define()
94 if (status != TX_SUCCESS) in test_application_define()
105 UINT status; in ux_test_thread_simulation_0_entry() local
106 UCHAR *buffer = (UCHAR *)&status; in ux_test_thread_simulation_0_entry()
120 status = ux_host_stack_class_get(UX_NULL, &dummy_class_ptr); in ux_test_thread_simulation_0_entry()
121 UX_TEST_CHECK_CODE(UX_INVALID_PARAMETER, status); in ux_test_thread_simulation_0_entry()
[all …]
Dusbx_uxe_host_video_test.c38 void test_control_return(UINT status);
49 UINT status; in test_application_define() local
67 status = ux_system_initialize(memory_pointer, UX_TEST_MEMORY_SIZE, UX_NULL, 0); in test_application_define()
70 if (status != UX_SUCCESS) in test_application_define()
78status = tx_thread_create(&ux_test_thread_simulation_0, "test simulation", ux_test_thread_simulat… in test_application_define()
83 if (status != TX_SUCCESS) in test_application_define()
93 UINT status; in ux_test_thread_simulation_0_entry() local
102 status = ux_host_class_video_control_get(UX_NULL, &dummy_video_control); in ux_test_thread_simulation_0_entry()
103 UX_TEST_CHECK_CODE(UX_INVALID_PARAMETER, status); in ux_test_thread_simulation_0_entry()
104 status = ux_host_class_video_control_get(dummy_video, UX_NULL); in ux_test_thread_simulation_0_entry()
[all …]
Dusbx_ux_device_class_hid_event_get_AND_set_test.c162 UINT status; in test_application_define() local
175 status = ux_system_initialize(memory_pointer, UX_DEMO_MEMORY_SIZE, UX_NULL,0); in test_application_define()
178 if (status != UX_SUCCESS) in test_application_define()
181 printf("Error on line %d, error code: 0x%x\n", __LINE__, status); in test_application_define()
189 status = ux_host_stack_initialize(ux_system_host_change_function); in test_application_define()
190 if (status != UX_SUCCESS) in test_application_define()
193 printf("Error on line %d, error code: 0x%x\n", __LINE__, status); in test_application_define()
197 status = ux_host_stack_class_register(_ux_system_host_class_hid_name, ux_host_class_hid_entry); in test_application_define()
198 if (status != UX_SUCCESS) in test_application_define()
201 printf("Error on line %d, error code: 0x%x\n", __LINE__, status); in test_application_define()
[all …]
Dusbx_ux_host_class_hid_report_id_get_test.c173 UINT status; in test_application_define() local
186 status = ux_system_initialize(memory_pointer, UX_DEMO_MEMORY_SIZE, UX_NULL,0); in test_application_define()
189 if (status != UX_SUCCESS) in test_application_define()
192 printf("Error on line %d, error code: 0x%x\n", __LINE__, status); in test_application_define()
200 status = ux_host_stack_initialize(ux_system_host_change_function); in test_application_define()
201 if (status != UX_SUCCESS) in test_application_define()
204 printf("Error on line %d, error code: 0x%x\n", __LINE__, status); in test_application_define()
208 status = ux_host_stack_class_register(_ux_system_host_class_hid_name, ux_host_class_hid_entry); in test_application_define()
209 if (status != UX_SUCCESS) in test_application_define()
212 printf("Error on line %d, error code: 0x%x\n", __LINE__, status); in test_application_define()
[all …]
Dusbx_standalone_device_storage_read_write_test.c269 void test_control_return(UINT status);
299 UINT status; in host_storage_instance_get() local
309 status = ux_host_stack_class_get(_ux_system_host_class_storage_name, &class); in host_storage_instance_get()
310 if (status != UX_SUCCESS) in host_storage_instance_get()
311 return(status); in host_storage_instance_get()
323 status = ux_host_stack_class_instance_get(class, 0, (void **) &storage); in host_storage_instance_get()
324 if (status == UX_SUCCESS) in host_storage_instance_get()
383 UINT status; in test_application_define() local
407status = fx_media_format(&ram_disk1, _fx_ram_driver, ram_disk_memory1, buffer1, 512, "RAM DISK1"… in test_application_define()
408status |= fx_media_format(&ram_disk2, _fx_ram_driver, ram_disk_memory2, buffer2, 512, "RAM DISK2"… in test_application_define()
[all …]
Dusbx_ux_host_class_storage_fats_exfat_test.c167 void test_control_return(UINT status);
197 UINT status; in host_storage_instance_get() local
201 status = ux_host_stack_class_get(_ux_system_host_class_storage_name, &class); in host_storage_instance_get()
202 if (status != UX_SUCCESS) in host_storage_instance_get()
203 return(status); in host_storage_instance_get()
215 status = ux_host_stack_class_instance_get(class, 0, (void **) &storage); in host_storage_instance_get()
216 if (status == UX_SUCCESS) in host_storage_instance_get()
254 UINT status; in test_application_define() local
275 status = ux_system_initialize(memory_pointer, UX_DEMO_MEMORY_SIZE, UX_NULL,0); in test_application_define()
278 if (status != UX_SUCCESS) in test_application_define()
[all …]
Dusbx_uxe_host_printer_test.c38 void test_control_return(UINT status);
50 UINT status; in test_application_define() local
68 status = ux_system_initialize(memory_pointer, UX_TEST_MEMORY_SIZE, UX_NULL, 0); in test_application_define()
71 if (status != UX_SUCCESS) in test_application_define()
79status = tx_thread_create(&ux_test_thread_simulation_0, "test simulation", ux_test_thread_simulat… in test_application_define()
84 if (status != TX_SUCCESS) in test_application_define()
95 UINT status; in ux_test_thread_simulation_0_entry() local
103 status = ux_host_class_printer_name_get(UX_NULL); in ux_test_thread_simulation_0_entry()
104 UX_TEST_CHECK_CODE(UX_INVALID_PARAMETER, status); in ux_test_thread_simulation_0_entry()
107 status = ux_host_class_printer_device_id_get(UX_NULL, dummy_buffer, 64); in ux_test_thread_simulation_0_entry()
[all …]
Dusbx_ux_device_class_storage_mode_sense_test.c190 void test_control_return(UINT status);
220 UINT status; in host_storage_instance_get() local
225 status = ux_host_stack_class_get(_ux_system_host_class_storage_name, &class); in host_storage_instance_get()
226 if (status != UX_SUCCESS) in host_storage_instance_get()
227 return(status); in host_storage_instance_get()
239 status = ux_host_stack_class_instance_get(class, 0, (void **) &storage); in host_storage_instance_get()
240 if (status == UX_SUCCESS) in host_storage_instance_get()
271 UINT status; in test_application_define() local
285 status = ux_system_initialize(memory_pointer, UX_DEMO_MEMORY_SIZE, UX_NULL,0); in test_application_define()
288 if (status != UX_SUCCESS) in test_application_define()
[all …]
Dusbx_uxe_device_cdc_acm_test.c37 void test_control_return(UINT status);
49 UINT status; in test_application_define() local
67 status = ux_system_initialize(memory_pointer, UX_TEST_MEMORY_SIZE, UX_NULL, 0); in test_application_define()
70 if (status != UX_SUCCESS) in test_application_define()
78status = tx_thread_create(&ux_test_thread_simulation_0, "test simulation", ux_test_thread_simulat… in test_application_define()
83 if (status != TX_SUCCESS) in test_application_define()
94 UINT status; in ux_test_thread_simulation_0_entry() local
104 status = ux_device_class_cdc_acm_read(UX_NULL, dummy_buffer, 32, &dummy_actual_length); in ux_test_thread_simulation_0_entry()
105 UX_TEST_CHECK_CODE(UX_INVALID_PARAMETER, status); in ux_test_thread_simulation_0_entry()
107 status = ux_device_class_cdc_acm_read(&dummy_inst, UX_NULL, 32, &dummy_actual_length); in ux_test_thread_simulation_0_entry()
[all …]
Dusbx_uxe_device_hid_test.c46 void test_control_return(UINT status);
58 UINT status; in test_application_define() local
76 status = ux_system_initialize(memory_pointer, UX_TEST_MEMORY_SIZE, UX_NULL, 0); in test_application_define()
79 if (status != UX_SUCCESS) in test_application_define()
87status = tx_thread_create(&ux_test_thread_simulation_0, "test simulation", ux_test_thread_simulat… in test_application_define()
92 if (status != TX_SUCCESS) in test_application_define()
103 UINT status; in ux_test_thread_simulation_0_entry() local
123status = ux_device_stack_class_register(_ux_system_slave_class_hid_name, ux_device_class_hid_entry, in ux_test_thread_simulation_0_entry()
125 UX_TEST_CHECK_CODE(UX_INVALID_PARAMETER, status); in ux_test_thread_simulation_0_entry()
128status = ux_device_stack_class_register(_ux_system_slave_class_hid_name, ux_device_class_hid_entry, in ux_test_thread_simulation_0_entry()
[all …]
Dusbx_ux_device_class_hid_initialize_test.c160 UINT status; in test_application_define() local
173 status = ux_system_initialize(memory_pointer, UX_DEMO_MEMORY_SIZE, UX_NULL,0); in test_application_define()
176 if (status != UX_SUCCESS) in test_application_define()
179 printf("Error on line %d, error code 0x%x\n", __LINE__, status); in test_application_define()
187 status = ux_host_stack_initialize(ux_system_host_change_function); in test_application_define()
188 if (status != UX_SUCCESS) in test_application_define()
191 printf("Error on line %d, error code 0x%x\n", __LINE__, status); in test_application_define()
195 status = ux_host_stack_class_register(_ux_system_host_class_hid_name, ux_host_class_hid_entry); in test_application_define()
196 if (status != UX_SUCCESS) in test_application_define()
199 printf("Error on line %d, error code 0x%x\n", __LINE__, status); in test_application_define()
[all …]
Dusbx_ux_host_stack_device_configuration_activate_test.c170 void test_control_return(UINT status);
202 UINT status; in test_application_define() local
216 status = ux_system_initialize(memory_pointer, UX_DEMO_MEMORY_SIZE, UX_NULL, 0); in test_application_define()
219 if (status != UX_SUCCESS) in test_application_define()
221 printf("ERROR #%d:0x%x\n", __LINE__, status); in test_application_define()
229 status = ux_host_stack_initialize(UX_NULL); in test_application_define()
232 if (status != UX_SUCCESS) in test_application_define()
234 printf("ERROR #%d:0x%x\n", __LINE__, status); in test_application_define()
239status = ux_host_stack_class_register(_ux_system_host_class_dpump_name, ux_host_class_dpump_entry… in test_application_define()
242 if (status != UX_SUCCESS) in test_application_define()
[all …]
Dusbx_ux_host_class_hid_idle_set_test.c162 UINT status; in test_application_define() local
175 status = ux_system_initialize(memory_pointer, UX_DEMO_MEMORY_SIZE, UX_NULL,0); in test_application_define()
178 if (status != UX_SUCCESS) in test_application_define()
181 printf("Error on line %d, error code: %d\n", __LINE__, status); in test_application_define()
189 status = ux_host_stack_initialize(ux_system_host_change_function); in test_application_define()
190 if (status != UX_SUCCESS) in test_application_define()
193 printf("Error on line %d, error code: %d\n", __LINE__, status); in test_application_define()
197 status = ux_host_stack_class_register(_ux_system_host_class_hid_name, ux_host_class_hid_entry); in test_application_define()
198 if (status != UX_SUCCESS) in test_application_define()
201 printf("Error on line %d, error code: %d\n", __LINE__, status); in test_application_define()
[all …]
Dusbx_ux_host_class_hid_periodic_report_start_test.c162 UINT status; in test_application_define() local
175 status = ux_system_initialize(memory_pointer, UX_DEMO_MEMORY_SIZE, UX_NULL,0); in test_application_define()
178 if (status != UX_SUCCESS) in test_application_define()
181 printf("Error on line %d, error code: %d\n", __LINE__, status); in test_application_define()
189 status = ux_host_stack_initialize(ux_system_host_change_function); in test_application_define()
190 if (status != UX_SUCCESS) in test_application_define()
193 printf("Error on line %d, error code: %d\n", __LINE__, status); in test_application_define()
197 status = ux_host_stack_class_register(_ux_system_host_class_hid_name, ux_host_class_hid_entry); in test_application_define()
198 if (status != UX_SUCCESS) in test_application_define()
201 printf("Error on line %d, error code: %d\n", __LINE__, status); in test_application_define()
[all …]
Dusbx_uxe_device_audio_test.c61 void test_control_return(UINT status);
394 UINT status; in test_application_define() local
412 status = ux_system_initialize(memory_pointer, UX_TEST_MEMORY_SIZE, UX_NULL, 0); in test_application_define()
415 if (status != UX_SUCCESS) in test_application_define()
424status = ux_device_stack_initialize(device_framework_high_speed, DEVICE_FRAMEWORK_LENGTH_HIGH_SPE… in test_application_define()
428 UX_TEST_CHECK_SUCCESS(status); in test_application_define()
446status = ux_device_stack_class_register(_ux_system_slave_class_audio_name, ux_device_class_audio_… in test_application_define()
448 UX_TEST_CHECK_CODE(UX_INVALID_PARAMETER, status); in test_application_define()
451status = ux_device_stack_class_register(_ux_system_slave_class_audio_name, ux_device_class_audio_… in test_application_define()
453 UX_TEST_CHECK_CODE(UX_INVALID_PARAMETER, status); in test_application_define()
[all …]
Dusbx_standalone_device_storage_basic_test.c269 void test_control_return(UINT status);
299 UINT status; in host_storage_instance_get() local
309 status = ux_host_stack_class_get(_ux_system_host_class_storage_name, &class); in host_storage_instance_get()
310 if (status != UX_SUCCESS) in host_storage_instance_get()
311 return(status); in host_storage_instance_get()
323 status = ux_host_stack_class_instance_get(class, 0, (void **) &storage); in host_storage_instance_get()
324 if (status == UX_SUCCESS) in host_storage_instance_get()
383 UINT status; in test_application_define() local
407status = fx_media_format(&ram_disk1, _fx_ram_driver, ram_disk_memory1, buffer1, 512, "RAM DISK1"… in test_application_define()
408status |= fx_media_format(&ram_disk2, _fx_ram_driver, ram_disk_memory2, buffer2, 512, "RAM DISK2"… in test_application_define()
[all …]
Dusbx_standalone_device_storage_error_cv_test.c269 void test_control_return(UINT status);
299 UINT status; in host_storage_instance_get() local
309 status = ux_host_stack_class_get(_ux_system_host_class_storage_name, &class); in host_storage_instance_get()
310 if (status != UX_SUCCESS) in host_storage_instance_get()
311 return(status); in host_storage_instance_get()
323 status = ux_host_stack_class_instance_get(class, 0, (void **) &storage); in host_storage_instance_get()
324 if (status == UX_SUCCESS) in host_storage_instance_get()
383 UINT status; in test_application_define() local
407status = fx_media_format(&ram_disk1, _fx_ram_driver, ram_disk_memory1, buffer1, 512, "RAM DISK1"… in test_application_define()
408status |= fx_media_format(&ram_disk2, _fx_ram_driver, ram_disk_memory2, buffer2, 512, "RAM DISK2"… in test_application_define()
[all …]
Dusbx_uxe_device_printer_test.c38 void test_control_return(UINT status);
50 UINT status; in test_application_define() local
68 status = ux_system_initialize(memory_pointer, UX_TEST_MEMORY_SIZE, UX_NULL, 0); in test_application_define()
71 if (status != UX_SUCCESS) in test_application_define()
79status = tx_thread_create(&ux_test_thread_simulation_0, "test simulation", ux_test_thread_simulat… in test_application_define()
84 if (status != TX_SUCCESS) in test_application_define()
95 UINT status; in ux_test_thread_simulation_0_entry() local
123 status = ux_device_class_printer_entry(&dummy_command); in ux_test_thread_simulation_0_entry()
124 UX_TEST_CHECK_CODE(UX_INVALID_PARAMETER, status); in ux_test_thread_simulation_0_entry()
127 status = ux_device_class_printer_write(UX_NULL, dummy_buffer, 32, &dummy_actual_length); in ux_test_thread_simulation_0_entry()
[all …]
Dusbx_uxe_host_prolific_test.c38 void test_control_return(UINT status);
50 UINT status; in test_application_define() local
68 status = ux_system_initialize(memory_pointer, UX_TEST_MEMORY_SIZE, UX_NULL, 0); in test_application_define()
71 if (status != UX_SUCCESS) in test_application_define()
79status = tx_thread_create(&ux_test_thread_simulation_0, "test simulation", ux_test_thread_simulat… in test_application_define()
84 if (status != TX_SUCCESS) in test_application_define()
95 UINT status; in ux_test_thread_simulation_0_entry() local
103 status = ux_host_class_prolific_read(UX_NULL, dummy_buffer, 8, &dummy_ul); in ux_test_thread_simulation_0_entry()
104 UX_TEST_CHECK_CODE(UX_INVALID_PARAMETER, status); in ux_test_thread_simulation_0_entry()
105 status = ux_host_class_prolific_read(dummy_prolific, UX_NULL, 8, &dummy_ul); in ux_test_thread_simulation_0_entry()
[all …]
Dusbx_storage_direct_calls_test.c109 UINT status; in demo_system_host_change_function() local
115 status = ux_utility_semaphore_put(&storage_instance_live_semaphore); in demo_system_host_change_function()
116 if (status) in demo_system_host_change_function()
119 printf("Error on line %d, error code: %d\n", __LINE__, status); in demo_system_host_change_function()
136 UINT status; in test_application_define() local
143status = ux_utility_semaphore_create(&storage_instance_live_semaphore, "storage_instance_live_sema… in test_application_define()
144 if (status != UX_SUCCESS) in test_application_define()
147 printf("Error on line %d, error code: %d\n", __LINE__, status); in test_application_define()
162 status = ux_host_stack_initialize(demo_system_host_change_function); in test_application_define()
165 if (status != UX_SUCCESS) in test_application_define()
[all …]
/USBX-v6.2.1/common/usbx_pictbridge/src/
Dux_pictbridge_dpsclient_input_object_get_capability.c87 UINT status; in _ux_pictbridge_dpsclient_input_object_get_capability() local
91status = _ux_pictbridge_object_tag_line_add(pima_object_buffer, object_length, _ux_pictbridge_xml_… in _ux_pictbridge_dpsclient_input_object_get_capability()
94 if (status != UX_SUCCESS) in _ux_pictbridge_dpsclient_input_object_get_capability()
95 return(status); in _ux_pictbridge_dpsclient_input_object_get_capability()
98status = _ux_pictbridge_object_tag_line_add(pima_object_buffer, object_length, _ux_pictbridge_xml_… in _ux_pictbridge_dpsclient_input_object_get_capability()
101 if (status != UX_SUCCESS) in _ux_pictbridge_dpsclient_input_object_get_capability()
102 return(status); in _ux_pictbridge_dpsclient_input_object_get_capability()
108status = _ux_pictbridge_object_tag_line_add(pima_object_buffer, object_length, _ux_pictbridge_xml_… in _ux_pictbridge_dpsclient_input_object_get_capability()
111 if (status != UX_SUCCESS) in _ux_pictbridge_dpsclient_input_object_get_capability()
112 return(status); in _ux_pictbridge_dpsclient_input_object_get_capability()
[all …]
Dux_pictbridge_dpsclient_input_object_startjob.c86 UINT status; in _ux_pictbridge_dpsclient_input_object_startjob() local
98status = _ux_pictbridge_object_tag_line_add(pima_object_buffer, object_length, _ux_pictbridge_xml_… in _ux_pictbridge_dpsclient_input_object_startjob()
101 if (status != UX_SUCCESS) in _ux_pictbridge_dpsclient_input_object_startjob()
102 return(status); in _ux_pictbridge_dpsclient_input_object_startjob()
105status = _ux_pictbridge_object_tag_line_add(pima_object_buffer, object_length, _ux_pictbridge_xml_… in _ux_pictbridge_dpsclient_input_object_startjob()
108 if (status != UX_SUCCESS) in _ux_pictbridge_dpsclient_input_object_startjob()
109 return(status); in _ux_pictbridge_dpsclient_input_object_startjob()
112status = _ux_pictbridge_object_tag_line_add(pima_object_buffer, object_length, _ux_pictbridge_xml_… in _ux_pictbridge_dpsclient_input_object_startjob()
115 if (status != UX_SUCCESS) in _ux_pictbridge_dpsclient_input_object_startjob()
116 return(status); in _ux_pictbridge_dpsclient_input_object_startjob()
[all …]

12345678910>>...41