Searched refs:optarg (Results 1 - 25 of 1034) sorted by relevance

1234567891011>>

/netbsd-current/tests/usr.bin/xlint/lint1/
H A Dmsg_339.c9 extern char *optarg;
27 while (optarg[0] != '\0')
28 optarg++;
39 switch (optarg[0]) {
H A Dmsg_338.c9 extern char *optarg;
27 while (optarg[0] != '\0')
28 optarg++;
39 switch (optarg[0]) {
/netbsd-current/external/bsd/pkg_install/dist/create/
H A Dmain.c84 CompressionType = optarg;
88 realprefix = optarg;
99 Prefix = optarg;
103 SizePkg = optarg;
107 SizeAll = optarg;
111 Contents = optarg;
115 Comment = optarg;
119 Desc = optarg;
123 DefaultGroup = optarg;
127 Install = optarg;
[all...]
/netbsd-current/external/bsd/libpcap/dist/missing/
H A Dgetopt.h4 extern char *optarg; /* getopt(3) external variables */
/netbsd-current/external/gpl3/binutils/dist/gprof/
H A Dgprof.c217 if (optarg)
219 sym_id_add (optarg, INCL_ANNO);
235 if (optarg)
237 sym_id_add (optarg, INCL_EXEC);
243 if (optarg)
245 debug_level |= atoi (optarg);
261 sym_id_add (optarg, EXCL_TIME);
264 sym_id_add (optarg, EXCL_GRAPH);
267 sym_id_add (optarg, INCL_TIME);
270 sym_id_add (optarg, INCL_GRAP
[all...]
/netbsd-current/external/bsd/iscsi/dist/src/target/
H A Discsi-target.c68 iscsi_target_setvar(&tgt, "blocklen", optarg);
74 iscsi_target_setvar(&tgt, "configfile", optarg);
77 iscsi_target_setvar(&tgt, "target port", optarg);
80 if ((i = atoi(optarg)) > 0 && i < 128) {
81 iscsi_target_setvar(&tgt, "max sessions", optarg);
85 iscsi_target_setvar(&tgt, "iqn", optarg);
92 if (strcmp(optarg, "net") == 0) {
94 } else if (strcmp(optarg, "iscsi") == 0) {
96 } else if (strcmp(optarg, "scsi") == 0) {
98 } else if (strcmp(optarg, "al
[all...]
/netbsd-current/usr.bin/hexdump/
H A Dhexsyntax.c84 add(optarg);
87 addfile(optarg);
90 if ((length = atoi(optarg)) < 0)
91 errx(1, "%s: bad length value", optarg);
98 if ((skip = strtol(optarg, &p, 0)) < 0)
99 errx(1, "%s: bad skip value", optarg);
/netbsd-current/usr.sbin/btpand/
H A Dbtpand.c95 if (!bt_aton(optarg, &remote_bdaddr)) {
98 if ((he = bt_gethostbyname(optarg)) == NULL)
100 optarg, hstrerror(h_errno));
108 control_path = optarg;
112 if (!bt_devaddr(optarg, &local_bdaddr))
113 err(EXIT_FAILURE, "%s", optarg);
118 if (strchr(optarg, '/') == NULL) {
119 asprintf(&ep, "/dev/%s", optarg);
122 interface_name = optarg;
128 ul = strtoul(optarg,
[all...]
/netbsd-current/external/gpl3/binutils.old/dist/gprof/
H A Dgprof.c219 if (optarg)
221 sym_id_add (optarg, INCL_ANNO);
237 if (optarg)
239 sym_id_add (optarg, INCL_EXEC);
245 if (optarg)
247 debug_level |= atoi (optarg);
263 sym_id_add (optarg, EXCL_TIME);
266 sym_id_add (optarg, EXCL_GRAPH);
269 sym_id_add (optarg, INCL_TIME);
272 sym_id_add (optarg, INCL_GRAP
[all...]
/netbsd-current/external/gpl3/gdb.old/dist/gprof/
H A Dgprof.c217 if (optarg)
219 sym_id_add (optarg, INCL_ANNO);
235 if (optarg)
237 sym_id_add (optarg, INCL_EXEC);
243 if (optarg)
245 debug_level |= atoi (optarg);
261 sym_id_add (optarg, EXCL_TIME);
264 sym_id_add (optarg, EXCL_GRAPH);
267 sym_id_add (optarg, INCL_TIME);
270 sym_id_add (optarg, INCL_GRAP
[all...]
/netbsd-current/external/bsd/openldap/dist/include/
H A Dgetopt-compat.h30 #define optarg lutil_optarg macro
36 LDAP_LUTIL_V (char *) optarg;
/netbsd-current/usr.bin/tset/
H A Dtset.c96 add_mapping("arpanet", optarg);
99 add_mapping("dialup", optarg);
102 erasechar = optarg[0] == '^' && optarg[1] != '\0' ?
103 optarg[1] == '?' ? '\177' : CTRL(optarg[1]) :
104 optarg[0];
113 intrchar = optarg[0] == '^' && optarg[1] != '\0' ?
114 optarg[
[all...]
/netbsd-current/external/bsd/iscsi/dist/src/osd/
H A Dosd-target.c115 device_set_var("directory", optarg);
118 cf = optarg;
121 g.port = (uint16_t) atoi(optarg);
124 (void) strlcpy(TargetName, optarg, sizeof(TargetName));
127 if (strcmp(optarg, "net") == 0) {
129 } else if (strcmp(optarg, "iscsi") == 0) {
131 } else if (strcmp(optarg, "scsi") == 0) {
133 } else if (strcmp(optarg, "osd") == 0) {
135 } else if (strcmp(optarg, "all") == 0) {
/netbsd-current/sbin/nvmectl/
H A Dperftest.c105 if (!strcmp(optarg, "refthread"))
109 if (!strcmp(optarg, "bio") ||
110 !strcmp(optarg, "wait"))
112 else if (!strcmp(optarg, "io") ||
113 !strcmp(optarg, "intr"))
118 io_test.num_threads = strtoul(optarg, &p, 0);
122 optarg);
128 optarg);
134 if (!strcmp(optarg, "read") || !strcmp(optarg, "REA
[all...]
/netbsd-current/libexec/rexecd/unit-tests/
H A Drexec.c59 host = optarg;
62 user = optarg;
65 pass = optarg;
68 cmd = optarg;
/netbsd-current/sys/arch/i386/stand/libsa/
H A Dgetopt.c41 char *optarg; /* argument associated with option */ variable
84 optarg = NULL;
90 optarg = place;
101 optarg = nargv[optind];
/netbsd-current/sys/arch/ia64/stand/common/
H A Dgetopt.c41 char *optarg; /* argument associated with option */ variable
84 optarg = NULL;
90 optarg = place;
101 optarg = nargv[optind];
/netbsd-current/sys/arch/arc/stand/boot/
H A Dgetopt.c41 char *optarg; /* argument associated with option */ variable
84 optarg = NULL;
90 optarg = place;
101 optarg = nargv[optind];
/netbsd-current/sys/arch/sgimips/stand/common/
H A Dgetopt.c41 char *optarg; /* argument associated with option */ variable
84 optarg = NULL;
90 optarg = place;
101 optarg = nargv[optind];
/netbsd-current/usr.bin/tip/
H A Dcu.c61 extern char *optarg;
95 if(strlen(optarg) > 1)
97 useresc = optarg[0];
100 if (strncmp(optarg, "hard", sizeof("hard") - 1 ) == 0)
103 if (strncmp(optarg, "soft",
107 if(strcmp(optarg, "none") != 0)
113 if(strcmp(optarg, "even") == 0)
116 if(strcmp(optarg, "odd") == 0)
119 if(strcmp(optarg, "none") != 0)
126 CU = optarg;
[all...]
/netbsd-current/external/bsd/libevent/dist/WIN32-Code/
H A Dgetopt.h13 extern char *optarg; /* argument associated with option */
/netbsd-current/external/bsd/tcpdump/dist/missing/
H A Dgetopt_long.h63 extern char *optarg; /* getopt(3) external variables */
/netbsd-current/usr.bin/getopt/
H A Dgetopt.c30 if (optarg != NULL)
31 printf(" -%c %s", c, optarg);
/netbsd-current/sys/arch/ews4800mips/stand/common/
H A Dinckern.c52 if ((optarg == 0) || (ifd != stdin))
54 total = strtoul(optarg, 0, 0);
58 if ((optarg == 0) || (total != 0) ||
59 (ifd = fopen(optarg, "r")) == 0)
63 if ((optarg == 0) || (ofd = fopen(optarg, "w")) == 0)
/netbsd-current/sbin/newfs_msdos/
H A Dnewfs_msdos.c104 o.offset = argtooff(optarg, "offset");
110 o.bootstrap = optarg;
113 o.create_size = argtooff(optarg, "create size");
116 o.fat_type = atoi(optarg);
119 o.volume_id = argto4(optarg, 0, "volume ID");
123 o.volume_label = optarg;
126 o.OEM_string = optarg;
129 o.bytes_per_sector = argto2(optarg, 1, "bytes/sector");
132 o.sectors_per_fat = argto4(optarg, 1, "sectors/FAT");
135 o.block_size = argtox(optarg,
[all...]

Completed in 263 milliseconds

1234567891011>>