Searched refs:Node (Results 1 - 1 of 1) sorted by relevance

/systemd/src/test/
H A Dtest-rbtree.c283 } Node; typedef in typeref:struct:__anon313
285 #define node_from_rb(_rb) ((Node *)((char *)(_rb) - offsetof(Node, rb)))
289 Node *node = node_from_rb(n);
298 Node *nodes[2048];
315 assert(!c_rbtree_find_entry(&t, compare, (void *)nodes[i]->key, Node, rb));
322 assert(nodes[i] == c_rbtree_find_entry(&t, compare, (void *)nodes[i]->key, Node, rb));
331 assert(nodes[i] == c_rbtree_find_entry(&t, compare, (void *)nodes[i]->key, Node, rb));
336 assert(!c_rbtree_find_entry(&t, compare, (void *)nodes[i]->key, Node, rb));

Completed in 1093 milliseconds