Home | History | Annotate | Download | only in kati

Lines Matching defs:arg

31   const char* arg = argv[*index];
32 if (!HasPrefix(arg, option))
34 if (arg[option.size()] == '\0') {
39 if (arg[option.size()] == '=') {
40 *out_arg = arg + option.size() + 1;
45 *out_arg = arg + option.size();
64 const char* arg = argv[i];
67 if (!strcmp(arg, "-f")) {
70 } else if (!strcmp(arg, "-c")) {
72 } else if (!strcmp(arg, "-i")) {
74 } else if (!strcmp(arg, "-s")) {
76 } else if (!strcmp(arg, "-d")) {
78 } else if (!strcmp(arg, "--kati_stats")) {
80 } else if (!strcmp(arg, "--warn")) {
82 } else if (!strcmp(arg, "--ninja")) {
84 } else if (!strcmp(arg, "--gen_all_targets")) {
86 } else if (!strcmp(arg, "--regen")) {
89 } else if (!strcmp(arg, "--regen_debug")) {
91 } else if (!strcmp(arg, "--regen_ignoring_kati_binary")) {
93 } else if (!strcmp(arg, "--dump_kati_stamp")) {
96 } else if (!strcmp(arg, "--detect_android_echo")) {
98 } else if (!strcmp(arg, "--detect_depfiles")) {
100 } else if (!strcmp(arg, "--color_warnings")) {
102 } else if (!strcmp(arg, "--werror_find_emulator")) {
104 } else if (!strcmp(arg, "--werror_overriding_commands")) {
121 } else if (!strcmp(arg, "--use_find_emulator")) {
132 } else if (arg[0] == '-') {
133 ERROR("Unknown flag: %s", arg);
135 if (strchr(arg, '=')) {
136 cl_vars.push_back(arg);
139 targets.push_back(Intern(arg));