/external/deqp-deps/SPIRV-Tools/tools/as/ |
D | as.cpp | 58 for (int argi = 1; argi < argc; ++argi) { in main() local 59 if ('-' == argv[argi][0]) { in main() 60 switch (argv[argi][1]) { in main() 66 if (!outFile && argi + 1 < argc) { in main() 67 outFile = argv[++argi]; in main() 76 inFile = argv[argi]; in main() 84 if (0 == strcmp(argv[argi], "--version")) { in main() 89 } else if (0 == strcmp(argv[argi], "--help")) { in main() 92 } else if (0 == strcmp(argv[argi], "--preserve-numeric-ids")) { in main() 94 } else if (0 == strcmp(argv[argi], "--target-env")) { in main() [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/tools/as/ |
D | as.cpp | 58 for (int argi = 1; argi < argc; ++argi) { in main() local 59 if ('-' == argv[argi][0]) { in main() 60 switch (argv[argi][1]) { in main() 66 if (!outFile && argi + 1 < argc) { in main() 67 outFile = argv[++argi]; in main() 76 inFile = argv[argi]; in main() 84 if (0 == strcmp(argv[argi], "--version")) { in main() 89 } else if (0 == strcmp(argv[argi], "--help")) { in main() 92 } else if (0 == strcmp(argv[argi], "--preserve-numeric-ids")) { in main() 94 } else if (0 == strcmp(argv[argi], "--target-env")) { in main() [all …]
|
/external/libvterm/src/ |
D | pen.c | 271 int argi = 0; in vterm_state_setpen() local 274 while(argi < argcount) { in vterm_state_setpen() 280 switch(arg = CSI_ARG(args[argi])) { in vterm_state_setpen() 322 state->pen.font = CSI_ARG(args[argi]) - 10; in vterm_state_setpen() 363 value = CSI_ARG(args[argi]) - 30; in vterm_state_setpen() 370 if(argcount - argi < 1) in vterm_state_setpen() 372 …argi += 1 + lookup_colour(state, CSI_ARG(args[argi+1]), args+argi+2, argcount-argi-2, &state->pen.… in vterm_state_setpen() 383 value = CSI_ARG(args[argi]) - 40; in vterm_state_setpen() 388 if(argcount - argi < 1) in vterm_state_setpen() 390 …argi += 1 + lookup_colour(state, CSI_ARG(args[argi+1]), args+argi+2, argcount-argi-2, &state->pen.… in vterm_state_setpen() [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/tools/dis/ |
D | dis.cpp | 83 for (int argi = 1; argi < argc; ++argi) { in main() local 84 if ('-' == argv[argi][0]) { in main() 85 switch (argv[argi][1]) { in main() 90 if (!outFile && argi + 1 < argc) { in main() 91 outFile = argv[++argi]; in main() 99 if (0 == strcmp(argv[argi], "--no-color")) { in main() 102 } else if (0 == strcmp(argv[argi], "--color")) { in main() 105 } else if (0 == strcmp(argv[argi], "--no-indent")) { in main() 107 } else if (0 == strcmp(argv[argi], "--offsets")) { in main() 109 } else if (0 == strcmp(argv[argi], "--no-header")) { in main() [all …]
|
/external/deqp-deps/SPIRV-Tools/tools/dis/ |
D | dis.cpp | 83 for (int argi = 1; argi < argc; ++argi) { in main() local 84 if ('-' == argv[argi][0]) { in main() 85 switch (argv[argi][1]) { in main() 90 if (!outFile && argi + 1 < argc) { in main() 91 outFile = argv[++argi]; in main() 99 if (0 == strcmp(argv[argi], "--no-color")) { in main() 102 } else if (0 == strcmp(argv[argi], "--color")) { in main() 105 } else if (0 == strcmp(argv[argi], "--no-indent")) { in main() 107 } else if (0 == strcmp(argv[argi], "--offsets")) { in main() 109 } else if (0 == strcmp(argv[argi], "--no-header")) { in main() [all …]
|
/external/flatbuffers/src/ |
D | flatc.cpp | 175 for (int argi = 0; argi < argc; argi++) { in Compile() local 176 std::string arg = argv[argi]; in Compile() 181 if (++argi >= argc) Error("missing path following: " + arg, true); in Compile() 183 flatbuffers::PosixPath(argv[argi]), ""); in Compile() 185 if (++argi >= argc) Error("missing path following" + arg, true); in Compile() 187 flatbuffers::PosixPath(argv[argi])); in Compile() 191 if (++argi >= argc) Error("missing path following" + arg, true); in Compile() 192 conform_to_schema = flatbuffers::PosixPath(argv[argi]); in Compile() 194 if (++argi >= argc) Error("missing path following" + arg, true); in Compile() 196 flatbuffers::PosixPath(argv[argi])); in Compile() [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/tools/cfg/ |
D | cfg.cpp | 53 for (int argi = 1; argi < argc; ++argi) { in main() local 54 if ('-' == argv[argi][0]) { in main() 55 switch (argv[argi][1]) { in main() 60 if (!outFile && argi + 1 < argc) { in main() 61 outFile = argv[++argi]; in main() 69 if (0 == strcmp(argv[argi], "--help")) { in main() 72 } else if (0 == strcmp(argv[argi], "--version")) { in main() 85 inFile = argv[argi]; in main() 97 inFile = argv[argi]; in main()
|
/external/deqp-deps/SPIRV-Tools/tools/cfg/ |
D | cfg.cpp | 53 for (int argi = 1; argi < argc; ++argi) { in main() local 54 if ('-' == argv[argi][0]) { in main() 55 switch (argv[argi][1]) { in main() 60 if (!outFile && argi + 1 < argc) { in main() 61 outFile = argv[++argi]; in main() 69 if (0 == strcmp(argv[argi], "--help")) { in main() 72 } else if (0 == strcmp(argv[argi], "--version")) { in main() 85 inFile = argv[argi]; in main() 97 inFile = argv[argi]; in main()
|
/external/libvpx/libvpx/ |
D | vpxdec.c | 537 char **argv, **argi, **argj; in main_loop() local 585 for (argi = argj = argv; (*argj = *argi); argi += arg.argv_step) { in main_loop() 589 if (arg_match(&arg, &help, argi)) { in main_loop() 592 } else if (arg_match(&arg, &codecarg, argi)) { in main_loop() 596 } else if (arg_match(&arg, &looparg, argi)) { in main_loop() 598 } else if (arg_match(&arg, &outputfile, argi)) in main_loop() 600 else if (arg_match(&arg, &use_yv12, argi)) { in main_loop() 604 } else if (arg_match(&arg, &use_i420, argi)) { in main_loop() 608 } else if (arg_match(&arg, &rawvideo, argi)) { in main_loop() 610 } else if (arg_match(&arg, &flipuvarg, argi)) in main_loop() [all …]
|
D | vpxenc.c | 908 char **argi, **argj; in parse_global_config() local 922 for (argi = argj = argv; (*argj = *argi); argi += arg.argv_step) { in parse_global_config() 925 if (arg_match(&arg, &help, argi)) { in parse_global_config() 928 } else if (arg_match(&arg, &codecarg, argi)) { in parse_global_config() 932 } else if (arg_match(&arg, &passes, argi)) { in parse_global_config() 937 } else if (arg_match(&arg, &pass_arg, argi)) { in parse_global_config() 942 } else if (arg_match(&arg, &usage, argi)) in parse_global_config() 944 else if (arg_match(&arg, &deadline, argi)) in parse_global_config() 946 else if (arg_match(&arg, &best_dl, argi)) in parse_global_config() 948 else if (arg_match(&arg, &good_dl, argi)) in parse_global_config() [all …]
|
/external/libaom/libaom/apps/ |
D | aomdec.c | 447 char **argv, **argi, **argj; in main_loop() local 497 for (argi = argj = argv; (*argj = *argi); argi += arg.argv_step) { in main_loop() 501 if (arg_match(&arg, &help, argi)) { in main_loop() 504 } else if (arg_match(&arg, &codecarg, argi)) { in main_loop() 508 } else if (arg_match(&arg, &looparg, argi)) { in main_loop() 510 } else if (arg_match(&arg, &outputfile, argi)) { in main_loop() 512 } else if (arg_match(&arg, &use_yv12, argi)) { in main_loop() 518 } else if (arg_match(&arg, &use_i420, argi)) { in main_loop() 524 } else if (arg_match(&arg, &rawvideo, argi)) { in main_loop() 529 } else if (arg_match(&arg, &flipuvarg, argi)) { in main_loop() [all …]
|
D | aomenc.c | 1084 char **argi, **argj; in parse_global_config() local 1104 for (argi = argj = argv_local; (*argj = *argi); argi += arg.argv_step) { in parse_global_config() 1108 if (arg_match(&arg, &use_cfg, argi)) { in parse_global_config() 1114 *argj = *argi = *argv_local; in parse_global_config() 1115 argj = argi = argv_local; in parse_global_config() 1121 if (arg_match(&arg, &help, argi)) { in parse_global_config() 1124 } else if (arg_match(&arg, &codecarg, argi)) { in parse_global_config() 1128 } else if (arg_match(&arg, &passes, argi)) { in parse_global_config() 1133 } else if (arg_match(&arg, &pass_arg, argi)) { in parse_global_config() 1138 } else if (arg_match(&arg, &input_chroma_sample_position, argi)) { in parse_global_config() [all …]
|
/external/deqp-deps/SPIRV-Tools/tools/comp/ |
D | markv.cpp | 146 for (int argi = 2; argi < argc; ++argi) { in main() local 147 if ('-' == argv[argi][0]) { in main() 148 switch (argv[argi][1]) { in main() 153 if (!output_filename && argi + 1 < argc && in main() 155 output_filename = argv[++argi]; in main() 162 if (0 == strcmp(argv[argi], "--help")) { in main() 165 } else if (0 == strcmp(argv[argi], "--comments")) { in main() 167 } else if (0 == strcmp(argv[argi], "--version")) { in main() 170 } else if (0 == strcmp(argv[argi], "--validate")) { in main() 172 } else if (0 == strcmp(argv[argi], "--model=shader_lite")) { in main() [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/tools/comp/ |
D | markv.cpp | 146 for (int argi = 2; argi < argc; ++argi) { in main() local 147 if ('-' == argv[argi][0]) { in main() 148 switch (argv[argi][1]) { in main() 153 if (!output_filename && argi + 1 < argc && in main() 155 output_filename = argv[++argi]; in main() 162 if (0 == strcmp(argv[argi], "--help")) { in main() 165 } else if (0 == strcmp(argv[argi], "--comments")) { in main() 167 } else if (0 == strcmp(argv[argi], "--version")) { in main() 170 } else if (0 == strcmp(argv[argi], "--validate")) { in main() 172 } else if (0 == strcmp(argv[argi], "--model=shader_lite")) { in main() [all …]
|
/external/libpng/contrib/pngminus/ |
D | png2pnm.c | 82 int argi; in main() local 84 for (argi = 1; argi < argc; argi++) in main() 86 if (argv[argi][0] == '-') in main() 88 switch (argv[argi][1]) in main() 98 argi++; in main() 99 if ((fp_al = fopen (argv[argi], "wb")) == NULL) in main() 103 argv[argi]); in main() 114 fprintf (stderr, "Error: unknown option %s\n", argv[argi]); in main() 122 if ((fp_rd = fopen (argv[argi], "rb")) == NULL) in main() 125 fprintf (stderr, "Error: file %s does not exist\n", argv[argi]); in main() [all …]
|
D | pnm2png.c | 84 int argi; in main() local 86 for (argi = 1; argi < argc; argi++) in main() 88 if (argv[argi][0] == '-') in main() 90 switch (argv[argi][1]) in main() 97 argi++; in main() 98 if ((fp_al = fopen (argv[argi], "rb")) == NULL) in main() 102 argv[argi]); in main() 113 fprintf (stderr, "Error: unknown option %s\n", argv[argi]); in main() 121 if ((fp_rd = fopen (argv[argi], "rb")) == NULL) in main() 124 fprintf (stderr, "Error: file %s does not exist\n", argv[argi]); in main() [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/tools/val/ |
D | val.cpp | 78 for (int argi = 1; continue_processing && argi < argc; ++argi) { in main() local 79 const char* cur_arg = argv[argi]; in main() 82 if (argi + 1 < argc) { in main() 86 if (sscanf(argv[++argi], "%u", &limit)) { in main() 121 if (argi + 1 < argc) { in main() 122 const auto env_str = argv[++argi]; in main()
|
/external/deqp-deps/SPIRV-Tools/tools/val/ |
D | val.cpp | 78 for (int argi = 1; continue_processing && argi < argc; ++argi) { in main() local 79 const char* cur_arg = argv[argi]; in main() 82 if (argi + 1 < argc) { in main() 86 if (sscanf(argv[++argi], "%u", &limit)) { in main() 121 if (argi + 1 < argc) { in main() 122 const auto env_str = argv[++argi]; in main()
|
/external/libvpx/libvpx/examples/ |
D | vp9_spatial_svc_encoder.c | 191 char **argi = NULL; in parse_command_line() local 233 for (argi = argj = argv; (*argj = *argi); argi += arg.argv_step) { in parse_command_line() 236 if (arg_match(&arg, &frames_arg, argi)) { in parse_command_line() 238 } else if (arg_match(&arg, &width_arg, argi)) { in parse_command_line() 240 } else if (arg_match(&arg, &height_arg, argi)) { in parse_command_line() 242 } else if (arg_match(&arg, &timebase_arg, argi)) { in parse_command_line() 244 } else if (arg_match(&arg, &bitrate_arg, argi)) { in parse_command_line() 246 } else if (arg_match(&arg, &skip_frames_arg, argi)) { in parse_command_line() 248 } else if (arg_match(&arg, &spatial_layers_arg, argi)) { in parse_command_line() 250 } else if (arg_match(&arg, &temporal_layers_arg, argi)) { in parse_command_line() [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/tools/link/ |
D | linker.cpp | 56 for (int argi = 1; continue_processing && argi < argc; ++argi) { in main() local 57 const char* cur_arg = argv[argi]; in main() 60 if (argi + 1 < argc) { in main() 62 outFile = argv[++argi]; in main() 93 if (argi + 1 < argc) { in main() 94 const auto env_str = argv[++argi]; in main()
|
/external/deqp-deps/SPIRV-Tools/tools/link/ |
D | linker.cpp | 56 for (int argi = 1; continue_processing && argi < argc; ++argi) { in main() local 57 const char* cur_arg = argv[argi]; in main() 60 if (argi + 1 < argc) { in main() 62 outFile = argv[++argi]; in main() 93 if (argi + 1 < argc) { in main() 94 const auto env_str = argv[++argi]; in main()
|
/external/deqp-deps/SPIRV-Tools/tools/opt/ |
D | opt.cpp | 479 std::string CanonicalizeFlag(const char** argv, int argc, int* argi) { in CanonicalizeFlag() argument 480 const char* cur_arg = argv[*argi]; in CanonicalizeFlag() 481 const char* next_arg = (*argi + 1 < argc) ? argv[*argi + 1] : nullptr; in CanonicalizeFlag() 497 ++(*argi); in CanonicalizeFlag() 518 for (int argi = 1; argi < argc; ++argi) { in ParseFlags() local 519 const char* cur_arg = argv[argi]; in ParseFlags() 529 if (!*out_file && argi + 1 < argc) { in ParseFlags() 530 *out_file = argv[++argi]; in ParseFlags() 589 pass_flags.push_back(CanonicalizeFlag(argv, argc, &argi)); in ParseFlags()
|
/external/swiftshader/third_party/SPIRV-Tools/tools/opt/ |
D | opt.cpp | 503 std::string CanonicalizeFlag(const char** argv, int argc, int* argi) { in CanonicalizeFlag() argument 504 const char* cur_arg = argv[*argi]; in CanonicalizeFlag() 505 const char* next_arg = (*argi + 1 < argc) ? argv[*argi + 1] : nullptr; in CanonicalizeFlag() 521 ++(*argi); in CanonicalizeFlag() 544 for (int argi = 1; argi < argc; ++argi) { in ParseFlags() local 545 const char* cur_arg = argv[argi]; in ParseFlags() 555 if (!*out_file && argi + 1 < argc) { in ParseFlags() 556 *out_file = argv[++argi]; in ParseFlags() 632 pass_flags.push_back(CanonicalizeFlag(argv, argc, &argi)); in ParseFlags()
|
/external/libaom/libaom/examples/ |
D | inspect.c | 854 char **argi, **argj; in parse_args() local 858 for (argi = argj = argv; (*argj = *argi); argi += arg.argv_step) { in parse_args() 860 if (arg_match(&arg, &dump_block_size_arg, argi)) layers |= BLOCK_SIZE_LAYER; in parse_args() 862 else if (arg_match(&arg, &dump_accounting_arg, argi)) in parse_args() 865 else if (arg_match(&arg, &dump_transform_size_arg, argi)) in parse_args() 867 else if (arg_match(&arg, &dump_transform_type_arg, argi)) in parse_args() 869 else if (arg_match(&arg, &dump_mode_arg, argi)) in parse_args() 871 else if (arg_match(&arg, &dump_uv_mode_arg, argi)) in parse_args() 873 else if (arg_match(&arg, &dump_motion_mode_arg, argi)) in parse_args() 875 else if (arg_match(&arg, &dump_compound_type_arg, argi)) in parse_args() [all …]
|
/external/mesa3d/src/gallium/targets/graw-null/ |
D | graw_util.c | 63 graw_parse_args(int *argi, in graw_parse_args() argument 67 if (strcmp(argv[*argi], "-o") == 0) { in graw_parse_args() 68 if (*argi + 1 >= argc) { in graw_parse_args() 72 strncpy(out_filename, argv[*argi + 1], sizeof(out_filename) - 1); in graw_parse_args() 74 *argi += 2; in graw_parse_args()
|