Lines Matching refs:nopts
372 size_t nopts = *noptsp; in sshsk_add_option() local
374 if ((opts = recallocarray(opts, nopts, nopts + 2, /* extra for NULL */ in sshsk_add_option()
380 *noptsp = nopts + 1; in sshsk_add_option()
381 if ((opts[nopts] = calloc(1, sizeof(**opts))) == NULL) { in sshsk_add_option()
385 if ((opts[nopts]->name = strdup(name)) == NULL || in sshsk_add_option()
386 (opts[nopts]->value = strdup(value)) == NULL) { in sshsk_add_option()
390 opts[nopts]->required = required; in sshsk_add_option()
399 size_t nopts = 0; in make_options() local
403 (r = sshsk_add_option(&opts, &nopts, "device", device, 0)) != 0) { in make_options()
408 (r = sshsk_add_option(&opts, &nopts, "user", user_id, 0)) != 0) { in make_options()
415 nopts = 0; in make_options()