Lines Matching refs:BufferSize

436   void Append(char *Start, char *End, char *&Buffer, unsigned &BufferSize,  in Append()  argument
438 if (BufferSize + (End - Start) > BufferCapacity) { in Append()
443 (unsigned)(BufferSize + (End - Start))); in Append()
445 memcpy(NewBuffer, Buffer, BufferSize); in Append()
453 memcpy(Buffer + BufferSize, Start, End - Start); in Append()
454 BufferSize += End-Start; in Append()
459 unsigned &BufferSize, unsigned &BufferCapacity) { in SaveSourceLocation() argument
463 Buffer, BufferSize, BufferCapacity); in SaveSourceLocation()
467 void SavePointer(void *Ptr, char *&Buffer, unsigned &BufferSize, in SavePointer() argument
471 Buffer, BufferSize, BufferCapacity); in SavePointer()
478 BufferSize(0), BufferCapacity(0) in NestedNameSpecifierLocBuilder()
486 BufferSize = Other.BufferSize; in NestedNameSpecifierLocBuilder()
491 Append(Other.Buffer, Other.Buffer + Other.BufferSize, Buffer, BufferSize, in NestedNameSpecifierLocBuilder()
500 if (Buffer && Other.Buffer && BufferCapacity >= Other.BufferSize) { in operator =()
502 BufferSize = Other.BufferSize; in operator =()
503 memcpy(Buffer, Other.Buffer, BufferSize); in operator =()
516 BufferSize = 0; in operator =()
523 BufferSize = Other.BufferSize; in operator =()
528 Append(Other.Buffer, Other.Buffer + Other.BufferSize, Buffer, BufferSize, in operator =()
542 SavePointer(TL.getOpaqueData(), Buffer, BufferSize, BufferCapacity); in Extend()
543 SaveSourceLocation(ColonColonLoc, Buffer, BufferSize, BufferCapacity); in Extend()
554 SaveSourceLocation(IdentifierLoc, Buffer, BufferSize, BufferCapacity); in Extend()
555 SaveSourceLocation(ColonColonLoc, Buffer, BufferSize, BufferCapacity); in Extend()
566 SaveSourceLocation(NamespaceLoc, Buffer, BufferSize, BufferCapacity); in Extend()
567 SaveSourceLocation(ColonColonLoc, Buffer, BufferSize, BufferCapacity); in Extend()
577 SaveSourceLocation(AliasLoc, Buffer, BufferSize, BufferCapacity); in Extend()
578 SaveSourceLocation(ColonColonLoc, Buffer, BufferSize, BufferCapacity); in Extend()
587 SaveSourceLocation(ColonColonLoc, Buffer, BufferSize, BufferCapacity); in MakeGlobal()
597 SaveSourceLocation(SuperLoc, Buffer, BufferSize, BufferCapacity); in MakeSuper()
598 SaveSourceLocation(ColonColonLoc, Buffer, BufferSize, BufferCapacity); in MakeSuper()
608 BufferSize = 0; in MakeTrivial()
618 SaveSourceLocation(R.getBegin(), Buffer, BufferSize, BufferCapacity); in MakeTrivial()
626 SavePointer(TSInfo->getTypeLoc().getOpaqueData(), Buffer, BufferSize, in MakeTrivial()
638 Buffer, BufferSize, BufferCapacity); in MakeTrivial()
648 BufferSize = 0; in Adopt()
657 BufferSize = Other.getDataLength(); in Adopt()
674 void *Mem = Context.Allocate(BufferSize, llvm::alignOf<void *>()); in getWithLocInContext()
675 memcpy(Mem, Buffer, BufferSize); in getWithLocInContext()