/external/llvm/include/llvm/Bitcode/ |
ReaderWriter.h | 68 static inline bool isBitcodeWrapper(const unsigned char *BufPtr, 72 return BufPtr != BufEnd && 73 BufPtr[0] == 0xDE && 74 BufPtr[1] == 0xC0 && 75 BufPtr[2] == 0x17 && 76 BufPtr[3] == 0x0B; 82 static inline bool isRawBitcode(const unsigned char *BufPtr, 86 return BufPtr != BufEnd && 87 BufPtr[0] == 'B' && 88 BufPtr[1] == 'C' & [all...] |
/frameworks/compile/slang/BitWriter_2_9/ |
ReaderWriter_2_9.h | 70 static inline bool isBitcodeWrapper(const unsigned char *BufPtr, 74 return BufPtr != BufEnd && 75 BufPtr[0] == 0xDE && 76 BufPtr[1] == 0xC0 && 77 BufPtr[2] == 0x17 && 78 BufPtr[3] == 0x0B; 84 static inline bool isRawBitcode(const unsigned char *BufPtr, 88 return BufPtr != BufEnd && 89 BufPtr[0] == 'B' && 90 BufPtr[1] == 'C' & [all...] |
/external/llvm/include/llvm/ADT/ |
StringExtras.h | 44 char *BufPtr = BufferEnd; 45 *--BufPtr = 0; // Null terminate buffer. 47 *--BufPtr = '0'; // Handle special case. 48 return BufPtr; 53 *--BufPtr = hexdigit(Mod); 56 return BufPtr; 66 char *BufPtr = Buffer+11; 68 if (X == 0) *--BufPtr = '0'; // Handle special case... 71 *--BufPtr = '0' + char(X % 10); 75 if (isNeg) *--BufPtr = '-'; // Add negative sign.. [all...] |
/external/clang/lib/Lex/ |
MacroArgs.cpp | 223 const char *BufPtr = &Result[CurStrLen]; 225 unsigned ActualTokLen = PP.getSpelling(Tok, BufPtr, &Invalid); 229 // the string instead of filling in BufPtr, memcpy it onto our string. 230 if (BufPtr != &Result[CurStrLen]) 231 memcpy(&Result[CurStrLen], BufPtr, ActualTokLen);
|
TokenLexer.cpp | 487 const char *BufPtr = &Buffer[0]; 489 unsigned LHSLen = PP.getSpelling(Tok, BufPtr, &Invalid); 490 if (BufPtr != &Buffer[0]) // Really, we want the chars in Buffer! 491 memcpy(&Buffer[0], BufPtr, LHSLen); 495 BufPtr = &Buffer[LHSLen]; 496 unsigned RHSLen = PP.getSpelling(RHS, BufPtr, &Invalid); 499 if (BufPtr != &Buffer[LHSLen]) // Really, we want the chars in Buffer! 500 memcpy(&Buffer[LHSLen], BufPtr, RHSLen);
|
Lexer.cpp | 62 void Lexer::InitLexer(const char *BufStart, const char *BufPtr, 67 BufferPtr = BufPtr; 130 const char *BufStart, const char *BufPtr, const char *BufEnd) 133 InitLexer(BufStart, BufPtr, BufEnd); [all...] |
PPDirectives.cpp | [all...] |
/external/llvm/lib/Support/ |
MemoryBuffer.cpp | 321 char *BufPtr = const_cast<char*>(SB->getBufferStart()); 328 ssize_t NumRead = ::read(FD, BufPtr, BytesLeft); 336 Buf->BufferEnd = BufPtr; 337 *BufPtr = 0; 342 BufPtr += NumRead;
|
APInt.cpp | [all...] |
/external/llvm/lib/Transforms/Utils/ |
LowerInvoke.cpp | 541 Value *BufPtr; 544 BufPtr = new LoadInst(OldJmpBufPtr, "oldjmpbufptr", UnwindHandler); 545 new StoreInst(BufPtr, JBListHead, UnwindHandler); 547 BufPtr = new LoadInst(JBListHead, "ehlist", UnwindHandler); 551 Value *NotNull = new ICmpInst(*UnwindHandler, ICmpInst::ICMP_NE, BufPtr, 552 Constant::getNullValue(BufPtr->getType()), 560 Idx[0] = GetElementPtrInst::Create(BufPtr, &Idx[0], &Idx[2], "JmpBuf",
|
/external/llvm/tools/llvm-bcanalyzer/ |
llvm-bcanalyzer.cpp | 488 unsigned char *BufPtr = (unsigned char *)MemBuf->getBufferStart(); 489 unsigned char *EndBufPtr = BufPtr+MemBuf->getBufferSize(); 493 if (isBitcodeWrapper(BufPtr, EndBufPtr)) 494 if (SkipBitcodeWrapperHeader(BufPtr, EndBufPtr)) 497 BitstreamReader StreamFile(BufPtr, EndBufPtr); 532 uint64_t BufferSizeBits = (EndBufPtr-BufPtr)*CHAR_BIT;
|
/external/clang/include/clang/Lex/ |
Lexer.h | 73 void InitLexer(const char *BufStart, const char *BufPtr, const char *BufEnd); 86 const char *BufStart, const char *BufPtr, const char *BufEnd);
|
/external/llvm/lib/Archive/ |
Archive.cpp | 242 llvm::GetBitcodeSymbols(const char *BufPtr, unsigned Length, 249 MemoryBuffer::getMemBufferCopy(StringRef(BufPtr, Length),ModuleID.c_str()));
|
/external/netperf/ |
netlib.h | 588 #define ALIGN_BUFFER(BufPtr, Align, Offset) \ 589 (char *)(( (ULONG_PTR)(BufPtr) + \
|
/external/llvm/lib/Transforms/IPO/ |
LowerSetJmp.cpp | 383 CastInst* BufPtr = 386 GetSetJmpMap(Func), BufPtr,
|
/external/llvm/lib/Bitcode/Reader/ |
BitcodeReader.cpp | [all...] |
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/ |
BitcodeReader.cpp | [all...] |
/external/clang/lib/Rewrite/ |
RewriteObjC.cpp | 740 for (const char *BufPtr = MainBufStart; BufPtr < MainBufEnd; ++BufPtr) { 741 if (*BufPtr == '#') { 742 if (++BufPtr == MainBufEnd) 744 while (*BufPtr == ' ' || *BufPtr == '\t') 745 if (++BufPtr == MainBufEnd) 747 if (!strncmp(BufPtr, "import", ImportLen)) { 750 LocStart.getFileLocWithOffset(BufPtr-MainBufStart) [all...] |