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

123

/xsrc/external/mit/MesaLib.old/dist/src/getopt/
H A Dgetopt.h70 extern char *optarg; /* getopt(3) external variables */
H A Dgetopt_long.c62 char *optarg; /* argument associated with option */ variable in typeref:typename:char *
225 optarg = has_equal;
231 optarg = nargv[optind++];
235 && (optarg == NULL)) {
307 optarg = NULL;
339 optarg = nargv[optind++];
446 optarg = NULL;
448 optarg = place;
457 optarg = nargv[optind];
/xsrc/external/mit/MesaLib/dist/src/getopt/
H A Dgetopt.h70 extern char *optarg; /* getopt(3) external variables */
H A Dgetopt_long.c62 char *optarg; /* argument associated with option */ variable in typeref:typename:char *
225 optarg = has_equal;
231 optarg = nargv[optind++];
235 && (optarg == NULL)) {
307 optarg = NULL;
339 optarg = nargv[optind++];
446 optarg = NULL;
448 optarg = place;
457 optarg = nargv[optind];
/xsrc/external/mit/ctwm/dist/
H A Dclargs.c183 CLarg.InitFile = optarg;
188 CLarg.display_name = optarg;
194 if(optarg != NULL) {
195 sscanf(optarg, "%x", (unsigned int *)&CLarg.capwin);
207 CLarg.keepM4_filename = optarg;
244 CLarg.captivename = optarg;
249 CLarg.client_id = optarg;
253 CLarg.restore_filename = optarg;
/xsrc/external/mit/MesaLib/dist/src/microsoft/spirv_to_dxil/
H A Dspirv2dxil.c82 shader_stage = stage_to_enum(optarg);
84 fprintf(stderr, "Unknown stage %s\n", optarg);
89 entry_point = optarg;
92 output_file = optarg;
/xsrc/external/mit/MesaLib/dist/src/intel/tools/
H A Di965_disasm.c172 const int id = intel_device_name_to_pci_device_id(optarg);
175 "platform name\n", optarg);
183 file_path = strdup(optarg);
192 if (strcmp(optarg, "c_literal") == 0) {
194 } else if (strcmp(optarg, "bin") == 0) {
197 fprintf(stderr, "invalid value for --type: %s\n", optarg);
H A Di965_asm.c235 const int id = intel_device_name_to_pci_device_id(optarg);
238 "platform name\n", optarg);
250 if (strcmp(optarg, "hex") == 0) {
252 } else if (strcmp(optarg, "c_literal") == 0) {
254 } else if (strcmp(optarg, "bin") == 0) {
257 fprintf(stderr, "invalid value for --type: %s\n", optarg);
263 output_file = strdup(optarg);
H A Daubinator.c311 const int id = intel_device_name_to_pci_device_id(optarg);
315 "aml, glk, cfl, whl, cnl, icl", optarg);
323 if (optarg == NULL || strcmp(optarg, "always") == 0)
325 else if (strcmp(optarg, "never") == 0)
327 else if (strcmp(optarg, "auto") == 0)
330 fprintf(stderr, "invalid value for --color: %s", optarg);
335 xml_path = strdup(optarg);
338 max_vbo_lines = atoi(optarg);
/xsrc/external/mit/libdrm/dist/tests/amdgpu/
H A Damdgpu_stress.c284 optarg = argv[optind++];
285 if (optind > argc || optarg[0] == '-') {
297 if (sscanf(optarg, "%" PRIi64 "%1[kmgKMG]", &size, ext) < 1) {
298 fprintf(stderr, "Can't parse size arg: %s\n", optarg);
366 if (!strcmp(optarg, "v"))
368 else if (!strcmp(optarg, "g"))
370 else if (!strcmp(optarg, "vg"))
373 fprintf(stderr, "Invalid domain: %s\n", optarg);
389 if (sscanf(optarg, "%u", &from) != 1) {
390 fprintf(stderr, "Can't parse from buffer: %s\n", optarg);
[all...]
/xsrc/external/mit/MesaLib/dist/src/compiler/spirv/
H A Dspirv2nir.c112 shader_stage = stage_to_enum(optarg);
115 fprintf(stderr, "Unknown stage \"%s\"\n", optarg);
121 entry_point = optarg;
127 fprintf(stderr, "Unrecognized option \"%s\".\n", optarg);
/xsrc/external/mit/MesaLib/dist/src/freedreno/decode/
H A Dcffdump.c177 start = atoi(optarg);
180 end = atoi(optarg);
183 start = end = atoi(optarg);
186 draw = atoi(optarg);
189 exename = optarg;
192 options.script = optarg;
201 options.querystrs[options.nquery] = optarg;
/xsrc/external/mit/MesaLib.old/dist/src/intel/tools/
H A Daubinator.c312 const int id = gen_device_name_to_pci_device_id(optarg);
316 "aml, glk, cfl, whl, cnl, icl", optarg);
324 if (optarg == NULL || strcmp(optarg, "always") == 0)
326 else if (strcmp(optarg, "never") == 0)
328 else if (strcmp(optarg, "auto") == 0)
331 fprintf(stderr, "invalid value for --color: %s", optarg);
336 xml_path = strdup(optarg);
339 max_vbo_lines = atoi(optarg);
H A Di965_disasm.c124 const int id = gen_device_name_to_pci_device_id(optarg);
127 "platform name\n", optarg);
140 binary_path = strdup(optarg);
/xsrc/external/mit/fontconfig/dist/fc-query/
H A Dfc-query.c76 extern char *optarg;
131 id = (unsigned int) strtol (optarg, NULL, 0); /* strtol() To handle -1. */
137 format = (FcChar8 *) strdup (optarg);
/xsrc/external/mit/xdm/dist/xdm/
H A Dsession.c905 char program[1024], *e, *p, *optarg; local in function:execute
934 optarg = p;
935 while (*optarg && !isspace (*optarg))
936 ++optarg;
937 if (*optarg) {
938 *optarg = '\0';
940 ++optarg;
941 while (*optarg && isspace (*optarg));
[all...]
/xsrc/external/mit/freetype/dist/builds/unix/
H A Dfreetype-config.in100 optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'`
103 optarg=
109 prefix=$optarg
116 exec_prefix=$optarg
/xsrc/external/mit/MesaLib/dist/src/panfrost/bifrost/
H A Dcmdline.c291 gpu_id = atoi(optarg);
294 fprintf(stderr, "Expected GPU ID, got %s\n", optarg);
303 if (strncmp(optarg, "Mali-", 5) == 0) optarg += 5;
306 if (strcmp(gpus[i].name, optarg)) continue;
316 fprintf(stderr, "Unknown GPU %s\n", optarg);
/xsrc/external/mit/mesa-demos/dist/src/xdemos/
H A Dglsync.c79 extern char *optarg;
135 width = atoi(optarg);
138 height = atoi(optarg);
141 switch (optarg[0]) {
160 interval = atoi(optarg);
/xsrc/external/mit/fontconfig/dist/fc-scan/
H A Dfc-scan.c76 extern char *optarg;
132 format = (FcChar8 *) strdup (optarg);
135 sysroot = FcStrCopy ((const FcChar8 *) optarg);
/xsrc/external/mit/fontconfig/dist/fc-validate/
H A Dfc-validate.c76 extern char *optarg;
135 set_index = atoi (optarg);
138 lang = (FcChar8 *) FcLangNormalize ((const FcChar8 *) optarg);
/xsrc/external/mit/libdrm/dist/tests/vbltest/
H A Dvbltest.c46 extern char *optarg;
108 device = optarg;
111 module = optarg;
/xsrc/external/mit/fontconfig/dist/fc-pattern/
H A Dfc-pattern.c73 extern char *optarg;
133 format = (FcChar8 *) strdup (optarg);
/xsrc/external/mit/libdrm/dist/tests/exynos/
H A Dexynos_fimg2d_event.c230 if (sscanf(optarg, "%u", &iters) != 1)
234 if (sscanf(optarg, "%u", &njobs) != 1)
238 if (sscanf(optarg, "%u", &bufw) != 1)
242 if (sscanf(optarg, "%u", &bufh) != 1)
H A Dexynos_fimg2d_perf.c243 if (sscanf(optarg, "%u", &iters) != 1)
247 if (sscanf(optarg, "%u", &batch) != 1)
251 if (sscanf(optarg, "%u", &bufw) != 1)
255 if (sscanf(optarg, "%u", &bufh) != 1)

Completed in 19 milliseconds

123