Home
last modified time | relevance | path

Searched refs:cur_arg (Results 1 – 20 of 20) sorted by relevance

/third_party/flutter/skia/third_party/externals/spirv-tools/tools/opt/
Dopt.cpp95 const char* cur_arg = argv[argi]; in main() local
96 if ('-' == cur_arg[0]) { in main()
97 if (0 == strcmp(cur_arg, "--version")) { in main()
100 } else if (0 == strcmp(cur_arg, "--help") || 0 == strcmp(cur_arg, "-h")) { in main()
103 } else if (0 == strcmp(cur_arg, "-o")) { in main()
110 } else if (0 == strcmp(cur_arg, "--strip-debug")) { in main()
112 } else if (0 == strcmp(cur_arg, "--set-spec-const-default-value")) { in main()
132 } else if (0 == strcmp(cur_arg, "--freeze-spec-const")) { in main()
134 } else if (0 == strcmp(cur_arg, "--inline-entry-points-exhaustive")) { in main()
136 } else if (0 == strcmp(cur_arg, "--convert-local-access-chains")) { in main()
[all …]
/third_party/skia/third_party/externals/spirv-tools/tools/val/
Dval.cpp86 const char* cur_arg = argv[argi]; in main() local
87 if ('-' == cur_arg[0]) { in main()
88 if (0 == strncmp(cur_arg, "--max-", 6)) { in main()
91 if (spvParseUniversalLimitsOptions(cur_arg, &limit_type)) { in main()
96 fprintf(stderr, "error: missing argument to %s\n", cur_arg); in main()
101 fprintf(stderr, "error: unrecognized option: %s\n", cur_arg); in main()
106 fprintf(stderr, "error: Missing argument to %s\n", cur_arg); in main()
110 } else if (0 == strcmp(cur_arg, "--version")) { in main()
127 } else if (0 == strcmp(cur_arg, "--help") || 0 == strcmp(cur_arg, "-h")) { in main()
131 } else if (0 == strcmp(cur_arg, "--target-env")) { in main()
[all …]
/third_party/spirv-tools/tools/val/
Dval.cpp86 const char* cur_arg = argv[argi]; in main() local
87 if ('-' == cur_arg[0]) { in main()
88 if (0 == strncmp(cur_arg, "--max-", 6)) { in main()
91 if (spvParseUniversalLimitsOptions(cur_arg, &limit_type)) { in main()
96 fprintf(stderr, "error: missing argument to %s\n", cur_arg); in main()
101 fprintf(stderr, "error: unrecognized option: %s\n", cur_arg); in main()
106 fprintf(stderr, "error: Missing argument to %s\n", cur_arg); in main()
110 } else if (0 == strcmp(cur_arg, "--version")) { in main()
130 } else if (0 == strcmp(cur_arg, "--help") || 0 == strcmp(cur_arg, "-h")) { in main()
134 } else if (0 == strcmp(cur_arg, "--target-env")) { in main()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/tools/val/
Dval.cpp86 const char* cur_arg = argv[argi]; in main() local
87 if ('-' == cur_arg[0]) { in main()
88 if (0 == strncmp(cur_arg, "--max-", 6)) { in main()
91 if (spvParseUniversalLimitsOptions(cur_arg, &limit_type)) { in main()
96 fprintf(stderr, "error: missing argument to %s\n", cur_arg); in main()
101 fprintf(stderr, "error: unrecognized option: %s\n", cur_arg); in main()
106 fprintf(stderr, "error: Missing argument to %s\n", cur_arg); in main()
110 } else if (0 == strcmp(cur_arg, "--version")) { in main()
127 } else if (0 == strcmp(cur_arg, "--help") || 0 == strcmp(cur_arg, "-h")) { in main()
131 } else if (0 == strcmp(cur_arg, "--target-env")) { in main()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/tools/opt/
Dopt.cpp650 const char* cur_arg = argv[*argi]; in CanonicalizeFlag() local
653 canonical_arg << cur_arg; in CanonicalizeFlag()
660 if (0 == strcmp(cur_arg, "--set-spec-const-default-value") || in CanonicalizeFlag()
661 0 == strcmp(cur_arg, "--loop-fission") || in CanonicalizeFlag()
662 0 == strcmp(cur_arg, "--loop-fusion") || in CanonicalizeFlag()
663 0 == strcmp(cur_arg, "--loop-unroll-partial") || in CanonicalizeFlag()
664 0 == strcmp(cur_arg, "--loop-peeling-threshold")) { in CanonicalizeFlag()
689 const char* cur_arg = argv[argi]; in ParseFlags() local
690 if ('-' == cur_arg[0]) { in ParseFlags()
691 if (0 == strcmp(cur_arg, "--version")) { in ParseFlags()
[all …]
/third_party/skia/third_party/externals/spirv-tools/tools/opt/
Dopt.cpp650 const char* cur_arg = argv[*argi]; in CanonicalizeFlag() local
653 canonical_arg << cur_arg; in CanonicalizeFlag()
660 if (0 == strcmp(cur_arg, "--set-spec-const-default-value") || in CanonicalizeFlag()
661 0 == strcmp(cur_arg, "--loop-fission") || in CanonicalizeFlag()
662 0 == strcmp(cur_arg, "--loop-fusion") || in CanonicalizeFlag()
663 0 == strcmp(cur_arg, "--loop-unroll-partial") || in CanonicalizeFlag()
664 0 == strcmp(cur_arg, "--loop-peeling-threshold")) { in CanonicalizeFlag()
689 const char* cur_arg = argv[argi]; in ParseFlags() local
690 if ('-' == cur_arg[0]) { in ParseFlags()
691 if (0 == strcmp(cur_arg, "--version")) { in ParseFlags()
[all …]
/third_party/spirv-tools/tools/opt/
Dopt.cpp662 const char* cur_arg = argv[*argi]; in CanonicalizeFlag() local
665 canonical_arg << cur_arg; in CanonicalizeFlag()
672 if (0 == strcmp(cur_arg, "--set-spec-const-default-value") || in CanonicalizeFlag()
673 0 == strcmp(cur_arg, "--loop-fission") || in CanonicalizeFlag()
674 0 == strcmp(cur_arg, "--loop-fusion") || in CanonicalizeFlag()
675 0 == strcmp(cur_arg, "--loop-unroll-partial") || in CanonicalizeFlag()
676 0 == strcmp(cur_arg, "--loop-peeling-threshold")) { in CanonicalizeFlag()
701 const char* cur_arg = argv[argi]; in ParseFlags() local
702 if ('-' == cur_arg[0]) { in ParseFlags()
703 if (0 == strcmp(cur_arg, "--version")) { in ParseFlags()
[all …]
/third_party/flutter/skia/third_party/externals/spirv-tools/tools/val/
Dval.cpp62 const char* cur_arg = argv[argi]; in main() local
63 if ('-' == cur_arg[0]) { in main()
64 if (0 == strncmp(cur_arg, "--max-", 6)) { in main()
67 if (spvParseUniversalLimitsOptions(cur_arg, &limit_type)) { in main()
72 fprintf(stderr, "error: missing argument to %s\n", cur_arg); in main()
77 fprintf(stderr, "error: unrecognized option: %s\n", cur_arg); in main()
82 fprintf(stderr, "error: Missing argument to %s\n", cur_arg); in main()
86 } else if (0 == strcmp(cur_arg, "--version")) { in main()
95 } else if (0 == strcmp(cur_arg, "--help") || 0 == strcmp(cur_arg, "-h")) { in main()
99 } else if (0 == strcmp(cur_arg, "--target-env")) { in main()
[all …]
/third_party/spirv-tools/tools/reduce/
Dreduce.cpp156 const char* cur_arg = argv[argi]; in ParseFlags() local
157 if ('-' == cur_arg[0] && !only_positional_arguments_remain) { in ParseFlags()
158 if (0 == strcmp(cur_arg, "--version")) { in ParseFlags()
162 } else if (0 == strcmp(cur_arg, "--help") || 0 == strcmp(cur_arg, "-h")) { in ParseFlags()
165 } else if (0 == strcmp(cur_arg, "-o")) { in ParseFlags()
172 } else if (0 == strncmp(cur_arg, in ParseFlags()
174 const auto split_flag = spvtools::utils::SplitFlagArgs(cur_arg); in ParseFlags()
181 } else if (0 == strncmp(cur_arg, "--target-function=", in ParseFlags()
183 const auto split_flag = spvtools::utils::SplitFlagArgs(cur_arg); in ParseFlags()
190 } else if (0 == strcmp(cur_arg, "--fail-on-validation-error")) { in ParseFlags()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/tools/reduce/
Dreduce.cpp156 const char* cur_arg = argv[argi]; in ParseFlags() local
157 if ('-' == cur_arg[0] && !only_positional_arguments_remain) { in ParseFlags()
158 if (0 == strcmp(cur_arg, "--version")) { in ParseFlags()
162 } else if (0 == strcmp(cur_arg, "--help") || 0 == strcmp(cur_arg, "-h")) { in ParseFlags()
165 } else if (0 == strcmp(cur_arg, "-o")) { in ParseFlags()
172 } else if (0 == strncmp(cur_arg, in ParseFlags()
174 const auto split_flag = spvtools::utils::SplitFlagArgs(cur_arg); in ParseFlags()
181 } else if (0 == strncmp(cur_arg, "--target-function=", in ParseFlags()
183 const auto split_flag = spvtools::utils::SplitFlagArgs(cur_arg); in ParseFlags()
190 } else if (0 == strcmp(cur_arg, "--fail-on-validation-error")) { in ParseFlags()
[all …]
/third_party/skia/third_party/externals/spirv-tools/tools/reduce/
Dreduce.cpp156 const char* cur_arg = argv[argi]; in ParseFlags() local
157 if ('-' == cur_arg[0] && !only_positional_arguments_remain) { in ParseFlags()
158 if (0 == strcmp(cur_arg, "--version")) { in ParseFlags()
162 } else if (0 == strcmp(cur_arg, "--help") || 0 == strcmp(cur_arg, "-h")) { in ParseFlags()
165 } else if (0 == strcmp(cur_arg, "-o")) { in ParseFlags()
172 } else if (0 == strncmp(cur_arg, in ParseFlags()
174 const auto split_flag = spvtools::utils::SplitFlagArgs(cur_arg); in ParseFlags()
181 } else if (0 == strncmp(cur_arg, "--target-function=", in ParseFlags()
183 const auto split_flag = spvtools::utils::SplitFlagArgs(cur_arg); in ParseFlags()
190 } else if (0 == strcmp(cur_arg, "--fail-on-validation-error")) { in ParseFlags()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/tools/link/
Dlinker.cpp74 const char* cur_arg = argv[argi]; in main() local
75 if ('-' == cur_arg[0]) { in main()
76 if (0 == strcmp(cur_arg, "-o")) { in main()
85 fprintf(stderr, "error: Missing argument to %s\n", cur_arg); in main()
88 } else if (0 == strcmp(cur_arg, "--allow-partial-linkage")) { in main()
90 } else if (0 == strcmp(cur_arg, "--create-library")) { in main()
92 } else if (0 == strcmp(cur_arg, "--help") || 0 == strcmp(cur_arg, "-h")) { in main()
95 } else if (0 == strcmp(cur_arg, "--target-env")) { in main()
106 } else if (0 == strcmp(cur_arg, "--verify-ids")) { in main()
108 } else if (0 == strcmp(cur_arg, "--version")) { in main()
[all …]
/third_party/spirv-tools/tools/link/
Dlinker.cpp77 const char* cur_arg = argv[argi]; in main() local
78 if ('-' == cur_arg[0]) { in main()
79 if (0 == strcmp(cur_arg, "-o")) { in main()
88 fprintf(stderr, "error: Missing argument to %s\n", cur_arg); in main()
91 } else if (0 == strcmp(cur_arg, "--allow-partial-linkage")) { in main()
93 } else if (0 == strcmp(cur_arg, "--create-library")) { in main()
95 } else if (0 == strcmp(cur_arg, "--help") || 0 == strcmp(cur_arg, "-h")) { in main()
98 } else if (0 == strcmp(cur_arg, "--target-env")) { in main()
109 } else if (0 == strcmp(cur_arg, "--verify-ids")) { in main()
111 } else if (0 == strcmp(cur_arg, "--version")) { in main()
[all …]
/third_party/skia/third_party/externals/spirv-tools/tools/link/
Dlinker.cpp74 const char* cur_arg = argv[argi]; in main() local
75 if ('-' == cur_arg[0]) { in main()
76 if (0 == strcmp(cur_arg, "-o")) { in main()
85 fprintf(stderr, "error: Missing argument to %s\n", cur_arg); in main()
88 } else if (0 == strcmp(cur_arg, "--allow-partial-linkage")) { in main()
90 } else if (0 == strcmp(cur_arg, "--create-library")) { in main()
92 } else if (0 == strcmp(cur_arg, "--help") || 0 == strcmp(cur_arg, "-h")) { in main()
95 } else if (0 == strcmp(cur_arg, "--target-env")) { in main()
106 } else if (0 == strcmp(cur_arg, "--verify-ids")) { in main()
108 } else if (0 == strcmp(cur_arg, "--version")) { in main()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/tools/fuzz/
Dfuzz.cpp226 const char* cur_arg = argv[argi]; in ParseFlags() local
227 if ('-' == cur_arg[0] && !only_positional_arguments_remain) { in ParseFlags()
228 if (0 == strcmp(cur_arg, "--version")) { in ParseFlags()
232 } else if (0 == strcmp(cur_arg, "--help") || 0 == strcmp(cur_arg, "-h")) { in ParseFlags()
235 } else if (0 == strcmp(cur_arg, "-o")) { in ParseFlags()
242 } else if (0 == strncmp(cur_arg, "--donors=", sizeof("--donors=") - 1)) { in ParseFlags()
243 const auto split_flag = spvtools::utils::SplitFlagArgs(cur_arg); in ParseFlags()
245 } else if (0 == strncmp(cur_arg, "--enable-all-passes", in ParseFlags()
248 } else if (0 == strncmp(cur_arg, "--force-render-red", in ParseFlags()
251 } else if (0 == strncmp(cur_arg, "--fuzzer-pass-validation", in ParseFlags()
[all …]
/third_party/spirv-tools/tools/fuzz/
Dfuzz.cpp226 const char* cur_arg = argv[argi]; in ParseFlags() local
227 if ('-' == cur_arg[0] && !only_positional_arguments_remain) { in ParseFlags()
228 if (0 == strcmp(cur_arg, "--version")) { in ParseFlags()
232 } else if (0 == strcmp(cur_arg, "--help") || 0 == strcmp(cur_arg, "-h")) { in ParseFlags()
235 } else if (0 == strcmp(cur_arg, "-o")) { in ParseFlags()
242 } else if (0 == strncmp(cur_arg, "--donors=", sizeof("--donors=") - 1)) { in ParseFlags()
243 const auto split_flag = spvtools::utils::SplitFlagArgs(cur_arg); in ParseFlags()
245 } else if (0 == strncmp(cur_arg, "--enable-all-passes", in ParseFlags()
248 } else if (0 == strncmp(cur_arg, "--force-render-red", in ParseFlags()
251 } else if (0 == strncmp(cur_arg, "--fuzzer-pass-validation", in ParseFlags()
[all …]
/third_party/skia/third_party/externals/spirv-tools/tools/fuzz/
Dfuzz.cpp226 const char* cur_arg = argv[argi]; in ParseFlags() local
227 if ('-' == cur_arg[0] && !only_positional_arguments_remain) { in ParseFlags()
228 if (0 == strcmp(cur_arg, "--version")) { in ParseFlags()
232 } else if (0 == strcmp(cur_arg, "--help") || 0 == strcmp(cur_arg, "-h")) { in ParseFlags()
235 } else if (0 == strcmp(cur_arg, "-o")) { in ParseFlags()
242 } else if (0 == strncmp(cur_arg, "--donors=", sizeof("--donors=") - 1)) { in ParseFlags()
243 const auto split_flag = spvtools::utils::SplitFlagArgs(cur_arg); in ParseFlags()
245 } else if (0 == strncmp(cur_arg, "--enable-all-passes", in ParseFlags()
248 } else if (0 == strncmp(cur_arg, "--force-render-red", in ParseFlags()
251 } else if (0 == strncmp(cur_arg, "--fuzzer-pass-validation", in ParseFlags()
[all …]
/third_party/flutter/skia/third_party/externals/spirv-tools/tools/stats/
Dstats.cpp85 const char* cur_arg = argv[argi]; in main() local
86 if ('-' == cur_arg[0]) { in main()
87 if (0 == strcmp(cur_arg, "--help") || 0 == strcmp(cur_arg, "-h")) { in main()
91 } else if (0 == strcmp(cur_arg, "--verbose") || 0 == strcmp(cur_arg, "-v")) { in main()
99 paths.push_back(cur_arg); in main()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/tls/
Dlibtommath.c1453 mp_int* cur_arg = mp; in mp_init_multi() local
1457 while (cur_arg != NULL) { in mp_init_multi()
1458 if (mp_init(cur_arg) != MP_OKAY) { in mp_init_multi()
1468 cur_arg = mp; in mp_init_multi()
1471 mp_clear(cur_arg); in mp_init_multi()
1472 cur_arg = va_arg(clean_args, mp_int*); in mp_init_multi()
1478 cur_arg = va_arg(args, mp_int*); in mp_init_multi()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/tls/
Dlibtommath.c1453 mp_int* cur_arg = mp; in mp_init_multi() local
1457 while (cur_arg != NULL) { in mp_init_multi()
1458 if (mp_init(cur_arg) != MP_OKAY) { in mp_init_multi()
1468 cur_arg = mp; in mp_init_multi()
1471 mp_clear(cur_arg); in mp_init_multi()
1472 cur_arg = va_arg(clean_args, mp_int*); in mp_init_multi()
1478 cur_arg = va_arg(args, mp_int*); in mp_init_multi()