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

/xsrc/external/mit/MesaLib.old/dist/src/getopt/
H A Dgetopt_long.c156 * Returns -1 if short_too is set and the option does not match long_options.
160 const struct option *long_options, int *idx, int short_too)
178 for (i = 0; long_options[i].name; i++) {
180 if (strncmp(current_argv, long_options[i].name,
184 if (strlen(long_options[i].name) == current_argv_len) {
208 if (long_options[match].has_arg == no_argument
216 if (long_options[match].flag == NULL)
217 optopt = long_options[match].val;
222 if (long_options[match].has_arg == required_argument ||
223 long_options[matc
159 parse_long_options(char * const * nargv,const char * options,const struct option * long_options,int * idx,int short_too) argument
277 getopt_internal(int nargc,char * const * nargv,const char * options,const struct option * long_options,int * idx,int flags) argument
492 getopt_long(int nargc,char * const * nargv,const char * options,const struct option * long_options,int * idx) argument
505 getopt_long_only(int nargc,char * const * nargv,const char * options,const struct option * long_options,int * idx) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/getopt/
H A Dgetopt_long.c156 * Returns -1 if short_too is set and the option does not match long_options.
160 const struct option *long_options, int *idx, int short_too)
178 for (i = 0; long_options[i].name; i++) {
180 if (strncmp(current_argv, long_options[i].name,
184 if (strlen(long_options[i].name) == current_argv_len) {
208 if (long_options[match].has_arg == no_argument
216 if (long_options[match].flag == NULL)
217 optopt = long_options[match].val;
222 if (long_options[match].has_arg == required_argument ||
223 long_options[matc
159 parse_long_options(char * const * nargv,const char * options,const struct option * long_options,int * idx,int short_too) argument
277 getopt_internal(int nargc,char * const * nargv,const char * options,const struct option * long_options,int * idx,int flags) argument
492 getopt_long(int nargc,char * const * nargv,const char * options,const struct option * long_options,int * idx) argument
505 getopt_long_only(int nargc,char * const * nargv,const char * options,const struct option * long_options,int * idx) argument
[all...]
/xsrc/external/mit/ctwm/dist/
H A Dclargs.c69 static struct option long_options[] = { local in function:clargs_parse
169 while((ch = getopt_long(argc, argv, short_options, long_options,
220 #define IFIS(x) if(strcmp(long_options[optidx].name, (x)) == 0)
286 if(long_options[optidx].flag != NULL) {
292 long_options[optidx].name);
/xsrc/external/mit/MesaLib/dist/src/microsoft/spirv_to_dxil/
H A Dspirv2dxil.c72 static struct option long_options[] = { local in function:main
78 while ((ch = getopt_long(argc, argv, "s:e:o:", long_options, NULL)) !=
/xsrc/external/mit/MesaLib/dist/src/compiler/glsl/glcpp/
H A Dglcpp.c127 long_options[] = { variable in typeref:typename:const struct option[]
146 while ((c = getopt_long(argc, argv, "d", long_options, NULL)) != -1) {
/xsrc/external/mit/MesaLib/dist/src/compiler/spirv/
H A Dspirv2nir.c95 static struct option long_options[] = local in function:main
104 while ((ch = getopt_long(argc, argv, "hs:e:g", long_options, NULL)) != -1)
/xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/glcpp/
H A Dglcpp.c126 long_options[] = { variable in typeref:typename:const struct option[]
145 while ((c = getopt_long(argc, argv, "d", long_options, NULL)) != -1) {
/xsrc/external/mit/transset/dist/
H A DtransSet.c137 static const struct option long_options[] = { local in function:main
165 long_options, &options_index)) != -1) {
/xsrc/external/mit/xf86-video-openchrome/dist/tools/
H A Dregisters.c1168 static struct option long_options[] = { local in function:main
1178 c = getopt_long(argc, argv, "hdpmr:w:g", long_options,

Completed in 8 milliseconds