Home
last modified time | relevance | path

Searched refs:opt_state (Results 1 – 25 of 62) sorted by relevance

123

/freebsd-13.1/contrib/subversion/subversion/svn/
H A Ddiff-cmd.c209 svn_cl__opt_state_t *opt_state = ((svn_cl__cmd_baton_t *) baton)->opt_state; in svn_cl__diff() local
220 opt_state->diff.patch_compatible || opt_state->diff.show_copies_as_adds; in svn_cl__diff()
222 opt_state->diff.patch_compatible || opt_state->diff.ignore_properties; in svn_cl__diff()
225 if (opt_state->extensions) in svn_cl__diff()
235 if (opt_state->xml) in svn_cl__diff()
251 if (opt_state->diff.summarize) in svn_cl__diff()
281 if (opt_state->force) in svn_cl__diff()
293 if (! opt_state->old_target && ! opt_state->new_target in svn_cl__diff()
322 else if (opt_state->old_target) in svn_cl__diff()
412 if (opt_state->force) in svn_cl__diff()
[all …]
H A Dsvn.c2685 if (opt_state.help) in sub_main()
2806 if (opt_state.all_revprops && opt_state.no_revprops) in sub_main()
2815 if (opt_state.revprop_table && opt_state.no_revprops) in sub_main()
2844 if (opt_state.filedata && opt_state.message in sub_main()
2875 if (opt_state.diff.diff_cmd && opt_state.diff.internal_diff) in sub_main()
2892 opt_state.start_revision = APR_ARRAY_IDX(opt_state.revision_ranges, 0, in sub_main()
2894 opt_state.end_revision = APR_ARRAY_IDX(opt_state.revision_ranges, 0, in sub_main()
3007 command_baton.opt_state = &opt_state; in sub_main()
3097 if (opt_state.autoprops && opt_state.no_autoprops) in sub_main()
3150 if (opt_state.xml) in sub_main()
[all …]
H A Dblame-cmd.c69 svn_cl__opt_state_t *opt_state = bb->opt_state; in blame_receiver_xml() local
183 svn_cl__opt_state_t *opt_state = bb->opt_state; in blame_receiver() local
247 svn_cl__opt_state_t *opt_state = ((svn_cl__cmd_baton_t *) baton)->opt_state; in svn_cl__blame() local
272 opt_state->end_revision = opt_state->start_revision; in svn_cl__blame()
290 if (! opt_state->xml) in svn_cl__blame()
295 bl.opt_state = opt_state; in svn_cl__blame()
300 if (opt_state->extensions) in svn_cl__blame()
307 if (opt_state->xml) in svn_cl__blame()
352 if (opt_state->xml) in svn_cl__blame()
414 if (opt_state->xml) in svn_cl__blame()
[all …]
H A Dpropset-cmd.c52 svn_cl__opt_state_t *opt_state = ((svn_cl__cmd_baton_t *) baton)->opt_state; in svn_cl__propset() local
70 if (!opt_state->force) in svn_cl__propset()
71 SVN_ERR(svn_cl__check_svn_prop_name(pname, opt_state->revprop, in svn_cl__propset()
76 if (opt_state->filedata) in svn_cl__propset()
94 else if (opt_state->encoding) in svn_cl__propset()
109 if (opt_state->revprop) in svn_cl__propset()
114 if (opt_state->revprop) /* operate on a revprop */ in svn_cl__propset()
137 if (opt_state->depth == svn_depth_unknown) in svn_cl__propset()
138 opt_state->depth = svn_depth_empty; in svn_cl__propset()
182 opt_state->depth, opt_state->force, in svn_cl__propset()
[all …]
H A Dmerge-cmd.c85 if (opt_state->reintegrate) in run_merge()
102 if (opt_state->verbose) in run_merge()
131 if (opt_state->verbose) in run_merge()
238 svn_cl__opt_state_t *opt_state = ((svn_cl__cmd_baton_t *) baton)->opt_state; in svn_cl__merge() local
254 if (opt_state->reintegrate in svn_cl__merge()
479 if (opt_state->extensions) in svn_cl__merge()
485 if (opt_state->reintegrate) in svn_cl__merge()
492 if (opt_state->record_only) in svn_cl__merge()
502 if (opt_state->force) in svn_cl__merge()
548 if (! opt_state->dry_run) in svn_cl__merge()
[all …]
H A Dproplist-cmd.c47 svn_cl__opt_state_t *opt_state; member
63 svn_cl__opt_state_t *opt_state = ((proplist_baton_t *)baton)->opt_state; in proplist_receiver_xml() local
131 svn_cl__opt_state_t *opt_state = ((proplist_baton_t *)baton)->opt_state; in proplist_receiver() local
152 if (!opt_state->quiet) in proplist_receiver()
174 if (!opt_state->quiet) in proplist_receiver()
191 svn_cl__opt_state_t *opt_state = ((svn_cl__cmd_baton_t *) baton)->opt_state; in svn_cl__proplist() local
211 if (opt_state->show_inherited_props) in svn_cl__proplist()
224 if (opt_state->xml) in svn_cl__proplist()
260 if (opt_state->xml) in svn_cl__proplist()
285 pl_baton.opt_state = opt_state; in svn_cl__proplist()
[all …]
H A Dpropget-cmd.c318 svn_cl__opt_state_t *opt_state = ((svn_cl__cmd_baton_t *) baton)->opt_state; in svn_cl__propget() local
325 if (opt_state->verbose && (opt_state->revprop || opt_state->no_newline in svn_cl__propget()
356 if (opt_state->show_inherited_props) in svn_cl__propget()
381 if (opt_state->xml) in svn_cl__propget()
423 if (opt_state->xml) in svn_cl__propget()
432 if (opt_state->no_newline in svn_cl__propget()
466 &(opt_state->start_revision), in svn_cl__propget()
467 NULL, opt_state->depth, in svn_cl__propget()
482 like_proplist = opt_state->verbose && !opt_state->no_newline; in svn_cl__propget()
499 if (opt_state->xml) in svn_cl__propget()
[all …]
H A Dstatus-cmd.c272 svn_cl__opt_state_t *opt_state = ((svn_cl__cmd_baton_t *) baton)->opt_state; in svn_cl__status() local
294 else if (! opt_state->update) in svn_cl__status()
303 if (opt_state->xml) in svn_cl__status()
321 sb.detailed = (opt_state->verbose || opt_state->update); in svn_cl__status()
349 if (opt_state->xml) in svn_cl__status()
372 if (opt_state->xml) in svn_cl__status()
383 if (opt_state->xml) in svn_cl__status()
396 if (opt_state->xml) in svn_cl__status()
419 if (opt_state->xml) in svn_cl__status()
429 if (opt_state->xml && (! opt_state->incremental)) in svn_cl__status()
[all …]
H A Dresolve-cmd.c77 svn_cl__opt_state_t *opt_state, in svn_cl__walk_conflicts() argument
95 cwb.accept_which = opt_state->accept_which; in svn_cl__walk_conflicts()
99 cwb.editor_cmd = opt_state->editor_cmd; in svn_cl__walk_conflicts()
117 if (opt_state->depth == svn_depth_empty) in svn_cl__walk_conflicts()
169 svn_cl__opt_state_t *opt_state = ((svn_cl__cmd_baton_t *) baton)->opt_state; in svn_cl__resolve() local
182 if (opt_state->depth == svn_depth_unknown) in svn_cl__resolve()
185 opt_state->depth = svn_depth_infinity; in svn_cl__resolve()
187 opt_state->depth = svn_depth_empty; in svn_cl__resolve()
195 opt_state->non_interactive) in svn_cl__resolve()
201 opt_state->accept_which == svn_cl__accept_edit || in svn_cl__resolve()
[all …]
H A Dpropedit-cmd.c75 svn_cl__opt_state_t *opt_state = ((svn_cl__cmd_baton_t *) baton)->opt_state; in svn_cl__propedit() local
89 if (!opt_state->force) in svn_cl__propedit()
90 SVN_ERR(svn_cl__check_svn_prop_name(pname, opt_state->revprop, in svn_cl__propedit()
93 if (opt_state->encoding && !svn_prop_needs_translation(pname)) in svn_cl__propedit()
107 if (opt_state->revprop) /* operate on a revprop */ in svn_cl__propedit()
124 URL, &(opt_state->start_revision), in svn_cl__propedit()
145 opt_state->editor_cmd, temp_dir, in svn_cl__propedit()
149 opt_state->encoding, pool)); in svn_cl__propedit()
239 &(opt_state->start_revision), in svn_cl__propedit()
255 if (opt_state->message || opt_state->filedata || in svn_cl__propedit()
[all …]
H A Dmove-cmd.c47 svn_cl__opt_state_t *opt_state = ((svn_cl__cmd_baton_t *) baton)->opt_state; in svn_cl__move() local
54 opt_state->targets, in svn_cl__move()
60 if (opt_state->start_revision.kind != svn_opt_revision_unspecified in svn_cl__move()
61 && opt_state->start_revision.kind != svn_opt_revision_head) in svn_cl__move()
74 if (opt_state->message || opt_state->filedata || opt_state->revprop_table) in svn_cl__move()
82 SVN_ERR(svn_cl__make_log_msg_baton(&(ctx->log_msg_baton3), opt_state, in svn_cl__move()
89 opt_state->parents /* make_parents */, in svn_cl__move()
90 opt_state->allow_mixed_rev /* allow_mixed_revisions*/, in svn_cl__move()
92 opt_state->revprop_table, in svn_cl__move()
93 (opt_state->quiet ? NULL : svn_cl__print_commit_info), in svn_cl__move()
H A Dimport-cmd.c46 svn_cl__opt_state_t *opt_state = ((svn_cl__cmd_baton_t *) baton)->opt_state; in svn_cl__import() local
81 opt_state->targets, in svn_cl__import()
109 if (opt_state->depth == svn_depth_unknown) in svn_cl__import()
110 opt_state->depth = svn_depth_infinity; in svn_cl__import()
112 SVN_ERR(svn_cl__make_log_msg_baton(&(ctx->log_msg_baton3), opt_state, in svn_cl__import()
119 opt_state->depth, in svn_cl__import()
120 opt_state->no_ignore, in svn_cl__import()
121 opt_state->no_autoprops, in svn_cl__import()
122 opt_state->force, in svn_cl__import()
123 opt_state->revprop_table, in svn_cl__import()
[all …]
H A Dlog-cmd.c705 svn_cl__opt_state_t *opt_state = ((svn_cl__cmd_baton_t *) baton)->opt_state; in svn_cl__log() local
713 if (!opt_state->xml) in svn_cl__log()
730 if (opt_state->show_diff) in svn_cl__log()
736 if (opt_state->diff.diff_cmd && (! opt_state->show_diff)) in svn_cl__log()
740 if (opt_state->diff.internal_diff && (! opt_state->show_diff)) in svn_cl__log()
744 if (opt_state->extensions && (! opt_state->show_diff)) in svn_cl__log()
749 if (opt_state->depth != svn_depth_unknown && (! opt_state->show_diff)) in svn_cl__log()
763 if (opt_state->used_revision_arg && opt_state->revision_ranges->nelts > 1) in svn_cl__log()
817 if (opt_state->xml) in svn_cl__log()
856 if (!opt_state->quiet) in svn_cl__log()
[all …]
H A Dexport-cmd.c48 svn_cl__opt_state_t *opt_state = ((svn_cl__cmd_baton_t *) baton)->opt_state; in svn_cl__export() local
58 opt_state->targets, in svn_cl__export()
101 if (! opt_state->quiet) in svn_cl__export()
104 if (opt_state->depth == svn_depth_unknown) in svn_cl__export()
105 opt_state->depth = svn_depth_infinity; in svn_cl__export()
115 &(opt_state->start_revision), in svn_cl__export()
116 opt_state->force, opt_state->ignore_externals, in svn_cl__export()
117 opt_state->ignore_keywords, opt_state->depth, in svn_cl__export()
118 opt_state->native_eol, ctx, pool); in svn_cl__export()
119 if (err && err->apr_err == SVN_ERR_WC_OBSTRUCTED_UPDATE && !opt_state->force) in svn_cl__export()
H A Dlock-cmd.c46 svn_cl__opt_state_t *opt_state, apr_pool_t *pool) in get_comment() argument
50 if (opt_state->filedata) in get_comment()
53 if (strlen(opt_state->filedata->data) < opt_state->filedata->len) in get_comment()
60 comment_string = svn_string_create(opt_state->filedata->data, pool); in get_comment()
63 else if (opt_state->message) in get_comment()
66 comment_string = svn_string_create(opt_state->message, pool); in get_comment()
76 comment_string, opt_state->encoding, in get_comment()
112 svn_cl__opt_state_t *opt_state = ((svn_cl__cmd_baton_t *) baton)->opt_state; in svn_cl__lock() local
119 opt_state->targets, in svn_cl__lock()
129 SVN_ERR(get_comment(&comment, ctx, opt_state, pool)); in svn_cl__lock()
[all …]
H A Dcopy-cmd.c46 svn_cl__opt_state_t *opt_state = ((svn_cl__cmd_baton_t *) baton)->opt_state; in svn_cl__copy() local
55 opt_state->targets, in svn_cl__copy()
108 source->revision = &(opt_state->start_revision); in svn_cl__copy()
142 if (! opt_state->quiet) in svn_cl__copy()
148 if (! opt_state->quiet) in svn_cl__copy()
159 if (opt_state->message || opt_state->filedata || opt_state->revprop_table) in svn_cl__copy()
167 SVN_ERR(svn_cl__make_log_msg_baton(&(ctx->log_msg_baton3), opt_state, in svn_cl__copy()
171 opt_state->parents, opt_state->ignore_externals, in svn_cl__copy()
173 opt_state->pin_externals, in svn_cl__copy()
175 opt_state->revprop_table, in svn_cl__copy()
[all …]
H A Dcommit-cmd.c102 svn_cl__opt_state_t *opt_state = ((svn_cl__cmd_baton_t *) baton)->opt_state; in svn_cl__commit() local
137 if (opt_state->depth == svn_depth_unknown) in svn_cl__commit()
138 opt_state->depth = svn_depth_infinity; in svn_cl__commit()
153 opt_state, base_dir, in svn_cl__commit()
160 if (opt_state->depth < svn_depth_infinity) in svn_cl__commit()
164 cwnb.depth = opt_state->depth; in svn_cl__commit()
172 opt_state->depth, in svn_cl__commit()
174 opt_state->keep_changelists, in svn_cl__commit()
178 opt_state->changelists, in svn_cl__commit()
179 opt_state->revprop_table, in svn_cl__commit()
[all …]
H A Dupdate-cmd.c113 svn_cl__opt_state_t *opt_state = ((svn_cl__cmd_baton_t *) baton)->opt_state; in svn_cl__update() local
140 if (opt_state->changelists) in svn_cl__update()
142 svn_depth_t cl_depth = opt_state->depth; in svn_cl__update()
152 if (opt_state->set_depth != svn_depth_unknown) in svn_cl__update()
154 depth = opt_state->set_depth; in svn_cl__update()
159 depth = opt_state->depth; in svn_cl__update()
170 &(opt_state->start_revision), in svn_cl__update()
172 opt_state->ignore_externals, in svn_cl__update()
173 opt_state->force, in svn_cl__update()
175 opt_state->parents, in svn_cl__update()
[all …]
/freebsd-13.1/contrib/subversion/subversion/svnbench/
H A Dsvnbench.c431 opt_state.revision_ranges = in sub_main()
585 opt_state.help = TRUE; in sub_main()
588 opt_state.quiet = TRUE; in sub_main()
730 if (opt_state.help) in sub_main()
830 if (opt_state.all_revprops && opt_state.no_revprops) in sub_main()
839 if (opt_state.revprop_table && opt_state.no_revprops) in sub_main()
877 opt_state.start_revision = APR_ARRAY_IDX(opt_state.revision_ranges, 0, in sub_main()
879 opt_state.end_revision = APR_ARRAY_IDX(opt_state.revision_ranges, 0, in sub_main()
883 command_baton.opt_state = &opt_state; in sub_main()
936 if (opt_state.quiet) in sub_main()
[all …]
H A Dhelp-cmd.c46 svn_cl__opt_state_t *opt_state; in svn_cl__help() local
71 opt_state = ((svn_cl__cmd_baton_t *) baton)->opt_state; in svn_cl__help()
73 opt_state = NULL; in svn_cl__help()
80 opt_state ? opt_state->version : FALSE, in svn_cl__help()
81 opt_state ? opt_state->quiet : FALSE, in svn_cl__help()
82 opt_state ? opt_state->verbose : FALSE, in svn_cl__help()
H A Dnull-log-cmd.c134 svn_cl__opt_state_t *opt_state = ((svn_cl__cmd_baton_t *) baton)->opt_state; in svn_cl__null_log() local
152 if (opt_state->used_change_arg) in svn_cl__null_log()
154 if (opt_state->used_revision_arg && opt_state->revision_ranges->nelts > 1) in svn_cl__null_log()
198 lb.quiet = opt_state->quiet; in svn_cl__null_log()
201 if (!opt_state->no_revprops) in svn_cl__null_log()
205 if (!opt_state->quiet) in svn_cl__null_log()
212 opt_state->limit, in svn_cl__null_log()
213 opt_state->verbose, in svn_cl__null_log()
214 opt_state->stop_on_copy, in svn_cl__null_log()
222 if (!opt_state->quiet) in svn_cl__null_log()
[all …]
H A Dnull-blame-cmd.c173 svn_cl__opt_state_t *opt_state = ((svn_cl__cmd_baton_t *) baton)->opt_state; in svn_cl__null_blame() local
196 opt_state->end_revision = opt_state->start_revision; in svn_cl__null_blame()
198 opt_state->start_revision.value.number = 1; in svn_cl__null_blame()
206 opt_state->start_revision.kind = svn_opt_revision_number; in svn_cl__null_blame()
207 opt_state->start_revision.value.number = 1; in svn_cl__null_blame()
233 opt_state->end_revision = peg_revision; in svn_cl__null_blame()
235 opt_state->end_revision.kind = svn_opt_revision_head; in svn_cl__null_blame()
242 &opt_state->start_revision, in svn_cl__null_blame()
243 &opt_state->end_revision, in svn_cl__null_blame()
244 opt_state->use_merge_history, in svn_cl__null_blame()
[all …]
/freebsd-13.1/contrib/libpcap/
H A Doptimize.c392 memset((char *)opt_state->levels, 0, opt_state->n_blocks * sizeof(*opt_state->levels)); in find_levels()
412 i = opt_state->n_blocks * opt_state->nodewords; in find_dom()
484 opt_state->n_blocks * opt_state->nodewords * sizeof(*opt_state->all_closure_sets)); in find_closure()
674 opt_state->next_vnode = opt_state->vnode_base; in init_val()
675 memset((char *)opt_state->vmap, 0, opt_state->maxval * sizeof(*opt_state->vmap)); in init_val()
1902 memset(&opt_state, 0, sizeof(opt_state)); in bpf_optimize()
2160 opt_state->n_edges = 2 * opt_state->n_blocks; in opt_init()
2161 opt_state->edges = (struct edge **)calloc(opt_state->n_edges, sizeof(*opt_state->edges)); in opt_init()
2178 …opt_state->space = (bpf_u_int32 *)malloc(2 * opt_state->n_blocks * opt_state->nodewords * sizeof(*… in opt_init()
2179 + opt_state->n_edges * opt_state->edgewords * sizeof(*opt_state->space)); in opt_init()
[all …]
/freebsd-13.1/contrib/subversion/subversion/svnadmin/
H A Dsvnadmin.c832 SVN_ERR(open_repos(&repos, opt_state->repository_path, opt_state, pool)); in subcommand_crashtest()
949 SVN_ERR(open_repos(&repos, opt_state->repository_path, opt_state, pool)); in subcommand_deltify()
1442 if (opt_state->file) in subcommand_dump()
1462 if (opt_state->exclude && !opt_state->include) in subcommand_dump()
1467 else if (opt_state->include && !opt_state->exclude) in subcommand_dump()
1472 else if (opt_state->include && opt_state->exclude) in subcommand_dump()
1508 if (opt_state->file) in subcommand_dump_revprops()
1635 opt_state ? opt_state->version : FALSE, in subcommand_help()
1636 opt_state ? opt_state->quiet : FALSE, in subcommand_help()
1736 opt_state->uuid_action, opt_state->parent_dir, in subcommand_load()
[all …]
/freebsd-13.1/contrib/subversion/subversion/svnlook/
H A Dsvnlook.c2276 const char *path = (opt_state->arg1 ? opt_state->arg1 : "/"); in subcommand_history()
2375 else if (!opt_state->revprop && opt_state->arg2 == NULL) in subcommand_pget()
2381 if ((opt_state->revprop && opt_state->arg2 != NULL) in subcommand_pget()
2388 opt_state->revprop ? NULL : opt_state->arg2, in subcommand_pget()
2404 SVN_ERR(do_plist(c, opt_state->revprop ? NULL : opt_state->arg1, in subcommand_plist()
2405 opt_state->verbose, opt_state->xml, in subcommand_plist()
2422 SVN_ERR(do_tree(c, opt_state->arg1 ? opt_state->arg1 : "", in subcommand_tree()
2423 opt_state->show_ids, opt_state->full_paths, in subcommand_tree()
2497 memset(&opt_state, 0, sizeof(opt_state)); in sub_main()
2653 if ((opt_state.rev != SVN_INVALID_REVNUM) && opt_state.txn) in sub_main()
[all …]

123