/external/swiftshader/third_party/llvm-7.0/llvm/lib/Object/ |
D | WindowsResource.cpp | 338 char *BufferStart; member in llvm::object::WindowsResourceCOFFWriter 428 BufferStart = OutputBuffer->getBufferStart(); in write() 443 auto *Header = reinterpret_cast<coff_file_header *>(BufferStart); in writeCOFFHeader() 458 reinterpret_cast<coff_section *>(BufferStart + CurrentOffset); in writeFirstSectionHeader() 476 reinterpret_cast<coff_section *>(BufferStart + CurrentOffset); in writeSecondSectionHeader() 505 BufferStart + CurrentOffset); in writeSecondSection() 515 auto *Symbol = reinterpret_cast<coff_symbol16 *>(BufferStart + CurrentOffset); in writeSymbolTable() 525 Symbol = reinterpret_cast<coff_symbol16 *>(BufferStart + CurrentOffset); in writeSymbolTable() 533 auto *Aux = reinterpret_cast<coff_aux_section_definition *>(BufferStart + in writeSymbolTable() 544 Symbol = reinterpret_cast<coff_symbol16 *>(BufferStart + CurrentOffset); in writeSymbolTable() [all …]
|
/external/swiftshader/third_party/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 | 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/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | MemoryBuffer.h | 41 const char *BufferStart; // Start of the buffer. variable 55 const char *getBufferStart() const { return BufferStart; } in getBufferStart() 57 size_t getBufferSize() const { return BufferEnd-BufferStart; } in getBufferSize() 60 return StringRef(BufferStart, getBufferSize()); in getBuffer()
|
D | raw_ostream.h | 303 void SetBuffer(char *BufferStart, size_t Size) { in SetBuffer() argument 304 SetBufferAndMode(BufferStart, Size, ExternalBuffer); in SetBuffer() 319 void SetBufferAndMode(char *BufferStart, size_t Size, BufferKind Mode);
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
D | MemoryBuffer.h | 43 const char *BufferStart; // Start of the buffer. variable 60 const char *getBufferStart() const { return BufferStart; } in getBufferStart() 62 size_t getBufferSize() const { return BufferEnd-BufferStart; } in getBufferSize() 65 return StringRef(BufferStart, getBufferSize()); in getBuffer()
|
D | raw_ostream.h | 309 void SetBuffer(char *BufferStart, size_t Size) { in SetBuffer() argument 310 SetBufferAndMode(BufferStart, Size, ExternalBuffer); in SetBuffer() 325 void SetBufferAndMode(char *BufferStart, size_t Size, BufferKind Mode);
|
/external/compiler-rt/lib/profile/ |
D | InstrProfilingWriter.c | 51 BufferIO->BufferStart = Buffer; in llvmInitBufferIO() 90 uint8_t *Buffer = BufferIO->BufferStart + BufferIO->CurOffset; in lprofBufferIOWrite() 92 BufferIO->CurOffset = Buffer - BufferIO->BufferStart; in lprofBufferIOWrite() 100 {BufferIO->BufferStart, sizeof(uint8_t), BufferIO->CurOffset}}; in lprofBufferIOFlush()
|
D | InstrProfilingInternal.h | 63 uint8_t *BufferStart; member
|
/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/swiftshader/third_party/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 | 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 | 93 void raw_ostream::SetBufferAndMode(char *BufferStart, size_t Size, in SetBufferAndMode() argument 95 assert(((Mode == Unbuffered && !BufferStart && Size == 0) || in SetBufferAndMode() 96 (Mode != Unbuffered && BufferStart && Size != 0)) && in SetBufferAndMode() 104 OutBufStart = BufferStart; in SetBufferAndMode()
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | raw_ostream.cpp | 98 void raw_ostream::SetBufferAndMode(char *BufferStart, size_t Size, in SetBufferAndMode() argument 100 assert(((Mode == Unbuffered && !BufferStart && Size == 0) || in SetBufferAndMode() 101 (Mode != Unbuffered && BufferStart && Size != 0)) && in SetBufferAndMode() 109 OutBufStart = BufferStart; in SetBufferAndMode()
|
/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 | 730 const char *BufferStart, const char *BufferEnd): in Lexer() argument 732 BufferStart(BufferStart), BufferEnd(BufferEnd), in Lexer() 733 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/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
D | raw_ostream.cpp | 92 void raw_ostream::SetBufferAndMode(char *BufferStart, size_t Size, in SetBufferAndMode() argument 94 assert(((Mode == Unbuffered && !BufferStart && Size == 0) || in SetBufferAndMode() 95 (Mode != Unbuffered && BufferStart && Size != 0)) && in SetBufferAndMode() 103 OutBufStart = BufferStart; in SetBufferAndMode()
|
/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() 1072 assert(Loc >= BufferStart && Loc <= BufferEnd && in getSourceLocation() 1077 unsigned CharNo = Loc-BufferStart; in getSourceLocation() 2543 if (CurPtr != BufferStart && (CurPtr[-1] != '\n' && CurPtr[-1] != '\r')) { in LexEndOfFile() 2634 if (CurPtr != BufferStart && in IsStartOfConflictMarker() 2679 if (CurPtr != BufferStart && in HandleEndOfConflictMarker() 2716 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()
|