Searched refs:sub_msg2 (Results 1 – 2 of 2) sorted by relevance
428 Message** sub_msg2 = MutableRaw<Message*>(message2, field); in SwapField() local429 if (*sub_msg1 == nullptr && *sub_msg2 == nullptr) break; in SwapField()430 if (*sub_msg1 && *sub_msg2) { in SwapField()431 (*sub_msg1)->GetReflection()->Swap(*sub_msg1, *sub_msg2); in SwapField()435 *sub_msg1 = (*sub_msg2)->New(message1->GetArena()); in SwapField()436 (*sub_msg1)->CopyFrom(**sub_msg2); in SwapField()439 *sub_msg2 = (*sub_msg1)->New(message2->GetArena()); in SwapField()440 (*sub_msg2)->CopyFrom(**sub_msg1); in SwapField()
530 sub_msg2 = message_module.TestAllTypes.NestedMessage(bb=2)532 msg.repeated_nested_message.append(sub_msg2)535 self.assertIn(sub_msg2, msg.repeated_nested_message)