Home
last modified time | relevance | path

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

123

/freebsd-12.1/contrib/subversion/subversion/svn/
H A Ddiff-cmd.c191 svn_cl__opt_state_t *opt_state = ((svn_cl__cmd_baton_t *) baton)->opt_state; in svn_cl__diff() local
202 opt_state->diff.patch_compatible || opt_state->diff.show_copies_as_adds; in svn_cl__diff()
204 opt_state->diff.patch_compatible || opt_state->diff.ignore_properties; in svn_cl__diff()
210 if (opt_state->extensions) in svn_cl__diff()
220 if (opt_state->xml) in svn_cl__diff()
236 if (opt_state->diff.summarize) in svn_cl__diff()
266 if (opt_state->force) in svn_cl__diff()
278 if (! opt_state->old_target && ! opt_state->new_target in svn_cl__diff()
307 else if (opt_state->old_target) in svn_cl__diff()
397 if (opt_state->force) in svn_cl__diff()
[all …]
H A Dsvn.c2687 if (opt_state.help) in sub_main()
2808 if (opt_state.all_revprops && opt_state.no_revprops) in sub_main()
2817 if (opt_state.revprop_table && opt_state.no_revprops) in sub_main()
2846 if (opt_state.filedata && opt_state.message in sub_main()
2877 if (opt_state.diff.diff_cmd && opt_state.diff.internal_diff) in sub_main()
2894 opt_state.start_revision = APR_ARRAY_IDX(opt_state.revision_ranges, 0, in sub_main()
2896 opt_state.end_revision = APR_ARRAY_IDX(opt_state.revision_ranges, 0, in sub_main()
3009 command_baton.opt_state = &opt_state; in sub_main()
3104 if (opt_state.autoprops && opt_state.no_autoprops) in sub_main()
3157 if (opt_state.xml) in sub_main()
[all …]
H A Dblame-cmd.c70 svn_cl__opt_state_t *opt_state = bb->opt_state; in blame_receiver_xml() local
186 svn_cl__opt_state_t *opt_state = bb->opt_state; in blame_receiver() local
250 svn_cl__opt_state_t *opt_state = ((svn_cl__cmd_baton_t *) baton)->opt_state; in svn_cl__blame() local
275 opt_state->end_revision = opt_state->start_revision; in svn_cl__blame()
293 if (! opt_state->xml) in svn_cl__blame()
298 bl.opt_state = opt_state; in svn_cl__blame()
303 if (opt_state->extensions) in svn_cl__blame()
310 if (opt_state->xml) in svn_cl__blame()
355 if (opt_state->xml) in svn_cl__blame()
416 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()
487 if (opt_state->ignore_ancestry) in svn_cl__merge()
492 if (opt_state->record_only) in svn_cl__merge()
502 if (opt_state->force) 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 Dshelve-cmd.c202 svn_cl__opt_state_t *opt_state = ((svn_cl__cmd_baton_t *) baton)->opt_state; in svn_cl__shelve() local
209 if (opt_state->quiet) in svn_cl__shelve()
214 if (opt_state->list) in svn_cl__shelve()
227 if (opt_state->remove) in svn_cl__shelve()
268 opt_state->keep_local, opt_state->dry_run, in svn_cl__shelve()
288 if (! opt_state->quiet) in svn_cl__shelve()
300 svn_cl__opt_state_t *opt_state = ((svn_cl__cmd_baton_t *) baton)->opt_state; in svn_cl__unshelve() local
308 if (opt_state->list) in svn_cl__unshelve()
338 if (opt_state->quiet) in svn_cl__unshelve()
342 opt_state->keep_local, opt_state->dry_run, in svn_cl__unshelve()
[all …]
H A Dlog-cmd.c704 svn_cl__opt_state_t *opt_state = ((svn_cl__cmd_baton_t *) baton)->opt_state; in svn_cl__log() local
712 if (!opt_state->xml) in svn_cl__log()
729 if (opt_state->show_diff) in svn_cl__log()
735 if (opt_state->quiet && opt_state->show_diff) in svn_cl__log()
739 if (opt_state->diff.diff_cmd && (! opt_state->show_diff)) in svn_cl__log()
743 if (opt_state->diff.internal_diff && (! opt_state->show_diff)) in svn_cl__log()
747 if (opt_state->extensions && (! opt_state->show_diff)) in svn_cl__log()
752 if (opt_state->depth != svn_depth_unknown && (! opt_state->show_diff)) in svn_cl__log()
766 if (opt_state->used_revision_arg && opt_state->revision_ranges->nelts > 1) in svn_cl__log()
820 if (opt_state->xml) in svn_cl__log()
[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 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 …]
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 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()
/freebsd-12.1/contrib/subversion/subversion/svnbench/
H A Dsvnbench.c425 opt_state.revision_ranges = in sub_main()
579 opt_state.help = TRUE; in sub_main()
582 opt_state.quiet = TRUE; in sub_main()
724 if (opt_state.help) in sub_main()
824 if (opt_state.all_revprops && opt_state.no_revprops) in sub_main()
833 if (opt_state.revprop_table && opt_state.no_revprops) in sub_main()
871 opt_state.start_revision = APR_ARRAY_IDX(opt_state.revision_ranges, 0, in sub_main()
873 opt_state.end_revision = APR_ARRAY_IDX(opt_state.revision_ranges, 0, in sub_main()
877 command_baton.opt_state = &opt_state; in sub_main()
930 if (opt_state.quiet) in sub_main()
[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 …]
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 …]
/freebsd-12.1/contrib/subversion/subversion/svnadmin/
H A Dsvnadmin.c741 SVN_ERR(open_repos(&repos, opt_state->repository_path, opt_state, pool)); in subcommand_crashtest()
858 SVN_ERR(open_repos(&repos, opt_state->repository_path, opt_state, pool)); in subcommand_deltify()
1351 if (opt_state->file) in subcommand_dump()
1371 if (opt_state->exclude && !opt_state->include) in subcommand_dump()
1376 else if (opt_state->include && !opt_state->exclude) in subcommand_dump()
1381 else if (opt_state->include && opt_state->exclude) in subcommand_dump()
1417 if (opt_state->file) in subcommand_dump_revprops()
1544 opt_state ? opt_state->version : FALSE, in subcommand_help()
1545 opt_state ? opt_state->quiet : FALSE, in subcommand_help()
1645 opt_state->uuid_action, opt_state->parent_dir, in subcommand_load()
[all …]
/freebsd-12.1/contrib/libpcap/
H A Doptimize.c369 memset((char *)opt_state->levels, 0, opt_state->n_blocks * sizeof(*opt_state->levels)); in find_levels()
389 i = opt_state->n_blocks * opt_state->nodewords; in find_dom()
461 opt_state->n_blocks * opt_state->nodewords * sizeof(*opt_state->all_closure_sets)); in find_closure()
651 opt_state->next_vnode = opt_state->vnode_base; in init_val()
652 memset((char *)opt_state->vmap, 0, opt_state->maxval * sizeof(*opt_state->vmap)); in init_val()
2048 opt_state->n_edges = 2 * opt_state->n_blocks; in opt_init()
2049 opt_state->edges = (struct edge **)calloc(opt_state->n_edges, sizeof(*opt_state->edges)); in opt_init()
2056 opt_state->levels = (struct block **)calloc(opt_state->n_blocks, sizeof(*opt_state->levels)); in opt_init()
2064 …opt_state->space = (bpf_u_int32 *)malloc(2 * opt_state->n_blocks * opt_state->nodewords * sizeof(*… in opt_init()
2065 + opt_state->n_edges * opt_state->edgewords * sizeof(*opt_state->space)); in opt_init()
[all …]
/freebsd-12.1/contrib/subversion/subversion/svnlook/
H A Dsvnlook.c2242 const char *path = (opt_state->arg1 ? opt_state->arg1 : "/"); in subcommand_history()
2341 else if (!opt_state->revprop && opt_state->arg2 == NULL) in subcommand_pget()
2347 if ((opt_state->revprop && opt_state->arg2 != NULL) in subcommand_pget()
2354 opt_state->revprop ? NULL : opt_state->arg2, in subcommand_pget()
2370 SVN_ERR(do_plist(c, opt_state->revprop ? NULL : opt_state->arg1, in subcommand_plist()
2371 opt_state->verbose, opt_state->xml, in subcommand_plist()
2388 SVN_ERR(do_tree(c, opt_state->arg1 ? opt_state->arg1 : "", in subcommand_tree()
2389 opt_state->show_ids, opt_state->full_paths, in subcommand_tree()
2463 memset(&opt_state, 0, sizeof(opt_state)); in sub_main()
2619 if ((opt_state.rev != SVN_INVALID_REVNUM) && opt_state.txn) in sub_main()
[all …]
/freebsd-12.1/contrib/ntp/sntp/libopts/
H A Dload.c504 opt_state->pzOptArg = trim_quotes(arg); in load_opt_line()
514 if (*opt_state->pzOptArg != NUL) in load_opt_line()
516 opt_state->pzOptArg = NULL; in load_opt_line()
519 if (*opt_state->pzOptArg == NUL) in load_opt_line()
520 opt_state->pzOptArg = NULL; in load_opt_line()
522 AGDUPSTR(opt_state->pzOptArg, opt_state->pzOptArg, "opt arg"); in load_opt_line()
523 opt_state->flags |= OPTST_ALLOC_ARG; in load_opt_line()
527 if (*opt_state->pzOptArg == NUL) in load_opt_line()
528 opt_state->pzOptArg = zNil; in load_opt_line()
530 AGDUPSTR(opt_state->pzOptArg, opt_state->pzOptArg, "opt arg"); in load_opt_line()
[all …]

123