Lines Matching refs:pool
75 /* The pool to allocate NODE_REVISION in. */
123 apr_pool_t *pool)
125 node_revision_t *nr = apr_pcalloc(pool, sizeof(*nr));
128 nr->predecessor_id = svn_fs_fs__id_copy(noderev->predecessor_id, pool);
131 nr->copyfrom_path = apr_pstrdup(pool, noderev->copyfrom_path);
133 nr->copyroot_path = apr_pstrdup(pool, noderev->copyroot_path);
135 nr->data_rep = svn_fs_fs__rep_copy(noderev->data_rep, pool);
136 nr->prop_rep = svn_fs_fs__rep_copy(noderev->prop_rep, pool);
141 nr->created_path = apr_pstrdup(pool, noderev->created_path);
190 apr_pool_t *pool)
196 new_node = apr_pcalloc(pool, sizeof(*new_node));
198 new_node->id = svn_fs_fs__id_copy(id, pool);
201 new_node->node_pool = pool;
206 new_node->created_path = apr_pstrdup(pool, noderev->created_path);
222 apr_pool_t *pool)
344 apr_pool_t *pool)
353 kind, pool);
371 apr_pool_t *pool)
397 new_noderev.created_path = svn_fspath__join(parent_path, name, pool);
400 new_noderev.copyroot_path = apr_pstrdup(pool,
409 txn_id, pool));
413 new_node_id, pool));
419 new_noderev.kind, txn_id, pool);
426 apr_pool_t *pool)
436 return svn_fs_fs__rep_contents_dir(entries, node->fs, noderev, pool, pool);
465 apr_pool_t *pool)
479 return set_entry(node, entry_name, id, kind, txn_id, pool);
490 apr_pool_t *pool)
498 noderev, pool));
545 apr_pool_t *pool)
552 svn_string_t *idstr = svn_fs_fs__id_unparse(node->id, pool);
563 return svn_fs_fs__set_proplist(node->fs, noderev, proplist, pool);
570 apr_pool_t *pool)
577 svn_string_t *idstr = svn_fs_fs__id_unparse(node->id, pool);
593 svn_string_t *idstr = svn_fs_fs__id_unparse(node->id, pool);
596 apr_psprintf(pool,
604 svn_string_t *idstr = svn_fs_fs__id_unparse(node->id, pool);
607 apr_psprintf(pool,
616 noderev, FALSE, pool);
622 apr_pool_t *pool)
629 svn_string_t *idstr = svn_fs_fs__id_unparse(node->id, pool);
643 noderev, FALSE, pool);
654 apr_pool_t *pool)
659 new_node = apr_pcalloc(pool, sizeof(*new_node));
661 SVN_ERR(svn_fs_fs__rev_get_root(&new_node->id, fs, rev, pool, pool));
664 new_node->node_pool = pool;
681 apr_pool_t *pool)
685 SVN_ERR(svn_fs_fs__get_txn_ids(&root_id, &ignored, fs, txn_id, pool));
686 return svn_fs_fs__dag_get_node(node_p, fs, root_id, pool);
694 apr_pool_t *pool)
698 SVN_ERR(svn_fs_fs__get_txn_ids(&ignored, &base_root_id, fs, txn_id, pool));
699 return svn_fs_fs__dag_get_node(node_p, fs, base_root_id, pool);
711 apr_pool_t *pool)
716 apr_pool_t *subpool = svn_pool_create(pool);
731 SVN_ERR(svn_fs_fs__dag_open(&cur_entry, parent, name, pool, subpool));
755 noderev->copyroot_path = apr_pstrdup(pool,
762 noderev->predecessor_id = svn_fs_fs__id_copy(cur_entry->id, pool);
765 noderev->created_path = svn_fspath__join(parent_path, name, pool);
768 noderev, copy_id, txn_id, pool));
773 pool));
778 return svn_fs_fs__dag_get_node(child_p, fs, new_node_id, pool);
787 apr_pool_t *pool)
793 SVN_ERR(svn_fs_fs__get_txn_ids(&root_id, &base_root_id, fs, txn_id, pool));
806 return svn_fs_fs__dag_get_node(root_p, fs, root_id, pool);
814 apr_pool_t *pool)
843 subpool = svn_pool_create(pool);
859 id = svn_fs_fs__id_copy(dirent->id, pool);
863 SVN_ERR(svn_fs_fs__dag_delete_if_mutable(parent->fs, id, pool));
867 NULL, svn_node_unknown, pool);
874 apr_pool_t *pool)
879 SVN_ERR(svn_fs_fs__dag_get_node(&node, fs, id, pool));
887 return svn_fs_fs__delete_node_revision(fs, id, pool);
894 apr_pool_t *pool)
899 SVN_ERR(svn_fs_fs__dag_get_node(&node, fs, id, pool));
910 apr_pool_t *iterpool = svn_pool_create(pool);
913 SVN_ERR(svn_fs_fs__dag_dir_entries(&entries, node, pool));
928 return svn_fs_fs__dag_remove_node(fs, id, pool);
937 apr_pool_t *pool)
940 return make_entry(child_p, parent, parent_path, name, FALSE, txn_id, pool);
950 apr_pool_t *pool)
953 return make_entry(child_p, parent, parent_path, name, TRUE, txn_id, pool);
960 apr_pool_t *pool)
976 noderev->data_rep, TRUE, pool));
988 apr_pool_t *pool)
1009 src_noderev, tgt_noderev, pool);
1018 apr_pool_t *pool)
1027 processor, baton, pool);
1034 apr_pool_t *pool)
1047 return svn_fs_fs__file_length(length, noderev, pool);
1055 apr_pool_t *pool)
1066 return svn_fs_fs__file_checksum(checksum, noderev, kind, pool);
1073 apr_pool_t *pool)
1093 SVN_ERR(svn_fs_fs__set_contents(&ws, file->fs, noderev, pool));
1105 apr_pool_t *pool)
1112 checksum->kind, pool));
1114 return svn_checksum_mismatch_err(checksum, file_checksum, pool,
1125 apr_pool_t *pool)
1128 dag_node_t *new_node = apr_pcalloc(pool, sizeof(*new_node));
1131 new_node->id = svn_fs_fs__id_copy(node->id, pool);
1133 new_node->created_path = apr_pstrdup(pool, node->created_path);
1138 new_node->node_revision = copy_node_revision(node->node_revision, pool);
1140 svn_fs_fs__id_copy(node->node_revision->id, pool);
1144 new_node->node_pool = pool;
1153 apr_pool_t *pool)
1163 pool);
1172 /* The deserializer will use its own pool. */
1193 apr_pool_t *pool)
1208 node->node_pool = pool;
1256 apr_pool_t *pool)
1269 to_noderev = copy_node_revision(from_noderev, pool);
1272 SVN_ERR(svn_fs_fs__reserve_copy_id(©_id, fs, txn_id, pool));
1276 to_noderev->predecessor_id = svn_fs_fs__id_copy(src_id, pool);
1281 pool);
1282 to_noderev->copyfrom_path = apr_pstrdup(pool, from_path);
1289 ©_id, txn_id, pool));
1299 txn_id, pool);
1313 apr_pool_t *pool)
1341 noderev2, pool));
1349 noderev2, pool));
1420 apr_pool_t *pool)
1438 FALSE, pool);