Home
last modified time | relevance | path

Searched refs:optstr (Results 1 – 25 of 69) sorted by relevance

123

/titanic_51/usr/src/cmd/auditreduce/
H A Doption.c441 * .call ret = proc_type(optstr).
442 * .arg optstr - ptr to name or number.
447 proc_type(char *optstr) in proc_type() argument
461 if (a_isnum(optstr, TRUE)) { in proc_type()
462 if ((aep = getauevnam(optstr)) != NULL) in proc_type()
465 if ((aep = getauevnum((au_event_t)atoi(optstr))) != in proc_type()
470 (void) sprintf(errbuf, gettext("invalid event (%s)"), optstr); in proc_type()
514 * .call ret = proc_id(optstr, opt).
515 * .arg optstr - ptr to name or number.
522 proc_id(char *optstr, in argument
575 proc_group(char * optstr,gid_t * gid) proc_group() argument
595 proc_user(char * optstr,uid_t * uid) proc_user() argument
626 proc_date(char * optstr,int opt) proc_date() argument
671 proc_class(char * optstr) proc_class() argument
1140 proc_label(char * optstr) proc_label() argument
1250 proc_zonename(char * optstr) proc_zonename() argument
1273 proc_fmri(char * optstr) proc_fmri() argument
[all...]
/titanic_51/usr/src/cmd/ipf/tools/
H A Dipfzone.c34 getzonearg(int argc, char *argv[], const char *optstr) in getzonearg() argument
49 while ((c = getopt(argc, argv, optstr)) != -1) { in getzonearg()
69 getzoneopt(int argc, char *argv[], const char *optstr) in getzoneopt() argument
79 while ((c = getopt(argc, argv, optstr)) != -1) { in getzoneopt()
H A Dipf.c80 const char *optstr = "6Ac:dDEf:F:GIl:noPrRsT:vVyzZ"; local
92 getzonearg(argc, argv, optstr);
94 while ((c = getopt(argc, argv, optstr)) != -1) {
/titanic_51/usr/src/cmd/boot/bootadm/
H A Dbootadm_hyper.c326 cvt_metal_option(char *optstr) in cvt_metal_option() argument
331 if (strcmp(optstr, ZFS_BOOTSTR) == 0) { in cvt_metal_option()
336 if ((value = strchr(optstr, '=')) == NULL) in cvt_metal_option()
339 namlen = value - optstr; in cvt_metal_option()
344 if (strncmp(optstr, "console", namlen) == 0) { in cvt_metal_option()
349 if ((strncmp(optstr, "ttya-mode", namlen) == 0) || in cvt_metal_option()
350 (strncmp(optstr, "ttyb-mode", namlen) == 0)) { in cvt_metal_option()
351 char *port = strndupa(optstr, namlen); in cvt_metal_option()
371 cvt_hyper_option(char *optstr) in cvt_hyper_option() argument
383 if (strcmp(optstr, ZFS_BOOTST in cvt_hyper_option()
[all...]
/titanic_51/usr/src/lib/libshell/common/bltins/
H A Dmisc.c399 register const char *optstr = sh_optbg; in b_bg() local
401 optstr = sh_optfg; in b_bg()
403 optstr = sh_optdisown; in b_bg()
404 while((n = optget(argv,optstr))) switch(n) in b_bg()
510 register const char *optstr; in b_vpath() local
515 optstr = sh_optvpath; in b_vpath()
520 optstr = sh_optvmap; in b_vpath()
523 while(n = optget(argv, optstr)) switch(n) in b_vpath()
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/bltins/
H A Dmisc.c400 register const char *optstr = sh_optbg; in b_bg() local
402 optstr = sh_optfg; in b_bg()
404 optstr = sh_optdisown; in b_bg()
405 while((n = optget(argv,optstr))) switch(n) in b_bg()
514 register const char *optstr; in b_vpath() local
519 optstr = sh_optvpath; in b_vpath()
524 optstr = sh_optvmap; in b_vpath()
527 while(n = optget(argv, optstr)) switch(n) in b_vpath()
/titanic_51/usr/src/cmd/tbl/
H A Dt3.c21 struct optstr {char *optnam; int *optadd;} options [] = { argument
50 struct optstr *lp; in getcomm()
/titanic_51/usr/src/cmd/fs.d/ufs/roll_log/
H A Droll_log.c380 char *optstr; in rlmount() local
395 optstr = MNTOPT_RO; in rlmount()
399 optstr = MNTOPT_RW; in rlmount()
406 optstr, MNTOPT_NOSUID, MNTOPT_LARGEFILES); in rlmount()
/titanic_51/usr/src/cmd/fm/fmd/common/
H A Dfmd_main.c239 const char optstr[] = "f:o:R:V"; in main() local
250 while ((c = getopt(argc, argv, optstr)) != EOF) { in main()
289 for (optind = 1; (c = getopt(argc, argv, optstr)) != EOF; ) { in main()
/titanic_51/usr/src/cmd/cmd-inet/usr.bin/tftp/
H A Dtftp.c482 blksize_handler(char *optstr) in blksize_handler() argument
491 value = (int)strtol(optstr, &endp, 10); in blksize_handler()
504 timeout_handler(char *optstr) in timeout_handler() argument
513 value = (int)strtol(optstr, &endp, 10); in timeout_handler()
528 tsize_handler(char *optstr) in tsize_handler() argument
537 value = strtoll(optstr, &endp, 10); in tsize_handler()
/titanic_51/usr/src/cmd/dtrace/test/cmd/jdtrace/
H A DGetopt.java114 * Generalized error processing method. If the optstr parameter is
119 err(String format, char c, String optstr) in err() argument
124 p.printf(format, progname, (optstr == null ? in err()
125 Character.toString(c) : optstr.substring(2))); in err()
/titanic_51/usr/src/cmd/fm/ipmitopo/common/
H A Dipmitopo.c31 static const char optstr[] = "h:p:u:t:"; variable
142 while ((c = getopt(argc, argv, optstr)) != -1) in main()
/titanic_51/usr/src/cmd/pcidr/
H A Dpcidr.c543 char *optstr = NULL; in main() local
563 optstr = "hsv:l:"; in main()
567 optstr = "sv:l:"; in main()
570 while ((c = getopt(argc, argv, optstr)) != -1) { in main()
/titanic_51/usr/src/lib/cfgadm_plugins/sbd/common/
H A Dap.c513 char *optstr; in ap_opt_parse() local
526 if ((optstr = strdup(options)) == NULL) { in ap_opt_parse()
531 a->options = optstr; in ap_opt_parse()
536 while (*optstr != '\0') { in ap_opt_parse()
545 opt = getsubopt(&optstr, ap_opt_names, &value); in ap_opt_parse()
/titanic_51/usr/src/cmd/pgrep/
H A Dpgrep.c597 const char *optstr; in main() local
622 optstr = PKILL_OPTS; in main()
625 optstr = PGREP_OPTS; in main()
630 while ((c = getopt(argc, argv, optstr)) != (int)EOF) { in main()
/titanic_51/usr/src/lib/libbe/common/
H A Dbe_mount.c1657 char optstr[MAX_MNTOPT_STR]; in loopback_mount_shared_fs() local
1695 (void) strlcpy(optstr, MNTOPT_NOSUB, sizeof (optstr)); in loopback_mount_shared_fs()
1699 NULL, 0, optstr, sizeof (optstr)) != 0) { in loopback_mount_shared_fs()
1738 char optstr[MAX_MNTOPT_STR]; in loopback_mount_zonepath() local
1834 (void) strlcpy(optstr, MNTOPT_NOSUB, sizeof (optstr)); in loopback_mount_zonepath()
1838 NULL, 0, optstr, sizeof (optstr)) ! in loopback_mount_zonepath()
[all...]
/titanic_51/usr/src/contrib/ast/src/lib/libast/astsa/
H A Doption.h102 extern int optstr(const char*, const char*);
/titanic_51/usr/src/lib/libast/common/include/
H A Doption.h100 extern int optstr(const char*, const char*);
/titanic_51/usr/src/contrib/ast/src/lib/libast/include/
H A Doption.h100 extern int optstr(const char*, const char*);
/titanic_51/usr/src/boot/sys/boot/arm/at91/boot2/
H A Dboot2.c43 static const char optstr[NOPT] = "agnrsv"; variable
229 for (i = 0; c != optstr[i]; i++) in parse()
/titanic_51/usr/src/lib/libast/i386/include/ast/
H A Doption.h113 extern __MANGLE__ int optstr __PROTO__((const char*, const char*));
/titanic_51/usr/src/lib/libast/amd64/include/ast/
H A Doption.h113 extern __MANGLE__ int optstr __PROTO__((const char*, const char*));
/titanic_51/usr/src/lib/libast/sparcv9/include/ast/
H A Doption.h113 extern __MANGLE__ int optstr __PROTO__((const char*, const char*));
/titanic_51/usr/src/lib/libast/sparc/include/ast/
H A Doption.h113 extern __MANGLE__ int optstr __PROTO__((const char*, const char*));
/titanic_51/usr/src/cmd/tnf/tnfdump/
H A Dmain.c99 char *optstr = "rx"; in scanargs() local
101 while ((c = getopt(argc, argv, optstr)) != EOF) { in scanargs()

123