Home
last modified time | relevance | path

Searched refs:BufferStart (Results 1 – 13 of 13) sorted by relevance

/external/clang/lib/Rewrite/
DHTMLRewrite.cpp47 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/
DMemoryBuffer.h37 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()
Draw_ostream.h290 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/
DCommentLexer.h235 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/
DLexer.h51 const char *BufferStart; // Start of the buffer. variable
203 return StringRef(BufferStart, BufferEnd - BufferStart); in getBuffer()
/external/llvm/lib/Support/
Draw_ostream.cpp89 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()
DMemoryBuffer.cpp49 BufferStart = BufStart; in init()
/external/clang/lib/AST/
DCommentParser.cpp44 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()
DCommentLexer.cpp723 const char *BufferStart, const char *BufferEnd): in Lexer() argument
725 BufferStart(BufferStart), BufferEnd(BufferEnd), in Lexer()
726 FileLoc(FileLoc), BufferPtr(BufferStart), in Lexer()
DRawCommentList.cpp169 const char *BufferStart = SourceMgr.getBufferData(BeginFileID, in getRawTextSlow() local
174 return StringRef(BufferStart + BeginOffset, Length); in getRawTextSlow()
/external/clang/include/clang/Rewrite/Core/
DHTMLRewrite.h48 const char *BufferStart,
/external/clang/lib/Lex/
DLexer.cpp57 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()
DPPLexerChange.cpp277 if (EndPos != CurLexer->BufferStart && in getCurLexerEndPos()
282 if (EndPos != CurLexer->BufferStart && in getCurLexerEndPos()