Lines Matching defs:parent
48 struct mail_thread_node *node, *parent, *child;
57 parent = array_idx_get_space(&cache->thread_nodes, parent_idx);
61 parent = array_idx_modifiable(&cache->thread_nodes, parent_idx);
65 if (thread_node_has_ancestor(cache, parent, child)) {
66 if (parent == child) {
71 /* child is an ancestor of parent. Adding child -> parent_node
73 between parent_node's parent and child_node get expunged, we
83 node = parent;
96 /* Set parent_node as child_node's parent */
100 /* Conflicting parent already exists, keep the original */
103 the parent is changed. */
108 that reference gets dropped, the parent is changed.
111 a) Link to parent node gets unreferenced
163 /* conflicting parent, remove it. */
166 the original parent. */
178 struct mail_thread_node *parent, *child;
180 parent = array_idx_modifiable(&cache->thread_nodes, parent_idx);
181 if (parent->child_unref_rebuilds)