/external/rust/crates/codespan-reporting/src/ |
D | diagnostic.rs | 65 pub struct Label<FileId> { 69 pub file_id: FileId, 77 impl<FileId> Label<FileId> { 81 file_id: FileId, in new() argument 83 ) -> Label<FileId> { in new() argument 95 pub fn primary(file_id: FileId, range: impl Into<Range<usize>>) -> Label<FileId> { in primary() argument 102 pub fn secondary(file_id: FileId, range: impl Into<Range<usize>>) -> Label<FileId> { in secondary() argument 107 pub fn with_message(mut self, message: impl Into<String>) -> Label<FileId> { in with_message() argument 119 pub struct Diagnostic<FileId> { 133 pub labels: Vec<Label<FileId>>, [all …]
|
D | files.rs | 88 type FileId: 'a + Copy + PartialEq; typedef 95 fn name(&'a self, id: Self::FileId) -> Result<Self::Name, Error>; in name() 98 fn source(&'a self, id: Self::FileId) -> Result<Self::Source, Error>; in source() 113 fn line_index(&'a self, id: Self::FileId, byte_index: usize) -> Result<usize, Error>; in line_index() argument 127 fn line_number(&'a self, id: Self::FileId, line_index: usize) -> Result<usize, Error> { in line_number() argument 143 id: Self::FileId, in column_number() argument 156 fn location(&'a self, id: Self::FileId, byte_index: usize) -> Result<Location, Error> { in location() argument 166 fn line_range(&'a self, id: Self::FileId, line_index: usize) -> Result<Range<usize>, Error>; in line_range() argument 322 type FileId = (); typedef 388 type FileId = usize; typedef
|
D | term.rs | 91 diagnostic: &Diagnostic<F::FileId>, in emit() argument
|
/external/rust/crates/codespan-reporting/src/term/ |
D | views.rs | 19 pub struct RichDiagnostic<'diagnostic, 'config, FileId> { 20 diagnostic: &'diagnostic Diagnostic<FileId>, 24 impl<'diagnostic, 'config, FileId> RichDiagnostic<'diagnostic, 'config, FileId> 26 FileId: Copy + PartialEq, 29 diagnostic: &'diagnostic Diagnostic<FileId>, in new() argument 31 ) -> RichDiagnostic<'diagnostic, 'config, FileId> { in new() 37 files: &'files impl Files<'files, FileId = FileId>, in render() argument 41 FileId: 'files, in render() 45 struct LabeledFile<'diagnostic, FileId> { in render() 46 file_id: FileId, in render() [all …]
|
/external/rust/crates/codespan-reporting/examples/ |
D | custom_files.rs | 79 pub struct FileId(u32); struct 98 ) -> Option<FileId> { in add() argument 101 let file_id = FileId(u32::try_from(self.files.len()).ok()?); in add() 116 fn get(&self, file_id: FileId) -> Result<&File, files::Error> { in get() 124 type FileId = FileId; typedef 128 fn name(&self, file_id: FileId) -> Result<&str, files::Error> { in name() 132 fn source(&self, file_id: FileId) -> Result<&str, files::Error> { in source() 136 fn line_index(&self, file_id: FileId, byte_index: usize) -> Result<usize, files::Error> { in line_index() argument 145 file_id: FileId, in line_range() argument 160 greetings: Vec<(files::FileId, Range<usize>)>, [all …]
|
/external/llvm-project/llvm/lib/DebugInfo/PDB/Native/ |
D | NativeSourceFile.cpp | 15 NativeSourceFile::NativeSourceFile(NativeSession &Session, uint32_t FileId, in NativeSourceFile() argument 17 : Session(Session), FileId(FileId), Checksum(Checksum) {} in NativeSourceFile() 34 uint32_t NativeSourceFile::getUniqueId() const { return FileId; } in getUniqueId()
|
D | SymbolCache.cpp | 604 SymbolCache::getSourceFileById(SymIndexId FileId) const { in getSourceFileById() 605 assert(FileId < SourceFiles.size()); in getSourceFileById() 608 if (FileId == 0) in getSourceFileById() 612 new NativeSourceFile(*SourceFiles[FileId].get())); in getSourceFileById()
|
/external/clang/lib/Frontend/Rewrite/ |
D | InclusionRewriter.cpp | 55 bool Process(FileID FileId, SrcMgr::CharacteristicKind FileType); 82 bool HandleHasInclude(FileID FileId, Lexer &RawLex, 330 FileID FileId, Lexer &RawLex, const DirectoryLookup *Lookup, Token &Tok, in HandleHasInclude() argument 388 const FileEntry *FileEnt = PP.getSourceManager().getFileEntryForID(FileId); in HandleHasInclude() 403 bool InclusionRewriter::Process(FileID FileId, in Process() argument 407 const MemoryBuffer &FromFile = *SM.getBuffer(FileId, &Invalid); in Process() 410 Lexer RawLex(FileId, &FromFile, PP.getSourceManager(), PP.getLangOpts()); in Process() 416 if (FileId == SM.getMainFileID() || FileId == PP.getPredefinesFileID()) in Process() 421 if (SM.getFileIDSize(FileId) == 0) in Process() 427 assert(SM.getLineNumber(FileId, NextToWrite) == 1); in Process() [all …]
|
/external/llvm-project/clang/lib/Frontend/Rewrite/ |
D | InclusionRewriter.cpp | 60 void Process(FileID FileId, SrcMgr::CharacteristicKind FileType, 373 void InclusionRewriter::Process(FileID FileId, in Process() argument 378 auto B = SM.getBufferOrNone(FileId); in Process() 384 Lexer RawLex(FileId, FromFile, PP.getSourceManager(), PP.getLangOpts()); in Process() 390 if (FileId == SM.getMainFileID() || FileId == PP.getPredefinesFileID()) in Process() 395 if (SM.getFileIDSize(FileId) == 0) in Process() 401 assert(SM.getLineNumber(FileId, NextToWrite) == 1); in Process() 423 if (FileId != PP.getPredefinesFileID()) in Process() 531 SM.getFileOffset(SM.getLocForEndOfFile(FileId)), LocalEOL, in Process()
|
/external/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/ |
D | NativeSourceFile.h | 23 explicit NativeSourceFile(NativeSession &Session, uint32_t FileId, 35 uint32_t FileId; variable
|
/external/rust/crates/codespan-reporting/tests/support/ |
D | mod.rs | 12 pub diagnostics: Vec<Diagnostic<F::FileId>>,
|
/external/llvm/include/llvm/DebugInfo/PDB/DIA/ |
D | DIASession.h | 63 getSourceFileById(uint32_t FileId) const override;
|
/external/llvm/include/llvm/DebugInfo/PDB/Raw/ |
D | RawSession.h | 62 getSourceFileById(uint32_t FileId) const override;
|
/external/llvm/include/llvm/DebugInfo/PDB/ |
D | IPDBSession.h | 74 getSourceFileById(uint32_t FileId) const = 0;
|
/external/llvm/lib/DebugInfo/PDB/DIA/ |
D | DIASession.cpp | 275 DIASession::getSourceFileById(uint32_t FileId) const { in getSourceFileById() 277 if (S_OK != Session->findFileById(FileId, &LocatedFile)) in getSourceFileById()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/PDB/DIA/ |
D | DIASession.h | 77 getSourceFileById(uint32_t FileId) const override;
|
/external/llvm-project/llvm/include/llvm/DebugInfo/PDB/DIA/ |
D | DIASession.h | 77 getSourceFileById(uint32_t FileId) const override;
|
/external/llvm-project/llvm/include/llvm/DebugInfo/PDB/ |
D | IPDBSession.h | 81 getSourceFileById(uint32_t FileId) const = 0;
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/PDB/ |
D | IPDBSession.h | 82 getSourceFileById(uint32_t FileId) const = 0;
|
/external/llvm/lib/DebugInfo/PDB/Raw/ |
D | RawSession.cpp | 140 RawSession::getSourceFileById(uint32_t FileId) const { in getSourceFileById()
|
/external/ImageMagick/coders/ |
D | cut.c | 83 char FileId[2]; member 470 (void) ReadBlob(palette,2,(unsigned char *) PalHeader.FileId); in ReadCUTImage() 471 if(strncmp(PalHeader.FileId,"AH",2) != 0) goto ErasePalette; in ReadCUTImage()
|
/external/llvm-project/clang/lib/ARCMigrate/ |
D | ObjCMT.cpp | 94 FileID FileId; member in __anonb70a21be0111::ObjCMigrateASTConsumer 1394 FileId = FileID(); in AnnotateImplicitBridging() 1419 FileId = FileID(); in AnnotateImplicitBridging() 1439 if (FileId.isInvalid()) in migrateCFAnnotation() 1440 FileId = PP.getSourceManager().getFileID(Decl->getLocation()); in migrateCFAnnotation() 1445 if (FileId.isInvalid()) in migrateCFAnnotation() 1446 FileId = PP.getSourceManager().getFileID(Decl->getLocation()); in migrateCFAnnotation() 1851 if (FileId.isValid() && FileId != FID) { in HandleTranslationUnit()
|
/external/clang/lib/ARCMigrate/ |
D | ObjCMT.cpp | 91 FileID FileId; member in __anon541d4ad00111::ObjCMigrateASTConsumer 1401 FileId = FileID(); in AnnotateImplicitBridging() 1426 FileId = FileID(); in AnnotateImplicitBridging() 1446 if (FileId.isInvalid()) in migrateCFAnnotation() 1447 FileId = PP.getSourceManager().getFileID(Decl->getLocation()); in migrateCFAnnotation() 1452 if (FileId.isInvalid()) in migrateCFAnnotation() 1453 FileId = PP.getSourceManager().getFileID(Decl->getLocation()); in migrateCFAnnotation() 1852 if (FileId.isValid() && FileId != FID) { in HandleTranslationUnit()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/PDB/Native/ |
D | NativeSession.h | 85 getSourceFileById(uint32_t FileId) const override;
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
D | CodeViewDebug.cpp | 329 unsigned FileId = 0; in maybeRecordLocation() local 331 FileId = CurFn->LastFileId; in maybeRecordLocation() 333 FileId = CurFn->LastFileId = maybeRecordFile(DL->getFile()); in maybeRecordLocation() 358 OS.EmitCVLocDirective(FuncId, FileId, DL.getLine(), DL.getCol(), in maybeRecordLocation() 513 unsigned FileId = maybeRecordFile(SP->getFile()); in emitInlineeLinesSubsection() local 519 unsigned FileOffset = (FileId - 1) * 8; in emitInlineeLinesSubsection() 565 unsigned FileId = maybeRecordFile(Site.Inlinee->getFile()); in emitInlinedCallSite() local 570 OS.EmitCVInlineLinetableDirective(Site.SiteFuncId, FileId, StartLineNum, in emitInlinedCallSite()
|