/freebsd-10-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 | 34 svn_delta_path_driver(const svn_delta_editor_t *editor, argument 44 return svn_error_trace(svn_delta_path_driver2(editor, edit_baton, paths,
|
H A D | debug_editor.h | 33 /* Return a debug editor that wraps @a wrapped_editor. 35 * The debug editor simply prints an indication of what callbacks are being 44 svn_delta__get_debug_editor(const svn_delta_editor_t **editor,
|
H A D | path_driver.c | 2 * path_driver.c -- drive an editor across a set of paths 54 const svn_delta_editor_t *editor, 72 SVN_ERR(editor->open_directory(path, parent_db, SVN_INVALID_REVNUM, subpool, 92 const svn_delta_editor_t *editor) 102 SVN_ERR(editor->close_directory(item->dir_baton, item->pool)); 136 svn_delta_path_driver2(const svn_delta_editor_t *editor, 182 SVN_ERR(editor->open_root(edit_baton, SVN_INVALID_REVNUM, subpool, &db)); 189 driving the editor. */ 222 SVN_ERR(pop_stack(db_stack, editor)); 250 SVN_ERR(open_dir(db_stack, editor, re 52 open_dir(apr_array_header_t *db_stack, const svn_delta_editor_t *editor, const char *path, apr_pool_t *pool) argument 90 pop_stack(apr_array_header_t *db_stack, const svn_delta_editor_t *editor) argument 134 svn_delta_path_driver2(const svn_delta_editor_t *editor, void *edit_baton, const apr_array_header_t *paths, svn_boolean_t sort_paths, svn_delta_path_driver_cb_func_t callback_func, void *callback_baton, apr_pool_t *pool) argument [all...] |
/freebsd-10-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,
|
/freebsd-10-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-10-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-10-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-10-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,
|
/freebsd-10-stable/bin/sh/ |
H A D | histedit.c | 65 #define DEFEDITOR "ed" /* default editor *should* be $EDITOR */ 188 const char *editor = NULL; local 212 editor = shoptarg; 232 if (lflg == 0 || editor || sflg) { 253 * Set editor. 256 if (editor == NULL && 257 (editor = bltinlookup("FCEDIT", 1)) == NULL && 258 (editor = bltinlookup("EDITOR", 1)) == NULL) 259 editor = DEFEDITOR; 260 if (editor[ [all...] |
/freebsd-10-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 132 const svn_delta_editor_t *editor; 158 the appropriate editor calls to add it and its children without any 167 const svn_delta_editor_t *editor, 183 SVN_ERR(editor->add_directory(edit_path, parent_baton, NULL, 194 SVN_ERR(editor 129 const svn_delta_editor_t *editor; member in struct:path_driver_cb_baton 162 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 463 const svn_delta_editor_t *editor = cb->editor; local 851 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 1033 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 1180 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 1479 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, 247 /* Calculate the fs path implicitly used for editor->open_root, so 271 _("Invalid editor anchoring; at least one of the " 277 SVN_ERR(editor->set_target_revision 282 SVN_ERR(editor->set_target_revision 289 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-10-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. ***/ 215 /* Since you cannot actually root an editor at a file, we 216 * manually drive a few functions of our editor. */ 218 /* Step outside the editor-likeness for a moment, to actually talk 232 svn_delta_editor_t *editor = svn_delta_default_editor(pool); 234 editor->set_target_revision = set_target_revision; 235 editor->open_root = open_root; 236 editor->add_directory = add_directory; 237 editor 231 svn_delta_editor_t *editor = svn_delta_default_editor(pool); local [all...] |
/freebsd-10-stable/usr.bin/svn/lib/libsvn_ra/ |
H A D | Makefile | 10 SRCS= compat.c debug_reporter.c deprecated.c editor.c \
|
/freebsd-10-stable/usr.bin/svn/lib/libsvn_fs/ |
H A D | Makefile | 10 SRCS= access.c deprecated.c editor.c fs-loader.c
|
/freebsd-10-stable/contrib/less/ |
H A D | main.c | 43 public char * editor; variable 174 editor = lgetenv("VISUAL"); 175 if (editor == NULL || *editor == '\0') 177 editor = lgetenv("EDITOR"); 178 if (editor == NULL || *editor == '\0') 179 editor = EDIT_PGM;
|
/freebsd-10-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; 193 &ctx->editor, &ctx->editor_baton, 213 SVN_ERR(ctx->editor->apply_textdelta(node->baton, checksum, node->pool, 249 ctx->editor, ctx->editor_baton, 259 SVN_ERR(ctx->editor->set_target_revision(ctx->editor_baton, 278 SVN_ERR(ctx->editor->open_root(ctx->editor_baton, (svn_revnum_t)rev, 318 SVN_ERR(ctx->editor->open_directory(name, 326 SVN_ERR(ctx->editor 144 const svn_delta_editor_t *editor; member in struct:revision_report_t 523 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-10-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-10-stable/contrib/subversion/subversion/libsvn_client/ |
H A D | import.c | 90 const svn_delta_editor_t *editor, 115 /* Get an editor func that wants to consume the delta stream. */ 116 SVN_ERR(editor->apply_textdelta(file_baton, NULL, pool, 191 import_file(const svn_delta_editor_t *editor, 210 SVN_ERR(editor->add_file(edit_path, dir_baton, NULL, SVN_INVALID_REVNUM, 235 SVN_ERR(editor->change_file_prop(file_baton, pname, pval, pool)); 259 SVN_ERR(editor->change_file_prop(file_baton, SVN_PROP_SPECIAL, 266 SVN_ERR(send_file_contents(local_abspath, file_baton, editor, 273 return svn_error_trace(editor->close_file(file_baton, text_checksum, pool)); 379 import_dir(const svn_delta_editor_t *editor, 87 send_file_contents(const char *local_abspath, void *file_baton, const svn_delta_editor_t *editor, apr_hash_t *properties, unsigned char *digest, apr_pool_t *pool) argument 190 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 398 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 516 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 635 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 811 const svn_delta_editor_t *editor; local [all...] |
H A D | copy_foreign.c | 403 svn_delta_editor_t *editor = svn_delta_default_editor(scratch_pool); local 416 editor->open_root = edit_open; 417 editor->close_edit = edit_close; 419 editor->add_directory = dir_add; 420 editor->change_dir_prop = dir_change_prop; 421 editor->close_directory = dir_close; 423 editor->add_file = file_add; 424 editor->change_file_prop = file_change_prop; 425 editor->apply_textdelta = file_textdelta; 426 editor [all...] |
/freebsd-10-stable/usr.bin/svn/lib/libsvn_delta/ |
H A D | Makefile | 11 default_editor.c deprecated.c depth_filter_editor.c editor.c \
|
/freebsd-10-stable/usr.sbin/cron/crontab/ |
H A D | crontab.c | 321 char n[MAX_FNAME], q[MAX_TEMPSTR], *editor; local 388 if ((!(editor = getenv("VISUAL"))) 389 && (!(editor = getenv("EDITOR"))) 391 editor = EDITOR; 397 * rather than by renaming. if some editor does not support this, 412 if (strlen(editor) + strlen(Filename) + 2 >= MAX_TEMPSTR) 413 errx(ERROR_EXIT, "editor or filename too long"); 414 execlp(editor, editor, Filename, (char *)NULL); 415 err(ERROR_EXIT, "%s", editor); [all...] |
/freebsd-10-stable/contrib/subversion/subversion/libsvn_ra_svn/ |
H A D | editorp.c | 2 * editorp.c : Driving and consuming an editor across an svn connection 53 * marshalling and unmarshalling editor operations over an svn 74 const svn_delta_editor_t *editor; 423 void svn_ra_svn_get_editor(const svn_delta_editor_t **editor, 456 *editor = ra_svn_editor; 459 svn_error_clear(svn_editor__insert_shims(editor, edit_baton, *editor, 508 SVN_CMD_ERR(ds->editor->set_target_revision(ds->edit_baton, rev, pool)); 524 SVN_CMD_ERR(ds->editor->open_root(ds->edit_baton, rev, subpool, 544 SVN_CMD_ERR(ds->editor 73 const svn_delta_editor_t *editor; member in struct:ra_svn_driver_state_t 422 svn_ra_svn_get_editor(const svn_delta_editor_t **editor, void **edit_baton, svn_ra_svn_conn_t *conn, apr_pool_t *pool, svn_ra_svn_edit_callback callback, void *callback_baton) argument 924 svn_ra_svn_drive_editor2(svn_ra_svn_conn_t *conn, apr_pool_t *pool, const svn_delta_editor_t *editor, void *edit_baton, svn_boolean_t *aborted, svn_boolean_t for_replay) argument 1059 svn_ra_svn_drive_editor(svn_ra_svn_conn_t *conn, apr_pool_t *pool, const svn_delta_editor_t *editor, void *edit_baton, svn_boolean_t *aborted) argument [all...] |