Searched defs:BufferStart (Results 1 - 8 of 8) sorted by relevance

/external/llvm/include/llvm/Support/
H A DMemoryBuffer.h38 const char *BufferStart; // Start of the buffer. member in class:llvm::MemoryBuffer
50 const char *getBufferStart() const { return BufferStart; }
52 size_t getBufferSize() const { return BufferEnd-BufferStart; }
55 return StringRef(BufferStart, getBufferSize());
H A Draw_ostream.h280 void SetBuffer(char *BufferStart, size_t Size) { argument
281 SetBufferAndMode(BufferStart, Size, ExternalBuffer);
297 void SetBufferAndMode(char *BufferStart, size_t Size, BufferKind Mode);
/external/clang/include/clang/Lex/
H A DLexer.h51 const char *BufferStart; // Start of the buffer. member in class:clang::Lexer
203 return StringRef(BufferStart, BufferEnd - BufferStart);
/external/clang/lib/AST/
H A DRawCommentList.cpp110 const char *BufferStart = SourceMgr.getBufferData(BeginFileID, local
115 return StringRef(BufferStart + BeginOffset, Length);
H A DCommentParser.cpp44 const char *BufferStart; member in struct:clang::comments::TextTokenRetokenizer::Position
62 Pos.BufferStart = Tok.getText().begin();
64 Pos.BufferPtr = Pos.BufferStart;
69 const unsigned CharNo = Pos.BufferPtr - Pos.BufferStart;
240 if (Pos.BufferPtr != Pos.BufferStart) {
/external/clang/lib/Rewrite/Core/
H A DHTMLRewrite.cpp47 const char *BufferStart = SM.getBufferData(FID, &Invalid).data(); local
52 BufferStart, StartTag, EndTag);
58 const char *BufferStart,
70 switch (BufferStart[i]) {
363 const char *BufferStart = L.getBuffer().data(); local
390 HighlightRange(RB, TokOffs, TokOffs+TokLen, BufferStart,
395 HighlightRange(RB, TokOffs, TokOffs+TokLen, BufferStart,
412 HighlightRange(RB, TokOffs, TokOffs+TokLen, BufferStart,
430 HighlightRange(RB, TokOffs, TokEnd, BufferStart,
57 HighlightRange(RewriteBuffer &RB, unsigned B, unsigned E, const char *BufferStart, const char *StartTag, const char *EndTag) argument
/external/clang/include/clang/AST/
H A DCommentLexer.h235 const char *const BufferStart; member in class:clang::comments::Lexer
305 assert(Loc >= BufferStart && Loc <= BufferEnd &&
308 const unsigned CharNo = Loc - BufferStart;
349 const char *BufferStart, const char *BufferEnd);
/external/llvm/lib/Support/
H A Draw_ostream.cpp88 void raw_ostream::SetBufferAndMode(char *BufferStart, size_t Size, argument
90 assert(((Mode == Unbuffered && !BufferStart && Size == 0) ||
91 (Mode != Unbuffered && BufferStart && Size != 0)) &&
99 OutBufStart = BufferStart;

Completed in 260 milliseconds