Searched refs:opts_av (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-crypto/kmfcfg/
H A Dutil.c46 static av_opts *opts_av = NULL; variable
383 realloc(opts_av, (i+1) * sizeof (av_opts)))) == NULL) {
384 free(opts_av);
385 opts_av = NULL;
388 opts_av = (av_opts *)temp;
392 opts_av[i].shortnm = *marker++; /* set short name */
396 opts_av[i].has_arg = B_TRUE;
401 opts_av[i].longnm = marker;
402 opts_av[i].longnm_len = strcspn(marker, ")");
403 optstring = marker + opts_av[
[all...]
/illumos-gate/usr/src/cmd/cmd-crypto/pktool/
H A Dcommon.c58 static av_opts *opts_av = NULL; variable
407 realloc(opts_av, (i+1) * sizeof (av_opts)))) == NULL) {
408 if (opts_av != NULL)
409 free(opts_av);
410 opts_av = NULL;
413 opts_av = (av_opts *)temp;
416 (void) memset(&opts_av[i], 0, sizeof (av_opts));
419 opts_av[i].shortnm = *marker++; /* set short name */
423 opts_av[i].has_arg = B_TRUE;
428 opts_av[
[all...]

Completed in 874 milliseconds