/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 | util.py | 30 return TranslationUnit.from_source(name, args, unsaved_files=[(name,
|
D | test_translation_unit.py | 46 tu = TranslationUnit.from_source('fake.c', ['-I./'], unsaved_files = [ 62 tu = TranslationUnit.from_source('fake.c', unsaved_files = [
|
/external/clang/tools/c-index-test/ |
D | c-index-test.c | 100 void free_remapped_files(struct CXUnsavedFile *unsaved_files, in free_remapped_files() argument 104 free((char *)unsaved_files[i].Filename); in free_remapped_files() 105 free((char *)unsaved_files[i].Contents); in free_remapped_files() 107 free(unsaved_files); in free_remapped_files() 111 struct CXUnsavedFile **unsaved_files, in parse_remapped_files() argument 116 *unsaved_files = 0; in parse_remapped_files() 130 *unsaved_files in parse_remapped_files() 134 struct CXUnsavedFile *unsaved = *unsaved_files + i; in parse_remapped_files() 144 free_remapped_files(*unsaved_files, i); in parse_remapped_files() 145 *unsaved_files = 0; in parse_remapped_files() [all …]
|
/external/clang/tools/libclang/ |
D | Indexing.cpp | 482 struct CXUnsavedFile *unsaved_files; member 512 struct CXUnsavedFile *unsaved_files = ITUI->unsaved_files; in clang_indexSourceFile_Impl() local 595 StringRef Data(unsaved_files[I].Contents, unsaved_files[I].Length); in clang_indexSourceFile_Impl() 597 = llvm::MemoryBuffer::getMemBufferCopy(Data, unsaved_files[I].Filename); in clang_indexSourceFile_Impl() 598 CInvok->getPreprocessorOpts().addRemappedFile(unsaved_files[I].Filename, Buffer); in clang_indexSourceFile_Impl() 967 struct CXUnsavedFile *unsaved_files, in clang_indexSourceFile() argument 980 num_command_line_args, unsaved_files, in clang_indexSourceFile() 1004 fprintf(stderr, "('%s', '...', %ld)", unsaved_files[i].Filename, in clang_indexSourceFile() 1005 unsaved_files[i].Length); in clang_indexSourceFile()
|
D | CIndexCodeCompletion.cpp | 658 struct CXUnsavedFile *unsaved_files; member 669 struct CXUnsavedFile *unsaved_files = CCAI->unsaved_files; in clang_codeCompleteAt_Impl() local 696 StringRef Data(unsaved_files[I].Contents, unsaved_files[I].Length); in clang_codeCompleteAt_Impl() 698 = llvm::MemoryBuffer::getMemBufferCopy(Data, unsaved_files[I].Filename); in clang_codeCompleteAt_Impl() 699 RemappedFiles.push_back(std::make_pair(unsaved_files[I].Filename, in clang_codeCompleteAt_Impl() 815 struct CXUnsavedFile *unsaved_files, in clang_codeCompleteAt() argument 824 complete_column, unsaved_files, num_unsaved_files, in clang_codeCompleteAt()
|
D | CIndex.cpp | 2632 struct CXUnsavedFile *unsaved_files) { in clang_createTranslationUnitFromSourceFile() argument 2636 unsaved_files, num_unsaved_files, in clang_createTranslationUnitFromSourceFile() 2645 struct CXUnsavedFile *unsaved_files; member 2657 struct CXUnsavedFile *unsaved_files = PTUI->unsaved_files; in clang_parseTranslationUnit_Impl() local 2698 StringRef Data(unsaved_files[I].Contents, unsaved_files[I].Length); in clang_parseTranslationUnit_Impl() 2700 = llvm::MemoryBuffer::getMemBufferCopy(Data, unsaved_files[I].Filename); in clang_parseTranslationUnit_Impl() 2701 RemappedFiles->push_back(std::make_pair(unsaved_files[I].Filename, in clang_parseTranslationUnit_Impl() 2780 struct CXUnsavedFile *unsaved_files, in clang_parseTranslationUnit() argument 2790 num_command_line_args, unsaved_files, in clang_parseTranslationUnit() 2808 fprintf(stderr, "('%s', '...', %ld)", unsaved_files[i].Filename, in clang_parseTranslationUnit() [all …]
|
/external/clang/bindings/python/clang/ |
D | cindex.py | 1959 def parse(self, path, args=None, unsaved_files=None, options = 0): argument 1972 return TranslationUnit.from_source(path, args, unsaved_files, options, 2015 def from_source(cls, filename, args=None, unsaved_files=None, options=0, argument 2059 if unsaved_files is None: 2060 unsaved_files = [] 2070 if len(unsaved_files) > 0: 2071 unsaved_array = (_CXUnsavedFile * len(unsaved_files))() 2072 for i, (name, contents) in enumerate(unsaved_files): 2082 len(unsaved_files), options) 2235 def reparse(self, unsaved_files=None, options=0): argument [all …]
|
/external/clang/include/clang-c/ |
D | Index.h | 1046 struct CXUnsavedFile *unsaved_files); 1213 struct CXUnsavedFile *unsaved_files, 1375 struct CXUnsavedFile *unsaved_files, 4951 struct CXUnsavedFile *unsaved_files, 5750 struct CXUnsavedFile *unsaved_files,
|