/external/clang/bindings/python/tests/cindex/ |
D | test_code_completion.py | 25 tu = TranslationUnit.from_source('fake.c', ['-std=c99'], unsaved_files=files, 28 cr = tu.codeComplete('fake.c', 9, 1, unsaved_files=files, include_brief_comments=True) 55 tu = TranslationUnit.from_source('fake.cpp', ['-std=c++98'], unsaved_files=files) 57 cr = tu.codeComplete('fake.cpp', 12, 5, unsaved_files=files) 68 cr = tu.codeComplete('fake.cpp', 13, 5, unsaved_files=files)
|
D | test_file.py | 5 tu = index.parse('t.c', unsaved_files = [('t.c', "")])
|
D | test_comment.py | 18 tu = TranslationUnit.from_source('fake.c', ['-std=c99'], unsaved_files=files,
|
D | util.py | 30 return TranslationUnit.from_source(name, args, unsaved_files=[(name,
|
D | test_translation_unit.py | 47 tu = TranslationUnit.from_source('fake.c', ['-I./'], unsaved_files = [ 63 tu = TranslationUnit.from_source('fake.c', unsaved_files = [
|
/external/clang/tools/c-index-test/ |
D | c-index-test.c | 134 void free_remapped_files(struct CXUnsavedFile *unsaved_files, in free_remapped_files() argument 138 free((char *)unsaved_files[i].Filename); in free_remapped_files() 139 free((char *)unsaved_files[i].Contents); in free_remapped_files() 141 free(unsaved_files); in free_remapped_files() 147 struct CXUnsavedFile **unsaved_files, in parse_remapped_files_with_opt() argument 153 *unsaved_files = 0; in parse_remapped_files_with_opt() 169 *unsaved_files in parse_remapped_files_with_opt() 173 struct CXUnsavedFile *unsaved = *unsaved_files + i; in parse_remapped_files_with_opt() 183 free_remapped_files(*unsaved_files, i); in parse_remapped_files_with_opt() 184 *unsaved_files = 0; in parse_remapped_files_with_opt() [all …]
|
/external/clang/bindings/python/clang/ |
D | cindex.py | 2281 def parse(self, path, args=None, unsaved_files=None, options = 0): argument 2294 return TranslationUnit.from_source(path, args, unsaved_files, options, 2337 def from_source(cls, filename, args=None, unsaved_files=None, options=0, argument 2381 if unsaved_files is None: 2382 unsaved_files = [] 2392 if len(unsaved_files) > 0: 2393 unsaved_array = (_CXUnsavedFile * len(unsaved_files))() 2394 for i, (name, contents) in enumerate(unsaved_files): 2404 len(unsaved_files), options) 2557 def reparse(self, unsaved_files=None, options=0): argument [all …]
|
/external/clang/tools/libclang/ |
D | Indexing.cpp | 420 ArrayRef<CXUnsavedFile> unsaved_files, CXTranslationUnit *out_TU, in clang_indexSourceFile_Impl() argument 501 for (auto &UF : unsaved_files) { in clang_indexSourceFile_Impl() 841 struct CXUnsavedFile *unsaved_files, in clang_indexSourceFile() argument 850 index_options, source_filename, Args.data(), Args.size(), unsaved_files, in clang_indexSourceFile() 859 struct CXUnsavedFile *unsaved_files, unsigned num_unsaved_files, in clang_indexSourceFileFullArgv() argument 867 if (num_unsaved_files && !unsaved_files) in clang_indexSourceFileFullArgv() 876 llvm::makeArrayRef(unsaved_files, num_unsaved_files), out_TU, in clang_indexSourceFileFullArgv() 901 fprintf(stderr, "('%s', '...', %ld)", unsaved_files[i].Filename, in clang_indexSourceFileFullArgv() 902 unsaved_files[i].Length); in clang_indexSourceFileFullArgv()
|
D | CIndexCodeCompletion.cpp | 652 ArrayRef<CXUnsavedFile> unsaved_files, in clang_codeCompleteAt_Impl() argument 682 for (auto &UF : unsaved_files) { in clang_codeCompleteAt_Impl() 802 struct CXUnsavedFile *unsaved_files, in clang_codeCompleteAt() argument 810 if (num_unsaved_files && !unsaved_files) in clang_codeCompleteAt() 817 llvm::makeArrayRef(unsaved_files, num_unsaved_files), options); in clang_codeCompleteAt()
|
D | CIndex.cpp | 3166 struct CXUnsavedFile *unsaved_files) { in clang_createTranslationUnitFromSourceFile() argument 3170 unsaved_files, num_unsaved_files, in clang_createTranslationUnitFromSourceFile() 3178 ArrayRef<CXUnsavedFile> unsaved_files, in clang_parseTranslationUnit_Impl() argument 3225 for (auto &UF : unsaved_files) { in clang_parseTranslationUnit_Impl() 3312 struct CXUnsavedFile *unsaved_files, in clang_parseTranslationUnit() argument 3318 unsaved_files, num_unsaved_files, options, &TU); in clang_parseTranslationUnit() 3328 struct CXUnsavedFile *unsaved_files, unsigned num_unsaved_files, in clang_parseTranslationUnit2() argument 3334 CIdx, source_filename, Args.data(), Args.size(), unsaved_files, in clang_parseTranslationUnit2() 3341 struct CXUnsavedFile *unsaved_files, unsigned num_unsaved_files, in clang_parseTranslationUnit2FullArgv() argument 3349 if (num_unsaved_files && !unsaved_files) in clang_parseTranslationUnit2FullArgv() [all …]
|
/external/clang/include/clang-c/ |
D | Index.h | 1082 struct CXUnsavedFile *unsaved_files); 1250 struct CXUnsavedFile *unsaved_files, 1303 struct CXUnsavedFile *unsaved_files, 1316 struct CXUnsavedFile *unsaved_files, unsigned num_unsaved_files, 1478 struct CXUnsavedFile *unsaved_files, 5052 struct CXUnsavedFile *unsaved_files, 5902 struct CXUnsavedFile *unsaved_files, 5916 int num_command_line_args, struct CXUnsavedFile *unsaved_files,
|
/external/clang/unittests/libclang/ |
D | LibclangTest.cpp | 396 bool ReparseTU(unsigned num_unsaved_files, CXUnsavedFile* unsaved_files) { in ReparseTU() argument 397 if (clang_reparseTranslationUnit(ClangTU, num_unsaved_files, unsaved_files, in ReparseTU()
|