Lines Matching refs:mainDoc
875 document_item_type* mainDoc = g_document;
900 if (err != 0 || mainDoc == NULL) {
906 err |= check_filenames(options.inputFileName.c_str(), mainDoc);
914 err |= gather_types(options.inputFileName.c_str(), mainDoc);
923 test_document(mainDoc);
934 // check the referenced types in mainDoc to make sure we've imported them
935 err |= check_types(options.inputFileName.c_str(), mainDoc);
937 // finally, there really only needs to be one thing in mainDoc, and it
940 err |= exactly_one_interface(options.inputFileName.c_str(), mainDoc, options, &onlyParcelable);
944 if (err != 0 || mainDoc == NULL) {
951 options.outputFileName = generate_outputFileName(options, mainDoc);
960 generate_dep_file(options, mainDoc);
972 (interface_type*)mainDoc);