213 sum_before += node->value_before;
214 sum_after += node->value_after;
237 }
while (
this != &s1);
245 sum_before += node->value_before;
246 sum_after += node->value_after;
256 sum_before += node->value_before;
257 sum_after += node->value_after;
267 sum_before += node->value_before;
268 sum_after += node->value_after;
278 sum_before += node->value_before;
279 sum_after += node->value_after;
289 sum_before += node->value_before;
290 sum_after += node->value_after;
325 sum_before += node->value_before;
326 sum_after += node->value_after;
336 sum_before += node->value_before;
337 sum_after += node->value_after;
#define LIST_HEAD_INIT(container)
MOSAPI void list_node_append(list_node_t *head, list_node_t *item)
MOSAPI void list_node_insert_before(list_node_t *element, list_node_t *item)
#define list_foreach(t, v, h)
Iterate over a list.
#define list_node(element)
Get the ‘list_node’ of a list element. This is exactly the reverse of ‘list_entry’ above.
#define list_entry(node, type)
Get the container struct of a list node.
#define list_next_entry(item, type)
Get the next element in a list.
#define list_headless_foreach(t, v, h)
MOSAPI void list_node_prepend(list_node_t *head, list_node_t *item)
list_node_t list_head
A linked list head.
MOSAPI bool list_is_empty(const list_node_t *head)
MOSAPI void list_node_remove(list_node_t *link)
#define LIST_NODE_INIT(container)
#define list_headless_foreach_reverse(t, v, h)
#define list_append(element, item)
MOSAPI void list_node_insert_after(list_node_t *element, list_node_t *item)
#define MOS_TEST_CHECK(actual, expected)
#define MOS_TEST_CASE(_TestName)