| /titanic_53/usr/src/cmd/auditreduce/ |
| H A D | option.c | 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() 522 proc_id(char *optstr, int opt) in proc_id() argument 532 return (proc_user(optstr, &m_usere)); in proc_id() 540 return (proc_group(optstr, &m_groupe)); in proc_id() 548 return (proc_user(optstr, &m_userr)); in proc_id() 556 return (proc_user(optstr, &m_usera)); in proc_id() [all …]
|
| /titanic_53/usr/src/cmd/ipf/tools/ |
| H A D | ipfzone.c | 34 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 D | ipf.c | 80 const char *optstr = "6Ac:dDEf:F:GIl:noPrRsT:vVyzZ"; local 92 getzonearg(argc, argv, optstr); 94 while ((c = getopt(argc, argv, optstr)) != -1) {
|
| /titanic_53/usr/src/cmd/boot/bootadm/ |
| H A D | bootadm_hyper.c | 326 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_BOOTSTR) == 0) { in cvt_hyper_option() [all …]
|
| /titanic_53/usr/src/contrib/ast/src/cmd/ksh93/bltins/ |
| H A D | misc.c | 400 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_53/usr/src/cmd/fs.d/ufs/roll_log/ |
| H A D | roll_log.c | 380 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_53/usr/src/cmd/tbl/ |
| H A D | t3.c | 21 struct optstr {char *optnam; int *optadd;} options [] = { struct 50 struct optstr *lp; in getcomm()
|
| /titanic_53/usr/src/cmd/fm/fmd/common/ |
| H A D | fmd_main.c | 239 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_53/usr/src/cmd/cmd-inet/usr.bin/tftp/ |
| H A D | tftp.c | 482 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_53/usr/src/cmd/dtrace/test/cmd/jdtrace/ |
| H A D | Getopt.java | 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_53/usr/src/cmd/fm/ipmitopo/common/ |
| H A D | ipmitopo.c | 31 static const char optstr[] = "h:p:u:t:"; variable 142 while ((c = getopt(argc, argv, optstr)) != -1) in main()
|
| /titanic_53/usr/src/cmd/pcidr/ |
| H A D | pcidr.c | 543 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_53/usr/src/lib/cfgadm_plugins/sbd/common/ |
| H A D | ap.c | 513 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_53/usr/src/cmd/pgrep/ |
| H A D | pgrep.c | 597 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_53/usr/src/lib/libbe/common/ |
| H A D | be_mount.c | 1657 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)) != 0) { in loopback_mount_zonepath()
|
| /titanic_53/usr/src/contrib/ast/src/lib/libast/astsa/ |
| H A D | option.h | 102 extern int optstr(const char*, const char*);
|
| /titanic_53/usr/src/boot/sys/boot/arm/at91/boot2/ |
| H A D | boot2.c | 43 static const char optstr[NOPT] = "agnrsv"; variable 229 for (i = 0; c != optstr[i]; i++) in parse()
|
| /titanic_53/usr/src/contrib/ast/src/lib/libast/include/ |
| H A D | option.h | 100 extern int optstr(const char*, const char*);
|
| /titanic_53/usr/src/cmd/tnf/tnfdump/ |
| H A D | main.c | 99 char *optstr = "rx"; in scanargs() local 101 while ((c = getopt(argc, argv, optstr)) != EOF) { in scanargs()
|
| /titanic_53/usr/src/cmd/cmd-crypto/digest/ |
| H A D | digest.c | 141 char *optstr; in main() local 171 optstr = MAC_OPTIONS; in main() 173 optstr = DIGEST_OPTIONS; in main() 177 while (!errflag && (c = getopt(argc, argv, optstr)) != -1) { in main()
|
| /titanic_53/usr/src/lib/madv/common/ |
| H A D | madv.c | 305 advice_opts(char *optstr, const char *execname, char *cfgfile, int lineno) in advice_opts() argument 311 while (*optstr != '\0') { in advice_opts() 312 opt = getsubopt(&optstr, legal_optstr, &value); in advice_opts()
|
| /titanic_53/usr/src/cmd/tnf/tnfxtract/ |
| H A D | tnfxtract.c | 241 const char *optstr = "d:n:"; in main() local 257 while ((c = getopt(argc, argv, optstr)) != EOF) { in main()
|
| /titanic_53/usr/src/boot/sys/boot/arm/ixp425/boot2/ |
| H A D | boot2.c | 38 static const char optstr[NOPT] = "agnrsv"; variable 236 for (i = 0; c != optstr[i]; i++) in parse()
|
| /titanic_53/usr/src/cmd/tnf/prex/ |
| H A D | main.c | 571 char *optstr = "l:o:p:s:tkv:"; /* debugging options */ in scanargs() local 573 char *optstr = "l:o:p:s:tk"; /* production options */ in scanargs() local 584 while ((c = getopt(argc, argv, optstr)) != EOF) { in scanargs()
|
| /titanic_53/usr/src/cmd/allocate/ |
| H A D | allocate3.c | 1843 char *optstr = NULL; in update_device() local 1855 if ((optstr = (char *)malloc(len)) == NULL) in update_device() 1857 (void) snprintf(optstr, len, "%s%s%s", DAOPT_ZONE, KV_ASSIGN, in update_device() 1859 devinfo.devopts = optstr; in update_device() 1865 if (optstr) in update_device() 1866 free(optstr); in update_device()
|