Home
last modified time | relevance | path

Searched refs:next_opt (Results 1 – 25 of 139) sorted by relevance

123456

/dports/sysutils/LPRng/lprng-3.8.C/src/common/
H A Dgetopt.c26 next_opt = 0; in Getopt()
55 while( next_opt == 0 || *next_opt == '\0' ){ in Getopt()
69 ++next_opt; in Getopt()
70 if( next_opt[0] == 0 ){ in Getopt()
75 option = *next_opt++; in Getopt()
80 if( *next_opt ){ in Getopt()
105 if (*next_opt != '\0') { in Getopt()
106 Optarg = next_opt; in Getopt()
118 next_opt = 0; in Getopt()
124 Optarg = next_opt; in Getopt()
[all …]
/dports/science/siconos/siconos-4.4.0/numerics/src/tools/
H A DGAMSlink.c385 if (next_opt) \
387 while (next_opt->next_opt) \
389 next_opt = next_opt->next_opt; \
391 next_opt->next_opt = (GAMSP_OPT_T*)malloc(sizeof(GAMSP_OPT_T)); \
392 new_opt = next_opt->next_opt; \
473 next_opt = str_opt->next_opt; in deleteGAMSparams()
483 while(next_opt); in deleteGAMSparams()
492 next_opt = bool_opt->next_opt; in deleteGAMSparams()
498 while(next_opt); in deleteGAMSparams()
507 next_opt = int_opt->next_opt; in deleteGAMSparams()
[all …]
H A DGAMSlink.h40 struct GAMS_opt_bool_* next_opt; /**< Link to the next option*/ member
49 struct GAMS_opt_int_* next_opt; /**< Link to the next option*/ member
58 struct GAMS_opt_double_* next_opt; /**< Link to the next option*/ member
67 struct GAMS_opt_str_* next_opt; /**< Link to the next option*/ member
287 GAMSP_OPT_T* next_opt = GAMSP_OPT_L; \
290 GAMSP_OPT_T* opt = next_opt; \
291 next_opt = opt->next_opt; \
294 while (next_opt); \
/dports/security/cargo-audit/rustsec-cargo-audit-v0.15.2/cargo-audit/cargo-crates/gumdrop-0.7.0/src/
H A Dlib.rs404 pub fn next_opt(&mut self) -> Option<Opt<'a>> { in next_opt() method
660 assert_matches!(p.next_opt(), Some(Opt::Short('a'))); in test_parser()
661 assert_matches!(p.next_opt(), Some(Opt::Free("b"))); in test_parser()
662 assert_matches!(p.next_opt(), Some(Opt::Short('c'))); in test_parser()
670 assert_matches!(p.next_opt(), Some(Opt::Free("y"))); in test_parser()
672 assert_matches!(p.next_opt(), None); in test_parser()
682 assert_matches!(p.next_opt(), Some(Opt::Free("b"))); in test_parsing_style()
684 assert_matches!(p.next_opt(), Some(Opt::Long("d"))); in test_parsing_style()
685 assert_matches!(p.next_opt(), None); in test_parsing_style()
690 assert_matches!(p.next_opt(), Some(Opt::Free("b"))); in test_parsing_style()
[all …]
/dports/security/cargo-audit/rustsec-cargo-audit-v0.15.2/cargo-audit/cargo-crates/gumdrop-0.8.0/src/
H A Dlib.rs542 pub fn next_opt(&mut self) -> Option<Opt<'a>> { in next_opt() method
694 assert_matches!(p.next_opt(), Some(Opt::Short('a'))); in test_parser()
695 assert_matches!(p.next_opt(), Some(Opt::Free("b"))); in test_parser()
696 assert_matches!(p.next_opt(), Some(Opt::Short('c'))); in test_parser()
704 assert_matches!(p.next_opt(), Some(Opt::Free("y"))); in test_parser()
706 assert_matches!(p.next_opt(), None); in test_parser()
716 assert_matches!(p.next_opt(), Some(Opt::Free("b"))); in test_parsing_style()
718 assert_matches!(p.next_opt(), Some(Opt::Long("d"))); in test_parsing_style()
719 assert_matches!(p.next_opt(), None); in test_parsing_style()
724 assert_matches!(p.next_opt(), Some(Opt::Free("b"))); in test_parsing_style()
[all …]
/dports/multimedia/mencoder/mplayer-export-2021-12-29/
H A Dav_opts.c43 char *next_opt, *arg; in parse_avopts() local
45 next_opt= strchr(str, ','); in parse_avopts()
46 if(next_opt) *next_opt++= 0; in parse_avopts()
55 str= next_opt; in parse_avopts()
/dports/multimedia/mplayer/mplayer-export-2021-12-29/
H A Dav_opts.c43 char *next_opt, *arg; in parse_avopts() local
45 next_opt= strchr(str, ','); in parse_avopts()
46 if(next_opt) *next_opt++= 0; in parse_avopts()
55 str= next_opt; in parse_avopts()
/dports/devel/cccc/cccc-3.1.6/cccc/
H A Dccccmain.cc176 if(next_opt=="--outdir") in HandleArgs()
180 else if(next_opt=="--db_infile") in HandleArgs()
184 else if(next_opt=="--db_outfile") in HandleArgs()
188 else if(next_opt=="--opt_infile") in HandleArgs()
192 else if(next_opt=="--opt_outfile") in HandleArgs()
196 else if(next_opt=="--html_outfile") in HandleArgs()
200 else if(next_opt=="--xml_outfile") in HandleArgs()
205 else if(next_opt=="--lang") in HandleArgs()
209 else if(next_opt=="--report_mask") in HandleArgs()
216 else if(next_opt=="--debug_mask") in HandleArgs()
[all …]
/dports/security/rhash/RHash-1.4.2/
H A Dparse_cmdline.c867 parsed_option_t* next_opt; in parse_cmdline_options() local
888 next_opt->name = ""; in parse_cmdline_options()
889 next_opt->o = &cmdline_file; in parse_cmdline_options()
890 next_opt->parameter = *parg; in parse_cmdline_options()
900 apply_option(&opt, next_opt); in parse_cmdline_options()
919 next_opt->buf[0] = '-', next_opt->buf[1] = ch, next_opt->buf[2] = '\0'; in parse_cmdline_options()
920 next_opt->name = next_opt->buf; in parse_cmdline_options()
921 next_opt->parameter = NULL; in parse_cmdline_options()
926 next_opt->o = t; in parse_cmdline_options()
929 if (!next_opt->parameter) { in parse_cmdline_options()
[all …]
/dports/net-p2p/c-lightning/lightning-0.10.2/ccan/ccan/opt/
H A Dopt.c44 static const char *next_opt(const char *p, unsigned *i, unsigned *len) in next_opt() function
61 for (p = first_opt(i, len); p; p = next_opt(p, i, len)) { in first_lopt()
74 for (p = next_opt(p, i, len); p; p = next_opt(p, i, len)) { in next_lopt()
90 for (p = first_opt(i, &len); p; p = next_opt(p, i, &len)) { in first_sopt()
100 for (p = next_opt(p, i, &len); p; p = next_opt(p, i, &len)) { in next_sopt()
/dports/multimedia/libv4l/linux-5.13-rc2/net/dns_resolver/
H A Ddns_key.c143 const char *next_opt; in dns_resolver_preparse() local
153 next_opt = memchr(opt, '#', end - opt) ?: end; in dns_resolver_preparse()
154 opt_len = next_opt - opt; in dns_resolver_preparse()
165 memcpy(optval, eq, next_opt - eq); in dns_resolver_preparse()
166 optval[next_opt - eq] = '\0'; in dns_resolver_preparse()
197 } while (opt = next_opt + 1, opt < end); in dns_resolver_preparse()
/dports/multimedia/v4l_compat/linux-5.13-rc2/net/dns_resolver/
H A Ddns_key.c143 const char *next_opt; in dns_resolver_preparse() local
153 next_opt = memchr(opt, '#', end - opt) ?: end; in dns_resolver_preparse()
154 opt_len = next_opt - opt; in dns_resolver_preparse()
165 memcpy(optval, eq, next_opt - eq); in dns_resolver_preparse()
166 optval[next_opt - eq] = '\0'; in dns_resolver_preparse()
197 } while (opt = next_opt + 1, opt < end); in dns_resolver_preparse()
/dports/multimedia/v4l-utils/linux-5.13-rc2/net/dns_resolver/
H A Ddns_key.c143 const char *next_opt; in dns_resolver_preparse() local
153 next_opt = memchr(opt, '#', end - opt) ?: end; in dns_resolver_preparse()
154 opt_len = next_opt - opt; in dns_resolver_preparse()
165 memcpy(optval, eq, next_opt - eq); in dns_resolver_preparse()
166 optval[next_opt - eq] = '\0'; in dns_resolver_preparse()
197 } while (opt = next_opt + 1, opt < end); in dns_resolver_preparse()
/dports/multimedia/scte35dump/scte35dump-0.1.6/cargo-crates/itertools-0.4.19/src/
H A Dziptrusted.rs121 let next_opt = $B.next(); localVariable
124 ::std::intrinsics::assume(match next_opt {
128 $B = match next_opt {
/dports/databases/grass7/grass-7.8.6/lib/gis/
H A Dparser_json.c226 for (opt = &st->first_option; opt; opt = opt->next_opt) { in G__json()
272 for (opt = &st->first_option; opt; opt = opt->next_opt) { in G__json()
312 for (opt = &st->first_option; opt; opt = opt->next_opt) { in G__json()
H A Dparser.c218 st->current_option->next_opt = opt; in G_define_option()
440 opt = opt->next_opt; in G_parser()
807 opt = opt->next_opt; in recreate_command()
893 opt = opt->next_opt; in G__uses_new_gisprompt()
1099 for (at_opt = &st->first_option; at_opt; at_opt = at_opt->next_opt) { in set_option()
1156 for (at_opt = &st->first_option; at_opt; at_opt = at_opt->next_opt) { in set_option()
1222 opt = opt->next_opt; in check_opts()
1463 opt = opt->next_opt; in check_required()
1520 opt = opt->next_opt; in split_opts()
1557 opt = opt->next_opt; in check_multiple_opts()
[all …]
H A Dparser_rest.c129 opt = opt->next_opt; in G__usage_rest()
258 opt = opt->next_opt; in G__usage_rest()
/dports/x11/xdialog/Xdialog-2.3.1/src/
H A Dmain.c461 int list_size, next_opt, i; in get_list_size() local
476 next_opt = argc; in get_list_size()
480 next_opt = i; in get_list_size()
484 list_size = (next_opt - *optind) / parameters; in get_list_size()
486 if (list_size * parameters + *optind != next_opt) in get_list_size()
498 int next_opt, i; in param_number() local
500 next_opt = argc; in param_number()
504 next_opt = i; in param_number()
508 return (next_opt - *optind); in param_number()
/dports/devel/autogen/autogen-5.18.16/autoopts/
H A Dautoopts.c215 next_opt(tOptions * opts, tOptState * o_st) in next_opt() function
248 switch (next_opt(opts, &opt_st)) { in regular_opts()
/dports/security/gnutls/gnutls-3.6.16/src/libopts/
H A Dautoopts.c215 next_opt(tOptions * opts, tOptState * o_st) in next_opt() function
248 switch (next_opt(opts, &opt_st)) { in regular_opts()
/dports/textproc/dwdiff/dwdiff-2.1.4/src/
H A DoptionMacros.h134 next_opt:
150 goto next_opt; \
/dports/net/ntp/ntp-4.2.8p15/sntp/libopts/
H A Dautoopts.c221 next_opt(tOptions * opts, tOptState * o_st) in next_opt() function
254 switch (next_opt(opts, &opt_st)) { in regular_opts()
/dports/archivers/sharutils/sharutils-4.15.2/libopts/
H A Dautoopts.c221 next_opt(tOptions * opts, tOptState * o_st) in next_opt() function
254 switch (next_opt(opts, &opt_st)) { in regular_opts()
/dports/net-mgmt/tcpreplay/tcpreplay-4.3.4/libopts/
H A Dautoopts.c221 next_opt(tOptions * opts, tOptState * o_st) in next_opt() function
254 switch (next_opt(opts, &opt_st)) { in regular_opts()
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/ethernet/google/gve/
H A Dgve_adminq.c583 struct gve_device_option *next_opt; in gve_adminq_describe_device() local
585 next_opt = gve_get_next_option(descriptor, dev_opt); in gve_adminq_describe_device()
586 if (!next_opt) { in gve_adminq_describe_device()
594 dev_opt = next_opt; in gve_adminq_describe_device()

123456