Home
last modified time | relevance | path

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

/external/selinux/libsepol/cil/test/unit/
Dtest_cil_list.c66 struct cil_list_item *test_new_item; in test_cil_list_append_item() local
67 cil_list_item_init(&test_new_item); in test_cil_list_append_item()
69 test_new_item->flavor = CIL_CLASS; in test_cil_list_append_item()
70 test_new_item->data = test_tree->root->cl_head->cl_head->next->cl_head; in test_cil_list_append_item()
72 int rc = cil_list_append_item(test_class_list, test_new_item); in test_cil_list_append_item()
94 struct cil_list_item *test_new_item; in test_cil_list_append_item_append() local
95 cil_list_item_init(&test_new_item); in test_cil_list_append_item_append()
97 test_new_item->flavor = CIL_CLASS; in test_cil_list_append_item_append()
98 test_new_item->data = test_tree->root->cl_head->cl_head->next->cl_head; in test_cil_list_append_item_append()
100 int rc = cil_list_append_item(test_class_list, test_new_item); in test_cil_list_append_item_append()
[all …]