Lines Matching refs:index_data

2615 static void free_client_data(IndexData *index_data) {  in free_client_data()  argument
2616 IndexDataStringList *node = index_data->strings; in free_client_data()
2622 index_data->strings = NULL; in free_client_data()
2643 IndexData *index_data; in printCXIndexLoc() local
2650 index_data = (IndexData *)client_data; in printCXIndexLoc()
2662 if (strcmp(cname, index_data->main_filename) == 0) in printCXIndexLoc()
2688 IndexData *index_data; in makeClientContainer() local
2708 index_data = (IndexData *)client_data; in makeClientContainer()
2709 node->next = index_data->strings; in makeClientContainer()
2710 index_data->strings = node; in makeClientContainer()
2785 IndexData *index_data; in printEntityInfo() local
2787 index_data = (IndexData *)client_data; in printEntityInfo()
2788 printCheck(index_data); in printEntityInfo()
2841 IndexData *index_data; in index_diagnostic() local
2842 index_data = (IndexData *)client_data; in index_diagnostic()
2843 printCheck(index_data); in index_diagnostic()
2855 index_data->fail_for_error = 1; in index_diagnostic()
2862 IndexData *index_data; in index_enteredMainFile() local
2865 index_data = (IndexData *)client_data; in index_enteredMainFile()
2866 printCheck(index_data); in index_enteredMainFile()
2869 index_data->main_filename = clang_getCString(filename); in index_enteredMainFile()
2881 IndexData *index_data; in index_ppIncludedFile() local
2883 index_data = (IndexData *)client_data; in index_ppIncludedFile()
2884 printCheck(index_data); in index_ppIncludedFile()
2894 Mod = clang_getModuleForFile(index_data->TU, (CXFile)info->file); in index_ppIncludedFile()
2909 IndexData *index_data; in index_importedASTFile() local
2910 index_data = (IndexData *)client_data; in index_importedASTFile()
2911 printCheck(index_data); in index_importedASTFile()
2913 if (index_data->importedASTs) { in index_importedASTFile()
2915 importedASTS_insert(index_data->importedASTs, clang_getCString(filename)); in index_importedASTFile()
2938 IndexData *index_data; in index_startedTranslationUnit() local
2939 index_data = (IndexData *)client_data; in index_startedTranslationUnit()
2940 printCheck(index_data); in index_startedTranslationUnit()
2948 IndexData *index_data; in index_indexDeclaration() local
2955 index_data = (IndexData *)client_data; in index_indexDeclaration()
2994 printCheck(index_data); in index_indexDeclaration()
3063 IndexData *index_data; in index_abortQuery() local
3064 index_data = (IndexData *)client_data; in index_abortQuery()
3065 return index_data->abort; in index_abortQuery()
3096 IndexData index_data; in index_compile_args() local
3105 index_data.check_prefix = check_prefix; in index_compile_args()
3106 index_data.first_check_printed = 0; in index_compile_args()
3107 index_data.fail_for_error = 0; in index_compile_args()
3108 index_data.abort = 0; in index_compile_args()
3109 index_data.main_filename = ""; in index_compile_args()
3110 index_data.importedASTs = importedASTs; in index_compile_args()
3111 index_data.strings = NULL; in index_compile_args()
3112 index_data.TU = NULL; in index_compile_args()
3115 result = clang_indexSourceFile(idxAction, &index_data, in index_compile_args()
3122 if (index_data.fail_for_error) in index_compile_args()
3125 free_client_data(&index_data); in index_compile_args()
3135 IndexData index_data; in index_ast_file() local
3142 index_data.check_prefix = check_prefix; in index_ast_file()
3143 index_data.first_check_printed = 0; in index_ast_file()
3144 index_data.fail_for_error = 0; in index_ast_file()
3145 index_data.abort = 0; in index_ast_file()
3146 index_data.main_filename = ""; in index_ast_file()
3147 index_data.importedASTs = importedASTs; in index_ast_file()
3148 index_data.strings = NULL; in index_ast_file()
3149 index_data.TU = TU; in index_ast_file()
3152 result = clang_indexTranslationUnit(idxAction, &index_data, in index_ast_file()
3155 if (index_data.fail_for_error) in index_ast_file()
3159 free_client_data(&index_data); in index_ast_file()