Lines Matching defs:other_node
189 struct dsync_mailbox_node *other_node;
195 other_node = hash_table_lookup(other_tree->guid_hash, guid_p);
196 if (other_node == NULL) {
199 sync_delete_mailbox_node(ctx, other_tree, other_node, reason);
321 struct dsync_mailbox_node *other_node)
325 if (other_node == &other_tree->root)
328 parent_name = dsync_mailbox_node_get_full_name(other_tree, other_node);
457 const struct dsync_mailbox_node *other_node,
466 i_assert(other_node != NULL);
469 to other_node (in other_tree). temp_node's name is changed to
476 other_node->parent);
491 *reason_r, name, other_node->name);
492 node->name = p_strdup(tree->pool, other_node->name);
493 node->sync_temporary_name = other_node->sync_temporary_name;
494 node->last_renamed_or_created = other_node->last_renamed_or_created;
502 other_name = dsync_mailbox_node_get_full_name(other_tree, other_node);
802 struct dsync_mailbox_node *node, *other_node;
807 other_node = sync_find_branch(tree, other_tree, node);
808 if (other_node != NULL)
809 return other_node;
812 other_node = hash_table_lookup(other_tree->guid_hash,
814 if (other_node != NULL)
815 return other_node->parent;
1207 struct dsync_mailbox_node *node, *other_node;
1224 other_node = hash_table_lookup(other_tree->guid_hash, guid_p);
1225 if (other_node == NULL)
1226 other_node = sorted_tree_get(other_tree, name);
1227 if (dsync_mailbox_node_is_dir(other_node)) {
1229 other_node->existence = DSYNC_MAILBOX_NODE_EXISTS;
1230 other_node->ns = node->ns;
1231 other_node->uid_validity = node->uid_validity;
1232 memcpy(other_node->mailbox_guid, node->mailbox_guid,
1233 sizeof(other_node->mailbox_guid));
1235 sync_add_create_change(ctx, other_node, name);
1237 other_node->mailbox_guid)) {
1245 i_assert(node->ns == other_node->ns);
1253 i_assert(node->ns == other_node->ns);