Home
last modified time | relevance | path

Searched refs:GetReflection (Results 1 – 25 of 44) sorted by relevance

12

/external/protobuf/src/google/protobuf/
Dmap_test_util.cc92 EXPECT_EQ(size, message.GetReflection()->FieldSize( in ExpectMapsSize()
94 EXPECT_EQ(size, message.GetReflection()->FieldSize( in ExpectMapsSize()
96 EXPECT_EQ(size, message.GetReflection()->FieldSize( in ExpectMapsSize()
98 EXPECT_EQ(size, message.GetReflection()->FieldSize( in ExpectMapsSize()
100 EXPECT_EQ(size, message.GetReflection()->FieldSize( in ExpectMapsSize()
102 EXPECT_EQ(size, message.GetReflection()->FieldSize( in ExpectMapsSize()
104 EXPECT_EQ(size, message.GetReflection()->FieldSize( in ExpectMapsSize()
106 EXPECT_EQ(size, message.GetReflection()->FieldSize( in ExpectMapsSize()
108 EXPECT_EQ(size, message.GetReflection()->FieldSize( in ExpectMapsSize()
110 EXPECT_EQ(size, message.GetReflection()->FieldSize( in ExpectMapsSize()
[all …]
Dmap_test.cc945 const Reflection* refl = message.GetReflection(); in TEST_F()
1016 int32 key_int32_int32 = message_int32_int32.GetReflection()->GetInt32( in TEST_F()
1018 int32 value_int32_int32 = message_int32_int32.GetReflection()->GetInt32( in TEST_F()
1023 int32 key_int32_double = message_int32_double.GetReflection()->GetInt32( in TEST_F()
1026 message_int32_double.GetReflection()->GetDouble( in TEST_F()
1032 message_string_string.GetReflection()->GetString( in TEST_F()
1035 message_string_string.GetReflection()->GetString( in TEST_F()
1040 int32 key_int32_message = message_int32_message.GetReflection()->GetInt32( in TEST_F()
1044 message_int32_message.GetReflection() in TEST_F()
1053 int32 key_int32_int32 = message_int32_int32.GetReflection()->GetInt32( in TEST_F()
[all …]
Dgenerated_message_reflection_unittest.cc81 const Reflection* reflection = message.GetReflection(); in TEST()
118 const Reflection* reflection = message.GetReflection(); in TEST()
143 const Reflection* reflection = message.GetReflection(); in TEST()
162 const Reflection* reflection = message1.GetReflection(); in TEST()
177 const Reflection* reflection = message1.GetReflection(); in TEST()
196 const Reflection* reflection = message1.GetReflection(); in TEST()
210 const Reflection* reflection = message1.GetReflection(); in TEST()
232 const Reflection* reflection = message1.GetReflection(); in TEST()
259 const Reflection* reflection = message1.GetReflection(); in TEST()
274 const Reflection* reflection = message1.GetReflection(); in TEST()
[all …]
Dtest_util.cc92 message->GetReflection()->SetString( in SetOptionalFields()
96 message->GetReflection()->SetString( in SetOptionalFields()
133 message->GetReflection()->AddString( in AddRepeatedFields1()
137 message->GetReflection()->AddString( in AddRepeatedFields1()
173 message->GetReflection()->AddString( in AddRepeatedFields2()
177 message->GetReflection()->AddString( in AddRepeatedFields2()
208 message->GetReflection()->SetString( in SetDefaultFields()
212 message->GetReflection()->SetString( in SetDefaultFields()
249 message->GetReflection()->SetRepeatedString( in ModifyRepeatedFields()
253 message->GetReflection()->SetRepeatedString( in ModifyRepeatedFields()
[all …]
Dreflection_ops.cc63 const Reflection* from_reflection = from.GetReflection(); in Merge()
64 const Reflection* to_reflection = to->GetReflection(); in Merge()
130 const Reflection* reflection = message->GetReflection(); in Clear()
143 const Reflection* reflection = message.GetReflection(); in IsInitialized()
182 const Reflection* reflection = message->GetReflection(); in DiscardUnknownFields()
229 const Reflection* reflection = message.GetReflection(); in FindInitializationErrors()
Dpreserve_unknown_enum_test.cc191 const google::protobuf::Reflection* r = message.GetReflection(); in TEST()
225 const google::protobuf::Reflection* r = message.GetReflection(); in TEST()
247 const google::protobuf::Reflection* r = message.GetReflection(); in TEST()
282 const google::protobuf::Reflection* proto2_reflection = proto2_message.GetReflection(); in TEST()
283 const google::protobuf::Reflection* new_reflection = new_message.GetReflection(); in TEST()
Ddrop_unknown_fields_test.cc59 EXPECT_TRUE(foo.GetReflection()->GetUnknownFields(foo).empty()); in TEST()
78 EXPECT_TRUE(foo->GetReflection()->GetUnknownFields(*foo).empty()); in TEST()
Dproto3_arena_unittest.cc144 arena_message->GetReflection()->MutableUnknownFields(arena_message); in TEST()
150 arena_message->GetReflection()->GetUnknownFields(*arena_message).empty()); in TEST()
196 const Reflection* r = message->GetReflection(); in TEST()
Dwire_format.cc384 const Reflection* message_reflection = message->GetReflection(); in ParseAndMergePartial()
446 const Reflection* message_reflection = message->GetReflection(); in ParseAndMergeMessageSetField()
473 const Reflection* message_reflection = message->GetReflection(); in ParseAndMergeField()
710 const Reflection* message_reflection = message->GetReflection(); in ParseAndMergeMessageSetItem()
792 const Reflection* message_reflection = message.GetReflection(); in SerializeWithCachedSizes()
819 const Reflection* message_reflection = message.GetReflection(); in SerializeFieldWithCachedSizes()
945 const Reflection* message_reflection = message.GetReflection(); in SerializeMessageSetItemWithCachedSizes()
969 const Reflection* message_reflection = message.GetReflection(); in ByteSize()
993 const Reflection* message_reflection = message.GetReflection(); in FieldByteSize()
1028 const Reflection* message_reflection = message.GetReflection(); in FieldDataOnlyByteSize()
[all …]
Dmap_field_test.cc148 int key = message.GetReflection()->GetInt32(message, key_descriptor_); in TEST_F()
149 int value = message.GetReflection()->GetInt32(message, value_descriptor_); in TEST_F()
161 int key = message.GetReflection()->GetInt32(message, key_descriptor_); in TEST_F()
162 int value = message.GetReflection()->GetInt32(message, value_descriptor_); in TEST_F()
Drepeated_field_reflection_unittest.cc65 const Reflection* refl = message.GetReflection(); in TEST()
164 const Reflection* refl = extended_message.GetReflection(); in TEST()
207 const Reflection* refl = message.GetReflection(); in TEST()
429 const Reflection* refl = message.GetReflection(); in TEST()
521 const Reflection* refl = extended_message.GetReflection(); in TEST()
571 const Reflection* refl = m0.GetReflection(); in TEST()
693 const Reflection* refl = dynamic_message->GetReflection(); in TEST()
Dmap_field.cc213 const Message& message = default_entry_->GetReflection()->GetMessage( in InsertOrLookupMapValue()
263 const Reflection* reflection = default_entry_->GetReflection(); in SyncRepeatedFieldWithMapNoLock()
351 const Reflection* reflection = default_entry_->GetReflection(); in SyncMapWithRepeatedFieldNoLock()
459 size += message.GetReflection()->SpaceUsed(message); in SpaceUsedExcludingSelfNoLock()
Darena_unittest.cc355 const Reflection* reflection = arena1_message->GetReflection(); in TEST()
496 const Reflection* r = arena2_message->GetReflection(); in TEST()
512 const Reflection* r = arena2_message->GetReflection(); in TEST()
544 const Reflection* r = arena_message->GetReflection(); in TEST()
608 const Reflection* r = arena1_message->GetReflection(); in TEST()
642 const Reflection* r = arena1_message->GetReflection(); in TEST()
745 const Reflection* r = arena1_message->GetReflection(); in TEST()
901 const Reflection* refl = message->GetReflection(); in TEST()
1085 const Reflection* r = message->GetReflection(); in TEST()
Dreflection.h95 const Reflection* reflection = message.GetReflection(); in RepeatedFieldRef()
161 const Reflection* reflection = message->GetReflection(); in MutableRepeatedFieldRef()
217 const Reflection* reflection = message.GetReflection(); in RepeatedFieldRef()
293 const Reflection* reflection = message->GetReflection(); in MutableRepeatedFieldRef()
Dno_field_presence_test.cc283 const google::protobuf::Reflection* r = message.GetReflection(); in TEST()
347 const google::protobuf::Reflection* r = message.GetReflection(); in TEST()
388 const google::protobuf::Reflection* r = message.GetReflection(); in TEST()
501 const google::protobuf::Reflection* r = message.GetReflection(); in TEST()
Dextension_set_unittest.cc269 const Reflection* reflection = message1.GetReflection(); in TEST()
297 const Reflection* reflection = message3.GetReflection(); in TEST()
314 const Reflection* reflection = message1.GetReflection(); in TEST()
424 const Reflection* reflection = message1->GetReflection(); in TEST()
440 const Reflection* reflection = message1.GetReflection(); in TEST()
1177 message.GetReflection()->GetMessage(message, message_extension); in TEST()
1196 parent.GetReflection()->GetMessage(parent, dynamic_message_extension, in TEST()
Ddynamic_message_unittest.cc183 const Reflection* reflection = message->GetReflection(); in TEST_F()
258 const Reflection* refl = message->GetReflection(); in TEST_F()
/external/protobuf/python/google/protobuf/pyext/
Dmap_container.cc318 return message->GetReflection()->MapSize(*message, in Length()
325 const Reflection* reflection = message->GetReflection(); in Clear()
336 const Reflection* reflection = message->GetReflection(); in Contains()
370 mutable_old->GetReflection()->SwapFields(mutable_old, new_message, fields); in InitializeAndCopyToParentContainer()
441 const Reflection* reflection = message->GetReflection(); in ScalarMapGetItem()
462 const Reflection* reflection = message->GetReflection(); in ScalarMapSetItem()
701 const Reflection* reflection = message->GetReflection(); in MessageMapSetItem()
726 const Reflection* reflection = message->GetReflection(); in MessageMapGetItem()
882 const Reflection* reflection = message->GetReflection(); in GetIterator()
906 const Reflection* reflection = message->GetReflection(); in IterNext()
Drepeated_composite_container.cc85 return message->GetReflection()->FieldSize(*message, in Length()
106 const Reflection* reflection = message->GetReflection(); in UpdateChildMessages()
140 message->GetReflection()->AddMessage(message, in AddToAttached()
342 const Reflection* reflection = message->GetReflection(); in ReorderAttached()
446 parent->message->GetReflection()->ReleaseLast(parent->message, field)); in ReleaseLastTo()
472 GOOGLE_DCHECK_EQ(size, message->GetReflection()->FieldSize(*message, field)); in Release()
Dmessage.cc771 const Reflection* reflection = message->GetReflection(); in CheckAndGetInteger()
811 const Reflection* reflection = parent_message->GetReflection(); in CheckAndGetInteger()
960 const Reflection* reflection = message->GetReflection(); in CheckAndGetInteger()
1352 message->GetReflection()->HasField(*message, field_descriptor); in CheckAndGetInteger()
1369 return message->GetReflection()->GetOneofFieldDescriptor(*message, in CheckAndGetInteger()
1441 if (message->GetReflection()->HasField(*message, field_descriptor)) { in CheckAndGetInteger()
1444 if (!message->GetReflection()->SupportsUnknownEnumValues() && in CheckAndGetInteger()
1451 message->GetReflection()->GetUnknownFields(*message); in CheckAndGetInteger()
1560 Message* released_message = self->message->GetReflection()->ReleaseMessage( in CheckAndGetInteger()
1635 self->message->GetReflection()->ClearField(self->message, descriptor); in CheckAndGetInteger()
[all …]
Drepeated_scalar_container.cc69 self->message->GetReflection()->ClearField(self->message, in InternalAssignRepeatedField()
82 return message->GetReflection()->FieldSize(*message, in Len()
93 const Reflection* reflection = message->GetReflection(); in AssignItem()
194 const Reflection* reflection = message->GetReflection(); in Item()
253 message->GetReflection()->GetRepeatedEnum( in Item()
359 const Reflection* reflection = message->GetReflection(); in Append()
457 const Reflection* reflection = message->GetReflection(); in AssSubscript()
/external/protobuf/src/google/protobuf/util/
Dmessage_differencer.cc127 const Reflection* reflection1 = message1.GetReflection(); in IsMatchInternal()
128 const Reflection* reflection2 = message2.GetReflection(); in IsMatchInternal()
472 const Reflection* reflection1 = message1.GetReflection(); in Compare()
473 const Reflection* reflection2 = message2.GetReflection(); in Compare()
595 const Reflection* reflection1 = message1.GetReflection(); in CompareWithFieldsInternal()
596 const Reflection* reflection2 = message2.GetReflection(); in CompareWithFieldsInternal()
769 const Reflection* reflection1 = message1->GetReflection(); in IsMatch()
770 const Reflection* reflection2 = message2->GetReflection(); in IsMatch()
792 const Reflection* reflection1 = message1.GetReflection(); in CompareRepeatedField()
793 const Reflection* reflection2 = message2.GetReflection(); in CompareRepeatedField()
[all …]
Dfield_comparator.cc64 const Reflection* reflection_1 = message_1.GetReflection(); in Compare()
65 const Reflection* reflection_2 = message_2.GetReflection(); in Compare()
Dmessage_differencer_unittest.cc795 msg1.GetReflection()->ListFields(msg1, &fields1); in TEST()
796 msg2.GetReflection()->ListFields(msg2, &fields2); in TEST()
810 msg1.GetReflection()->ListFields(msg1, &fields1); in TEST()
811 msg2.GetReflection()->ListFields(msg2, &fields2); in TEST()
839 msg1.GetReflection()->ListFields(msg1, &fields); in TEST()
885 msg1.GetReflection()->ListFields(msg1, &fields1); in TEST()
886 msg2.GetReflection()->ListFields(msg2, &fields2); in TEST()
903 msg1.GetReflection()->ListFields(msg1, &fields1); in TEST()
929 const Reflection* reflection = msg1.GetReflection(); in TEST()
958 msg1.GetReflection()->ListFields(msg1, &fields1); in TEST()
[all …]
/external/libprotobuf-mutator/src/
Dmutator.cc171 const Reflection* reflection = message->GetReflection(); in Sample()
288 const Reflection* reflection = message->GetReflection(); in Sample()
510 const Reflection* reflection = message2->GetReflection(); in CrossOverImpl()
512 assert(message1.GetReflection() == reflection); in CrossOverImpl()
582 const Reflection* reflection = message->GetReflection(); in InitializeAndTrim()

12