Searched refs:BufferStart (Results 1 – 9 of 9) sorted by relevance
/external/llvm/include/llvm/Support/ |
D | MemoryBuffer.h | 36 const char *BufferStart; // Start of the buffer. variable 48 const char *getBufferStart() const { return BufferStart; } in getBufferStart() 50 size_t getBufferSize() const { return BufferEnd-BufferStart; } in getBufferSize() 53 return StringRef(BufferStart, getBufferSize()); in getBuffer()
|
D | raw_ostream.h | 261 void SetBuffer(char *BufferStart, size_t Size) { in SetBuffer() argument 262 SetBufferAndMode(BufferStart, Size, ExternalBuffer); in SetBuffer() 278 void SetBufferAndMode(char *BufferStart, size_t Size, BufferKind Mode);
|
/external/clang/lib/Rewrite/ |
D | HTMLRewrite.cpp | 48 const char *BufferStart = SM.getBufferData(FID, &Invalid).data(); in HighlightRange() local 53 BufferStart, StartTag, EndTag); in HighlightRange() 59 const char *BufferStart, in HighlightRange() argument 71 switch (BufferStart[i]) { in HighlightRange() 364 const char *BufferStart = L.getBufferStart(); in SyntaxHighlight() local 392 HighlightRange(RB, TokOffs, TokOffs+TokLen, BufferStart, in SyntaxHighlight() 397 HighlightRange(RB, TokOffs, TokOffs+TokLen, BufferStart, in SyntaxHighlight() 406 HighlightRange(RB, TokOffs, TokOffs+TokLen, BufferStart, in SyntaxHighlight() 424 HighlightRange(RB, TokOffs, TokEnd, BufferStart, in SyntaxHighlight()
|
/external/llvm/lib/Support/ |
D | raw_ostream.cpp | 86 void raw_ostream::SetBufferAndMode(char *BufferStart, size_t Size, in SetBufferAndMode() argument 88 assert(((Mode == Unbuffered && BufferStart == 0 && Size == 0) || in SetBufferAndMode() 89 (Mode != Unbuffered && BufferStart && Size)) && in SetBufferAndMode() 97 OutBufStart = BufferStart; in SetBufferAndMode()
|
D | MemoryBuffer.cpp | 53 BufferStart = BufStart; in init()
|
/external/clang/include/clang/Lex/ |
D | Lexer.h | 36 const char *BufferStart; // Start of the buffer. variable 182 const char *getBufferStart() const { return BufferStart; } in getBufferStart()
|
/external/clang/include/clang/Rewrite/ |
D | HTMLRewrite.h | 48 const char *BufferStart,
|
/external/clang/lib/Lex/ |
D | PPLexerChange.cpp | 228 if (EndPos != CurLexer->BufferStart && in HandleEndOfFile() 233 if (EndPos != CurLexer->BufferStart && in HandleEndOfFile()
|
D | Lexer.cpp | 66 BufferStart = BufStart; in InitLexer() 77 if (BufferStart == BufferPtr) { in InitLexer() 79 llvm::StringRef Buf(BufferStart, BufferEnd - BufferStart); in InitLexer() 924 assert(Loc >= BufferStart && Loc <= BufferEnd && in getSourceLocation() 929 unsigned CharNo = Loc-BufferStart; in getSourceLocation() 1911 if (CurPtr != BufferStart && (CurPtr[-1] != '\n' && CurPtr[-1] != '\r')) in LexEndOfFile() 1976 if (CurPtr != BufferStart && in IsStartOfConflictMarker() 2019 if (CurPtr != BufferStart && in HandleEndOfConflictMarker()
|