Home
last modified time | relevance | path

Searched refs:insert_node (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/tests/benchmarks/data_structure_perf/dlist_perf/src/
Ddlist_perf.c234 sys_dnode_t *insert_node = &node_ins; in ZTEST() local
237 insert_node->prev = insert_at->prev; in ZTEST()
238 insert_node->next = insert_at; in ZTEST()
239 insert_at->prev->next = insert_node; in ZTEST()
240 insert_at->prev = insert_node; in ZTEST()
242 zassert_true(insert_node == sys_dlist_peek_prev(&list, in ZTEST()
244 zassert_true(insert_node == sys_dlist_peek_next(&list, in ZTEST()
248 insert_node->prev->next = insert_node->next; in ZTEST()
249 insert_node->next->prev = insert_node->prev; in ZTEST()
251 zassert_true(insert_node != sys_dlist_peek_prev(&list, in ZTEST()
[all …]
/Zephyr-latest/tests/unit/list/
Ddlist.c353 struct container_node insert_node; in ZTEST() local
358 memset(&insert_node, 0, sizeof(insert_node)); in ZTEST()
367 sys_dlist_insert_at(&test_list, &insert_node.node, in ZTEST()
369 zassert_true(test_list.head == &insert_node.node, ""); in ZTEST()
370 zassert_true(test_list.tail == &insert_node.node, ""); in ZTEST()
410 sys_dlist_insert_at(&test_list, &insert_node.node, in ZTEST()
413 &test_node[1].node) == &insert_node.node, " "); in ZTEST()