Home
last modified time | relevance | path

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

/SCP-firmware-master/framework/src/
A Dfwk_dlist.c23 fwk_check(new->prev == NULL); in __fwk_dlist_push_head()
26 list->head->prev = new; in __fwk_dlist_push_head()
39 fwk_check(new->prev == NULL); in __fwk_dlist_push_tail()
41 new->prev = list->tail; in __fwk_dlist_push_tail()
60 popped->prev = NULL; in __fwk_dlist_pop_head()
81 node->next->prev = node->prev; in __fwk_dlist_remove()
83 node->prev = NULL; in __fwk_dlist_remove()
96 fwk_check(new->prev == NULL); in __fwk_dlist_insert()
111 node->prev->next = new; in __fwk_dlist_insert()
112 new->prev = node->prev; in __fwk_dlist_insert()
[all …]
/SCP-firmware-master/framework/test/
A Dtest_fwk_list_contains.c23 node[0].next = node[0].prev = (struct fwk_dlist_node *)0xdead; in test_list_contains()
24 node[1].next = node[1].prev = (struct fwk_dlist_node *)0xbeef; in test_list_contains()
28 node[0].next = node[0].prev = NULL; in test_list_contains()
33 node[1].next = node[1].prev = NULL; in test_list_contains()
A Dtest_fwk_list_insert.c37 assert(node[2].prev == &node[1]); in test_list_insert()
38 assert(node[1].prev == &node[0]); in test_list_insert()
39 assert(node[0].prev == (struct fwk_dlist_node *)&list); in test_list_insert()
53 assert(node[0].prev == (struct fwk_dlist_node *)&list); in test_list_insert_empty()
A Dtest_fwk_list_push.c50 assert(dnodes[0].prev == (struct fwk_dlist_node *)&dlist); in test_dlist_push_head_from_empty()
71 assert(dnodes[0].prev == (struct fwk_dlist_node *)&dlist); in test_dlist_push_back_from_empty()
95 assert(dnodes[0].prev == &dnodes[1]); in test_dlist_push_head()
98 assert(dnodes[1].prev == (struct fwk_dlist_node *)&dlist); in test_dlist_push_head()
122 assert(dnodes[0].prev == (struct fwk_dlist_node *)&dlist); in test_dlist_push_back()
125 assert(dnodes[1].prev == &dnodes[0]); in test_dlist_push_back()
A Dtest_fwk_list_remove.c93 assert(dnodes[1].prev == (struct fwk_dlist_node *)&dlist); in test_dlist_remove_first_of_two()
105 assert(dnodes[0].prev == (struct fwk_dlist_node *)&dlist); in test_dlist_remove_second_of_two()
118 assert(dnodes[0].prev == (struct fwk_dlist_node *)&dlist); in test_dlist_remove_second_of_three()
120 assert(dnodes[2].prev == &dnodes[0]); in test_dlist_remove_second_of_three()
A Dtest_fwk_list_pop.c86 assert(dnodes[1].prev == (struct fwk_dlist_node *)&dlist); in test_dlist_pop_head_on_two()
116 assert(dnodes[1].prev == (struct fwk_dlist_node *)&dlist); in test_dlist_pop_head_on_many()
119 assert(dnodes[2].prev == &dnodes[1]); in test_dlist_pop_head_on_many()
/SCP-firmware-master/framework/include/
A Dfwk_dlist.h52 struct fwk_dlist_node *prev; member
/SCP-firmware-master/module/mhu3/test/
A Dmod_mhu3_unit_test.c54 enum mod_mhu3_channel_type prev; in test_mhu3_raise_interrupt_wrong_channel_type() local
62 prev = channel->type; in test_mhu3_raise_interrupt_wrong_channel_type()
75 channel->type = prev; in test_mhu3_raise_interrupt_wrong_channel_type()

Completed in 7 milliseconds