Lines Matching refs:NodeWithCallback
197 struct NodeWithCallback : ilist_node<NodeWithCallback> { struct
202 NodeWithCallback() = default;
203 NodeWithCallback(int Value) : Value(Value) {} in NodeWithCallback() argument
204 NodeWithCallback(const NodeWithCallback &) = delete;
212 template <> struct ilist_alloc_traits<NodeWithCallback> {
213 static void deleteNode(NodeWithCallback *) {} in deleteNode()
216 template <> struct ilist_callback_traits<NodeWithCallback> {
217 void addNodeToList(NodeWithCallback *N) { N->IsInList = true; } in addNodeToList()
218 void removeNodeFromList(NodeWithCallback *N) { N->IsInList = false; } in removeNodeFromList()
234 ilist<NodeWithCallback> L1, L2; in TEST()
235 NodeWithCallback N(7); in TEST()
257 NodeWithCallback N1(1); in TEST()
258 NodeWithCallback N2(2); in TEST()
262 ilist<NodeWithCallback> L1; in TEST()