Searched refs:nopts (Results 1 – 6 of 6) sorted by relevance
| /openbsd/src/usr.bin/ssh/ |
| D | ssh-sk.c | 383 size_t nopts = *noptsp; in sshsk_add_option() local 385 if ((opts = recallocarray(opts, nopts, nopts + 2, /* extra for NULL */ in sshsk_add_option() 391 *noptsp = nopts + 1; in sshsk_add_option() 392 if ((opts[nopts] = calloc(1, sizeof(**opts))) == NULL) { in sshsk_add_option() 396 if ((opts[nopts]->name = strdup(name)) == NULL || in sshsk_add_option() 397 (opts[nopts]->value = strdup(value)) == NULL) { in sshsk_add_option() 401 opts[nopts]->required = required; in sshsk_add_option() 410 size_t nopts = 0; in make_options() local 414 (r = sshsk_add_option(&opts, &nopts, "device", device, 0)) != 0) { in make_options() 419 (r = sshsk_add_option(&opts, &nopts, "user", user_id, 0)) != 0) { in make_options() [all …]
|
| D | ssh-keygen.c | 1502 int print_generic, char * const *opts, size_t nopts) in do_print_resource_record() argument 1510 for (i = 0; i < nopts; i++) { in do_print_resource_record() 2680 sig_process_opts(char * const *opts, size_t nopts, char **hashalgp, in sig_process_opts() argument 2692 for (i = 0; i < nopts; i++) { in sig_process_opts() 2724 int argc, char **argv, char * const *opts, size_t nopts) in sig_sign() argument 2740 if (sig_process_opts(opts, nopts, &hashalg, NULL, NULL) != 0) in sig_sign() 2807 char * const *opts, size_t nopts) in sig_verify() argument 2817 if (sig_process_opts(opts, nopts, NULL, &verify_time, in sig_verify() 2898 char * const *opts, size_t nopts) in sig_find_principals() argument 2906 if (sig_process_opts(opts, nopts, NULL, &verify_time, NULL) != 0) in sig_find_principals() [all …]
|
| /openbsd/src/gnu/llvm/lldb/source/Host/common/ |
| D | GetOptInc.cpp | 79 int cstart, cyclelen, i, j, ncycle, nnonopts, nopts, pos; in permute_args() local 86 nopts = opt_end - panonopt_end; in permute_args() 87 ncycle = gcd(nnonopts, nopts); in permute_args() 97 pos += nopts; in permute_args()
|
| /openbsd/src/lib/libc/stdlib/ |
| D | getopt_long.c | 132 int cstart, cyclelen, i, j, ncycle, nnonopts, nopts, pos; in permute_args() local 139 nopts = opt_end - panonopt_end; in permute_args() 140 ncycle = gcd(nnonopts, nopts); in permute_args() 150 pos += nopts; in permute_args()
|
| /openbsd/src/games/worms/ |
| D | worms.c | 57 int nopts; member 340 switch (op->nopts) { in main() 349 op->opts[arc4random_uniform(op->nopts)]; in main()
|
| /openbsd/src/usr.sbin/amd/amd/ |
| D | afs_ops.c | 1419 char *nopts = xmalloc(strlen(auto_opts)+strlen(dfl)+2); in afs_lookuppn() local 1420 snprintf(nopts, in afs_lookuppn() 1424 auto_opts = nopts; in afs_lookuppn()
|