Lines Matching refs:cur_arg
79 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()
133 } else if (0 == strcmp(cur_arg, "--relax-logical-pointer")) { in main()
135 } else if (0 == strcmp(cur_arg, "--relax-block-layout")) { in main()
137 } else if (0 == strcmp(cur_arg, "--scalar-block-layout")) { in main()
139 } else if (0 == strcmp(cur_arg, "--skip-block-layout")) { in main()
141 } else if (0 == strcmp(cur_arg, "--relax-struct-store")) { in main()
143 } else if (0 == cur_arg[1]) { in main()
146 inFile = cur_arg; in main()
159 inFile = cur_arg; in main()