• Home
  • Raw
  • Download

Lines Matching refs:Options

39 string Options::GetUsage() const {  in GetUsage()
59 if (language_ == Options::Language::JAVA) { in GetUsage()
63 } else if (language_ == Options::Language::CPP) { in GetUsage()
131 Options Options::From(const string& cmdline) { in From()
136 Options Options::From(const vector<string>& args) { in From()
137 Options::Language lang = Options::Language::JAVA; in From()
140 lang = Options::Language::CPP; in From()
148 return Options(argc, argv, lang); in From()
151 Options::Options(int argc, const char* const argv[], Options::Language default_lang) in Options() function in android::aidl::Options
187 if (language_ == Options::Language::CPP) { in Options()
196 language_ = Options::Language::JAVA; in Options()
197 task_ = Options::Task::COMPILE; in Options()
199 language_ = Options::Language::CPP; in Options()
200 task_ = Options::Task::COMPILE; in Options()
202 language_ = Options::Language::NDK; in Options()
203 task_ = Options::Task::COMPILE; in Options()
211 if (task_ != Options::Task::UNSPECIFIED) { in Options()
212 task_ = Options::Task::PREPROCESS; in Options()
217 if (task_ != Options::Task::UNSPECIFIED) { in Options()
218 task_ = Options::Task::DUMP_API; in Options()
222 if (task_ != Options::Task::UNSPECIFIED) { in Options()
223 task_ = Options::Task::CHECK_API; in Options()
302 if (!lang_option_found && task_ == Options::Task::COMPILE) { in Options()
308 if (language_ == Options::Language::JAVA) { in Options()
345 if (task_ == Options::Task::COMPILE || task_ == Options::Task::DUMP_API) { in Options()
356 if (task_ != Options::Task::CHECK_API && task_ != Options::Task::DUMP_MAPPINGS) { in Options()
367 if (IsCppOutput() && task_ == Options::Task::COMPILE) { in Options()
378 if (language_ == Options::Language::JAVA && task_ == Options::Task::COMPILE) { in Options()
390 if (task_ == Options::Task::COMPILE) { in Options()
410 if (gen_log_ && (language_ != Options::Language::CPP && language_ != Options::Language::NDK)) { in Options()
415 if (task_ == Options::Task::PREPROCESS) { in Options()
421 if (task_ == Options::Task::CHECK_API) { in Options()
428 if (task_ == Options::Task::DUMP_API) { in Options()