/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 | 45 char *BufPtr = BufferEnd; 46 *--BufPtr = 0; // Null terminate buffer. 48 *--BufPtr = '0'; // Handle special case. 49 return BufPtr; 54 *--BufPtr = hexdigit(Mod); 57 return BufPtr; 67 char *BufPtr = Buffer+11; 69 if (X == 0) *--BufPtr = '0'; // Handle special case... 72 *--BufPtr = '0' + char(X % 10); 76 if (isNeg) *--BufPtr = '-'; // Add negative sign.. [all...] |
/external/clang/lib/Lex/ |
MacroArgs.cpp | 235 const char *BufPtr = &Result[CurStrLen]; 237 unsigned ActualTokLen = PP.getSpelling(Tok, BufPtr, &Invalid); 241 // the string instead of filling in BufPtr, memcpy it onto our string. 242 if (BufPtr != &Result[CurStrLen]) 243 memcpy(&Result[CurStrLen], BufPtr, ActualTokLen);
|
TokenLexer.cpp | 471 const char *BufPtr = &Buffer[0]; 473 unsigned LHSLen = PP.getSpelling(Tok, BufPtr, &Invalid); 474 if (BufPtr != &Buffer[0]) // Really, we want the chars in Buffer! 475 memcpy(&Buffer[0], BufPtr, LHSLen); 479 BufPtr = &Buffer[LHSLen]; 480 unsigned RHSLen = PP.getSpelling(RHS, BufPtr, &Invalid); 483 if (BufPtr != &Buffer[LHSLen]) // Really, we want the chars in Buffer! 484 memcpy(&Buffer[LHSLen], BufPtr, RHSLen);
|
PPDirectives.cpp | [all...] |
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...] |
/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, "JmpBuf", UnwindBlock);
|
/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 | 88 void InitLexer(const char *BufStart, const char *BufPtr, const char *BufEnd); 101 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/Bitcode/Reader/ |
BitcodeReader.cpp | [all...] |
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/ |
BitcodeReader.cpp | [all...] |
/external/clang/lib/Rewrite/ |
RewriteObjC.cpp | 773 for (const char *BufPtr = MainBufStart; BufPtr < MainBufEnd; ++BufPtr) { 774 if (*BufPtr == '#') { 775 if (++BufPtr == MainBufEnd) 777 while (*BufPtr == ' ' || *BufPtr == '\t') 778 if (++BufPtr == MainBufEnd) 780 if (!strncmp(BufPtr, "import", ImportLen)) { 783 LocStart.getLocWithOffset(BufPtr-MainBufStart) [all...] |