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