Home
last modified time | relevance | path

Searched refs:editor (Results 1 – 25 of 237) sorted by relevance

12345678910

/NextBSD/contrib/subversion/subversion/libsvn_delta/
HDeditor.c81 #define START_CALLBACK(editor) \ argument
83 svn_editor_t *editor__tmp_e = (editor); \
87 #define END_CALLBACK(editor) ((editor)->within_callback = FALSE) argument
109 #define MARK_FINISHED(editor) ((editor)->finished = TRUE) argument
110 #define SHOULD_NOT_BE_FINISHED(editor) SVN_ERR_ASSERT(!(editor)->finished) argument
112 #define CLEAR_INCOMPLETE(editor, relpath) \ argument
113 svn_hash_sets((editor)->pending_incomplete_children, relpath, NULL);
115 #define MARK_RELPATH(editor, relpath, value) \ argument
116 svn_hash_sets((editor)->completed_nodes, \
117 apr_pstrdup((editor)->state_pool, relpath), value)
[all …]
HDpath_driver.c53 const svn_delta_editor_t *editor, in open_dir() argument
71 SVN_ERR(editor->open_directory(path, parent_db, SVN_INVALID_REVNUM, subpool, in open_dir()
91 const svn_delta_editor_t *editor) in pop_stack() argument
101 SVN_ERR(editor->close_directory(item->dir_baton, item->pool)); in pop_stack()
134 svn_delta_path_driver2(const svn_delta_editor_t *editor, in svn_delta_path_driver2() argument
180 SVN_ERR(editor->open_root(edit_baton, SVN_INVALID_REVNUM, subpool, &db)); in svn_delta_path_driver2()
220 SVN_ERR(pop_stack(db_stack, editor)); in svn_delta_path_driver2()
248 SVN_ERR(open_dir(db_stack, editor, rel, pool)); in svn_delta_path_driver2()
295 SVN_ERR(pop_stack(db_stack, editor)); in svn_delta_path_driver2()
/NextBSD/contrib/subversion/subversion/include/private/
HDsvn_editor.h647 svn_editor_create(svn_editor_t **editor,
663 svn_editor_get_baton(const svn_editor_t *editor);
673 svn_editor_setcb_add_directory(svn_editor_t *editor,
684 svn_editor_setcb_add_file(svn_editor_t *editor,
695 svn_editor_setcb_add_symlink(svn_editor_t *editor,
706 svn_editor_setcb_add_absent(svn_editor_t *editor,
717 svn_editor_setcb_alter_directory(svn_editor_t *editor,
728 svn_editor_setcb_alter_file(svn_editor_t *editor,
739 svn_editor_setcb_alter_symlink(svn_editor_t *editor,
750 svn_editor_setcb_delete(svn_editor_t *editor,
[all …]
HDsvn_ra_private.h253 svn_ra__get_commit_ev2(svn_editor_t **editor,
272 svn_editor_t **editor,
280 svn_editor_t *editor,
307 svn_editor_t *editor,
HDsvn_fs_private.h105 svn_fs__editor_create(svn_editor_t **editor,
122 svn_fs__editor_create_for(svn_editor_t **editor,
177 svn_editor_t *editor,
/NextBSD/contrib/dialog/
HDinputbox.c79 WINDOW *editor; in dialog_inputbox() local
140 editor = dlg_sub_window(dialog, 1, box_width, yorg + box_y, xorg + box_x); in dialog_inputbox()
141 dlg_register_window(editor, "inputbox2", binding2); in dialog_inputbox()
144 dlg_show_string(editor, input, chr_offset, inputbox_attr, in dialog_inputbox()
146 wsyncup(editor); in dialog_inputbox()
147 wcursyncup(editor); in dialog_inputbox()
164 dlg_show_string(editor, input, chr_offset, inputbox_attr, in dialog_inputbox()
166 wmove(editor, 0, chr_offset); in dialog_inputbox()
167 wsyncup(editor); in dialog_inputbox()
168 wcursyncup(editor); in dialog_inputbox()
[all …]
/NextBSD/contrib/subversion/subversion/libsvn_repos/
HDreplay.c129 const svn_delta_editor_t *editor; member
164 const svn_delta_editor_t *editor, in add_subdir() argument
180 SVN_ERR(editor->add_directory(edit_path, parent_baton, NULL, in add_subdir()
191 SVN_ERR(editor->change_dir_prop(*dir_baton, key, val, subpool)); in add_subdir()
276 SVN_ERR(editor->add_directory(new_edit_path, *dir_baton, in add_subdir()
283 editor, edit_baton, new_edit_path, in add_subdir()
289 SVN_ERR(editor->close_directory(new_dir_baton, subpool)); in add_subdir()
298 SVN_ERR(editor->add_file(new_edit_path, *dir_baton, NULL, in add_subdir()
309 SVN_ERR(editor->change_file_prop(file_baton, key, val, subpool)); in add_subdir()
312 SVN_ERR(editor->apply_textdelta(file_baton, NULL, pool, in add_subdir()
[all …]
HDdelta.c55 const svn_delta_editor_t *editor; member
206 const svn_delta_editor_t *editor, in svn_repos_dir_delta2() argument
272 SVN_ERR(editor->set_target_revision in svn_repos_dir_delta2()
277 SVN_ERR(editor->set_target_revision in svn_repos_dir_delta2()
284 c.editor = editor; in svn_repos_dir_delta2()
304 SVN_ERR(editor->open_root(edit_baton, rootrev, pool, &root_baton)); in svn_repos_dir_delta2()
314 SVN_ERR(editor->open_root(edit_baton, rootrev, pool, &root_baton)); in svn_repos_dir_delta2()
339 SVN_ERR(editor->open_root(edit_baton, rootrev, pool, &root_baton)); in svn_repos_dir_delta2()
349 SVN_ERR(editor->open_root(edit_baton, rootrev, pool, &root_baton)); in svn_repos_dir_delta2()
360 SVN_ERR(editor->open_root(edit_baton, rootrev, pool, &root_baton)); in svn_repos_dir_delta2()
[all …]
HDreporter.c126 const svn_delta_editor_t *editor; member
451 return svn_error_trace(b->editor->change_dir_prop(dir_baton, name, value, in change_dir_prop()
461 return svn_error_trace(b->editor->change_file_prop(file_baton, name, value, in change_file_prop()
704 SVN_ERR(b->editor->apply_textdelta(file_baton, s_hex_digest, pool, in delta_files()
877 return svn_error_trace(b->editor->add_file(path, parent_baton, in add_file_smartly()
1007 SVN_ERR(b->editor->delete_entry(e_path, deleted_rev, dir_baton, in update_entry()
1021 SVN_ERR(b->editor->absent_directory(e_path, dir_baton, pool)); in update_entry()
1023 SVN_ERR(b->editor->absent_file(e_path, dir_baton, pool)); in update_entry()
1030 SVN_ERR(b->editor->open_directory(e_path, dir_baton, s_rev, pool, in update_entry()
1033 SVN_ERR(b->editor->add_directory(e_path, dir_baton, NULL, in update_entry()
[all …]
HDdeprecated.c44 svn_repos_get_commit_editor4(const svn_delta_editor_t **editor, in svn_repos_get_commit_editor4() argument
65 return svn_repos_get_commit_editor5(editor, edit_baton, repos, txn, in svn_repos_get_commit_editor4()
73 svn_repos_get_commit_editor3(const svn_delta_editor_t **editor, in svn_repos_get_commit_editor3() argument
94 return svn_repos_get_commit_editor4(editor, edit_baton, repos, txn, in svn_repos_get_commit_editor3()
103 svn_repos_get_commit_editor2(const svn_delta_editor_t **editor, in svn_repos_get_commit_editor2() argument
115 return svn_repos_get_commit_editor3(editor, edit_baton, repos, txn, in svn_repos_get_commit_editor2()
123 svn_repos_get_commit_editor(const svn_delta_editor_t **editor, in svn_repos_get_commit_editor() argument
134 return svn_repos_get_commit_editor2(editor, edit_baton, repos, NULL, in svn_repos_get_commit_editor()
265 const svn_delta_editor_t *editor, in svn_repos_begin_report() argument
281 editor, in svn_repos_begin_report()
[all …]
/NextBSD/contrib/subversion/subversion/libsvn_client/
HDimport.c89 const svn_delta_editor_t *editor, in send_file_contents() argument
115 SVN_ERR(editor->apply_textdelta(file_baton, NULL, pool, in send_file_contents()
190 import_file(const svn_delta_editor_t *editor, in import_file() argument
209 SVN_ERR(editor->add_file(edit_path, dir_baton, NULL, SVN_INVALID_REVNUM, in import_file()
234 SVN_ERR(editor->change_file_prop(file_baton, pname, pval, pool)); in import_file()
258 SVN_ERR(editor->change_file_prop(file_baton, SVN_PROP_SPECIAL, in import_file()
265 SVN_ERR(send_file_contents(local_abspath, file_baton, editor, in import_file()
272 return svn_error_trace(editor->close_file(file_baton, text_checksum, pool)); in import_file()
378 import_dir(const svn_delta_editor_t *editor,
401 const svn_delta_editor_t *editor, in import_children() argument
[all …]
HDcopy_foreign.c403 svn_delta_editor_t *editor = svn_delta_default_editor(scratch_pool); in copy_foreign_dir() local
416 editor->open_root = edit_open; in copy_foreign_dir()
417 editor->close_edit = edit_close; in copy_foreign_dir()
419 editor->add_directory = dir_add; in copy_foreign_dir()
420 editor->change_dir_prop = dir_change_prop; in copy_foreign_dir()
421 editor->close_directory = dir_close; in copy_foreign_dir()
423 editor->add_file = file_add; in copy_foreign_dir()
424 editor->change_file_prop = file_change_prop; in copy_foreign_dir()
425 editor->apply_textdelta = file_textdelta; in copy_foreign_dir()
426 editor->close_file = file_close; in copy_foreign_dir()
[all …]
HDmtcc.c1019 commit_properties(const svn_delta_editor_t *editor, in commit_properties() argument
1038 SVN_ERR(editor->change_dir_prop(node_baton, mod->name, mod->value, in commit_properties()
1041 SVN_ERR(editor->change_file_prop(node_baton, mod->name, mod->value, in commit_properties()
1051 commit_file(const svn_delta_editor_t *editor, in commit_file() argument
1061 SVN_ERR(commit_properties(editor, op, file_baton, scratch_pool)); in commit_file()
1076 SVN_ERR(editor->apply_textdelta(file_baton, base_checksum, txdelta_pool, in commit_file()
1122 return svn_error_trace(editor->close_file(file_baton, text_checksum, in commit_file()
1128 commit_directory(const svn_delta_editor_t *editor, in commit_directory() argument
1137 SVN_ERR(commit_properties(editor, op, dir_baton, scratch_pool)); in commit_directory()
1162 SVN_ERR(editor->delete_entry(child_relpath, base_rev, in commit_directory()
[all …]
HDcommit_util.c1504 const svn_delta_editor_t *editor; /* commit editor */ member
1538 const svn_delta_editor_t *editor = icb->editor; in do_item_commit() local
1662 err = editor->delete_entry(path, item->revision, in do_item_commit()
1675 err = editor->add_file( in do_item_commit()
1683 err = editor->add_directory( in do_item_commit()
1703 err = editor->change_file_prop(file_baton, prop->name, in do_item_commit()
1708 err = editor->change_dir_prop(*dir_baton, prop->name, in do_item_commit()
1726 err = editor->open_file(path, parent_baton, in do_item_commit()
1740 err = editor->open_root(icb->edit_baton, item->revision, in do_item_commit()
1745 err = editor->open_directory(path, parent_baton, in do_item_commit()
[all …]
HDdelete.c189 const svn_delta_editor_t *editor = callback_baton; in path_driver_cb_func() local
191 return editor->delete_entry(path, SVN_INVALID_REVNUM, parent_baton, pool); in path_driver_cb_func()
204 const svn_delta_editor_t *editor; in single_repos_delete() local
243 SVN_ERR(svn_ra_get_commit_editor3(ra_session, &editor, &edit_baton, in single_repos_delete()
251 err = svn_delta_path_driver2(editor, edit_baton, relpaths, TRUE, in single_repos_delete()
252 path_driver_cb_func, (void *)editor, pool); in single_repos_delete()
258 editor->abort_edit(edit_baton, pool))); in single_repos_delete()
271 return svn_error_trace(editor->close_edit(edit_baton, pool)); in single_repos_delete()
/NextBSD/bin/sh/
HDhistedit.c189 const char *editor = NULL; in histcmd() local
213 editor = shoptarg; in histcmd()
233 if (lflg == 0 || editor || sflg) { in histcmd()
257 if (editor == NULL && in histcmd()
258 (editor = bltinlookup("FCEDIT", 1)) == NULL && in histcmd()
259 (editor = bltinlookup("EDITOR", 1)) == NULL) in histcmd()
260 editor = DEFEDITOR; in histcmd()
261 if (editor[0] == '-' && editor[1] == '\0') { in histcmd()
263 editor = NULL; in histcmd()
312 if (editor) { in histcmd()
[all …]
/NextBSD/release/picobsd/tinyware/passwd/
HDpw_util.c199 char *p, *editor; in pw_edit() local
201 if (!(editor = getenv("EDITOR"))) in pw_edit()
202 editor = _default_editor; in pw_edit()
203 if ((p = strrchr(editor, '/'))) in pw_edit()
206 p = editor; in pw_edit()
214 execlp(editor, p, tempname, (char *)NULL); in pw_edit()
221 pw_error(editor, 1, 1); in pw_edit()
227 pw_error(editor, 1, 1); in pw_edit()
/NextBSD/contrib/subversion/subversion/svnbench/
HDnull-export-cmd.c231 svn_delta_editor_t *editor = svn_delta_default_editor(pool); in bench_null_export() local
233 editor->set_target_revision = set_target_revision; in bench_null_export()
234 editor->open_root = open_root; in bench_null_export()
235 editor->add_directory = add_directory; in bench_null_export()
236 editor->add_file = add_file; in bench_null_export()
237 editor->apply_textdelta = apply_textdelta; in bench_null_export()
238 editor->close_file = close_file; in bench_null_export()
239 editor->change_file_prop = change_file_prop; in bench_null_export()
240 editor->change_dir_prop = change_dir_prop; in bench_null_export()
246 editor, in bench_null_export()
/NextBSD/contrib/subversion/subversion/libsvn_ra_serf/
HDreplay.c144 const svn_delta_editor_t *editor; member
191 &ctx->editor, &ctx->editor_baton, in replay_opened()
211 SVN_ERR(ctx->editor->apply_textdelta(node->baton, checksum, node->pool, in replay_opened()
247 ctx->editor, ctx->editor_baton, in replay_closed()
257 SVN_ERR(ctx->editor->set_target_revision(ctx->editor_baton, in replay_closed()
276 SVN_ERR(ctx->editor->open_root(ctx->editor_baton, (svn_revnum_t)rev, in replay_closed()
316 SVN_ERR(ctx->editor->open_directory(name, in replay_closed()
324 SVN_ERR(ctx->editor->open_file(name, in replay_closed()
332 SVN_ERR(ctx->editor->add_directory( in replay_closed()
344 SVN_ERR(ctx->editor->add_file( in replay_closed()
[all …]
/NextBSD/contrib/subversion/subversion/libsvn_ra_svn/
HDeditorp.c73 const svn_delta_editor_t *editor; member
422 void svn_ra_svn_get_editor(const svn_delta_editor_t **editor, in svn_ra_svn_get_editor() argument
455 *editor = ra_svn_editor; in svn_ra_svn_get_editor()
458 svn_error_clear(svn_editor__insert_shims(editor, edit_baton, *editor, in svn_ra_svn_get_editor()
507 SVN_CMD_ERR(ds->editor->set_target_revision(ds->edit_baton, rev, pool)); in ra_svn_handle_target_rev()
523 SVN_CMD_ERR(ds->editor->open_root(ds->edit_baton, rev, subpool, in ra_svn_handle_open_root()
543 SVN_CMD_ERR(ds->editor->delete_entry(path, rev, entry->baton, pool)); in ra_svn_handle_delete_entry()
575 SVN_CMD_ERR(ds->editor->add_directory(path, entry->baton, copy_path, in ra_svn_handle_add_dir()
598 SVN_CMD_ERR(ds->editor->open_directory(path, entry->baton, rev, subpool, in ra_svn_handle_open_dir()
617 SVN_CMD_ERR(ds->editor->change_dir_prop(entry->baton, name, value, in ra_svn_handle_change_dir_prop()
[all …]
/NextBSD/contrib/less/
HDmain.c43 public char * editor; variable
171 editor = lgetenv("VISUAL");
172 if (editor == NULL || *editor == '\0')
174 editor = lgetenv("EDITOR");
175 if (editor == NULL || *editor == '\0')
176 editor = EDIT_PGM;
/NextBSD/contrib/subversion/subversion/libsvn_ra/
HDeditor.c118 svn_ra__use_commit_shim(svn_editor_t **editor, in svn_ra__use_commit_shim() argument
176 SVN_ERR(svn_delta__editor_from_delta(editor, &exb, in svn_ra__use_commit_shim()
231 svn_editor_t *editor; member
251 SVN_ERR(wrb->revstart_func(revision, wrb->replay_baton, &wrb->editor, in revstart_func_wrapper()
277 SVN_ERR(svn_delta__delta_from_editor(deditor, dedit_baton, wrb->editor, in revstart_func_wrapper()
291 const svn_delta_editor_t *editor, in revfinish_func_wrapper() argument
298 SVN_ERR(wrb->revfinish_func(revision, replay_baton, wrb->editor, rev_props, in revfinish_func_wrapper()
HDwrapper_template.h154 **editor, in compat_get_commit_editor() argument
170 return VTBL.get_commit_editor(session_baton, editor, edit_baton, in compat_get_commit_editor()
286 const svn_delta_editor_t *editor, in compat_do_update() argument
298 editor, update_baton, in compat_do_update()
312 const svn_delta_editor_t *editor, in compat_do_switch() argument
325 editor, switch_baton, in compat_do_switch()
339 const svn_delta_editor_t *editor, in compat_do_status() argument
348 revision, depth, editor, status_baton, pool)); in compat_do_status()
/NextBSD/usr.sbin/cron/crontab/
HDcrontab.c316 char n[MAX_FNAME], q[MAX_TEMPSTR], *editor; local
383 if ((!(editor = getenv("VISUAL")))
384 && (!(editor = getenv("EDITOR")))
386 editor = EDITOR;
407 if (strlen(editor) + strlen(Filename) + 2 >= MAX_TEMPSTR)
409 execlp(editor, editor, Filename, (char *)NULL);
410 err(ERROR_EXIT, "%s", editor);
429 warnx("wrong PID (%d != %d) from \"%s\"", xpid, pid, editor);
433 warnx("\"%s\" exited with status %d", editor, WEXITSTATUS(waiter));
438 editor, WTERMSIG(waiter), WCOREDUMP(waiter) ?"" :"no ");
/NextBSD/contrib/subversion/subversion/libsvn_fs/
HDeditor.c680 make_editor(svn_editor_t **editor, in make_editor() argument
708 SVN_ERR(svn_editor_create(editor, eb, cancel_func, cancel_baton, in make_editor()
710 SVN_ERR(svn_editor_setcb_many(*editor, &editor_cbs, scratch_pool)); in make_editor()
717 svn_fs__editor_create(svn_editor_t **editor, in svn_fs__editor_create() argument
732 return svn_error_trace(make_editor(editor, txn, in svn_fs__editor_create()
739 svn_fs__editor_create_for(svn_editor_t **editor, in svn_fs__editor_create_for() argument
750 return svn_error_trace(make_editor(editor, txn, in svn_fs__editor_create_for()
760 svn_editor_t *editor, in svn_fs__editor_commit() argument
764 struct edit_baton *eb = svn_editor_get_baton(editor); in svn_fs__editor_commit()
779 err = svn_editor_complete(editor); in svn_fs__editor_commit()

12345678910