/external/swiftshader/third_party/LLVM/include/llvm/Bitcode/ |
D | ReaderWriter.h | 69 const unsigned char *BufEnd) { in isBitcodeWrapper() argument 72 return BufPtr != BufEnd && in isBitcodeWrapper() 83 const unsigned char *BufEnd) { in isRawBitcode() argument 86 return BufPtr != BufEnd && in isRawBitcode() 97 const unsigned char *BufEnd) { in isBitcode() argument 98 return isBitcodeWrapper(BufPtr, BufEnd) || in isBitcode() 99 isRawBitcode(BufPtr, BufEnd); in isBitcode() 117 unsigned char *&BufEnd) { in SkipBitcodeWrapperHeader() argument 125 if (BufEnd-BufPtr < KnownHeaderSize) return true; in SkipBitcodeWrapperHeader() 137 if (Offset+Size > unsigned(BufEnd-BufPtr)) in SkipBitcodeWrapperHeader() [all …]
|
/external/llvm/include/llvm/Bitcode/ |
D | ReaderWriter.h | 117 const unsigned char *BufEnd) { in isBitcodeWrapper() argument 120 return BufPtr != BufEnd && in isBitcodeWrapper() 131 const unsigned char *BufEnd) { in isRawBitcode() argument 134 return BufPtr != BufEnd && in isRawBitcode() 145 const unsigned char *BufEnd) { in isBitcode() argument 146 return isBitcodeWrapper(BufPtr, BufEnd) || in isBitcode() 147 isRawBitcode(BufPtr, BufEnd); in isBitcode() 167 const unsigned char *&BufEnd, in SkipBitcodeWrapperHeader() argument 170 if (unsigned(BufEnd - BufPtr) < BWH_SizeField + 4) in SkipBitcodeWrapperHeader() 178 if (VerifyBufferSize && BitcodeOffsetEnd > uint64_t(BufEnd-BufPtr)) in SkipBitcodeWrapperHeader() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Bitcode/ |
D | BitcodeReader.h | 192 const unsigned char *BufEnd) { in isBitcodeWrapper() argument 195 return BufPtr != BufEnd && in isBitcodeWrapper() 205 const unsigned char *BufEnd) { in isRawBitcode() argument 208 return BufPtr != BufEnd && in isRawBitcode() 218 const unsigned char *BufEnd) { in isBitcode() argument 219 return isBitcodeWrapper(BufPtr, BufEnd) || in isBitcode() 220 isRawBitcode(BufPtr, BufEnd); in isBitcode() 240 const unsigned char *&BufEnd, in SkipBitcodeWrapperHeader() argument 243 if (unsigned(BufEnd - BufPtr) < BWH_SizeField + 4) in SkipBitcodeWrapperHeader() 251 if (VerifyBufferSize && BitcodeOffsetEnd > uint64_t(BufEnd-BufPtr)) in SkipBitcodeWrapperHeader() [all …]
|
/external/swiftshader/third_party/subzero/pnacl-llvm/ |
D | NaClBitcodeHeader.cpp | 178 const unsigned char *BufEnd, in ReadPrefix() argument 181 if (!isNaClBitcode(BufPtr, BufEnd)) { in ReadPrefix() 183 if (isBitcode(BufPtr, BufEnd)) { in ReadPrefix() 192 if (BufPtr + WordSize > BufEnd) in ReadPrefix() 203 const unsigned char *BufEnd, in ReadFields() argument 211 if (!Field->Read(BufPtr, BufEnd - BufPtr)) in ReadFields() 220 const unsigned char *BufEnd) { in Read() argument 223 if (ReadPrefix(BufPtr, BufEnd, NumFields, NumBytes)) in Read() 227 if (ReadFields(BufPtr, BufEnd, NumFields, NumBytes)) in Read()
|
/external/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Bitcode/NaCl/ |
D | NaClBitcodeHeader.h | 201 bool Read(const unsigned char *BufPtr, const unsigned char *BufEnd); 245 bool ReadPrefix(const unsigned char *BufPtr, const unsigned char *BufEnd, 250 bool ReadFields(const unsigned char *BufPtr, const unsigned char *BufEnd,
|
D | NaClReaderWriter.h | 118 const unsigned char *BufEnd) { in isNaClBitcode() argument 119 return BufPtr+4 <= BufEnd && in isNaClBitcode()
|
/external/clang/include/clang/Rewrite/Core/ |
D | RewriteBuffer.h | 41 void Initialize(const char *BufStart, const char *BufEnd) { in Initialize() argument 42 Buffer.assign(BufStart, BufEnd); in Initialize()
|
/external/clang/lib/Lex/ |
D | PTHLexer.cpp | 451 const unsigned char *BufEnd = (const unsigned char*)File->getBufferEnd(); in Create() local 454 if ((BufEnd - BufBeg) < (signed)(sizeof("cfe-pth") + 4 + 4) || in Create() 475 if (PrologueOffset >= BufEnd) { in Create() 486 if (!(FileTable > BufBeg && FileTable < BufEnd)) { in Create() 504 if (!(IData >= BufBeg && IData < BufEnd)) { in Create() 514 if (!(StringIdTable >= BufBeg && StringIdTable < BufEnd)) { in Create() 526 if (!(spellingBase >= BufBeg && spellingBase < BufEnd)) { in Create()
|
D | Lexer.cpp | 56 const char *BufEnd) { in InitLexer() argument 59 BufferEnd = BufEnd; in InitLexer() 61 assert(BufEnd[0] == 0 && in InitLexer() 132 const char *BufStart, const char *BufPtr, const char *BufEnd) in Lexer() argument 135 InitLexer(BufStart, BufPtr, BufEnd); in Lexer() 236 const char *BufEnd = BufPtr + Tok.getLength(); in getSpellingSlow() local 240 while (BufPtr < BufEnd) { in getSpellingSlow() 256 const char *RawEnd = BufEnd; in getSpellingSlow() 269 while (BufPtr < BufEnd) { in getSpellingSlow()
|
/external/clang/lib/Format/ |
D | Encoding.h | 37 const UTF8 *BufEnd = reinterpret_cast<const UTF8 *>(Text.end()); in detectEncoding() local 38 if (::isLegalUTF8String(&Ptr, BufEnd)) in detectEncoding()
|
/external/swiftshader/third_party/LLVM/lib/Support/ |
D | MemoryBuffer.cpp | 49 void MemoryBuffer::init(const char *BufStart, const char *BufEnd, in init() argument 51 assert((!RequiresNullTerminator || BufEnd[0] == 0) && in init() 54 BufferEnd = BufEnd; in init()
|
/external/llvm/lib/Support/ |
D | MemoryBuffer.cpp | 45 void MemoryBuffer::init(const char *BufStart, const char *BufEnd, in init() argument 47 assert((!RequiresNullTerminator || BufEnd[0] == 0) && in init() 50 BufferEnd = BufEnd; in init()
|
D | SourceMgr.cpp | 163 const char *BufEnd = CurMB->getBufferEnd(); in GetMessage() local 164 while (LineEnd != BufEnd && LineEnd[0] != '\n' && LineEnd[0] != '\r') in GetMessage()
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | MemoryBuffer.cpp | 45 void MemoryBuffer::init(const char *BufStart, const char *BufEnd, in init() argument 47 assert((!RequiresNullTerminator || BufEnd[0] == 0) && in init() 50 BufferEnd = BufEnd; in init()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
D | MemoryBuffer.cpp | 46 void MemoryBuffer::init(const char *BufStart, const char *BufEnd, in init() argument 48 assert((!RequiresNullTerminator || BufEnd[0] == 0) && in init() 51 BufferEnd = BufEnd; in init()
|
D | SourceMgr.cpp | 195 const char *BufEnd = CurMB->getBufferEnd(); in GetMessage() local 196 while (LineEnd != BufEnd && LineEnd[0] != '\n' && LineEnd[0] != '\r') in GetMessage()
|
/external/clang/include/clang/Lex/ |
D | Lexer.h | 96 void InitLexer(const char *BufStart, const char *BufPtr, const char *BufEnd); 109 const char *BufStart, const char *BufPtr, const char *BufEnd);
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | MemoryBuffer.h | 43 void init(const char *BufStart, const char *BufEnd,
|
/external/llvm/include/llvm/Support/ |
D | MemoryBuffer.h | 44 void init(const char *BufStart, const char *BufEnd,
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | MemoryBuffer.h | 48 void init(const char *BufStart, const char *BufEnd,
|
/external/swiftshader/third_party/LLVM/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 1828 unsigned char *BufEnd = BufPtr+Buffer->getBufferSize(); in ParseBitcodeInto() local 1831 if (!isRawBitcode(BufPtr, BufEnd) && !isBitcodeWrapper(BufPtr, BufEnd)) in ParseBitcodeInto() 1839 if (isBitcodeWrapper(BufPtr, BufEnd)) in ParseBitcodeInto() 1840 if (SkipBitcodeWrapperHeader(BufPtr, BufEnd)) in ParseBitcodeInto() 1843 StreamFile.init(BufPtr, BufEnd); in ParseBitcodeInto() 1959 unsigned char *BufEnd = BufPtr+Buffer->getBufferSize(); in ParseTriple() local 1963 if (isBitcodeWrapper(BufPtr, BufEnd)) in ParseTriple() 1964 if (SkipBitcodeWrapperHeader(BufPtr, BufEnd)) in ParseTriple() 1967 StreamFile.init(BufPtr, BufEnd); in ParseTriple()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
D | MemoryBuffer.h | 49 void init(const char *BufStart, const char *BufEnd,
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | CStringChecker.cpp | 396 SVal BufEnd = svalBuilder.evalBinOpLN(state, BO_Add, *BufLoc, in CheckBufferAccess() local 398 state = CheckLocation(C, state, warningExpr, BufEnd, firstMessage); in CheckBufferAccess() 416 SVal BufEnd = svalBuilder.evalBinOpLN(state, BO_Add, *BufLoc, in CheckBufferAccess() local 418 state = CheckLocation(C, state, warningExpr, BufEnd, secondMessage); in CheckBufferAccess() 864 SVal BufEnd = in IsFirstBufInBound() local 868 const MemRegion *R = BufEnd.getAsRegion(); in IsFirstBufInBound()
|
/external/clang/lib/Frontend/ |
D | TextDiagnostic.cpp | 1098 const char *BufEnd = BufStart + BufData.size(); in emitSnippetAndCaret() local 1115 while (*LineEnd != '\n' && *LineEnd != '\r' && LineEnd != BufEnd) in emitSnippetAndCaret()
|
/external/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 5795 const unsigned char *BufEnd = BufPtr+Buffer->getBufferSize(); in initStreamFromBuffer() local 5802 if (isBitcodeWrapper(BufPtr, BufEnd)) in initStreamFromBuffer() 5803 if (SkipBitcodeWrapperHeader(BufPtr, BufEnd, true)) in initStreamFromBuffer() 5806 StreamFile.reset(new BitstreamReader(BufPtr, BufEnd)); in initStreamFromBuffer() 6467 const unsigned char *BufEnd = BufPtr + Buffer->getBufferSize(); in initStreamFromBuffer() local 6474 if (isBitcodeWrapper(BufPtr, BufEnd)) in initStreamFromBuffer() 6475 if (SkipBitcodeWrapperHeader(BufPtr, BufEnd, true)) in initStreamFromBuffer() 6478 StreamFile.reset(new BitstreamReader(BufPtr, BufEnd)); in initStreamFromBuffer()
|