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

123

/freebsd-10-stable/contrib/llvm/tools/lldb/source/Host/common/
H A DOptionParser.cpp65 OptionParser::GetShortOptionString(struct option *long_options) argument
72 if (long_options[i].name == 0 &&
73 long_options[i].has_arg == 0 &&
74 long_options[i].flag == 0 &&
75 long_options[i].val == 0)
81 if (long_options[i].flag == NULL &&
82 isalpha(long_options[i].val))
84 s.append(1, (char)long_options[i].val);
85 switch (long_options[i].has_arg)
/freebsd-10-stable/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-10-stable/lib/libc/stdlib/
H A Dgetopt_long.c189 * Returns -1 if short_too is set and the option does not match long_options.
193 const struct option *long_options, int *idx, int short_too, int flags)
232 for (i = 0; long_options[i].name; i++) {
234 if (strncmp(current_argv, long_options[i].name,
238 if (strlen(long_options[i].name) == current_argv_len) {
254 long_options[i].has_arg !=
255 long_options[match].has_arg ||
256 long_options[i].flag != long_options[match].flag ||
257 long_options[
192 parse_long_options(char * const *nargv, const char *options, const struct option *long_options, int *idx, int short_too, int flags) argument
357 getopt_internal(int nargc, char * const *nargv, const char *options, const struct option *long_options, int *idx, int flags) argument
593 getopt_long(int nargc, char * const *nargv, const char *options, const struct option *long_options, int *idx) argument
606 getopt_long_only(int nargc, char * const *nargv, const char *options, const struct option *long_options, int *idx) argument
[all...]
/freebsd-10-stable/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-10-stable/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-10-stable/contrib/llvm/tools/lldb/include/lldb/Host/
H A DOptionParser.h53 static std::string GetShortOptionString(struct option *long_options);
/freebsd-10-stable/contrib/llvm/tools/lldb/source/Interpreter/
H A DArgs.cpp623 Option *long_options = options.GetLongOptions();
624 if (long_options == NULL)
630 for (int i=0; long_options[i].name != NULL; ++i)
632 if (long_options[i].flag == NULL)
634 if (isprint8(long_options[i].val))
636 sstr << (char)long_options[i].val;
637 switch (long_options[i].has_arg)
655 long_options,
676 long_options[i].name || long_options[
[all...]
/freebsd-10-stable/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-10-stable/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-10-stable/usr.bin/dc/
H A Ddc.c44 static const struct option long_options[] = variable in typeref:struct:option
87 while ((ch = getopt_long(argc, argv, "e:f:hVx", long_options, NULL)) != -1) {
/freebsd-10-stable/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,
/freebsd-10-stable/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-10-stable/contrib/llvm/tools/lldb/tools/driver/
H A DDriver.cpp560 struct option *long_options = NULL; local
577 long_options = NULL;
579 long_options = &long_options_vector.front();
581 if (long_options == NULL)
589 for (int i = 0; long_options[i].name != NULL; ++i)
591 if (long_options[i].flag == NULL)
593 option_string.push_back ((char) long_options[i].val);
594 switch (long_options[i].has_arg)
629 val = ::getopt_long_only (argc, const_cast<char **>(argv), option_string.c_str(), long_options, &long_options_index);
647 long_options[
[all...]
/freebsd-10-stable/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-10-stable/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-10-stable/usr.bin/iconv/
H A Diconv.c48 static const struct option long_options[] = { variable in typeref:struct:option
169 long_options, NULL)) != -1) {
/freebsd-10-stable/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-10-stable/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-10-stable/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-10-stable/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-10-stable/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)) {
/freebsd-10-stable/contrib/llvm/tools/lldb/include/lldb/Interpreter/
H A DArgs.h321 FindArgumentIndexForOption (Option *long_options, int long_options_index);

Completed in 413 milliseconds

123