/external/clang/lib/Rewrite/ |
D | HTMLRewrite.cpp | 47 const char *BufferStart = SM.getBufferData(FID, &Invalid).data(); in HighlightRange() local 52 BufferStart, StartTag, EndTag); in HighlightRange() 58 const char *BufferStart, in HighlightRange() argument 70 switch (BufferStart[i]) { in HighlightRange() 363 const char *BufferStart = L.getBuffer().data(); in SyntaxHighlight() local 390 HighlightRange(RB, TokOffs, TokOffs+TokLen, BufferStart, in SyntaxHighlight() 395 HighlightRange(RB, TokOffs, TokOffs+TokLen, BufferStart, in SyntaxHighlight() 412 HighlightRange(RB, TokOffs, TokOffs+TokLen, BufferStart, in SyntaxHighlight() 430 HighlightRange(RB, TokOffs, TokEnd, BufferStart, in SyntaxHighlight()
|
/external/llvm/include/llvm/Support/ |
D | MemoryBuffer.h | 37 const char *BufferStart; // Start of the buffer. variable 49 const char *getBufferStart() const { return BufferStart; } in getBufferStart() 51 size_t getBufferSize() const { return BufferEnd-BufferStart; } in getBufferSize() 54 return StringRef(BufferStart, getBufferSize()); in getBuffer()
|
D | raw_ostream.h | 290 void SetBuffer(char *BufferStart, size_t Size) { in SetBuffer() argument 291 SetBufferAndMode(BufferStart, Size, ExternalBuffer); in SetBuffer() 306 void SetBufferAndMode(char *BufferStart, size_t Size, BufferKind Mode);
|
/external/clang/include/clang/AST/ |
D | CommentLexer.h | 235 const char *const BufferStart; variable 305 assert(Loc >= BufferStart && Loc <= BufferEnd && in getSourceLocation() 308 const unsigned CharNo = Loc - BufferStart; in getSourceLocation() 349 const char *BufferStart, const char *BufferEnd);
|
/external/clang/include/clang/Lex/ |
D | Lexer.h | 51 const char *BufferStart; // Start of the buffer. variable 203 return StringRef(BufferStart, BufferEnd - BufferStart); in getBuffer()
|
/external/llvm/lib/Support/ |
D | raw_ostream.cpp | 89 void raw_ostream::SetBufferAndMode(char *BufferStart, size_t Size, in SetBufferAndMode() argument 91 assert(((Mode == Unbuffered && !BufferStart && Size == 0) || in SetBufferAndMode() 92 (Mode != Unbuffered && BufferStart && Size != 0)) && in SetBufferAndMode() 100 OutBufStart = BufferStart; in SetBufferAndMode()
|
D | MemoryBuffer.cpp | 49 BufferStart = BufStart; in init()
|
/external/clang/lib/AST/ |
D | CommentParser.cpp | 44 const char *BufferStart; member 62 Pos.BufferStart = Tok.getText().begin(); in setupBuffer() 64 Pos.BufferPtr = Pos.BufferStart; in setupBuffer() 69 const unsigned CharNo = Pos.BufferPtr - Pos.BufferStart; in getSourceLocation() 240 if (Pos.BufferPtr != Pos.BufferStart) { in putBackLeftoverTokens()
|
D | CommentLexer.cpp | 723 const char *BufferStart, const char *BufferEnd): in Lexer() argument 725 BufferStart(BufferStart), BufferEnd(BufferEnd), in Lexer() 726 FileLoc(FileLoc), BufferPtr(BufferStart), in Lexer()
|
D | RawCommentList.cpp | 169 const char *BufferStart = SourceMgr.getBufferData(BeginFileID, in getRawTextSlow() local 174 return StringRef(BufferStart + BeginOffset, Length); in getRawTextSlow()
|
/external/clang/include/clang/Rewrite/Core/ |
D | HTMLRewrite.h | 48 const char *BufferStart,
|
/external/clang/lib/Lex/ |
D | Lexer.cpp | 57 BufferStart = BufStart; in InitLexer() 68 if (BufferStart == BufferPtr) { in InitLexer() 70 StringRef Buf(BufferStart, BufferEnd - BufferStart); in InitLexer() 1045 assert(Loc >= BufferStart && Loc <= BufferEnd && in getSourceLocation() 1050 unsigned CharNo = Loc-BufferStart; in getSourceLocation() 2515 if (CurPtr != BufferStart && (CurPtr[-1] != '\n' && CurPtr[-1] != '\r')) { in LexEndOfFile() 2606 if (CurPtr != BufferStart && in IsStartOfConflictMarker() 2651 if (CurPtr != BufferStart && in HandleEndOfConflictMarker() 2688 SourceLocation Loc = FileLoc.getLocWithOffset(CurPtr-BufferStart); in isCodeCompletionPoint()
|
D | PPLexerChange.cpp | 277 if (EndPos != CurLexer->BufferStart && in getCurLexerEndPos() 282 if (EndPos != CurLexer->BufferStart && in getCurLexerEndPos()
|