Lines Matching refs:status
59 void test_control_return(UINT status);
69 UINT status; in timer_entry() local
81 status = tx_semaphore_create(&semaphore_2, "semaphore 2", 1); in timer_entry()
84 if (status != TX_CALLER_ERROR) in timer_entry()
92 status = tx_semaphore_delete(&semaphore_0); in timer_entry()
95 if (status != TX_CALLER_ERROR) in timer_entry()
103 status = tx_semaphore_get(&semaphore_0, 100); in timer_entry()
106 if (status != TX_WAIT_ERROR) in timer_entry()
125 UINT status; in test_isr() local
129 status = tx_semaphore_create(&semaphore_2, "semaphore 2", 1); in test_isr()
132 if (status != TX_CALLER_ERROR) in test_isr()
140 status = tx_semaphore_delete(&semaphore_0); in test_isr()
143 if (status != TX_CALLER_ERROR) in test_isr()
151 status = tx_semaphore_get(&semaphore_0, 100); in test_isr()
154 if (status != TX_WAIT_ERROR) in test_isr()
176 UINT status; in test_application_define() local
185 status = tx_thread_create(&thread_0, "thread 0", thread_0_entry, 1, in test_application_define()
190 status += tx_thread_create(&thread_1, "thread 1", thread_1_entry, 1, in test_application_define()
196 if (status != TX_SUCCESS) in test_application_define()
204 status = tx_semaphore_create(&semaphore_0, "semaphore 0", 1); in test_application_define()
207 if (status != TX_SUCCESS) in test_application_define()
215 status = tx_semaphore_create(&semaphore_1, "semaphore 1", 1); in test_application_define()
218 if (status != TX_SUCCESS) in test_application_define()
233 UINT status; in thread_0_entry() local
245 status = tx_semaphore_create(&semaphore_memory.semaphore, "semaphore memory", 0); in thread_0_entry()
249 if ((status != TX_SUCCESS) || in thread_0_entry()
267 status = tx_semaphore_create(TX_NULL, "semaphore 0", 1); in thread_0_entry()
270 if (status != TX_SEMAPHORE_ERROR) in thread_0_entry()
279 status = _txe_semaphore_create(&semaphore_3, "semaphore 3", 1, (sizeof(TX_SEMAPHORE)+1)); in thread_0_entry()
282 if (status != TX_SEMAPHORE_ERROR) in thread_0_entry()
291 status = tx_semaphore_create(&semaphore_0, "semaphore 0", 1); in thread_0_entry()
294 if (status != TX_SEMAPHORE_ERROR) in thread_0_entry()
303 status = tx_semaphore_delete(TX_NULL); in thread_0_entry()
306 if (status != TX_SEMAPHORE_ERROR) in thread_0_entry()
316 status = tx_semaphore_delete(&semaphore_2); in thread_0_entry()
319 if (status != TX_SEMAPHORE_ERROR) in thread_0_entry()
328 status = tx_semaphore_get(TX_NULL, TX_NO_WAIT); in thread_0_entry()
331 if (status != TX_SEMAPHORE_ERROR) in thread_0_entry()
341 status = tx_semaphore_get(&semaphore_2, TX_NO_WAIT); in thread_0_entry()
344 if (status != TX_SEMAPHORE_ERROR) in thread_0_entry()
353 status = tx_semaphore_put(TX_NULL); in thread_0_entry()
356 if (status != TX_SEMAPHORE_ERROR) in thread_0_entry()
366 status = tx_semaphore_put(&semaphore_2); in thread_0_entry()
369 if (status != TX_SEMAPHORE_ERROR) in thread_0_entry()
378 status = tx_semaphore_ceiling_put(TX_NULL, 0); in thread_0_entry()
381 if (status != TX_SEMAPHORE_ERROR) in thread_0_entry()
391 status = tx_semaphore_ceiling_put(&semaphore_2, 0); in thread_0_entry()
394 if (status != TX_SEMAPHORE_ERROR) in thread_0_entry()
403 status = tx_semaphore_ceiling_put(&semaphore_0, 0); in thread_0_entry()
406 if (status != TX_INVALID_CEILING) in thread_0_entry()
416 status = tx_semaphore_get(&semaphore_0, TX_NO_WAIT); in thread_0_entry()
419 if (status != TX_SUCCESS) in thread_0_entry()
428 status = tx_semaphore_get(&semaphore_0, TX_NO_WAIT); in thread_0_entry()
431 if (status != TX_NO_INSTANCE) in thread_0_entry()
440 status = tx_semaphore_put(&semaphore_1); in thread_0_entry()
443 if ((status != TX_SUCCESS) || (semaphore_1.tx_semaphore_count != 2)) in thread_0_entry()
453 status = tx_semaphore_get(&semaphore_1, TX_NO_WAIT); in thread_0_entry()
456 if (status != TX_SUCCESS) in thread_0_entry()
465 status = tx_semaphore_get(&semaphore_1, TX_NO_WAIT); in thread_0_entry()
468 if (status != TX_SUCCESS) in thread_0_entry()
508 status = tx_semaphore_delete(&semaphore_0); in thread_0_entry()
511 if (status != TX_SUCCESS) in thread_0_entry()
519 status = tx_semaphore_delete(&semaphore_1); in thread_0_entry()
521 if (status != TX_SUCCESS) in thread_0_entry()