Home
last modified time | relevance | path

Searched refs:sub_msg1 (Results 1 – 2 of 2) sorted by relevance

/external/protobuf/src/google/protobuf/
Dgenerated_message_reflection.cc427 Message** sub_msg1 = MutableRaw<Message*>(message1, field); in SwapField() local
429 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()
434 if (*sub_msg1 == nullptr) { 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()
/external/protobuf/python/google/protobuf/internal/
Dmessage_test.py529 sub_msg1 = msg.repeated_nested_message[0]
534 self.assertIn(sub_msg1, msg.repeated_nested_message)