Lines Matching refs:options

590 exactly_one_interface(const char* filename, const document_item_type* items, const Options& options,  argument
616 if (options.failOnParcelable) {
634 generate_dep_file(const Options& options, const document_item_type* items) argument
640 if (options.autoDepFile) {
641 string fileName = options.outputFileName + ".d";
644 to = fopen(options.depFileName.c_str(), "wb");
658 fprintf(to, "%s: \\\n", options.outputFileName.c_str());
663 fprintf(to, " %s %s\n", options.inputFileName.c_str(), slash);
692 generate_outputFileName2(const Options& options, const buffer_type& name, const char* package) argument
698 result = options.outputBaseFolder;
724 generate_outputFileName(const Options& options, const document_item_type* items) argument
730 return generate_outputFileName2(options, type->name, type->package);
733 return generate_outputFileName2(options, type->name, type->package);
936 compile_aidl(Options& options) argument
940 set_import_paths(options.importPaths);
945 N = options.preprocessedFiles.size();
947 const string& s = options.preprocessedFiles[i];
956 err = parse_aidl(options.inputFileName.c_str());
988 err |= check_filenames(options.inputFileName.c_str(), mainDoc);
996 err |= gather_types(options.inputFileName.c_str(), mainDoc);
1017 err |= check_types(options.inputFileName.c_str(), mainDoc);
1022 err |= exactly_one_interface(options.inputFileName.c_str(), mainDoc, options, &onlyParcelable);
1026 err |= check_and_assign_method_ids(options.inputFileName.c_str(),
1037 if (options.outputFileName.length() == 0 &&
1038 options.outputBaseFolder.length() > 0) {
1039 options.outputFileName = generate_outputFileName(options, mainDoc);
1044 if ((options.autoDepFile || options.depFileName != "") &&
1045 !(onlyParcelable && options.failOnParcelable)) {
1047 check_outputFilePath(options.outputFileName);
1048 generate_dep_file(options, mainDoc);
1052 if (onlyParcelable && !options.failOnParcelable) {
1057 check_outputFilePath(options.outputFileName);
1059 err = generate_java(options.outputFileName, options.inputFileName.c_str(),
1066 preprocess_aidl(const Options& options) argument
1072 int N = options.filesToPreprocess.size();
1075 err = parse_aidl(options.filesToPreprocess[i].c_str());
1108 int fd = open( options.outputFileName.c_str(),
1117 options.outputFileName.c_str());
1127 options.outputFileName.c_str());
1129 unlink(options.outputFileName.c_str());
1142 Options options; local
1143 int result = parse_options(argc, argv, &options);
1148 switch (options.task)
1151 return compile_aidl(options);
1153 return preprocess_aidl(options);