/freebsd-11-stable/contrib/subversion/subversion/libsvn_delta/ |
H A D | editor.c | 2 * editor.c : editing trees of versioned resources 34 /* This enables runtime checks of the editor API constraints. This may 81 #define START_CALLBACK(editor) \ 83 svn_editor_t *editor__tmp_e = (editor); \ 87 #define END_CALLBACK(editor) ((editor)->within_callback = FALSE) 109 #define MARK_FINISHED(editor) ((editor)->finished = TRUE) 110 #define SHOULD_NOT_BE_FINISHED(editor) SVN_ERR_ASSERT(!(editor) 170 allow_either(const svn_editor_t *editor, const char *relpath, const void *marker1, const void *marker2) argument 180 check_unknown_child(const svn_editor_t *editor, const char *relpath) argument 205 mark_parent_stable(const svn_editor_t *editor, const char *relpath) argument 261 svn_editor_create(svn_editor_t **editor, void *editor_baton, svn_cancel_func_t cancel_func, void *cancel_baton, apr_pool_t *result_pool, apr_pool_t *scratch_pool) argument 287 svn_editor_get_baton(const svn_editor_t *editor) argument 294 svn_editor_setcb_add_directory(svn_editor_t *editor, svn_editor_cb_add_directory_t callback, apr_pool_t *scratch_pool) argument 304 svn_editor_setcb_add_file(svn_editor_t *editor, svn_editor_cb_add_file_t callback, apr_pool_t *scratch_pool) argument 314 svn_editor_setcb_add_symlink(svn_editor_t *editor, svn_editor_cb_add_symlink_t callback, apr_pool_t *scratch_pool) argument 324 svn_editor_setcb_add_absent(svn_editor_t *editor, svn_editor_cb_add_absent_t callback, apr_pool_t *scratch_pool) argument 334 svn_editor_setcb_alter_directory(svn_editor_t *editor, svn_editor_cb_alter_directory_t callback, apr_pool_t *scratch_pool) argument 344 svn_editor_setcb_alter_file(svn_editor_t *editor, svn_editor_cb_alter_file_t callback, apr_pool_t *scratch_pool) argument 354 svn_editor_setcb_alter_symlink(svn_editor_t *editor, svn_editor_cb_alter_symlink_t callback, apr_pool_t *scratch_pool) argument 364 svn_editor_setcb_delete(svn_editor_t *editor, svn_editor_cb_delete_t callback, apr_pool_t *scratch_pool) argument 374 svn_editor_setcb_copy(svn_editor_t *editor, svn_editor_cb_copy_t callback, apr_pool_t *scratch_pool) argument 384 svn_editor_setcb_move(svn_editor_t *editor, svn_editor_cb_move_t callback, apr_pool_t *scratch_pool) argument 394 svn_editor_setcb_complete(svn_editor_t *editor, svn_editor_cb_complete_t callback, apr_pool_t *scratch_pool) argument 404 svn_editor_setcb_abort(svn_editor_t *editor, svn_editor_cb_abort_t callback, apr_pool_t *scratch_pool) argument 414 svn_editor_setcb_many(svn_editor_t *editor, const svn_editor_cb_many_t *many, apr_pool_t *scratch_pool) argument 440 check_cancel(svn_editor_t *editor) argument 456 svn_editor_add_directory(svn_editor_t *editor, const char *relpath, const apr_array_header_t *children, apr_hash_t *props, svn_revnum_t replaces_rev) argument 508 svn_editor_add_file(svn_editor_t *editor, const char *relpath, const svn_checksum_t *checksum, svn_stream_t *contents, apr_hash_t *props, svn_revnum_t replaces_rev) argument 548 svn_editor_add_symlink(svn_editor_t *editor, const char *relpath, const char *target, apr_hash_t *props, svn_revnum_t replaces_rev) argument 583 svn_editor_add_absent(svn_editor_t *editor, const char *relpath, svn_node_kind_t kind, svn_revnum_t replaces_rev) argument 616 svn_editor_alter_directory(svn_editor_t *editor, const char *relpath, svn_revnum_t revision, const apr_array_header_t *children, apr_hash_t *props) argument 672 svn_editor_alter_file(svn_editor_t *editor, const char *relpath, svn_revnum_t revision, const svn_checksum_t *checksum, svn_stream_t *contents, apr_hash_t *props) argument 712 svn_editor_alter_symlink(svn_editor_t *editor, const char *relpath, svn_revnum_t revision, const char *target, apr_hash_t *props) argument 747 svn_editor_delete(svn_editor_t *editor, const char *relpath, svn_revnum_t revision) argument 778 svn_editor_copy(svn_editor_t *editor, const char *src_relpath, svn_revnum_t src_revision, const char *dst_relpath, svn_revnum_t replaces_rev) argument 814 svn_editor_move(svn_editor_t *editor, const char *src_relpath, svn_revnum_t src_revision, const char *dst_relpath, svn_revnum_t replaces_rev) argument 854 svn_editor_complete(svn_editor_t *editor) argument 878 svn_editor_abort(svn_editor_t *editor) argument [all...] |
H A D | deprecated.c | 44 const svn_delta_editor_t *editor, 56 /* Just drop the 'editor' parameters */ 64 svn_delta_path_driver2(const svn_delta_editor_t *editor, argument 99 SVN_ERR(svn_delta_path_driver3(editor, edit_baton, 107 svn_delta_path_driver(const svn_delta_editor_t *editor, argument 117 return svn_error_trace(svn_delta_path_driver2(editor, edit_baton, paths, 43 path_driver_2_to_3_func(void **dir_baton, const svn_delta_editor_t *editor, void *edit_baton, void *parent_baton, void *callback_baton, const char *path, apr_pool_t *pool) argument
|
H A D | path_driver.c | 2 * path_driver.c -- drive an editor across a set of paths 69 const svn_delta_editor_t *editor, 87 SVN_ERR(editor->open_directory(path, parent_db, SVN_INVALID_REVNUM, subpool, 104 const svn_delta_editor_t *editor) 114 SVN_ERR(editor->close_directory(item->dir_baton, item->pool)); 148 svn_delta_path_driver3(const svn_delta_editor_t *editor, 176 editor, edit_baton, 181 driving the editor. */ 205 const svn_delta_editor_t *editor; 216 const svn_delta_editor_t *editor, 67 open_dir(apr_array_header_t *db_stack, const svn_delta_editor_t *editor, const char *path, apr_pool_t *pool) argument 102 pop_stack(apr_array_header_t *db_stack, const svn_delta_editor_t *editor) argument 146 svn_delta_path_driver3(const svn_delta_editor_t *editor, void *edit_baton, const apr_array_header_t *relpaths, svn_boolean_t sort_paths, svn_delta_path_driver_cb_func2_t callback_func, void *callback_baton, apr_pool_t *pool) argument 203 const svn_delta_editor_t *editor; member in struct:svn_delta_path_driver_state_t 213 svn_delta_path_driver_start(svn_delta_path_driver_state_t **state_p, const svn_delta_editor_t *editor, void *edit_baton, svn_delta_path_driver_cb_func2_t callback_func, void *callback_baton, apr_pool_t *pool) argument [all...] |
/freebsd-11-stable/contrib/subversion/subversion/include/private/ |
H A D | svn_editor.h | 47 * needed by the various editor shims in order to effect backwards 67 * editor shims in order to effect backwards compatibility. 150 * one state into another is passed between subsystems using this "editor" 190 * idiomatically as the "editor interface". This generation of the interface 191 * retains the "editor" name for that reason. All notions of a "tree delta" 199 * integrated directly into this new editor system. 205 * The delta editor is pretty engrained throughout Subversion, so attempting 212 * -# Use shims to update editor consumers to Ev2 213 * -# Update editor producers to drive Ev2 221 * which is half-delta-editor an [all...] |
H A D | svn_fs_private.h | 84 * revision of @a fs, and return its name @a *txn_name and an @a *editor 96 * When svn_editor_complete() is called for @a editor, internal resources 106 svn_fs__editor_create(svn_editor_t **editor, 123 svn_fs__editor_create_for(svn_editor_t **editor, 133 * Commit the transaction represented by @a editor. 156 * If svn_editor_complete() has already been called on @a editor, then 159 * @note After calling this function, @a editor will be marked as completed 178 svn_editor_t *editor,
|
H A D | svn_ra_private.h | 211 /* Return an Ev2-based editor for performing commits. 213 The editor is associated with the given SESSION, and its implied target 254 svn_ra__get_commit_ev2(svn_editor_t **editor, 269 /* Similar to #svn_ra_replay_revstart_callback_t, but with an Ev2 editor. */ 273 svn_editor_t **editor, 277 /* Similar to #svn_ra_replay_revfinish_callback_t, but with an Ev2 editor. */ 281 svn_editor_t *editor, 302 /* Similar to svn_ra_replay(), but with an Ev2 editor. */ 308 svn_editor_t *editor,
|
H A D | svn_delta_private.h | 24 * @brief The Subversion delta/diff/editor library - Internal routines 66 /** A temporary API to convert from a delta editor to an Ev2 editor. */ 87 /** A temporary API to convert from an Ev2 editor to a delta editor. */ 91 svn_editor_t *editor, 111 /* Return a debug editor that wraps @a wrapped_editor. 113 * The debug editor simply prints an indication of what callbacks are being 122 svn_delta__get_debug_editor(const svn_delta_editor_t **editor,
|
H A D | svn_repos_private.h | 134 /* Create a commit editor for REPOS, based on REVISION. */ 136 svn_repos__get_commit_ev2(svn_editor_t **editor, 153 svn_editor_t *editor, 373 * Get a dump editor @a editor along with a @a edit_baton allocated in 374 * @a pool. The editor will write output to @a stream. 377 * anchor of the update-style drive which will happen on @a *editor; 381 * In contrast to the dump editor used inside svn_repos_dump_fs4(), this 384 * ### TODO: Unify with the dump editor inside svn_repos_dump_fs4(). 387 svn_repos__get_dump_editor(const svn_delta_editor_t **editor, [all...] |
/freebsd-11-stable/contrib/subversion/subversion/svnsync/ |
H A D | sync.h | 2 * sync.h : The synchronization editor for svnsync. 53 /* Set WRAPPED_EDITOR and WRAPPED_EDIT_BATON to an editor/baton pair 55 * revision on which the driver of this returned editor will be basing 63 * As the sync editor encounters property values, it might see the need to 75 const svn_delta_editor_t **editor,
|
/freebsd-11-stable/contrib/dialog/ |
H A D | inputbox.c | 79 WINDOW *editor; local 140 editor = dlg_sub_window(dialog, 1, box_width, yorg + box_y, xorg + box_x); 141 dlg_register_window(editor, "inputbox2", binding2); 144 dlg_show_string(editor, input, chr_offset, inputbox_attr, 146 wsyncup(editor); 147 wcursyncup(editor); 164 dlg_show_string(editor, input, chr_offset, inputbox_attr, 166 wmove(editor, 0, chr_offset); 167 wsyncup(editor); 168 wcursyncup(editor); [all...] |
/freebsd-11-stable/release/picobsd/tinyware/passwd/ |
H A D | pw_util.c | 199 char *p, *editor; local 201 if (!(editor = getenv("EDITOR"))) 202 editor = _default_editor; 203 if ((p = strrchr(editor, '/'))) 206 p = editor; 214 execlp(editor, p, tempname, (char *)NULL); 221 pw_error(editor, 1, 1); 227 pw_error(editor, 1, 1);
|
/freebsd-11-stable/contrib/subversion/subversion/svnrdump/ |
H A D | svnrdump.h | 45 * Get a dump editor @a editor along with a @a edit_baton allocated in 46 * @a pool. The editor will write output to @a stream. 49 * anchor of the update-style drive which will happen on @a *editor; 57 svn_rdump__get_dump_editor(const svn_delta_editor_t **editor, 67 /* Same as above, only returns an Ev2 editor. */ 69 svn_rdump__get_dump_editor_v2(svn_editor_t **editor,
|
H A D | dump_editor.c | 2 * dump_editor.c: The svn_delta_editor_t editor used by svnrdump to 38 /* The baton used by the dump editor. */ 154 svn_rdump__get_dump_editor(const svn_delta_editor_t **editor, argument 172 SVN_ERR(svn_repos__get_dump_editor(editor, edit_baton, 175 /* Wrap this editor in a cancellation editor. */ 177 *editor, *edit_baton, 178 editor, edit_baton, 186 SVN_ERR(svn_editor__insert_shims(editor, edit_baton, *editor, *edit_bato [all...] |
/freebsd-11-stable/bin/sh/ |
H A D | histedit.c | 65 #define DEFEDITOR "ed" /* default editor *should* be $EDITOR */ 189 const char *editor = NULL; local 213 editor = shoptarg; 233 if (lflg == 0 || editor || sflg) { 254 * Set editor. 257 if (editor == NULL && 258 (editor = bltinlookup("FCEDIT", 1)) == NULL && 259 (editor = bltinlookup("EDITOR", 1)) == NULL) 260 editor = DEFEDITOR; 261 if (editor[ [all...] |
/freebsd-11-stable/contrib/subversion/subversion/libsvn_client/ |
H A D | wc_editor.c | 51 * This editor applies incoming modifications onto the current working state 560 svn_delta_editor_t *editor = svn_delta_default_editor(result_pool); local 575 editor->open_root = edit_open; 576 editor->close_edit = edit_close_or_abort; 577 editor->abort_edit = edit_close_or_abort; 579 editor->delete_entry = delete_entry; 581 editor->open_directory = dir_open; 582 editor->add_directory = dir_add; 583 editor->change_dir_prop = dir_change_prop; 584 editor 629 const svn_delta_editor_t *editor; local [all...] |
H A D | import.c | 119 const svn_delta_editor_t *editor, 201 SVN_ERR(editor->apply_textdelta_stream(editor, file_baton, NULL, 221 import_file(const svn_delta_editor_t *editor, 240 SVN_ERR(editor->add_file(edit_path, dir_baton, NULL, SVN_INVALID_REVNUM, 265 SVN_ERR(editor->change_file_prop(file_baton, pname, pval, pool)); 289 SVN_ERR(editor->change_file_prop(file_baton, SVN_PROP_SPECIAL, 297 file_baton, editor, properties, pool)); 301 return svn_error_trace(editor->close_file(file_baton, text_checksum, pool)); 407 import_dir(const svn_delta_editor_t *editor, 115 send_file_contents(svn_checksum_t **result_md5_checksum_p, const char *local_abspath, void *file_baton, const svn_delta_editor_t *editor, apr_hash_t *properties, apr_pool_t *pool) argument 220 import_file(const svn_delta_editor_t *editor, void *dir_baton, const char *local_abspath, const char *edit_path, const svn_io_dirent2_t *dirent, import_ctx_t *import_ctx, svn_client_ctx_t *ctx, apr_pool_t *pool) argument 426 import_children(const char *dir_abspath, const char *edit_path, apr_hash_t *dirents, const svn_delta_editor_t *editor, void *dir_baton, svn_depth_t depth, apr_hash_t *excludes, apr_array_header_t *global_ignores, svn_boolean_t no_ignore, svn_boolean_t no_autoprops, svn_boolean_t ignore_unknown_node_types, svn_client_import_filter_func_t filter_callback, void *filter_baton, import_ctx_t *import_ctx, svn_client_ctx_t *ctx, apr_pool_t *scratch_pool) argument 544 import_dir(const svn_delta_editor_t *editor, void *dir_baton, const char *local_abspath, const char *edit_path, svn_depth_t depth, apr_hash_t *excludes, apr_array_header_t *global_ignores, svn_boolean_t no_ignore, svn_boolean_t no_autoprops, svn_boolean_t ignore_unknown_node_types, svn_client_import_filter_func_t filter_callback, void *filter_baton, import_ctx_t *import_ctx, svn_client_ctx_t *ctx, apr_pool_t *pool) argument 665 import(svn_boolean_t *updated_repository, const char *local_abspath, const char *url, const apr_array_header_t *new_entries, const svn_delta_editor_t *editor, void *edit_baton, svn_depth_t depth, svn_revnum_t base_rev, apr_hash_t *excludes, apr_hash_t *autoprops, apr_array_header_t *local_ignores, apr_array_header_t *global_ignores, svn_boolean_t no_ignore, svn_boolean_t no_autoprops, svn_boolean_t ignore_unknown_node_types, svn_client_import_filter_func_t filter_callback, void *filter_baton, svn_client_ctx_t *ctx, apr_pool_t *pool) argument 841 const svn_delta_editor_t *editor; local [all...] |
/freebsd-11-stable/contrib/subversion/subversion/svnbench/ |
H A D | null-export-cmd.c | 42 /*** The export editor code. ***/ 46 /*** A dedicated 'export' editor, which does no .svn/ accounting. ***/ 225 /* Since we don't use the editor, we must count "manually". */ 230 /* Since you cannot actually root an editor at a file, we 231 * manually drive a few functions of our editor. */ 233 /* Step outside the editor-likeness for a moment, to actually talk 246 svn_delta_editor_t *editor = svn_delta_default_editor(pool); 248 editor->set_target_revision = set_target_revision; 249 editor->open_root = open_root; 250 editor 245 svn_delta_editor_t *editor = svn_delta_default_editor(pool); local [all...] |
/freebsd-11-stable/contrib/subversion/subversion/libsvn_repos/ |
H A D | replay.c | 2 * replay.c: an editor driver for changes made in a given revision 75 change records, and use them to drive an editor interface in such a 99 Finally, we drive an editor, moving down our list of sorted paths, 100 and manufacturing any intermediate editor calls (directory openings 104 When we've finished the editor drive, we should have fully replayed 155 the appropriate editor calls to add it and its children without any 164 const svn_delta_editor_t *editor, 180 SVN_ERR(editor->add_directory(edit_path, parent_baton, NULL, 191 SVN_ERR(editor->change_dir_prop(*dir_baton, key, val, subpool)); 276 SVN_ERR(editor 159 add_subdir(svn_fs_root_t *source_root, svn_fs_root_t *target_root, const svn_delta_editor_t *editor, void *edit_baton, const char *edit_path, void *parent_baton, const char *source_fspath, svn_repos_authz_func_t authz_read_func, void *authz_read_baton, apr_hash_t *changed_paths, apr_pool_t *pool, void **dir_baton) argument 453 path_driver_cb_func(void **dir_baton, const svn_delta_editor_t *editor, void *edit_baton, void *parent_baton, void *callback_baton, const char *edit_path, apr_pool_t *pool) argument 918 svn_repos_replay2(svn_fs_root_t *root, const char *base_path, svn_revnum_t low_water_mark, svn_boolean_t send_deltas, const svn_delta_editor_t *editor, void *edit_baton, svn_repos_authz_func_t authz_read_func, void *authz_read_baton, apr_pool_t *pool) argument 1062 add_subdir_ev2(svn_fs_root_t *source_root, svn_fs_root_t *target_root, svn_editor_t *editor, const char *repos_relpath, const char *source_fspath, svn_repos_authz_func_t authz_read_func, void *authz_read_baton, apr_hash_t *changed_paths, apr_pool_t *result_pool, apr_pool_t *scratch_pool) argument 1209 replay_node(svn_fs_root_t *root, const char *repos_relpath, svn_editor_t *editor, svn_revnum_t low_water_mark, const char *base_repos_relpath, apr_array_header_t *copies, apr_hash_t *changed_paths, svn_repos_authz_func_t authz_read_func, void *authz_read_baton, apr_pool_t *result_pool, apr_pool_t *scratch_pool) argument 1508 svn_repos__replay_ev2(svn_fs_root_t *root, const char *base_repos_relpath, svn_revnum_t low_water_mark, svn_editor_t *editor, svn_repos_authz_func_t authz_read_func, void *authz_read_baton, apr_pool_t *scratch_pool) argument [all...] |
H A D | delta.c | 2 * delta.c: an editor driver for expressing differences between two trees 58 const svn_delta_editor_t *editor; 179 * PATH should be the implicit root path of an editor drive, that is, 180 * the path used by editor->open_root(). 211 const svn_delta_editor_t *editor, 255 /* Calculate the fs path implicitly used for editor->open_root, so 279 _("Invalid editor anchoring; at least one of the " 292 SVN_ERR(editor->set_target_revision 297 SVN_ERR(editor->set_target_revision 304 c.editor 55 const svn_delta_editor_t *editor; member in struct:context 201 svn_repos_dir_delta2(svn_fs_root_t *src_root, const char *src_parent_dir, const char *src_entry, svn_fs_root_t *tgt_root, const char *tgt_fullpath, const svn_delta_editor_t *editor, void *edit_baton, svn_repos_authz_func_t authz_read_func, void *authz_read_baton, svn_boolean_t text_deltas, svn_depth_t depth, svn_boolean_t entry_props, svn_boolean_t ignore_ancestry, apr_pool_t *pool) argument [all...] |
/freebsd-11-stable/usr.bin/svn/lib/libsvn_fs/ |
H A D | Makefile | 12 editor.c \
|
/freebsd-11-stable/usr.bin/svn/lib/libsvn_ra/ |
H A D | Makefile | 13 editor.c \
|
/freebsd-11-stable/contrib/subversion/subversion/libsvn_ra_serf/ |
H A D | replay.c | 71 { INITIAL, S_, "editor-report", REPLAY_REPORT, 140 /* callback to get an editor */ 146 const svn_delta_editor_t *editor; 195 &ctx->editor, &ctx->editor_baton, 215 SVN_ERR(ctx->editor->apply_textdelta(node->baton, checksum, node->pool, 251 ctx->editor, ctx->editor_baton, 261 SVN_ERR(ctx->editor->set_target_revision(ctx->editor_baton, 280 SVN_ERR(ctx->editor->open_root(ctx->editor_baton, (svn_revnum_t)rev, 320 SVN_ERR(ctx->editor->open_directory(name, 328 SVN_ERR(ctx->editor 144 const svn_delta_editor_t *editor; member in struct:revision_report_t 526 svn_ra_serf__replay(svn_ra_session_t *ra_session, svn_revnum_t revision, svn_revnum_t low_water_mark, svn_boolean_t send_deltas, const svn_delta_editor_t *editor, void *edit_baton, apr_pool_t *scratch_pool) argument [all...] |
/freebsd-11-stable/contrib/subversion/subversion/libsvn_ra/ |
H A D | editor.c | 2 * editor.c: compatibility editors 118 svn_ra__use_commit_shim(svn_editor_t **editor, argument 149 /* Fetch the RA provider's Ev1 commit editor. */ 161 /* We will assume that when the underlying Ev1 editor is finally driven 172 /* Create the Ev2 editor from the Ev1 editor provided by the RA layer. 176 SVN_ERR(svn_delta__editor_from_delta(editor, &exb, 189 /* Since we're (currently) just wrapping an existing Ev1 editor, we have 192 so: Implement a wrapper editor and call the start_edit callback upon 193 the first invocation of any of the underlying editor' 231 svn_editor_t *editor; member in struct:wrapped_replay_baton_t 289 revfinish_func_wrapper(svn_revnum_t revision, void *replay_baton, const svn_delta_editor_t *editor, void *edit_baton, apr_hash_t *rev_props, apr_pool_t *pool) argument [all...] |
/freebsd-11-stable/contrib/less/ |
H A D | main.c | 43 public char * editor; variable 176 editor = lgetenv("VISUAL"); 177 if (editor == NULL || *editor == '\0') 179 editor = lgetenv("EDITOR"); 180 if (isnullenv(editor)) 181 editor = EDIT_PGM;
|
/freebsd-11-stable/usr.bin/svn/lib/libsvn_delta/ |
H A D | Makefile | 22 editor.c \
|