Lines Matching refs:data_node
309 struct data_node { in ZTEST() struct
312 } data_node[6] = { in ZTEST() local
326 sys_slist_append(&test_list, &data_node[ii].node); in ZTEST()
332 if (((struct data_node *)node)->data == 2) { in ZTEST()
341 if (((struct data_node *)node)->data == 3) { in ZTEST()
450 zassert_equal(((struct data_node *)node)->data, ii, ""); in ZTEST()
454 sys_slist_append(&test_list, &data_node[ii].node); in ZTEST()
458 zassert_equal(((struct data_node *)node)->data, ii, ""); in ZTEST()
465 struct data_node data_node_append[6] = { in ZTEST()
475 sys_slist_append(&test_list, &data_node[ii].node); in ZTEST()
483 zassert_equal(((struct data_node *)node)->data, ii, in ZTEST()
485 ((struct data_node *)node)->data); in ZTEST()
493 sys_slist_append(&test_list, &data_node[ii].node); in ZTEST()
497 zassert_equal(((struct data_node *)node)->data, data_node[5].data, "expected %d got %d", in ZTEST()
498 data_node[5].data, ((struct data_node *)node)->data); in ZTEST()
505 sys_slist_append(&test_list, &data_node[ii].node); in ZTEST()
511 zassert_equal(((struct data_node *)node)->data, ii, in ZTEST()
513 ((struct data_node *)node)->data); in ZTEST()
523 sys_slist_append(&test_list, &data_node[ii].node); in ZTEST()
528 zassert_equal(((struct data_node *)node)->data, data_node[5].data, "expected %d got %d", in ZTEST()
529 data_node[5].data, ((struct data_node *)node)->data); in ZTEST()