Lines Matching full:queue
25 static struct k_queue queue; in ZTEST() local
27 k_queue_init(&queue); in ZTEST()
28 /**TESTPOINT: queue get returns NULL*/ in ZTEST()
29 zassert_is_null(k_queue_get(&queue, K_NO_WAIT), NULL); in ZTEST()
30 zassert_is_null(k_queue_get(&queue, TIMEOUT), NULL); in ZTEST()
38 /* wait the queue for data */ in tThread_entry()
52 * 3. Verify that append list to the queue when a
62 static struct k_queue queue; in ZTEST() local
65 k_queue_init(&queue); in ZTEST()
69 zassert_true(k_queue_append_list(&queue, (uint32_t *)head, in ZTEST()
75 zassert_true(k_queue_append_list(&queue, (uint32_t *)head, in ZTEST()
78 /* Initializing the queue for re-using below */ in ZTEST()
79 k_queue_init(&queue); in ZTEST()
81 /* Append unnormal list(just one node)into the queue for sub-thread */ in ZTEST()
85 k_thread_create(&tdata, tstack, STACK_SIZE, tThread_entry, &queue, in ZTEST()
90 k_queue_append_list(&queue, (uint32_t *)head, (uint32_t *)head); in ZTEST()
108 static struct k_queue queue; in ZTEST() local
111 k_queue_init(&queue); in ZTEST()
116 zassert_true(k_queue_merge_slist(&queue, &slist) == -EINVAL, in ZTEST()
122 zassert_true(k_queue_merge_slist(&queue, &slist) != 0, in ZTEST()
260 zassert_not_null(q, "no memory for allocated queue object"); in ZTEST_USER()