Lines Matching refs:Other
439 NestedNameSpecifierLocBuilder(const NestedNameSpecifierLocBuilder &Other)
440 : Representation(Other.Representation), Buffer(0),
443 if (!Other.Buffer)
446 if (Other.BufferCapacity == 0) {
448 Buffer = Other.Buffer;
449 BufferSize = Other.BufferSize;
454 BufferSize = Other.BufferSize;
455 BufferCapacity = Other.BufferSize;
457 memcpy(Buffer, Other.Buffer, BufferSize);
462 operator=(const NestedNameSpecifierLocBuilder &Other) {
463 Representation = Other.Representation;
465 if (Buffer && Other.Buffer && BufferCapacity >= Other.BufferSize) {
467 BufferSize = Other.BufferSize;
468 memcpy(Buffer, Other.Buffer, BufferSize);
478 if (!Other.Buffer) {
485 if (Other.BufferCapacity == 0) {
487 Buffer = Other.Buffer;
488 BufferSize = Other.BufferSize;
493 BufferSize = Other.BufferSize;
496 memcpy(Buffer, Other.Buffer, BufferSize);
598 void NestedNameSpecifierLocBuilder::Adopt(NestedNameSpecifierLoc Other) {
602 if (!Other) {
611 Representation = Other.getNestedNameSpecifier();
612 Buffer = static_cast<char *>(Other.getOpaqueData());
613 BufferSize = Other.getDataLength();