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

/illumos-gate/usr/src/grub/grub-0.97/lib/
H A Dgetopt1.c70 getopt_long (argc, argv, options, long_options, opt_index)
74 const struct option *long_options;
77 return _getopt_internal (argc, argv, options, long_options, opt_index, 0);
86 getopt_long_only (argc, argv, options, long_options, opt_index)
90 const struct option *long_options;
93 return _getopt_internal (argc, argv, options, long_options, opt_index, 1);
116 static struct option long_options[] =
128 long_options, &option_index);
135 printf ("option %s", long_options[option_index].name);
114 static struct option long_options[] = local
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetopt_long.c227 * ASSUMES: long_options may be NULL
237 const struct option *long_options,
262 if (long_options != NULL) {
264 (long_options[long_i].name != NULL));
266 equivFound = (ch == long_options[long_i].val);
281 if (equivFound && (long_options != NULL)) {
283 (long_options[long_i].name != NULL));
285 equivFound = ((long_options[long_i].val != 0) &&
286 (strchr(options, long_options[long_i].val)
293 long_options[long_
234 verify_short_long_equivalents(int nargc, char *const *nargv, const char *options, const struct option *long_options, uint_t flags) argument
307 parse_long_options(int nargc, char * const *nargv, const char *options, const struct option *long_options, int *idx, int short_too, uint_t flags) argument
456 getopt_internal(int nargc, char * const *nargv, const char *options, const struct option *long_options, int *idx, uint_t flags) argument
720 getopt_long(int nargc, char *const *nargv, const char *optstring, const struct option *long_options, int *long_index) argument
741 getopt_long_only(int nargc, char *const *nargv, const char *optstring, const struct option *long_options, int *long_index) argument
781 getopt_clip(int nargc, char *const *nargv, const char *optstring, const struct option *long_options, int *long_index) argument
[all...]
/illumos-gate/usr/src/cmd/hal/tools/
H A Dhal_find_by_capability.c92 static struct option long_options[] = { local
101 long_options, &option_index);
107 opt = long_options[option_index].name;
H A Dhal-is-caller-privileged.c122 static struct option long_options[] = { local
132 long_options, &option_index);
138 opt = long_options[option_index].name;
H A Dhal_find_by_property.c97 static struct option long_options[] = { local
107 long_options, &option_index);
113 opt = long_options[option_index].name;
H A Dhal_get_property.c104 static struct option long_options[] = { local
115 long_options, &option_index);
121 opt = long_options[option_index].name;
H A Dhal_set_property.c132 static struct option long_options[] = { local
150 long_options, &option_index);
156 opt = long_options[option_index].name;
H A Dlshal.c586 static const struct option long_options[] = { local
601 c = getopt_long (argc, argv, "mlstu:hUV", long_options, NULL);
/illumos-gate/usr/src/cmd/policykit/
H A Dpolkit-is-privileged.c69 static const struct option long_options[] = { local
92 c = getopt_long (argc, argv, "u:r:p:s:hVv", long_options, NULL);
/illumos-gate/usr/src/lib/libshell/common/tests/
H A Dsun_solaris_builtin_tail.sh165 [long_options]=( argv=( "--lines" "0" "--reverse" ) )
174 [long_options]=( argv=( "--lines" "1" ) )
183 [long_options]=( argv=( "--lines" "1" "--reverse" ) )
/illumos-gate/usr/src/cmd/hal/hald/
H A Dhald.c401 static struct option long_options[] = { local
411 long_options, &option_index);
417 opt = long_options[option_index].name;
/illumos-gate/usr/src/cmd/ls/
H A Dls.c377 const struct option long_options[] = { variable in typeref:struct:option
440 "+aAbBcCdeEfFghHiklLmnopqrRsStuUw:x1@vV/:%:", long_options,
445 if (strcmp(long_options[option_index].name,
447 strcmp(long_options[option_index].name,
481 if (strcmp(long_options[option_index].name,
488 if (strcmp(long_options[option_index].name,
584 if (strcmp(long_options[option_index].name,
593 if (strcmp(long_options[option_index].name,
603 if (strcmp(long_options[option_index].name,
/illumos-gate/usr/src/cmd/krb5/kinit/
H A Dkinit.c229 struct option long_options[] = { variable in typeref:struct:option
239 #define GETOPT(argc, argv, str) getopt_long(argc, argv, str, long_options, 0)
/illumos-gate/usr/src/lib/libc/port/
H A Dllib-lc515 const struct option *long_options, int *long_index);
517 const struct option *long_options, int *long_index);
519 const struct option *long_options, int *long_index);
/illumos-gate/usr/src/cmd/zfs/
H A Dzfs_main.c3708 struct option long_options[] = { local
3723 while ((c = getopt_long(argc, argv, ":i:I:RbDpvnPLet:c", long_options,

Completed in 256 milliseconds