Home
last modified time | relevance | path

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

/titanic_44/usr/src/lib/cfgadm_plugins/ac/common/
H A Dmema_test_config.c55 int nopts; in mtest_build_opts() local
60 nopts = sizeof (mtest_table) / sizeof (mtest_table[0]); in mtest_build_opts()
61 *maxerr_idx = nopts; in mtest_build_opts()
66 opt_array = (char **)malloc((nopts + 2) * sizeof (*opt_array)); in mtest_build_opts()
70 for (i = 0; i < nopts; i++) in mtest_build_opts()
73 opt_array[nopts] = "max_errors"; in mtest_build_opts()
74 opt_array[nopts + 1] = NULL; in mtest_build_opts()
/titanic_44/usr/src/cmd/allocate/
H A Dadd_allocatable.c392 char *kval, *nopts, *ntok, *nstr, in check_args() local
444 if (nopts = (char *)malloc(nlen)) { in check_args()
445 (void) snprintf(nopts, nlen, "%s%s%s%s%s%s%s", in check_args()
449 devinfo->devopts = nopts; in check_args()
460 if (nopts = (char *)malloc(nlen)) { in check_args()
461 (void) snprintf(nopts, nlen, in check_args()
465 devinfo->devopts = nopts; in check_args()
476 if (nopts = (char *)malloc(nlen)) { in check_args()
477 (void) snprintf(nopts, nlen, in check_args()
481 devinfo->devopts = nopts; in check_args()
/titanic_44/usr/src/cmd/pools/poold/
H A Dpoold.c410 int nopts = 0; in main() local
528 vm_opts[nopts].optionString = malloc(len = strlen(classpath) + in main()
530 (void) strlcpy(vm_opts[nopts].optionString, "-Djava.class.path=", len); in main()
531 (void) strlcat(vm_opts[nopts++].optionString, classpath, len); in main()
535 vm_opts[nopts].optionString = malloc(len = strlen(libpath) + in main()
537 (void) strlcpy(vm_opts[nopts].optionString, "-Djava.library.path=", in main()
539 (void) strlcat(vm_opts[nopts++].optionString, libpath, len); in main()
541 vm_opts[nopts++].optionString = "-Xrs"; in main()
542 vm_opts[nopts++].optionString = "-enableassertions"; in main()
545 vm_args.nOptions = nopts; in main()
/titanic_44/usr/src/lib/libc/port/gen/
H A Dgetopt_long.c187 int cstart, cyclelen, i, j, ncycle, nnonopts, nopts, pos; in permute_args() local
194 nopts = opt_end - panonopt_end; in permute_args()
195 ncycle = gcd(nnonopts, nopts); in permute_args()
205 pos += nopts; in permute_args()
/titanic_44/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()
/titanic_44/usr/src/cmd/th_tools/
H A Dth_define.c2025 int nopts = 0; /* for backward compatibility */ in main() local
2069 nopts++; in main()