Home
last modified time | relevance | path

Searched refs:cnode (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/tests/unit/list/
Dslist.c27 struct container_node *cnode; in verify_emptyness() local
65 SYS_SLIST_FOR_EACH_CONTAINER(list, cnode, node) { in verify_emptyness()
74 SYS_SLIST_FOR_EACH_CONTAINER_SAFE(list, cnode, s_cnode, node) { in verify_emptyness()
89 struct container_node *cnode; in verify_content_amount() local
128 SYS_SLIST_FOR_EACH_CONTAINER(list, cnode, node) { in verify_content_amount()
137 SYS_SLIST_FOR_EACH_CONTAINER_SAFE(list, cnode, s_cnode, node) { in verify_content_amount()
401 struct container_node *cnode, *s_cnode, *cprev, *cremoved; in ZTEST() local
405 SYS_SLIST_FOR_EACH_CONTAINER_SAFE(&test_list, cnode, s_cnode, node) { in ZTEST()
408 sys_slist_remove(&test_list, NULL, &cnode->node); in ZTEST()
409 cremoved = cnode; in ZTEST()
[all …]
Ddlist.c26 struct container_node *cnode; in verify_emptyness() local
64 SYS_DLIST_FOR_EACH_CONTAINER(list, cnode, node) { in verify_emptyness()
73 SYS_DLIST_FOR_EACH_CONTAINER_SAFE(list, cnode, s_cnode, node) { in verify_emptyness()
88 struct container_node *cnode; in verify_content_amount() local
127 SYS_DLIST_FOR_EACH_CONTAINER(list, cnode, node) { in verify_content_amount()
136 SYS_DLIST_FOR_EACH_CONTAINER_SAFE(list, cnode, s_cnode, node) { in verify_content_amount()
Dsflist.c27 struct container_node *cnode; in verify_emptyness() local
65 SYS_SFLIST_FOR_EACH_CONTAINER(list, cnode, node) { in verify_emptyness()
74 SYS_SFLIST_FOR_EACH_CONTAINER_SAFE(list, cnode, s_cnode, node) { in verify_emptyness()
89 struct container_node *cnode; in verify_content_amount() local
128 SYS_SFLIST_FOR_EACH_CONTAINER(list, cnode, node) { in verify_content_amount()
137 SYS_SFLIST_FOR_EACH_CONTAINER_SAFE(list, cnode, s_cnode, node) { in verify_content_amount()
/Zephyr-latest/tests/benchmarks/data_structure_perf/dlist_perf/src/
Ddlist_perf.c45 struct container_node *cnode, *s_cnode; in ZTEST() local
67 SYS_DLIST_FOR_EACH_CONTAINER(&test_list, cnode, node) { in ZTEST()
68 zassert_true(cnode->value == count, in ZTEST()
78 SYS_DLIST_FOR_EACH_CONTAINER_SAFE(&test_list, cnode, s_cnode, node) { in ZTEST()
79 zassert_true(cnode->value == count, in ZTEST()