/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/llvm-project/clang/lib/Rewrite/ |
D | HTMLRewrite.cpp | 48 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/ |
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-10.0/llvm/lib/Object/ |
D | WindowsResource.cpp | 622 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/ |
D | WindowsResource.cpp | 622 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/ |
D | MemoryBuffer.h | 51 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/ |
D | Lexer.h | 85 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/ |
D | MemoryBuffer.h | 42 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()
|
D | raw_ostream.h | 329 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/ |
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()
|
/external/llvm-project/compiler-rt/lib/profile/ |
D | InstrProfilingWriter.c | 59 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/ |
D | CommentLexer.h | 233 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/ |
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/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/tensorflow/tensorflow/lite/tools/ |
D | test_utils.py | 34 schema_fb.BufferStart(builder) 49 schema_fb.BufferStart(builder) 53 schema_fb.BufferStart(builder)
|
/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/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/llvm-project/clang/lib/AST/ |
D | CommentParser.cpp | 42 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/ |
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()
|
/external/llvm-project/clang/include/clang/Rewrite/Core/ |
D | HTMLRewrite.h | 48 const char *BufferStart,
|
/external/clang/include/clang/Rewrite/Core/ |
D | HTMLRewrite.h | 48 const char *BufferStart,
|
/external/llvm-project/clang/lib/Lex/ |
D | Lexer.cpp | 81 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 …]
|