Home
last modified time | relevance | path

Searched refs:nopts (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/lib/cfgadm_plugins/ac/common/
H A Dmema_test_config.c53 int nopts; in mtest_build_opts() local
58 nopts = sizeof (mtest_table) / sizeof (mtest_table[0]); in mtest_build_opts()
59 *maxerr_idx = nopts; in mtest_build_opts()
64 opt_array = (char **)malloc((nopts + 2) * sizeof (*opt_array)); in mtest_build_opts()
68 for (i = 0; i < nopts; i++) in mtest_build_opts()
71 opt_array[nopts] = "max_errors"; in mtest_build_opts()
72 opt_array[nopts + 1] = NULL; in mtest_build_opts()
/illumos-gate/usr/src/cmd/allocate/
H A Dadd_allocatable.c390 char *kval, *nopts, *ntok, *nstr, in check_args() local
442 if (nopts = (char *)malloc(nlen)) { in check_args()
443 (void) snprintf(nopts, nlen, "%s%s%s%s%s%s%s", in check_args()
447 devinfo->devopts = nopts; in check_args()
458 if (nopts = (char *)malloc(nlen)) { in check_args()
459 (void) snprintf(nopts, nlen, in check_args()
463 devinfo->devopts = nopts; in check_args()
474 if (nopts = (char *)malloc(nlen)) { in check_args()
475 (void) snprintf(nopts, nlen, in check_args()
479 devinfo->devopts = nopts; in check_args()
/illumos-gate/usr/src/cmd/pools/poold/
H A Dpoold.c398 int nopts = 0; in main() local
516 vm_opts[nopts].optionString = malloc(len = strlen(classpath) + in main()
518 (void) strlcpy(vm_opts[nopts].optionString, "-Djava.class.path=", len); in main()
519 (void) strlcat(vm_opts[nopts++].optionString, classpath, len); in main()
523 vm_opts[nopts].optionString = malloc(len = strlen(libpath) + in main()
525 (void) strlcpy(vm_opts[nopts].optionString, "-Djava.library.path=", in main()
527 (void) strlcat(vm_opts[nopts++].optionString, libpath, len); in main()
529 vm_opts[nopts++].optionString = "-Xrs"; in main()
530 vm_opts[nopts++].optionString = "-enableassertions"; in main()
533 vm_args.nOptions = nopts; in main()
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetopt_long.c190 int cstart, cyclelen, i, j, ncycle, nnonopts, nopts, pos; in permute_args() local
197 nopts = opt_end - panonopt_end; in permute_args()
198 ncycle = gcd(nnonopts, nopts); in permute_args()
208 pos += nopts; in permute_args()
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_dof.c926 int i, nopts = 0, len = sizeof (dof_hdr_t) + in dtrace_getopt_dof() local
931 nopts++; in dtrace_getopt_dof()
934 len += sizeof (dof_optdesc_t) * nopts; in dtrace_getopt_dof()
959 sec->dofs_size = sizeof (dof_optdesc_t) * nopts; in dtrace_getopt_dof()
/illumos-gate/usr/src/cmd/th_tools/
H A Dth_define.c2017 int nopts = 0; /* for backward compatibility */ in main() local
2061 nopts++; in main()