Searched refs:optc (Results 1 – 14 of 14) sorted by relevance
/freebsd/contrib/openpam/lib/libpam/ |
H A D | openpam_set_option.c | 74 for (i = 0; i < cur->optc; ++i) { in openpam_set_option() 81 if (i == cur->optc) in openpam_set_option() 83 for (free(cur->optv[i]); i < cur->optc; ++i) in openpam_set_option() 86 --cur->optc; in openpam_set_option() 91 if (i == cur->optc) { in openpam_set_option() 93 optv = realloc(cur->optv, sizeof(char *) * (cur->optc + 2)); in openpam_set_option() 101 ++cur->optc; in openpam_set_option()
|
H A D | openpam_configure.c | 274 this->optc = wordc - i; in openpam_parse_chain() 275 for (i = 0; i < wordc - this->optc; ++i) { in openpam_parse_chain() 278 for (i = 0; i < this->optc; ++i) { in openpam_parse_chain() 279 wordv[i] = wordv[wordc - this->optc + i]; in openpam_parse_chain() 280 wordv[wordc - this->optc + i] = NULL; in openpam_parse_chain() 317 if (this && this->optc && this->optv) in openpam_parse_chain() 318 FREEV(this->optc, this->optv); in openpam_parse_chain()
|
H A D | openpam_get_option.c | 67 for (i = 0; i < cur->optc; ++i) { in openpam_get_option()
|
H A D | openpam_load.c | 111 FREEV(chain->optc, chain->optv); in openpam_destroy_chain()
|
H A D | openpam_impl.h | 74 int optc; member
|
H A D | openpam_dispatch.c | 118 chain->optc, (const char **)(intptr_t)chain->optv); in openpam_dispatch()
|
/freebsd/contrib/flex/src/ |
H A D | scanopt.c | 55 int optc; /* Number of options. */ member 144 s->optc = 0; in scanopt_init() 154 s->optc = 0; in scanopt_init() 155 while (options[s->optc].opt_fmt in scanopt_init() 156 || options[s->optc].r_val || options[s->optc].desc) in scanopt_init() 157 s->optc++; in scanopt_init() 160 s->aux = malloc((size_t) s->optc * sizeof (struct _aux)); in scanopt_init() 162 for (i = 0; i < s->optc; i++) { in scanopt_init() 264 store = malloc((size_t) s->optc * sizeof (usg_elem)); in scanopt_usage() 265 for (i = 0; i < s->optc; i++) { in scanopt_usage() [all …]
|
/freebsd/contrib/sendmail/libsm/ |
H A D | cf.c | 41 sm_cf_getopt(path, optc, optv) 43 int optc; variable 82 for (i = 0; i < optc; ++i)
|
/freebsd/usr.sbin/ppp/ |
H A D | main.c | 213 int optc, newmode, arg; in ProcessArgs() local 216 optc = 0; in ProcessArgs() 221 for (arg = 1; arg < argc && *argv[arg] == '-'; arg++, optc++) { in ProcessArgs() 232 optc--; /* this option isn't exclusive */ in ProcessArgs() 242 optc--; /* this option isn't exclusive */ in ProcessArgs() 244 optc--; /* this option isn't exclusive */ in ProcessArgs() 246 optc--; /* nor is the argument */ in ProcessArgs() 256 optc--; /* this option isn't exclusive */ in ProcessArgs() 272 if (optc > 1) { in ProcessArgs()
|
/freebsd/contrib/less/ |
H A D | option.c | 66 char optc; in scan_option() 112 switch (optc = *s++) in scan_option() 169 optc = 'z'; in scan_option() 173 optc = 'z'; in scan_option() 184 printopt = propt(optc); in scan_option() 185 lc = ASCII_IS_LOWER(optc); in scan_option() 186 o = findopt(optc); in scan_option() 67 int optc; scan_option() local
|
/freebsd/bin/sh/ |
H A D | miscbltin.c | 521 int optc, what; in ulimitcmd() local 525 while ((optc = nextopt("HSatfdsmcnuvlbpwkoy")) != '\0') in ulimitcmd() 526 switch (optc) { in ulimitcmd() 537 what = optc; in ulimitcmd()
|
/freebsd/contrib/sendmail/include/sm/ |
H A D | cf.h | 26 int optc,
|
/freebsd/contrib/openpam/bin/openpam_dump_policy/ |
H A D | openpam_dump_policy.c | 106 printf("\t.optc = %d,\n", chain->optc); in openpam_dump_chain()
|
/freebsd/usr.sbin/crunch/crunchgen/ |
H A D | crunchgen.c | 131 int optc; in main() local 148 while((optc = getopt(argc, argv, "lh:m:c:e:p:foq")) != -1) { in main() 149 switch(optc) { in main()
|