/external/scudo/standalone/ |
D | string_utils.cpp | 17 static int appendChar(char **Buffer, const char *BufferEnd, char C) { in appendChar() argument 18 if (*Buffer < BufferEnd) { in appendChar() 28 static int appendNumber(char **Buffer, const char *BufferEnd, u64 AbsoluteValue, in appendNumber() argument 40 Res += appendChar(Buffer, BufferEnd, '-'); in appendNumber() 58 Res += appendChar(Buffer, BufferEnd, c); in appendNumber() 61 Res += appendChar(Buffer, BufferEnd, '-'); in appendNumber() 66 Res += appendChar(Buffer, BufferEnd, Digit); in appendNumber() 71 static int appendUnsigned(char **Buffer, const char *BufferEnd, u64 Num, in appendUnsigned() argument 74 return appendNumber(Buffer, BufferEnd, Num, Base, MinNumberLength, in appendUnsigned() 78 static int appendSignedDecimal(char **Buffer, const char *BufferEnd, s64 Num, in appendSignedDecimal() argument [all …]
|
/external/llvm-project/compiler-rt/lib/scudo/standalone/ |
D | string_utils.cpp | 17 static int appendChar(char **Buffer, const char *BufferEnd, char C) { in appendChar() argument 18 if (*Buffer < BufferEnd) { in appendChar() 28 static int appendNumber(char **Buffer, const char *BufferEnd, u64 AbsoluteValue, in appendNumber() argument 40 Res += appendChar(Buffer, BufferEnd, '-'); in appendNumber() 58 Res += appendChar(Buffer, BufferEnd, c); in appendNumber() 61 Res += appendChar(Buffer, BufferEnd, '-'); in appendNumber() 66 Res += appendChar(Buffer, BufferEnd, Digit); in appendNumber() 71 static int appendUnsigned(char **Buffer, const char *BufferEnd, u64 Num, in appendUnsigned() argument 74 return appendNumber(Buffer, BufferEnd, Num, Base, MinNumberLength, in appendUnsigned() 78 static int appendSignedDecimal(char **Buffer, const char *BufferEnd, s64 Num, in appendSignedDecimal() argument [all …]
|
/external/llvm-project/clang/lib/AST/ |
D | CommentLexer.cpp | 126 const char *findNewline(const char *BufferPtr, const char *BufferEnd) { in findNewline() argument 127 for ( ; BufferPtr != BufferEnd; ++BufferPtr) { in findNewline() 131 return BufferEnd; in findNewline() 134 const char *skipNewline(const char *BufferPtr, const char *BufferEnd) { in skipNewline() argument 135 if (BufferPtr == BufferEnd) in skipNewline() 143 if (BufferPtr != BufferEnd && *BufferPtr == '\n') in skipNewline() 150 const char *BufferEnd) { in skipNamedCharacterReference() argument 151 for ( ; BufferPtr != BufferEnd; ++BufferPtr) { in skipNamedCharacterReference() 155 return BufferEnd; in skipNamedCharacterReference() 159 const char *BufferEnd) { in skipDecimalCharacterReference() argument [all …]
|
D | CommentParser.cpp | 43 const char *BufferEnd; member 62 Pos.BufferEnd = Tok.getText().end(); in setupBuffer() 74 assert(Pos.BufferPtr != Pos.BufferEnd); in peek() 80 assert(Pos.BufferPtr != Pos.BufferEnd); in consumeChar() 82 if (Pos.BufferPtr == Pos.BufferEnd) { in consumeChar() 241 Pos.BufferPtr, Pos.BufferEnd - Pos.BufferPtr, in putBackLeftoverTokens() 243 Pos.BufferEnd - Pos.BufferPtr)); in putBackLeftoverTokens()
|
/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/llvm-project/clang/lib/Lex/ |
D | Lexer.cpp | 83 BufferEnd = BufEnd; in InitLexer() 94 StringRef Buf(BufferStart, BufferEnd - BufferStart); in InitLexer() 206 L->BufferEnd = StrData+TokLen; in Create_PragmaLexer() 207 assert(L->BufferEnd[0] == 0 && "Buffer is not nul terminated!"); in Create_PragmaLexer() 227 if ((BufferPtr + NumBytes) > BufferEnd) in skipOver() 1131 assert(Loc >= BufferStart && Loc <= BufferEnd && in getSourceLocation() 1425 if (BufferPtr > BufferEnd) in SetByteOffset() 1426 BufferPtr = BufferEnd; in SetByteOffset() 1623 (const llvm::UTF8 *)BufferEnd, in tryConsumeIdentifierUTF8Char() 1690 if (CurPtr < BufferEnd) { in LexIdentifier() [all …]
|
D | PPLexerChange.cpp | 241 const char *EndPos = CurLexer->BufferEnd; in getCurLexerEndPos() 410 CurLexer->FormTokenWithChars(Result, CurLexer->BufferEnd, tok::eof); in HandleEndOfFile()
|
/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()
|
/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-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/llvm-project/llvm/include/llvm/Support/ |
D | MemoryBuffer.h | 52 const char *BufferEnd; // End of the buffer. variable 66 const char *getBufferEnd() const { return BufferEnd; } in getBufferEnd() 67 size_t getBufferSize() const { return BufferEnd-BufferStart; } in getBufferSize()
|
/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-10.0/llvm/include/llvm/Support/ |
D | MemoryBuffer.h | 43 const char *BufferEnd; // End of the buffer. variable 60 const char *getBufferEnd() const { return BufferEnd; } in getBufferEnd() 61 size_t getBufferSize() const { return BufferEnd-BufferStart; } in getBufferSize()
|
/external/llvm-project/clang/include/clang/Lex/ |
D | Lexer.h | 88 const char *BufferEnd; variable 203 return BufferPtr == BufferEnd; in LexFromRawLexer() 247 return StringRef(BufferStart, BufferEnd - BufferStart); in getBuffer() 728 void cutOffLexing() { BufferPtr = BufferEnd; } in cutOffLexing()
|
/external/llvm-project/llvm/unittests/BinaryFormat/ |
D | MachOTest.cpp | 37 unsigned char *BufferEnd = in TEST() local 39 while (Current < BufferEnd) { in TEST()
|
/external/llvm-project/clang/include/clang/AST/ |
D | CommentLexer.h | 234 const char *const BufferEnd; variable 309 assert(Loc >= BufferStart && Loc <= BufferEnd && in getSourceLocation() 351 const char *BufferStart, const char *BufferEnd,
|
/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/tensorflow/tensorflow/lite/tools/ |
D | test_utils.py | 35 buffer0_offset = schema_fb.BufferEnd(builder) 51 buffer1_offset = schema_fb.BufferEnd(builder) 54 buffer2_offset = schema_fb.BufferEnd(builder)
|
/external/llvm-project/clang-tools-extra/modularize/ |
D | PreprocessorTracker.cpp | 318 const char *BufferEnd = MemBuffer.getBufferEnd(); in getSourceLine() local 328 while (EndPtr < BufferEnd) { in getSourceLine() 344 const char *BufferEnd = MemBuffer.getBufferEnd(); in getSourceLine() local 346 const char *EndPtr = BufferEnd; in getSourceLine() 351 while (Buffer < BufferEnd) { in getSourceLine() 361 while (Buffer < BufferEnd) { in getSourceLine()
|
/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-10.0/llvm/lib/ProfileData/ |
D | InstrProf.cpp | 875 const unsigned char *const BufferEnd, in getValueProfData() argument 879 if (D + sizeof(ValueProfData) > BufferEnd) in getValueProfData() 884 if (D + TotalSize > BufferEnd) in getValueProfData()
|
/external/llvm-project/llvm/lib/ProfileData/ |
D | InstrProf.cpp | 880 const unsigned char *const BufferEnd, in getValueProfData() argument 884 if (D + sizeof(ValueProfData) > BufferEnd) in getValueProfData() 889 if (D + TotalSize > BufferEnd) in getValueProfData()
|
/external/llvm/lib/Support/ |
D | MemoryBuffer.cpp | 50 BufferEnd = BufEnd; in init()
|