HomeSort by relevance Sort by last modified time
    Searched defs:BufPtr (Results 1 - 10 of 10) sorted by null

  /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);
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;
  /external/llvm/lib/Transforms/IPO/
LowerSetJmp.cpp 383 CastInst* BufPtr =
386 GetSetJmpMap(Func), BufPtr,
  /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/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/lib/Bitcode/Reader/
BitcodeReader.cpp     [all...]
  /frameworks/compile/libbcc/bcinfo/BitReader_2_7/
BitcodeReader.cpp     [all...]

Completed in 204 milliseconds