Lines Matching refs:BufferSize

450   void Append(char *Start, char *End, char *&Buffer, unsigned &BufferSize,  in Append()  argument
455 if (BufferSize + (End - Start) > BufferCapacity) { in Append()
459 (unsigned)(BufferSize + (End - Start))); in Append()
462 memcpy(NewBuffer, Buffer, BufferSize); in Append()
469 memcpy(Buffer + BufferSize, Start, End - Start); in Append()
470 BufferSize += End-Start; in Append()
475 unsigned &BufferSize, unsigned &BufferCapacity) { in SaveSourceLocation() argument
479 Buffer, BufferSize, BufferCapacity); in SaveSourceLocation()
483 void SavePointer(void *Ptr, char *&Buffer, unsigned &BufferSize, in SavePointer() argument
487 Buffer, BufferSize, BufferCapacity); in SavePointer()
494 BufferSize(0), BufferCapacity(0) in NestedNameSpecifierLocBuilder()
502 BufferSize = Other.BufferSize; in NestedNameSpecifierLocBuilder()
507 Append(Other.Buffer, Other.Buffer + Other.BufferSize, Buffer, BufferSize, in NestedNameSpecifierLocBuilder()
516 if (Buffer && Other.Buffer && BufferCapacity >= Other.BufferSize) { in operator =()
518 BufferSize = Other.BufferSize; in operator =()
519 memcpy(Buffer, Other.Buffer, BufferSize); in operator =()
532 BufferSize = 0; in operator =()
539 BufferSize = Other.BufferSize; in operator =()
544 Append(Other.Buffer, Other.Buffer + Other.BufferSize, Buffer, BufferSize, in operator =()
558 SavePointer(TL.getOpaqueData(), Buffer, BufferSize, BufferCapacity); in Extend()
559 SaveSourceLocation(ColonColonLoc, Buffer, BufferSize, BufferCapacity); in Extend()
570 SaveSourceLocation(IdentifierLoc, Buffer, BufferSize, BufferCapacity); in Extend()
571 SaveSourceLocation(ColonColonLoc, Buffer, BufferSize, BufferCapacity); in Extend()
582 SaveSourceLocation(NamespaceLoc, Buffer, BufferSize, BufferCapacity); in Extend()
583 SaveSourceLocation(ColonColonLoc, Buffer, BufferSize, BufferCapacity); in Extend()
593 SaveSourceLocation(AliasLoc, Buffer, BufferSize, BufferCapacity); in Extend()
594 SaveSourceLocation(ColonColonLoc, Buffer, BufferSize, BufferCapacity); in Extend()
603 SaveSourceLocation(ColonColonLoc, Buffer, BufferSize, BufferCapacity); in MakeGlobal()
613 SaveSourceLocation(SuperLoc, Buffer, BufferSize, BufferCapacity); in MakeSuper()
614 SaveSourceLocation(ColonColonLoc, Buffer, BufferSize, BufferCapacity); in MakeSuper()
624 BufferSize = 0; in MakeTrivial()
634 SaveSourceLocation(R.getBegin(), Buffer, BufferSize, BufferCapacity); in MakeTrivial()
642 SavePointer(TSInfo->getTypeLoc().getOpaqueData(), Buffer, BufferSize, in MakeTrivial()
654 Buffer, BufferSize, BufferCapacity); in MakeTrivial()
664 BufferSize = 0; in Adopt()
673 BufferSize = Other.getDataLength(); in Adopt()
690 void *Mem = Context.Allocate(BufferSize, llvm::alignOf<void *>()); in getWithLocInContext()
691 memcpy(Mem, Buffer, BufferSize); in getWithLocInContext()