• Home
  • Raw
  • Download

Lines Matching refs:options

535 exactly_one_interface(const char* filename, const document_item_type* items, const Options& options,  argument
560 if (options.failOnParcelable) {
578 generate_dep_file(const Options& options, const document_item_type* items) argument
584 if (options.autoDepFile) {
585 string fileName = options.outputFileName + ".d";
588 to = fopen(options.depFileName.c_str(), "wb");
602 fprintf(to, "%s: \\\n", options.outputFileName.c_str());
607 fprintf(to, " %s %s\n", options.inputFileName.c_str(), slash);
626 generate_outputFileName2(const Options& options, const buffer_type& name, const char* package) argument
632 result = options.outputBaseFolder;
658 generate_outputFileName(const Options& options, const document_item_type* items) argument
664 return generate_outputFileName2(options, type->name, type->package);
667 return generate_outputFileName2(options, type->name, type->package);
787 compile_aidl(Options& options) argument
791 set_import_paths(options.importPaths);
796 N = options.preprocessedFiles.size();
798 const string& s = options.preprocessedFiles[i];
807 err = parse_aidl(options.inputFileName.c_str());
839 err |= check_filenames(options.inputFileName.c_str(), mainDoc);
847 err |= gather_types(options.inputFileName.c_str(), mainDoc);
868 err |= check_types(options.inputFileName.c_str(), mainDoc);
873 err |= exactly_one_interface(options.inputFileName.c_str(), mainDoc, options, &onlyParcelable);
882 if (options.outputFileName.length() == 0 &&
883 options.outputBaseFolder.length() > 0) {
884 options.outputFileName = generate_outputFileName(options, mainDoc);
889 if ((options.autoDepFile || options.depFileName != "") &&
890 !(onlyParcelable && options.failOnParcelable)) {
892 check_outputFilePath(options.outputFileName);
893 generate_dep_file(options, mainDoc);
897 if (onlyParcelable && !options.failOnParcelable) {
902 check_outputFilePath(options.outputFileName);
904 err = generate_java(options.outputFileName, options.inputFileName.c_str(),
911 preprocess_aidl(const Options& options) argument
917 int N = options.filesToPreprocess.size();
920 err = parse_aidl(options.filesToPreprocess[i].c_str());
948 int fd = open( options.outputFileName.c_str(),
957 options.outputFileName.c_str());
967 options.outputFileName.c_str());
969 unlink(options.outputFileName.c_str());
982 Options options; local
983 int result = parse_options(argc, argv, &options);
988 switch (options.task)
991 return compile_aidl(options);
993 return preprocess_aidl(options);