Home
last modified time | relevance | path

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

/external/swiftshader/third_party/SPIRV-Tools/tools/val/
Dval.cpp79 const char* cur_arg = argv[argi]; in main() local
80 if ('-' == cur_arg[0]) { in main()
81 if (0 == strncmp(cur_arg, "--max-", 6)) { in main()
84 if (spvParseUniversalLimitsOptions(cur_arg, &limit_type)) { in main()
89 fprintf(stderr, "error: missing argument to %s\n", cur_arg); in main()
94 fprintf(stderr, "error: unrecognized option: %s\n", cur_arg); in main()
99 fprintf(stderr, "error: Missing argument to %s\n", cur_arg); in main()
103 } else if (0 == strcmp(cur_arg, "--version")) { in main()
116 } else if (0 == strcmp(cur_arg, "--help") || 0 == strcmp(cur_arg, "-h")) { in main()
120 } else if (0 == strcmp(cur_arg, "--target-env")) { in main()
[all …]
/external/deqp-deps/SPIRV-Tools/tools/val/
Dval.cpp79 const char* cur_arg = argv[argi]; in main() local
80 if ('-' == cur_arg[0]) { in main()
81 if (0 == strncmp(cur_arg, "--max-", 6)) { in main()
84 if (spvParseUniversalLimitsOptions(cur_arg, &limit_type)) { in main()
89 fprintf(stderr, "error: missing argument to %s\n", cur_arg); in main()
94 fprintf(stderr, "error: unrecognized option: %s\n", cur_arg); in main()
99 fprintf(stderr, "error: Missing argument to %s\n", cur_arg); in main()
103 } else if (0 == strcmp(cur_arg, "--version")) { in main()
116 } else if (0 == strcmp(cur_arg, "--help") || 0 == strcmp(cur_arg, "-h")) { in main()
120 } else if (0 == strcmp(cur_arg, "--target-env")) { in main()
[all …]
/external/deqp-deps/SPIRV-Tools/tools/opt/
Dopt.cpp480 const char* cur_arg = argv[*argi]; in CanonicalizeFlag() local
483 canonical_arg << cur_arg; in CanonicalizeFlag()
490 if (0 == strcmp(cur_arg, "--set-spec-const-default-value") || in CanonicalizeFlag()
491 0 == strcmp(cur_arg, "--loop-fission") || in CanonicalizeFlag()
492 0 == strcmp(cur_arg, "--loop-fusion") || in CanonicalizeFlag()
493 0 == strcmp(cur_arg, "--loop-unroll-partial") || in CanonicalizeFlag()
494 0 == strcmp(cur_arg, "--loop-peeling-threshold")) { in CanonicalizeFlag()
519 const char* cur_arg = argv[argi]; in ParseFlags() local
520 if ('-' == cur_arg[0]) { in ParseFlags()
521 if (0 == strcmp(cur_arg, "--version")) { in ParseFlags()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/tools/opt/
Dopt.cpp504 const char* cur_arg = argv[*argi]; in CanonicalizeFlag() local
507 canonical_arg << cur_arg; in CanonicalizeFlag()
514 if (0 == strcmp(cur_arg, "--set-spec-const-default-value") || in CanonicalizeFlag()
515 0 == strcmp(cur_arg, "--loop-fission") || in CanonicalizeFlag()
516 0 == strcmp(cur_arg, "--loop-fusion") || in CanonicalizeFlag()
517 0 == strcmp(cur_arg, "--loop-unroll-partial") || in CanonicalizeFlag()
518 0 == strcmp(cur_arg, "--loop-peeling-threshold")) { in CanonicalizeFlag()
545 const char* cur_arg = argv[argi]; in ParseFlags() local
546 if ('-' == cur_arg[0]) { in ParseFlags()
547 if (0 == strcmp(cur_arg, "--version")) { in ParseFlags()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/tools/link/
Dlinker.cpp57 const char* cur_arg = argv[argi]; in main() local
58 if ('-' == cur_arg[0]) { in main()
59 if (0 == strcmp(cur_arg, "-o")) { in main()
69 fprintf(stderr, "error: Missing argument to %s\n", cur_arg); in main()
73 } else if (0 == strcmp(cur_arg, "--create-library")) { in main()
75 } else if (0 == strcmp(cur_arg, "--verify-ids")) { in main()
77 } else if (0 == strcmp(cur_arg, "--allow-partial-linkage")) { in main()
79 } else if (0 == strcmp(cur_arg, "--version")) { in main()
88 } else if (0 == strcmp(cur_arg, "--help") || 0 == strcmp(cur_arg, "-h")) { in main()
92 } else if (0 == strcmp(cur_arg, "--target-env")) { in main()
[all …]
/external/deqp-deps/SPIRV-Tools/tools/link/
Dlinker.cpp57 const char* cur_arg = argv[argi]; in main() local
58 if ('-' == cur_arg[0]) { in main()
59 if (0 == strcmp(cur_arg, "-o")) { in main()
69 fprintf(stderr, "error: Missing argument to %s\n", cur_arg); in main()
73 } else if (0 == strcmp(cur_arg, "--create-library")) { in main()
75 } else if (0 == strcmp(cur_arg, "--verify-ids")) { in main()
77 } else if (0 == strcmp(cur_arg, "--allow-partial-linkage")) { in main()
79 } else if (0 == strcmp(cur_arg, "--version")) { in main()
88 } else if (0 == strcmp(cur_arg, "--help") || 0 == strcmp(cur_arg, "-h")) { in main()
92 } else if (0 == strcmp(cur_arg, "--target-env")) { in main()
[all …]
/external/grpc-grpc/test/core/util/
Dcmdline.cc51 arg* cur_arg; member
216 GPR_ASSERT(cl->cur_arg); in value_state()
218 switch (cl->cur_arg->type) { in value_state()
223 cl->cur_arg->name); in value_state()
226 *static_cast<int*>(cl->cur_arg->value) = static_cast<int>(intval); in value_state()
230 *static_cast<int*>(cl->cur_arg->value) = 1; in value_state()
232 *static_cast<int*>(cl->cur_arg->value) = 0; in value_state()
235 cl->cur_arg->name); in value_state()
240 *static_cast<char**>(cl->cur_arg->value) = str; in value_state()
259 cl->cur_arg = nullptr; in normal_state()
[all …]
/external/deqp-deps/SPIRV-Tools/tools/stats/
Dstats.cpp82 const char* cur_arg = argv[argi]; in main() local
83 if ('-' == cur_arg[0]) { in main()
84 if (0 == strcmp(cur_arg, "--help") || 0 == strcmp(cur_arg, "-h")) { in main()
88 } else if (0 == strcmp(cur_arg, "--verbose") || in main()
89 0 == strcmp(cur_arg, "-v")) { in main()
91 } else if (0 == strcmp(cur_arg, "--output") || in main()
92 0 == strcmp(cur_arg, "-o")) { in main()
101 output_path = cur_arg; in main()
104 paths.push_back(cur_arg); in main()
/external/swiftshader/third_party/SPIRV-Tools/tools/stats/
Dstats.cpp82 const char* cur_arg = argv[argi]; in main() local
83 if ('-' == cur_arg[0]) { in main()
84 if (0 == strcmp(cur_arg, "--help") || 0 == strcmp(cur_arg, "-h")) { in main()
88 } else if (0 == strcmp(cur_arg, "--verbose") || in main()
89 0 == strcmp(cur_arg, "-v")) { in main()
91 } else if (0 == strcmp(cur_arg, "--output") || in main()
92 0 == strcmp(cur_arg, "-o")) { in main()
101 output_path = cur_arg; in main()
104 paths.push_back(cur_arg); in main()
/external/deqp-deps/SPIRV-Tools/tools/reduce/
Dreduce.cpp112 const char* cur_arg = argv[argi]; in ParseFlags() local
113 if ('-' == cur_arg[0]) { in ParseFlags()
114 if (0 == strcmp(cur_arg, "--version")) { in ParseFlags()
118 } else if (0 == strcmp(cur_arg, "--help") || 0 == strcmp(cur_arg, "-h")) { in ParseFlags()
121 } else if ('\0' == cur_arg[1]) { in ParseFlags()
126 } else if (0 == strncmp(cur_arg, in ParseFlags()
128 const auto split_flag = spvtools::utils::SplitFlagArgs(cur_arg); in ParseFlags()
139 *in_file = cur_arg; in ParseFlags()
143 *interestingness_test = cur_arg; in ParseFlags()
/external/swiftshader/third_party/SPIRV-Tools/tools/reduce/
Dreduce.cpp113 const char* cur_arg = argv[argi]; in ParseFlags() local
114 if ('-' == cur_arg[0]) { in ParseFlags()
115 if (0 == strcmp(cur_arg, "--version")) { in ParseFlags()
119 } else if (0 == strcmp(cur_arg, "--help") || 0 == strcmp(cur_arg, "-h")) { in ParseFlags()
122 } else if ('\0' == cur_arg[1]) { in ParseFlags()
127 } else if (0 == strncmp(cur_arg, in ParseFlags()
129 const auto split_flag = spvtools::utils::SplitFlagArgs(cur_arg); in ParseFlags()
140 *in_file = cur_arg; in ParseFlags()
144 *interestingness_test = cur_arg; in ParseFlags()
/external/libchrome/base/strings/
Dsafe_sprintf.cc447 for (unsigned int cur_arg = 0; *fmt && !buffer.OutOfAddressableSpace(); ) { in SafeSNPrintf() local
474 if (cur_arg < max_args) { in SafeSNPrintf()
475 ++cur_arg; in SafeSNPrintf()
498 if (cur_arg >= max_args) { in SafeSNPrintf()
499 DEBUG_CHECK(cur_arg < max_args); in SafeSNPrintf()
504 const Arg& arg = args[cur_arg++]; in SafeSNPrintf()
526 if (cur_arg >= max_args) { in SafeSNPrintf()
527 DEBUG_CHECK(cur_arg < max_args); in SafeSNPrintf()
531 const Arg& arg = args[cur_arg++]; in SafeSNPrintf()
585 if (cur_arg >= max_args) { in SafeSNPrintf()
[all …]
/external/pdfium/samples/
Dpdfium_test.cc727 const std::string& cur_arg = args[cur_idx]; in ParseCommandLine() local
728 if (cur_arg == "--show-config") { in ParseCommandLine()
730 } else if (cur_arg == "--show-metadata") { in ParseCommandLine()
732 } else if (cur_arg == "--send-events") { in ParseCommandLine()
734 } else if (cur_arg == "--render-oneshot") { in ParseCommandLine()
736 } else if (cur_arg == "--save-attachments") { in ParseCommandLine()
738 } else if (cur_arg == "--save-images") { in ParseCommandLine()
741 } else if (cur_arg == "--callgrind-delim") { in ParseCommandLine()
744 } else if (cur_arg == "--ppm") { in ParseCommandLine()
750 } else if (cur_arg == "--png") { in ParseCommandLine()
[all …]
/external/wpa_supplicant_8/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()