Lines Matching refs:status
54 void test_control_return(UINT status);
71 UINT status; in timer_entry() local
84 status = tx_event_flags_create(&group_2, "group 2"); in timer_entry()
87 if (status != TX_CALLER_ERROR) in timer_entry()
95 status = tx_event_flags_delete(&group_0); in timer_entry()
98 if (status != TX_CALLER_ERROR) in timer_entry()
106 status = tx_event_flags_get(&group_0, 0x80008000, 14, &actual_events, 100); in timer_entry()
109 if (status != TX_WAIT_ERROR) in timer_entry()
127 UINT status; in test_isr() local
132 status = tx_event_flags_create(&group_2, "group 2"); in test_isr()
135 if (status != TX_CALLER_ERROR) in test_isr()
143 status = tx_event_flags_delete(&group_0); in test_isr()
145 if (status != TX_CALLER_ERROR) in test_isr()
153 status = tx_event_flags_get(&group_0, 0x80008000, 14, &actual_events, 100); in test_isr()
156 if (status != TX_WAIT_ERROR) in test_isr()
178 INT status; in test_application_define() local
188 status = tx_thread_create(&thread_0, "thread 0", thread_0_entry, 1, in test_application_define()
194 if (status != TX_SUCCESS) in test_application_define()
201 status = tx_thread_create(&thread_1, "thread 1", thread_1_entry, 1, in test_application_define()
207 if (status != TX_SUCCESS) in test_application_define()
215 status = tx_event_flags_create(&group_0, "group 0"); in test_application_define()
218 if (status != TX_SUCCESS) in test_application_define()
225 status = tx_event_flags_create(&group_1, "group 1"); in test_application_define()
228 if (status != TX_SUCCESS) in test_application_define()
236 status = tx_event_flags_set_notify(&group_0, event_set_notify); in test_application_define()
241 if (status != TX_SUCCESS) in test_application_define()
250 if (status != TX_FEATURE_NOT_ENABLED) in test_application_define()
260 status = tx_event_flags_set_notify(&group_0, TX_NULL); in test_application_define()
265 if (status != TX_SUCCESS) in test_application_define()
274 if (status != TX_FEATURE_NOT_ENABLED) in test_application_define()
291 UINT status; in thread_0_entry() local
305 status = tx_event_flags_create(&event_flag_memory.event_flags, "group memory"); in thread_0_entry()
309 if ((status != TX_SUCCESS) || in thread_0_entry()
326 status = tx_event_flags_create(TX_NULL, "group 0"); in thread_0_entry()
329 if (status != TX_GROUP_ERROR) in thread_0_entry()
338 status = _txe_event_flags_create(&group_3, "group 3", (sizeof(TX_EVENT_FLAGS_GROUP)+1)); in thread_0_entry()
341 if (status != TX_GROUP_ERROR) in thread_0_entry()
350 status = tx_event_flags_create(&group_0, "group 0"); in thread_0_entry()
353 if (status != TX_GROUP_ERROR) in thread_0_entry()
362 status = tx_event_flags_delete(TX_NULL); in thread_0_entry()
365 if (status != TX_GROUP_ERROR) in thread_0_entry()
375 status = tx_event_flags_delete(&group_2); in thread_0_entry()
378 if (status != TX_GROUP_ERROR) in thread_0_entry()
387 status = tx_event_flags_get(TX_NULL, 0x80008000, TX_AND, &actual_events, TX_NO_WAIT); in thread_0_entry()
390 if (status != TX_GROUP_ERROR) in thread_0_entry()
400 status = tx_event_flags_get(&group_2, 0x80008000, TX_AND, &actual_events, TX_NO_WAIT); in thread_0_entry()
403 if (status != TX_GROUP_ERROR) in thread_0_entry()
412 status = tx_event_flags_get(&group_0, 0x80008000, TX_AND, TX_NULL, TX_NO_WAIT); in thread_0_entry()
415 if (status != TX_PTR_ERROR) in thread_0_entry()
424 status = tx_event_flags_get(&group_0, 0x80008000, 14, &actual_events, TX_NO_WAIT); in thread_0_entry()
427 if (status != TX_OPTION_ERROR) in thread_0_entry()
436 status = tx_event_flags_set(TX_NULL, 0x80008000, TX_OR); in thread_0_entry()
439 if (status != TX_GROUP_ERROR) in thread_0_entry()
449 status = tx_event_flags_set(&group_2, 0x80008000, TX_OR); in thread_0_entry()
452 if (status != TX_GROUP_ERROR) in thread_0_entry()
461 status = tx_event_flags_set(&group_0, 0x80008000, 14); in thread_0_entry()
464 if (status != TX_OPTION_ERROR) in thread_0_entry()
473 status = tx_event_flags_set_notify(TX_NULL, event_set_notify); in thread_0_entry()
476 if (status != TX_GROUP_ERROR) in thread_0_entry()
486 status = tx_event_flags_set_notify(&group_2, event_set_notify); in thread_0_entry()
489 if (status != TX_GROUP_ERROR) in thread_0_entry()
499 status = tx_event_flags_get(&group_0, 0x80008000, TX_AND, &actual_events, TX_NO_WAIT); in thread_0_entry()
502 if (status != TX_NO_EVENTS) in thread_0_entry()
511 status = tx_event_flags_get(&group_0, 0x80008000, TX_OR, &actual_events, TX_NO_WAIT); in thread_0_entry()
514 if (status != TX_NO_EVENTS) in thread_0_entry()
523 status = tx_event_flags_get(&group_0, 0x80008000, TX_AND_CLEAR, &actual_events, TX_NO_WAIT); in thread_0_entry()
526 if (status != TX_NO_EVENTS) in thread_0_entry()
535 status = tx_event_flags_get(&group_0, 0x80008000, TX_OR_CLEAR, &actual_events, TX_NO_WAIT); in thread_0_entry()
538 if (status != TX_NO_EVENTS) in thread_0_entry()
547 status = tx_event_flags_set(&group_0, 0x80008000, TX_OR); in thread_0_entry()
550 if (status != TX_SUCCESS) in thread_0_entry()
559 status = tx_event_flags_set(&group_0, 0x80000000, TX_AND); in thread_0_entry()
562 if (status != TX_SUCCESS) in thread_0_entry()
571 status = tx_event_flags_set(&group_0, 0x00008000, TX_OR); in thread_0_entry()
574 if (status != TX_SUCCESS) in thread_0_entry()
585 status = tx_event_flags_get(&group_0, 0x80008000, TX_AND, &actual_events, TX_NO_WAIT); in thread_0_entry()
588 if ((status != TX_SUCCESS) || (actual_events != 0x80008000UL)) in thread_0_entry()
597 status = tx_event_flags_get(&group_0, 0x80008000, TX_OR, &actual_events, TX_NO_WAIT); in thread_0_entry()
600 if ((status != TX_SUCCESS) || (actual_events != 0x80008000UL)) in thread_0_entry()
609 status = tx_event_flags_get(&group_0, 0x80008000, TX_AND_CLEAR, &actual_events, TX_NO_WAIT); in thread_0_entry()
612 if ((status != TX_SUCCESS) || (actual_events != 0x80008000UL)) in thread_0_entry()
621 status = tx_event_flags_get(&group_0, 0x80008000, TX_OR_CLEAR, &actual_events, TX_NO_WAIT); in thread_0_entry()
624 if (status != TX_NO_EVENTS) in thread_0_entry()
635 status = tx_event_flags_set(&group_0, 0x80008000, TX_OR); in thread_0_entry()
638 if (status != TX_SUCCESS) in thread_0_entry()
647 status = tx_event_flags_get(&group_0, 0x00008000, TX_OR_CLEAR, &actual_events, TX_NO_WAIT); in thread_0_entry()
650 if ((status != TX_SUCCESS) || (actual_events != 0x80008000UL)) in thread_0_entry()
659 status = tx_event_flags_get(&group_0, 0x80008000, TX_OR_CLEAR, &actual_events, TX_NO_WAIT); in thread_0_entry()
662 if ((status != TX_SUCCESS) || (actual_events != 0x80000000UL)) in thread_0_entry()
703 status = tx_event_flags_delete(&group_0); in thread_0_entry()
706 if (status != TX_SUCCESS) in thread_0_entry()
714 status = tx_event_flags_delete(&group_1); in thread_0_entry()
717 if (status != TX_SUCCESS) in thread_0_entry()