Home
last modified time | relevance | path

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

12

/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/llvm-project/clang/lib/Rewrite/
DHTMLRewrite.cpp48 const char *BufferStart = SM.getBufferData(FID, &Invalid).data(); in HighlightRange() local
53 BufferStart, StartTag, EndTag); in HighlightRange()
59 const char *BufferStart, in HighlightRange() argument
71 switch (BufferStart[i]) { in HighlightRange()
450 const char *BufferStart = L.getBuffer().data(); in SyntaxHighlight() local
477 HighlightRange(RB, TokOffs, TokOffs+TokLen, BufferStart, in SyntaxHighlight()
482 HighlightRange(RB, TokOffs, TokOffs+TokLen, BufferStart, in SyntaxHighlight()
500 HighlightRange(RB, TokOffs, TokOffs+TokLen, BufferStart, in SyntaxHighlight()
518 HighlightRange(RB, TokOffs, TokEnd, BufferStart, in SyntaxHighlight()
/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-10.0/llvm/lib/Object/
DWindowsResource.cpp622 char *BufferStart; member in llvm::object::WindowsResourceCOFFWriter
707 BufferStart = OutputBuffer->getBufferStart(); in write()
730 auto *Header = reinterpret_cast<coff_file_header *>(BufferStart); in writeCOFFHeader()
746 reinterpret_cast<coff_section *>(BufferStart + CurrentOffset); in writeFirstSectionHeader()
764 reinterpret_cast<coff_section *>(BufferStart + CurrentOffset); in writeSecondSectionHeader()
792 llvm::copy(RawDataEntry, BufferStart + CurrentOffset); in writeSecondSection()
802 auto *Symbol = reinterpret_cast<coff_symbol16 *>(BufferStart + CurrentOffset); in writeSymbolTable()
812 Symbol = reinterpret_cast<coff_symbol16 *>(BufferStart + CurrentOffset); in writeSymbolTable()
820 auto *Aux = reinterpret_cast<coff_aux_section_definition *>(BufferStart + in writeSymbolTable()
831 Symbol = reinterpret_cast<coff_symbol16 *>(BufferStart + CurrentOffset); in writeSymbolTable()
[all …]
/external/llvm-project/llvm/lib/Object/
DWindowsResource.cpp622 char *BufferStart; member in llvm::object::WindowsResourceCOFFWriter
707 BufferStart = OutputBuffer->getBufferStart(); in write()
732 auto *Header = reinterpret_cast<coff_file_header *>(BufferStart); in writeCOFFHeader()
748 reinterpret_cast<coff_section *>(BufferStart + CurrentOffset); in writeFirstSectionHeader()
766 reinterpret_cast<coff_section *>(BufferStart + CurrentOffset); in writeSecondSectionHeader()
794 llvm::copy(RawDataEntry, BufferStart + CurrentOffset); in writeSecondSection()
804 auto *Symbol = reinterpret_cast<coff_symbol16 *>(BufferStart + CurrentOffset); in writeSymbolTable()
814 Symbol = reinterpret_cast<coff_symbol16 *>(BufferStart + CurrentOffset); in writeSymbolTable()
822 auto *Aux = reinterpret_cast<coff_aux_section_definition *>(BufferStart + in writeSymbolTable()
833 Symbol = reinterpret_cast<coff_symbol16 *>(BufferStart + CurrentOffset); in writeSymbolTable()
[all …]
/external/llvm-project/llvm/include/llvm/Support/
DMemoryBuffer.h51 const char *BufferStart; // Start of the buffer. variable
65 const char *getBufferStart() const { return BufferStart; } in getBufferStart()
67 size_t getBufferSize() const { return BufferEnd-BufferStart; } in getBufferSize()
70 return StringRef(BufferStart, getBufferSize()); in getBuffer()
/external/llvm-project/clang/include/clang/Lex/
DLexer.h85 const char *BufferStart; variable
247 return StringRef(BufferStart, BufferEnd - BufferStart); in getBuffer()
274 assert(BufferPtr >= BufferStart && "Invalid buffer state"); in getCurrentBufferOffset()
275 return BufferPtr - BufferStart; in getCurrentBufferOffset()
543 static bool isNewLineEscaped(const char *BufferStart, const char *Str);
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DMemoryBuffer.h42 const char *BufferStart; // Start of the buffer. variable
59 const char *getBufferStart() const { return BufferStart; } in getBufferStart()
61 size_t getBufferSize() const { return BufferEnd-BufferStart; } in getBufferSize()
64 return StringRef(BufferStart, getBufferSize()); in getBuffer()
Draw_ostream.h329 void SetBuffer(char *BufferStart, size_t Size) { in SetBuffer() argument
330 SetBufferAndMode(BufferStart, Size, BufferKind::ExternalBuffer); in SetBuffer()
345 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()
/external/llvm-project/compiler-rt/lib/profile/
DInstrProfilingWriter.c59 BufferIO->BufferStart = Buffer; in llvmInitBufferIO()
100 uint8_t *Buffer = BufferIO->BufferStart + BufferIO->CurOffset; in lprofBufferIOWrite()
105 (uint8_t *)BufferWriter.WriterCtx - BufferIO->BufferStart; in lprofBufferIOWrite()
113 {BufferIO->BufferStart, sizeof(uint8_t), BufferIO->CurOffset, 0}}; in lprofBufferIOFlush()
/external/llvm-project/clang/include/clang/AST/
DCommentLexer.h233 const char *const BufferStart; variable
309 assert(Loc >= BufferStart && Loc <= BufferEnd && in getSourceLocation()
312 const unsigned CharNo = Loc - BufferStart; in getSourceLocation()
351 const char *BufferStart, const char *BufferEnd,
/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/tensorflow/tensorflow/lite/tools/
Dtest_utils.py34 schema_fb.BufferStart(builder)
49 schema_fb.BufferStart(builder)
53 schema_fb.BufferStart(builder)
/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/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/llvm-project/clang/lib/AST/
DCommentParser.cpp42 const char *BufferStart; member
61 Pos.BufferStart = Tok.getText().begin(); in setupBuffer()
63 Pos.BufferPtr = Pos.BufferStart; in setupBuffer()
68 const unsigned CharNo = Pos.BufferPtr - Pos.BufferStart; in getSourceLocation()
239 if (Pos.BufferPtr != Pos.BufferStart) { in putBackLeftoverTokens()
/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()
/external/llvm-project/clang/include/clang/Rewrite/Core/
DHTMLRewrite.h48 const char *BufferStart,
/external/clang/include/clang/Rewrite/Core/
DHTMLRewrite.h48 const char *BufferStart,
/external/llvm-project/clang/lib/Lex/
DLexer.cpp81 BufferStart = BufStart; in InitLexer()
92 if (BufferStart == BufferPtr) { in InitLexer()
94 StringRef Buf(BufferStart, BufferEnd - BufferStart); in InitLexer()
1054 bool Lexer::isNewLineEscaped(const char *BufferStart, const char *Str) { in isNewLineEscaped() argument
1056 if (Str - 1 < BufferStart) in isNewLineEscaped()
1061 if (Str - 2 < BufferStart) in isNewLineEscaped()
1068 while (Str > BufferStart && isHorizontalWhitespace(*Str)) in isNewLineEscaped()
1131 assert(Loc >= BufferStart && Loc <= BufferEnd && in getSourceLocation()
1136 unsigned CharNo = Loc-BufferStart; in getSourceLocation()
1424 BufferPtr = BufferStart + Offset; in SetByteOffset()
[all …]

12