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

1234567891011

/haiku-fatelf/src/tests/system/benchmarks/libMicro/
H A Dbenchmark_optswitch.c43 benchmark_optswitch(int opt, char *optarg) argument
H A Dfcntl.c63 benchmark_optswitch(int opt, char *optarg) argument
67 optf = optarg;
H A Drealpath.c59 benchmark_optswitch(int opt, char *optarg) argument
63 optf = optarg;
H A Drecurse.c74 benchmark_optswitch(int opt, char *optarg) argument
78 optd = atoi(optarg);
H A Dstat.c59 benchmark_optswitch(int opt, char *optarg) argument
63 optf = optarg;
H A Dsystem.c60 benchmark_optswitch(int opt, char *optarg) argument
64 optc = optarg;
/haiku-fatelf/src/bin/gdb/gdb/mi/
H A Dmi-getopt.c30 int *optind, char **optarg)
45 *optarg = NULL;
51 *optarg = NULL;
61 /* A non-simple optarg option. */
64 *optarg = argv[(*optind) + 1];
70 *optarg = NULL;
82 char *optarg; local
88 if (mi_getopt (prefix, argc, argv, opts, &optind, &optarg) == -1)
27 mi_getopt(const char *prefix, int argc, char **argv, struct mi_opt *opts, int *optind, char **optarg) argument
H A Dmi-getopt.h46 struct mi_opt *opt, int *optind, char **optarg);
H A Dmi-cmd-disas.c76 char *optarg; local
95 &optind, &optarg);
101 file_string = xstrdup (optarg);
105 line_num = atoi (optarg);
109 how_many = atoi (optarg);
113 low = parse_and_eval_address (optarg);
117 high = parse_and_eval_address (optarg);
/haiku-fatelf/src/tests/kits/net/sock/
H A Dmain.c102 bindport = atoi(optarg);
110 if ( (ptr = strrchr(optarg, '.')) == NULL)
115 strcpy(foreignip, optarg); /* save dotted-decimal IP */
119 sroute_doopt(0, optarg);
132 strcpy(joinip, optarg); /* save dotted-decimal IP */
141 if ( (ptr = strrchr(optarg, '.')) == NULL)
146 strcpy(localip, optarg); /* save dotted-decimal IP */
150 nbuf = atol(optarg);
158 pauserw = atoi(optarg);
162 listenq = atoi(optarg);
[all...]
/haiku-fatelf/src/libs/fluidsynth/src/
H A Dfluidsynth.c81 extern char *optarg;
92 void process_o_cmd_line_option(fluid_settings_t* settings, char* optarg){ argument
94 for (val = optarg; *val != '\0'; val++) {
102 if (strcmp (optarg, "help") == 0)
109 * optarg => "synth.polyphony"
112 switch(fluid_settings_get_type(settings, optarg)){
114 if (fluid_settings_setnum(settings, optarg, atof(val))){
118 if (fluid_settings_setint(settings, optarg, atoi(val))){
122 if (fluid_settings_setstr(settings, optarg, val)){
127 "Most likely the parameter \"%s\" does not exist.\n", optarg, va
265 char *optarg; local
[all...]
/haiku-fatelf/src/bin/bash/lib/readline/examples/
H A Drl.c51 extern char *optarg;
105 prompt = optarg;
108 fd = atoi(optarg);
111 fprintf (stderr, "%s: bad file descriptor `%s'\n", progname, optarg);
116 deftext = optarg;
119 nch = atoi(optarg);
122 fprintf (stderr, "%s: bad value for -n: `%s'\n", progname, optarg);
/haiku-fatelf/src/bin/gdb/readline/examples/
H A Drl.c45 extern char *optarg;
99 prompt = optarg;
102 fd = atoi(optarg);
105 fprintf (stderr, "%s: bad file descriptor `%s'\n", progname, optarg);
110 deftext = optarg;
113 nch = atoi(optarg);
116 fprintf (stderr, "%s: bad value for -n: `%s'\n", progname, optarg);
/haiku-fatelf/src/bin/network/telnet/
H A Dmain.c198 if ((tos = parsetos(optarg, "tcp")) < 0)
201 optarg,
205 ultmp = strtoul(optarg, &ep, 0);
206 if (*ep || ep == optarg || ultmp > MAXTOS)
209 optarg,
218 auth_disable_name(optarg);
235 set_escape_char(optarg);
286 (void)strncpy(dest_realm, optarg, dst_realm_sz);
305 user = optarg;
308 SetNetTrace(optarg);
[all...]
/haiku-fatelf/src/bin/
H A Dmkindex.cpp113 device = dev_for_path(optarg);
116 kProgramName, optarg);
121 copyFromDevice = dev_for_path(optarg);
124 kProgramName, optarg);
132 indexTypeName = optarg;
133 if (strncmp("int", optarg, 3) == 0)
135 else if (strncmp("llong", optarg, 5) == 0)
137 else if (strncmp("string", optarg, 6) == 0)
139 else if (strncmp("float", optarg, 5) == 0)
141 else if (strncmp("double", optarg,
[all...]
/haiku-fatelf/src/libs/pdflib/progs/pdflib/
H A Dpdfimage.c28 extern char *optarg;
39 #include <libc.h> /* for getopt(), optind, optarg */
43 #include <getopt.h> /* for getopt(), optind, optarg */
90 pdffilename = optarg;
95 if (optarg) {
96 current_page = atoi(optarg);
101 if (!optarg || (resolution = atoi(optarg)) <= 0) {
/haiku-fatelf/src/tools/
H A Dcreate_image.cpp63 imageSize = strtoull(optarg, NULL, 10);
64 if (strchr(optarg, 'G') || strchr(optarg, 'g'))
66 else if (strchr(optarg, 'M') || strchr(optarg, 'm'))
68 else if (strchr(optarg, 'K') || strchr(optarg, 'k'))
73 file = optarg;
/haiku-fatelf/src/bin/coreutils/src/
H A Dnl.c241 according to `optarg'. */
250 switch (*optarg)
255 *typep = optarg;
258 *typep = optarg++;
265 errmsg = re_compile_pattern (optarg, strlen (optarg), regexp);
486 quote (optarg));
494 quote (optarg));
502 quote (optarg));
507 if (xstrtoimax (optarg, NUL
[all...]
/haiku-fatelf/src/bin/bc/lib/
H A Dgetopt1.c130 if (optarg)
131 printf (" with arg %s", optarg);
160 printf ("option c with value `%s'\n", optarg);
164 printf ("option d with value `%s'\n", optarg);
/haiku-fatelf/src/bin/coreutils/lib/
H A Dgetopt.h44 # undef optarg macro
54 # define optarg __GETOPT_ID (optarg) macro
116 extern char *optarg;
157 a compiled-in constant, such as set a value from `optarg', set the
192 takes an argument, to be placed in `optarg'.
H A Dgetopt1.c116 if (optarg)
117 printf (" with arg %s", optarg);
146 printf ("option c with value `%s'\n", optarg);
150 printf ("option d with value `%s'\n", optarg);
/haiku-fatelf/src/bin/diffutils/lib/
H A Dgetopt1.c133 if (optarg)
134 printf (" with arg %s", optarg);
163 printf ("option c with value `%s'\n", optarg);
167 printf ("option d with value `%s'\n", optarg);
/haiku-fatelf/src/bin/findutils/gnulib/lib/
H A Dgetopt.in.h41 # undef optarg macro
51 # define optarg __GETOPT_ID (optarg) macro
113 extern char *optarg;
154 a compiled-in constant, such as set a value from `optarg', set the
189 takes an argument, to be placed in `optarg'.
H A Dgetopt1.c116 if (optarg)
117 printf (" with arg %s", optarg);
146 printf ("option c with value `%s'\n", optarg);
150 printf ("option d with value `%s'\n", optarg);
/haiku-fatelf/src/bin/gawk/
H A Dgetopt1.c134 if (optarg)
135 printf (" with arg %s", optarg);
164 printf ("option c with value `%s'\n", optarg);
168 printf ("option d with value `%s'\n", optarg);

Completed in 116 milliseconds

1234567891011