Searched refs:long_options (Results 1 - 25 of 61) sorted by relevance

123

/freebsd-9.3-release/contrib/cvs/lib/
H A Dgetopt1.c63 getopt_long (argc, argv, options, long_options, opt_index)
67 const struct option *long_options;
70 return _getopt_internal (argc, argv, options, long_options, opt_index, 0);
79 getopt_long_only (argc, argv, options, long_options, opt_index)
83 const struct option *long_options;
86 return _getopt_internal (argc, argv, options, long_options, opt_index, 1);
109 static struct option long_options[] =
121 long_options, &option_index);
128 printf ("option %s", long_options[option_index].name);
107 static struct option long_options[] = local
/freebsd-9.3-release/contrib/gcclibs/libiberty/
H A Dgetopt1.c71 const struct option *long_options, int *opt_index)
73 return _getopt_internal (argc, argv, options, long_options, opt_index, 0);
83 const struct option *long_options, int *opt_index)
85 return _getopt_internal (argc, argv, options, long_options, opt_index, 1);
106 static struct option long_options[] =
118 long_options, &option_index);
125 printf ("option %s", long_options[option_index].name);
69 getopt_long(int argc, char *const *argv, const char *options, const struct option *long_options, int *opt_index) argument
81 getopt_long_only(int argc, char *const *argv, const char *options, const struct option *long_options, int *opt_index) argument
104 static struct option long_options[] = local
/freebsd-9.3-release/lib/libc/stdlib/
H A Dgetopt_long.c196 * Returns -1 if short_too is set and the option does not match long_options.
200 const struct option *long_options, int *idx, int short_too, int flags)
239 for (i = 0; long_options[i].name; i++) {
241 if (strncmp(current_argv, long_options[i].name,
245 if (strlen(long_options[i].name) == current_argv_len) {
261 long_options[i].has_arg !=
262 long_options[match].has_arg ||
263 long_options[i].flag != long_options[match].flag ||
264 long_options[
199 parse_long_options(char * const *nargv, const char *options, const struct option *long_options, int *idx, int short_too, int flags) argument
364 getopt_internal(int nargc, char * const *nargv, const char *options, const struct option *long_options, int *idx, int flags) argument
606 getopt_long(int nargc, char * const *nargv, const char *options, const struct option *long_options, int *idx) argument
619 getopt_long_only(int nargc, char * const *nargv, const char *options, const struct option *long_options, int *idx) argument
[all...]
/freebsd-9.3-release/crypto/openssh/openbsd-compat/
H A Dgetopt_long.c173 * Returns -1 if short_too is set and the option does not match long_options.
177 const struct option *long_options, int *idx, int short_too)
195 for (i = 0; long_options[i].name; i++) {
197 if (strncmp(current_argv, long_options[i].name,
201 if (strlen(long_options[i].name) == current_argv_len) {
225 if (long_options[match].has_arg == no_argument
233 if (long_options[match].flag == NULL)
234 optopt = long_options[match].val;
239 if (long_options[match].has_arg == required_argument ||
240 long_options[matc
176 parse_long_options(char * const *nargv, const char *options, const struct option *long_options, int *idx, int short_too) argument
294 getopt_internal(int nargc, char * const *nargv, const char *options, const struct option *long_options, int *idx, int flags) argument
[all...]
/freebsd-9.3-release/contrib/file/src/
H A Dgetopt_long.c356 getopt_long(nargc, nargv, options, long_options, idx)
360 const struct option *long_options;
366 (long_options[(_x)].has_arg == long_options[(_y)].has_arg && \
367 long_options[(_x)].flag == long_options[(_y)].flag && \
368 long_options[(_x)].val == long_options[(_y)].val)
372 _DIAGASSERT(long_options != NULL);
408 for (i = 0; long_options[
[all...]
/freebsd-9.3-release/contrib/gnu-sort/lib/
H A Dlong-options.c36 static struct option const long_options[] = variable
64 && (c = getopt_long (argc, argv, "+", long_options, NULL)) != -1)
/freebsd-9.3-release/contrib/groff/src/utils/lkbib/
H A Dlkbib.cpp50 static const struct option long_options[] = { local
55 while ((opt = getopt_long(argc, argv, "nvVi:t:p:", long_options, NULL))
/freebsd-9.3-release/contrib/groff/src/utils/lookbib/
H A Dlookbib.cpp55 static const struct option long_options[] = { local
60 while ((opt = getopt_long(argc, argv, "vVi:t:", long_options, NULL)) != EOF)
/freebsd-9.3-release/usr.bin/dc/
H A Ddc.c44 struct option long_options[] = variable in typeref:struct:option
87 while ((ch = getopt_long(argc, argv, "e:f:hVx", long_options, NULL)) != -1) {
/freebsd-9.3-release/contrib/binutils/binutils/
H A Dcxxfilt.c36 static const struct option long_options[] = variable in typeref:struct:option
183 while ((c = getopt_long (argc, argv, "_hinps:tv", long_options, (int *) 0)) != EOF)
H A Daddr2line.c49 static struct option long_options[] = variable in typeref:struct:option
348 while ((c = getopt_long (argc, argv, "b:Ce:sfHhij:Vv", long_options, (int *) 0))
H A Dcoffdump.c480 static struct option long_options[] = local
501 while ((opt = getopt_long (ac, av, "HhVv", long_options,
H A Dsize.c109 static struct option long_options[] =
145 while ((c = getopt_long (argc, argv, "ABHhVvdfotx", long_options,
107 static struct option long_options[] = variable in typeref:struct:option
H A Dstrings.c139 static struct option long_options[] =
198 long_options, (int *) 0)) != EOF)
138 static struct option long_options[] = variable in typeref:struct:option
H A Dsysdump.c656 static struct option long_options[] = local
677 while ((opt = getopt_long (ac, av, "HhVv", long_options, (int *) NULL)) != EOF)
/freebsd-9.3-release/contrib/texinfo/info/
H A Dinfo.c102 static struct option long_options[] = { variable in typeref:struct:option
173 (argc, argv, short_options, long_options, &getopt_long_index);
180 if (option_character == 0 && long_options[getopt_long_index].flag == 0)
181 option_character = long_options[getopt_long_index].val;
H A Dinfokey.c47 static struct option long_options[] = variable in typeref:struct:option
112 (argc, argv, short_options, long_options, &getopt_long_index);
119 if (option_character == 0 && long_options[getopt_long_index].flag == 0)
120 option_character = long_options[getopt_long_index].val;
/freebsd-9.3-release/contrib/groff/src/preproc/soelim/
H A Dsoelim.cpp55 static const struct option long_options[] = { local
60 while ((opt = getopt_long(argc, argv, "CI:rtv", long_options, NULL)) != EOF)
/freebsd-9.3-release/contrib/groff/src/utils/pfbtops/
H A Dpfbtops.c169 static const struct option long_options[] = { local
177 while ((opt = getopt_long(argc, argv, "v", long_options, NULL)) != EOF) {
/freebsd-9.3-release/usr.bin/iconv/
H A Diconv.c50 struct option long_options[] = variable in typeref:struct:option
170 long_options, NULL)) != -1) {
/freebsd-9.3-release/contrib/gdb/gdb/
H A Dmain.c254 static struct option long_options[] = local
322 long_options, &option_index);
327 if (c == 0 && long_options[option_index].flag == 0)
328 c = long_options[option_index].val;
/freebsd-9.3-release/contrib/binutils/opcodes/
H A Di386-gen.c325 struct option long_options[] = variable in typeref:struct:option
359 while ((c = getopt_long (argc, argv, "vVdh", long_options, 0)) != EOF)
/freebsd-9.3-release/contrib/groff/src/preproc/eqn/
H A Dmain.cpp263 static const struct option long_options[] = { local
268 while ((opt = getopt_long(argc, argv, "DCRvd:f:p:s:m:T:M:rN", long_options,
/freebsd-9.3-release/contrib/groff/src/utils/xtotroff/
H A Dxtotroff.c229 static const struct option long_options[] = { local
237 while ((opt = getopt_long(argc, argv, "gr:s:v", long_options,
/freebsd-9.3-release/tools/test/iconv/tablegen/
H A Dtablegen.c79 struct option long_options[] = variable in typeref:struct:option
205 while (((c = getopt_long(argc, argv, optstr, long_options, NULL)) != -1)) {

Completed in 142 milliseconds

123