Lines Matching defs:import
102 import_info* import = (import_info*)malloc(sizeof(import_info));
103 memset(import, 0, sizeof(import_info));
104 import->from = strdup(g_currentFilename);
105 import->statement.lineno = statement->lineno;
106 import->statement.data = strdup(statement->data);
107 import->statement.extra = NULL;
108 import->next = g_imports;
109 import->neededClass = parse_import_statement(statement->data);
110 g_imports = import;
365 "finally", "float", "for", "goto", "if", "implements", "import",
596 import_info* import = g_imports;
597 if (import == NULL) {
609 while (import) {
610 if (import->next == NULL) {
613 if (import->filename) {
614 fprintf(to, " %s %s\n", import->filename, slash);
616 import = import->next;
795 // import the preprocessed file
813 import_info* import = g_imports;
814 while (import) {
815 if (NAMES.Find(import->neededClass) == NULL) {
816 import->filename = find_import_file(import->neededClass);
817 if (!import->filename) {
818 fprintf(stderr, "%s:%d: couldn't find import for class %s\n",
819 import->from, import->statement.lineno,
820 import->neededClass);
823 err |= parse_aidl(import->filename);
824 import->doc = g_document;
825 if (import->doc == NULL) {
830 import = import->next;
840 import = g_imports;
841 while (import) {
842 err |= check_filenames(import->filename, import->doc);
843 import = import->next;
848 import = g_imports;
849 while (import) {
850 err |= gather_types(import->filename, import->doc);
851 import = import->next;
858 import = g_imports;
859 while (import) {
860 printf("---- import doc ----\n");
861 test_document(import->doc);
862 import = import->next;