/external/llvm/include/llvm/ADT/ |
StringExtras.h | 51 char *BufPtr = BufferEnd; 52 *--BufPtr = 0; // Null terminate buffer. 54 *--BufPtr = '0'; // Handle special case. 55 return BufPtr; 60 *--BufPtr = hexdigit(Mod); 63 return BufPtr; 73 char *BufPtr = Buffer+11; 75 if (X == 0) *--BufPtr = '0'; // Handle special case... 78 *--BufPtr = '0' + char(X % 10); 82 if (isNeg) *--BufPtr = '-'; // Add negative sign.. [all...] |
/external/clang/lib/Lex/ |
MacroArgs.cpp | 236 const char *BufPtr = &Result[CurStrLen]; 238 unsigned ActualTokLen = PP.getSpelling(Tok, BufPtr, &Invalid); 242 // the string instead of filling in BufPtr, memcpy it onto our string. 243 if (BufPtr != &Result[CurStrLen]) 244 memcpy(&Result[CurStrLen], BufPtr, ActualTokLen);
|
TokenLexer.cpp | 533 const char *BufPtr = &Buffer[0]; 535 unsigned LHSLen = PP.getSpelling(Tok, BufPtr, &Invalid); 536 if (BufPtr != &Buffer[0]) // Really, we want the chars in Buffer! 537 memcpy(&Buffer[0], BufPtr, LHSLen); 541 BufPtr = &Buffer[LHSLen]; 542 unsigned RHSLen = PP.getSpelling(RHS, BufPtr, &Invalid); 545 if (BufPtr != &Buffer[LHSLen]) // Really, we want the chars in Buffer! 546 memcpy(&Buffer[LHSLen], BufPtr, RHSLen); [all...] |
PPDirectives.cpp | [all...] |
/external/llvm/lib/Support/ |
MemoryBuffer.cpp | 359 char *BufPtr = const_cast<char*>(SB->getBufferStart()); 369 ssize_t NumRead = ::pread(FD, BufPtr, BytesLeft, MapSize-BytesLeft+Offset); 371 ssize_t NumRead = ::read(FD, BufPtr, BytesLeft); 382 *BufPtr = '\0'; // null-terminate at the actual size. 386 BufPtr += NumRead;
|
/external/llvm/tools/llvm-bcanalyzer/ |
llvm-bcanalyzer.cpp | 490 const unsigned char *BufPtr = (const unsigned char *)MemBuf->getBufferStart(); 491 const unsigned char *EndBufPtr = BufPtr+MemBuf->getBufferSize(); 495 if (isBitcodeWrapper(BufPtr, EndBufPtr)) 496 if (SkipBitcodeWrapperHeader(BufPtr, EndBufPtr, true)) 499 BitstreamReader StreamFile(BufPtr, EndBufPtr); 536 uint64_t BufferSizeBits = (EndBufPtr-BufPtr)*CHAR_BIT;
|
/external/llvm/lib/Transforms/Utils/ |
LowerInvoke.cpp | 520 Value *BufPtr; 523 BufPtr = new LoadInst(OldJmpBufPtr, "oldjmpbufptr", UnwindHandler); 524 new StoreInst(BufPtr, JBListHead, UnwindHandler); 526 BufPtr = new LoadInst(JBListHead, "ehlist", UnwindHandler); 530 Value *NotNull = new ICmpInst(*UnwindHandler, ICmpInst::ICMP_NE, BufPtr, 531 Constant::getNullValue(BufPtr->getType()), 539 Idx[0] = GetElementPtrInst::Create(BufPtr, Idx, "JmpBuf", UnwindBlock);
|
/external/llvm/include/llvm/Support/ |
YAMLTraits.h | 607 : io(i_o), BufPtr(NULL), Result(Obj) { 609 BufPtr = new (&Buffer) TNorm(io, Obj); 612 BufPtr = new (&Buffer) TNorm(io); 618 Result = BufPtr->denormalize(io); 620 BufPtr->~TNorm(); 623 TNorm* operator->() { return BufPtr; } 630 TNorm *BufPtr; 641 : io(i_o), BufPtr(NULL), Result(Obj) { 643 BufPtr = new (&Buffer) TNorm(io, Obj); 646 BufPtr = new TNorm(io) [all...] |
/external/llvm/lib/Bitcode/Reader/ |
BitcodeReader.cpp | [all...] |
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/ |
BitcodeReader.cpp | [all...] |
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/ |
BitcodeReader.cpp | [all...] |