/external/clang/lib/AST/ |
D | CommentLexer.cpp | 127 const char *findNewline(const char *BufferPtr, const char *BufferEnd) { in findNewline() argument 128 for ( ; BufferPtr != BufferEnd; ++BufferPtr) { in findNewline() 132 return BufferEnd; in findNewline() 135 const char *skipNewline(const char *BufferPtr, const char *BufferEnd) { in skipNewline() argument 136 if (BufferPtr == BufferEnd) in skipNewline() 144 if (BufferPtr != BufferEnd && *BufferPtr == '\n') in skipNewline() 151 const char *BufferEnd) { in skipNamedCharacterReference() argument 152 for ( ; BufferPtr != BufferEnd; ++BufferPtr) { in skipNamedCharacterReference() 156 return BufferEnd; in skipNamedCharacterReference() 160 const char *BufferEnd) { in skipDecimalCharacterReference() argument [all …]
|
D | CommentParser.cpp | 45 const char *BufferEnd; member 63 Pos.BufferEnd = Tok.getText().end(); in setupBuffer() 75 assert(Pos.BufferPtr != Pos.BufferEnd); in peek() 81 assert(Pos.BufferPtr != Pos.BufferEnd); in consumeChar() 83 if (Pos.BufferPtr == Pos.BufferEnd) { in consumeChar() 242 Pos.BufferPtr, Pos.BufferEnd - Pos.BufferPtr, in putBackLeftoverTokens() 244 Pos.BufferEnd - Pos.BufferPtr)); in putBackLeftoverTokens()
|
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/ |
D | MachineCodeEmitter.h | 55 uint8_t *BufferBegin, *BufferEnd; 83 if (CurBufferPtr != BufferEnd) in emitByte() 91 if (4 <= BufferEnd-CurBufferPtr) { in emitWordLE() 94 CurBufferPtr = BufferEnd; in emitWordLE() 113 if (4 <= BufferEnd-CurBufferPtr) { in emitWordBE() 119 CurBufferPtr = BufferEnd; in emitWordBE() 127 if (8 <= BufferEnd-CurBufferPtr) { in emitDWordLE() 137 CurBufferPtr = BufferEnd; in emitDWordLE() 145 if (8 <= BufferEnd-CurBufferPtr) { in emitDWordBE() 155 CurBufferPtr = BufferEnd; in emitDWordBE() [all …]
|
D | JITCodeEmitter.h | 80 if (CurBufferPtr != BufferEnd) in emitByte() 88 if (4 <= BufferEnd-CurBufferPtr) { in emitWordLE() 94 CurBufferPtr = BufferEnd; in emitWordLE() 102 if (4 <= BufferEnd-CurBufferPtr) { in emitWordBE() 108 CurBufferPtr = BufferEnd; in emitWordBE() 116 if (8 <= BufferEnd-CurBufferPtr) { in emitDWordLE() 126 CurBufferPtr = BufferEnd; in emitDWordLE() 134 if (8 <= BufferEnd-CurBufferPtr) { in emitDWordBE() 144 CurBufferPtr = BufferEnd; in emitDWordBE() 154 CurBufferPtr = std::min(NewPtr, BufferEnd); in emitAlignment() [all …]
|
/external/clang/lib/Lex/ |
D | Lexer.cpp | 59 BufferEnd = BufEnd; in InitLexer() 70 StringRef Buf(BufferStart, BufferEnd - BufferStart); in InitLexer() 181 L->BufferEnd = StrData+TokLen; in Create_PragmaLexer() 182 assert(L->BufferEnd[0] == 0 && "Buffer is not nul terminated!"); in Create_PragmaLexer() 1072 assert(Loc >= BufferStart && Loc <= BufferEnd && in getSourceLocation() 1374 if (BufferPtr > BufferEnd) in SkipBytes() 1375 BufferPtr = BufferEnd; in SkipBytes() 1486 (const UTF8 *)BufferEnd, in tryConsumeIdentifierUTF8Char() 1765 (C == 0 && CurPtr-1 == BufferEnd)) { // End of file. in LexStringLiteral() 1837 if (C == 0 && CurPtr-1 == BufferEnd) { in LexRawStringLiteral() [all …]
|
D | PPLexerChange.cpp | 276 const char *EndPos = CurLexer->BufferEnd; in getCurLexerEndPos() 379 CurLexer->FormTokenWithChars(Result, CurLexer->BufferEnd, tok::eof); in HandleEndOfFile()
|
D | PPDirectives.cpp | 1916 CurLexer->FormTokenWithChars(Result, CurLexer->BufferEnd, tok::eof); in HandleIncludeDirective()
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | MemoryBuffer.h | 37 const char *BufferEnd; // End of the buffer. variable 49 const char *getBufferEnd() const { return BufferEnd; } in getBufferEnd() 50 size_t getBufferSize() const { return BufferEnd-BufferStart; } in getBufferSize()
|
/external/llvm/include/llvm/Support/ |
D | MemoryBuffer.h | 38 const char *BufferEnd; // End of the buffer. variable 50 const char *getBufferEnd() const { return BufferEnd; } in getBufferEnd() 51 size_t getBufferSize() const { return BufferEnd-BufferStart; } in getBufferSize()
|
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/JIT/ |
D | JITEmitter.cpp | 795 BufferEnd = BufferBegin+ActualSize; in startFunction() 817 if (CurBufferPtr == BufferEnd) { in finishFunction() 909 if (CurBufferPtr == BufferEnd) { in finishFunction() 974 SavedBufferEnd = BufferEnd; in finishFunction() 979 BufferEnd = BufferBegin+ActualSize; in finishFunction() 988 BufferEnd = SavedBufferEnd; in finishFunction() 1018 SizeEstimate = (uintptr_t)(2 * (BufferEnd - BufferBegin)); in retryWithMoreMemory() 1058 BufferEnd = BufferBegin+Size; in allocateSpace() 1188 SavedBufferEnd = BufferEnd; in startGVStub() 1192 BufferEnd = BufferBegin+StubSize+1; in startGVStub() [all …]
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | MemoryBuffer.h | 42 const char *BufferEnd; // End of the buffer. variable 56 const char *getBufferEnd() const { return BufferEnd; } in getBufferEnd() 57 size_t getBufferSize() const { return BufferEnd-BufferStart; } in getBufferSize()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/BinaryFormat/ |
D | MachOTest.cpp | 37 unsigned char *BufferEnd = in TEST() local 39 while (Current < BufferEnd) { in TEST()
|
/external/clang/include/clang/Lex/ |
D | Lexer.h | 52 const char *BufferEnd; // End of the buffer. variable 159 return BufferPtr == BufferEnd; in LexFromRawLexer() 203 return StringRef(BufferStart, BufferEnd - BufferStart); in getBuffer() 642 void cutOffLexing() { BufferPtr = BufferEnd; } in cutOffLexing()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
D | MemoryBuffer.h | 44 const char *BufferEnd; // End of the buffer. variable 61 const char *getBufferEnd() const { return BufferEnd; } in getBufferEnd() 62 size_t getBufferSize() const { return BufferEnd-BufferStart; } in getBufferSize()
|
/external/swiftshader/third_party/LLVM/include/llvm/ADT/ |
D | StringExtras.h | 44 static inline char *utohex_buffer(IntTy X, char *BufferEnd) { in utohex_buffer() argument 45 char *BufPtr = BufferEnd; in utohex_buffer()
|
/external/clang/include/clang/AST/ |
D | CommentLexer.h | 236 const char *const BufferEnd; variable 305 assert(Loc >= BufferStart && Loc <= BufferEnd && in getSourceLocation() 349 const char *BufferStart, const char *BufferEnd);
|
/external/swiftshader/third_party/LLVM/lib/Support/ |
D | MemoryBuffer.cpp | 54 BufferEnd = BufEnd; in init() 336 Buf->BufferEnd = BufPtr; in getOpenFile()
|
/external/llvm/lib/ProfileData/ |
D | InstrProf.cpp | 617 const unsigned char *const BufferEnd, in getValueProfData() argument 620 if (D + sizeof(ValueProfData) > BufferEnd) in getValueProfData() 625 if (D + TotalSize > BufferEnd) in getValueProfData()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ProfileData/ |
D | InstrProf.cpp | 756 const unsigned char *const BufferEnd, in getValueProfData() argument 760 if (D + sizeof(ValueProfData) > BufferEnd) in getValueProfData() 765 if (D + TotalSize > BufferEnd) in getValueProfData()
|
/external/llvm/lib/Support/ |
D | MemoryBuffer.cpp | 50 BufferEnd = BufEnd; in init()
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | MemoryBuffer.cpp | 50 BufferEnd = BufEnd; in init()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
D | MemoryBuffer.cpp | 51 BufferEnd = BufEnd; in init()
|