HomeSort by relevance Sort by last modified time
    Searched refs:FileID (Results 1 - 25 of 125) sorted by null

1 2 3 4 5

  /external/google-breakpad/src/common/solaris/
file_id.h 41 class FileID {
43 FileID(const char *path);
44 ~FileID() {};
  /external/google-breakpad/src/common/linux/
file_id.h 45 class FileID {
47 explicit FileID(const char* path);
48 ~FileID() {}
file_id_unittest.cc 30 // Unit tests for FileID
74 // FileID::ElfFileIdentifier, then make a copy of this binary,
92 FileID fileid1(exe_name);
94 FileID fileid2(templ.c_str());
98 FileID::ConvertIdentifierToString(identifier1, identifier_string1,
100 FileID::ConvertIdentifierToString(identifier2, identifier_string2,
143 EXPECT_TRUE(FileID::ElfFileIdentifierFromMappedFile(this->elfdata,
146 FileID::ConvertIdentifierToString(identifier, identifier_string,
157 FileID::ConvertIdentifierToString(kExpectedIdentifier,
175 EXPECT_TRUE(FileID::ElfFileIdentifierFromMappedFile(this->elfdata
    [all...]
  /external/google-breakpad/src/common/mac/
file_id.h 42 class FileID {
44 FileID(const char *path);
45 ~FileID() {};
file_id.cc 47 FileID::FileID(const char *path) {
51 bool FileID::FileIdentifier(unsigned char identifier[16]) {
73 bool FileID::MachoIdentifier(cpu_type_t cpu_type,
85 void FileID::ConvertIdentifierToString(const unsigned char identifier[16],
  /external/clang/include/clang/Rewrite/Core/
HTMLRewrite.h 53 void EscapeText(Rewriter& R, FileID FID,
63 void AddLineNumbers(Rewriter& R, FileID FID);
65 void AddHeaderFooterInternalBuiltinCSS(Rewriter& R, FileID FID,
68 /// SyntaxHighlight - Relex the specified FileID and annotate the HTML with
70 void SyntaxHighlight(Rewriter &R, FileID FID, const Preprocessor &PP);
76 void HighlightMacros(Rewriter &R, FileID FID, const Preprocessor &PP);
Rewriter.h 34 std::map<FileID, RewriteBuffer> RewriteBuffers;
53 typedef std::map<FileID, RewriteBuffer>::iterator buffer_iterator;
54 typedef std::map<FileID, RewriteBuffer>::const_iterator const_buffer_iterator;
165 /// FileID's buffer.
166 RewriteBuffer &getEditBuffer(FileID FID);
168 /// getRewriteBufferFor - Return the rewrite buffer for the specified FileID.
170 const RewriteBuffer *getRewriteBufferFor(FileID FID) const {
171 std::map<FileID, RewriteBuffer>::const_iterator I =
190 unsigned getLocationOffsetAndFileID(SourceLocation Loc, FileID &FID) const;
  /external/llvm/tools/llvm-cov/
CoverageSummaryInfo.cpp 34 for (unsigned FileID = 0, E = Function.Filenames.size(); FileID < E;
35 ++FileID) {
41 if (CR.FileID != FileID)
52 if (CR.FileID != FileID)
  /external/clang/unittests/Tooling/
RewriterTest.cpp 17 FileID ID = Context.createOnDiskFile("t.cpp", "line1\nline2\nline3\nline4");
26 FileID FailingID = Context.createInMemoryFile("invalid/failing.cpp", "test");
28 FileID WorkingID = Context.createOnDiskFile(
RewriterTestContext.h 50 FileID createInMemoryFile(StringRef Name, StringRef Content) {
62 FileID createOnDiskFile(StringRef Name, StringRef Content) {
82 SourceLocation getLocation(FileID ID, unsigned Line, unsigned Column) {
89 std::string getRewrittenText(FileID ID) {
  /external/clang/include/clang/Basic/
SourceManagerInternals.h 89 std::map<FileID, std::vector<LineEntry> > LineEntries;
104 void AddLineNote(FileID FID, unsigned Offset,
106 void AddLineNote(FileID FID, unsigned Offset,
114 const LineEntry *FindNearestLineEntry(FileID FID, unsigned Offset);
117 typedef std::map<FileID, std::vector<LineEntry> >::iterator iterator;
123 void AddEntry(FileID FID, const std::vector<LineEntry> &Entries);
SourceManager.h 228 /// \brief Information about a FileID, basically just the logical file
283 /// \brief Return true if this FileID has \#line directives in it.
286 /// \brief Set the flag that indicates that this FileID has
389 /// identified by the FileID datatype.
452 /// \brief The FileID's of the cached query.
455 FileID LQueryFID, RQueryFID;
464 FileID CommonFID;
477 bool isCacheValid(FileID LHS, FileID RHS) const {
482 /// specified offsets in the LHS/RHS FileID's
    [all...]
SourceLocation.h 39 class FileID {
44 FileID() : ID(0) {}
48 bool operator==(const FileID &RHS) const { return ID == RHS.ID; }
49 bool operator<(const FileID &RHS) const { return ID < RHS.ID; }
50 bool operator<=(const FileID &RHS) const { return ID <= RHS.ID; }
51 bool operator!=(const FileID &RHS) const { return !(*this == RHS); }
52 bool operator>(const FileID &RHS) const { return RHS < *this; }
53 bool operator>=(const FileID &RHS) const { return RHS <= *this; }
55 static FileID getSentinel() { return get(-1); }
63 static FileID get(int V)
    [all...]
PlistSupport.h 19 typedef llvm::DenseMap<FileID, unsigned> FIDMap;
21 inline void AddFID(FIDMap &FIDs, SmallVectorImpl<FileID> &V,
23 FileID FID = SM.getFileID(SM.getExpansionLoc(L));
33 FileID FID = SM.getFileID(SM.getExpansionLoc(L));
  /external/clang/lib/Basic/
SourceManager.cpp 190 void LineTableInfo::AddLineNote(FileID FID, unsigned Offset,
221 void LineTableInfo::AddLineNote(FileID FID, unsigned Offset,
255 const LineEntry *LineTableInfo::FindNearestLineEntry(FileID FID,
274 void LineTableInfo::AddEntry(FileID FID,
288 /// AddLineNote - Add a line note to the line table for the FileID and offset
293 std::pair<FileID, unsigned> LocInfo = getDecomposedExpansionLoc(Loc);
323 std::pair<FileID, unsigned> LocInfo = getDecomposedExpansionLoc(Loc);
400 MainFileID = FileID();
404 LastLineNoFileIDQuery = FileID();
406 LastFileIDLookup = FileID();
    [all...]
  /external/clang/include/clang/Frontend/
SerializedDiagnosticReader.h 47 unsigned FileID;
51 Location(unsigned FileID, unsigned Line, unsigned Col, unsigned Offset)
52 : FileID(FileID), Line(Line), Col(Col), Offset(Offset) {}
  /external/clang/include/clang/Edit/
FileOffset.h 20 FileID FID;
24 FileOffset(FileID fid, unsigned offs) : FID(fid), Offs(offs) { }
28 FileID getFID() const { return FID; }
  /external/clang/include/clang/Lex/
PreprocessorLexer.h 32 /// The SourceManager FileID corresponding to the file being lexed.
33 const FileID FID;
76 PreprocessorLexer(Preprocessor *pp, FileID fid);
153 FileID getFileID() const {
164 /// getFileEntry - Return the FileEntry corresponding to this FileID. Like
  /external/llvm/lib/ProfileData/
CoverageMappingWriter.cpp 114 // Write out the fileid -> filename mapping.
116 for (const auto &FileID : VirtualFileMapping)
117 encodeULEB128(FileID, OS);
130 // subarray has a fileID which is the index of that subarray.
134 if (I->FileID != CurrentFileID) {
136 assert(I->FileID == (CurrentFileID + 1));
139 for (auto J = I + 1; J != E && I->FileID == J->FileID; ++J)
144 CurrentFileID = I->FileID;
  /external/llvm/include/llvm/ProfileData/
CoverageMapping.h 164 unsigned FileID, ExpandedFileID;
168 CounterMappingRegion(Counter Count, unsigned FileID, unsigned ExpandedFileID,
171 : Count(Count), FileID(FileID), ExpandedFileID(ExpandedFileID),
176 makeRegion(Counter Count, unsigned FileID, unsigned LineStart,
178 return CounterMappingRegion(Count, FileID, 0, LineStart, ColumnStart,
183 makeExpansion(unsigned FileID, unsigned ExpandedFileID, unsigned LineStart,
185 return CounterMappingRegion(Counter(), FileID, ExpandedFileID, LineStart,
191 makeSkipped(unsigned FileID, unsigned LineStart, unsigned ColumnStart,
193 return CounterMappingRegion(Counter(), FileID, 0, LineStart, ColumnStart
    [all...]
  /external/clang/include/clang/AST/
ASTImporter.h 69 llvm::DenseMap<FileID, FileID> ImportedFileIDs;
201 FileID Import(FileID);
  /external/clang/lib/Lex/
PreprocessorLexer.cpp 22 PreprocessorLexer::PreprocessorLexer(Preprocessor *pp, FileID fid)
54 /// getFileEntry - Return the FileEntry corresponding to this FileID. Like
  /external/clang/lib/Rewrite/
Rewriter.cpp 131 FileID StartFileID, EndFileID;
142 std::map<FileID, RewriteBuffer>::const_iterator I =
175 FileID StartFileID, EndFileID;
185 std::map<FileID, RewriteBuffer>::const_iterator I =
215 FileID &FID) const {
217 std::pair<FileID,unsigned> V = SourceMgr->getDecomposedLoc(Loc);
223 /// getEditBuffer - Get or create a RewriteBuffer for the specified FileID.
225 RewriteBuffer &Rewriter::getEditBuffer(FileID FID) {
226 std::map<FileID, RewriteBuffer>::iterator I =
243 FileID FID
    [all...]
  /external/clang/include/clang/Rewrite/Frontend/
FixItRewriter.h 92 bool IsModified(FileID ID) const {
103 bool WriteFixedFile(FileID ID, raw_ostream &OS);
  /external/clang/lib/Index/
SimpleFormatContext.h 47 FileID createInMemoryFile(StringRef Name, StringRef Content) {
57 std::string getRewrittenText(FileID ID) {

Completed in 519 milliseconds

1 2 3 4 5