Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Object/
DWindowsResource.cpp338 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/
DMemoryBuffer.h36 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()
Draw_ostream.h261 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/
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/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DMemoryBuffer.h41 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()
Draw_ostream.h303 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/
DMemoryBuffer.h43 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()
Draw_ostream.h309 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/
DInstrProfilingWriter.c51 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()
DInstrProfilingInternal.h63 uint8_t *BufferStart; member
/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/swiftshader/third_party/LLVM/lib/Support/
Draw_ostream.cpp86 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()
DMemoryBuffer.cpp53 BufferStart = BufStart; in init()
/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.cpp93 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/
Draw_ostream.cpp98 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/
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.cpp730 const char *BufferStart, const char *BufferEnd): in Lexer() argument
732 BufferStart(BufferStart), BufferEnd(BufferEnd), in Lexer()
733 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/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
Draw_ostream.cpp92 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/
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()
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()
DPPLexerChange.cpp277 if (EndPos != CurLexer->BufferStart && in getCurLexerEndPos()
282 if (EndPos != CurLexer->BufferStart && in getCurLexerEndPos()

12