Home
last modified time | relevance | path

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

123

/external/protobuf/src/google/protobuf/
Dmap_test_util.cc90 EXPECT_EQ(size, message.GetReflection()->FieldSize( in ExpectMapsSize()
92 EXPECT_EQ(size, message.GetReflection()->FieldSize( in ExpectMapsSize()
95 message.GetReflection()->FieldSize( in ExpectMapsSize()
98 message.GetReflection()->FieldSize( in ExpectMapsSize()
101 message.GetReflection()->FieldSize( in ExpectMapsSize()
104 message.GetReflection()->FieldSize( in ExpectMapsSize()
107 message.GetReflection()->FieldSize( in ExpectMapsSize()
110 message.GetReflection()->FieldSize( in ExpectMapsSize()
113 message.GetReflection()->FieldSize( in ExpectMapsSize()
116 message.GetReflection()->FieldSize( in ExpectMapsSize()
[all …]
Dtest_util.h195 const Reflection* reflection = message->GetReflection(); in SetAllFieldsViaReflection()
215 sub_message->GetReflection()->SetInt32(sub_message, group_a_, 117); in SetAllFieldsViaReflection()
218 sub_message->GetReflection()->SetInt32(sub_message, nested_b_, 118); in SetAllFieldsViaReflection()
221 sub_message->GetReflection()->SetInt32(sub_message, foreign_c_, 119); in SetAllFieldsViaReflection()
224 sub_message->GetReflection()->SetInt32(sub_message, import_d_, 120); in SetAllFieldsViaReflection()
235 sub_message->GetReflection()->SetInt32(sub_message, import_e_, 126); in SetAllFieldsViaReflection()
238 sub_message->GetReflection()->SetInt32(sub_message, nested_b_, 127); in SetAllFieldsViaReflection()
259 sub_message->GetReflection()->SetInt32(sub_message, repeated_group_a_, 217); in SetAllFieldsViaReflection()
261 sub_message->GetReflection()->SetInt32(sub_message, nested_b_, 218); in SetAllFieldsViaReflection()
263 sub_message->GetReflection()->SetInt32(sub_message, foreign_c_, 219); in SetAllFieldsViaReflection()
[all …]
Dmap_test.cc1007 const Reflection* refl = message.GetReflection(); in TEST_F()
1077 int32 key_int32_int32 = message_int32_int32.GetReflection()->GetInt32( in TEST_F()
1079 int32 value_int32_int32 = message_int32_int32.GetReflection()->GetInt32( in TEST_F()
1084 int32 key_int32_double = message_int32_double.GetReflection()->GetInt32( in TEST_F()
1087 message_int32_double.GetReflection()->GetDouble( in TEST_F()
1093 message_string_string.GetReflection()->GetString( in TEST_F()
1096 message_string_string.GetReflection()->GetString( in TEST_F()
1101 int32 key_int32_message = message_int32_message.GetReflection()->GetInt32( in TEST_F()
1105 message_int32_message.GetReflection()->GetMessage( in TEST_F()
1113 int32 key_int32_int32 = message_int32_int32.GetReflection()->GetInt32( in TEST_F()
[all …]
Dgenerated_message_reflection_unittest.cc79 const Reflection* reflection = message.GetReflection(); in TEST()
116 const Reflection* reflection = message.GetReflection(); in TEST()
143 const Reflection* reflection = message.GetReflection(); in TEST()
161 const Reflection* reflection = message1.GetReflection(); in TEST()
176 const Reflection* reflection = message1.GetReflection(); in TEST()
195 const Reflection* reflection = message1.GetReflection(); in TEST()
209 const Reflection* reflection = message1.GetReflection(); in TEST()
231 const Reflection* reflection = message1.GetReflection(); in TEST()
258 const Reflection* reflection = message1.GetReflection(); in TEST()
273 const Reflection* reflection = message1.GetReflection(); in TEST()
[all …]
Dpreserve_unknown_enum_test.cc188 const Reflection* r = message.GetReflection(); in TEST()
220 const Reflection* r = message.GetReflection(); in TEST()
240 const Reflection* r = message.GetReflection(); in TEST()
283 const Reflection* proto2_reflection = proto2_message.GetReflection(); in TEST()
284 const Reflection* new_reflection = new_message.GetReflection(); in TEST()
Ddrop_unknown_fields_test.cc55 EXPECT_FALSE(foo.GetReflection()->GetUnknownFields(foo).empty()); in TEST()
73 EXPECT_FALSE(foo->GetReflection()->GetUnknownFields(*foo).empty()); in TEST()
Dproto3_arena_unittest.cc137 arena_message->GetReflection()->MutableUnknownFields(arena_message); in TEST()
143 arena_message->GetReflection()->GetUnknownFields(*arena_message).empty()); in TEST()
189 const Reflection* r = message->GetReflection(); in TEST()
Dmap_field_test.cc143 int key = message.GetReflection()->GetInt32(message, key_descriptor_); in TEST_F()
144 int value = message.GetReflection()->GetInt32(message, value_descriptor_); in TEST_F()
156 int key = message.GetReflection()->GetInt32(message, key_descriptor_); in TEST_F()
157 int value = message.GetReflection()->GetInt32(message, value_descriptor_); in TEST_F()
Dwire_format.cc387 const Reflection* message_reflection = message->GetReflection(); in ParseAndMergePartial()
448 const Reflection* message_reflection = message->GetReflection(); in ParseAndMergeMessageSetField()
474 const Reflection* message_reflection = message->GetReflection(); in ParseAndMergeField()
706 input, MSReflective{message->GetReflection(), message}); in ParseAndMergeMessageSetItem()
714 const Reflection* message_reflection = message.GetReflection(); in SerializeWithCachedSizes()
872 const Reflection* message_reflection = message.GetReflection(); in SerializeFieldWithCachedSizes()
1056 const Reflection* message_reflection = message.GetReflection(); in SerializeMessageSetItemWithCachedSizes()
1080 const Reflection* message_reflection = message.GetReflection(); in ByteSize()
1112 const Reflection* message_reflection = message.GetReflection(); in FieldByteSize()
1230 const Reflection* message_reflection = message.GetReflection(); in FieldDataOnlyByteSize()
[all …]
Drepeated_field_reflection_unittest.cc63 const Reflection* refl = message.GetReflection(); in TEST()
162 const Reflection* refl = extended_message.GetReflection(); in TEST()
220 const Reflection* refl = message.GetReflection(); in TEST()
445 const Reflection* refl = message.GetReflection(); in TEST()
535 const Reflection* refl = extended_message.GetReflection(); in TEST()
585 const Reflection* refl = m0.GetReflection(); in TEST()
699 const Reflection* refl = dynamic_message->GetReflection(); in TEST()
Dreflection.h92 const Reflection* reflection = message.GetReflection(); in RepeatedFieldRef()
144 const Reflection* reflection = message->GetReflection(); in MutableRepeatedFieldRef()
199 const Reflection* reflection = message.GetReflection(); in RepeatedFieldRef()
261 const Reflection* reflection = message->GetReflection(); in MutableRepeatedFieldRef()
Dmap_field.cc220 default_entry_->GetReflection()->GetMessage(*default_entry_, val_des); in AllocateMapValue()
357 const Reflection* reflection = default_entry_->GetReflection(); in SyncRepeatedFieldWithMapNoLock()
445 const Reflection* reflection = default_entry_->GetReflection(); in SyncMapWithRepeatedFieldNoLock()
560 size += message.GetReflection()->SpaceUsedLong(message); in SpaceUsedExcludingSelfNoLock()
Dno_field_presence_test.cc282 const Reflection* r = message.GetReflection(); in TEST()
347 const Reflection* r = message.GetReflection(); in TEST()
387 const Reflection* r = message.GetReflection(); in TEST()
501 const Reflection* r = message.GetReflection(); in TEST()
Darena_unittest.cc410 const Reflection* reflection = arena1_message->GetReflection(); in TEST()
551 const Reflection* r = arena2_message->GetReflection(); in TEST()
567 const Reflection* r = arena2_message->GetReflection(); in TEST()
599 const Reflection* r = arena_message->GetReflection(); in TEST()
642 const Reflection* r = arena1_message->GetReflection(); in TEST()
674 const Reflection* r = arena1_message->GetReflection(); in TEST()
773 const Reflection* r = arena1_message->GetReflection(); in TEST()
946 const Reflection* refl = message->GetReflection(); in TEST()
1126 const Reflection* r = message->GetReflection(); in TEST()
Dwrappers.pb.h138 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { in GetReflection() function
292 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { in GetReflection() function
446 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { in GetReflection() function
600 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { in GetReflection() function
754 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { in GetReflection() function
908 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { in GetReflection() function
1062 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { in GetReflection() function
1216 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { in GetReflection() function
1385 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { in GetReflection() function
Ddynamic_message_unittest.cc194 const Reflection* reflection = message->GetReflection(); in TEST_P()
291 const Reflection* refl = message->GetReflection(); in TEST_F()
/external/protobuf/python/google/protobuf/pyext/
Dmap_container.cc314 return message->GetReflection()->MapSize(*message, in Length()
321 const Reflection* reflection = message->GetReflection(); in Clear()
342 const Reflection* reflection = message->GetReflection(); in MergeFrom()
343 const Reflection* other_reflection = other_message->GetReflection(); in MergeFrom()
358 const Reflection* reflection = message->GetReflection(); in Contains()
415 const Reflection* reflection = message->GetReflection(); in ScalarMapGetItem()
436 const Reflection* reflection = message->GetReflection(); in ScalarMapSetItem()
504 const Reflection* reflection = message->GetReflection(); in ScalarMapToStr()
690 const Reflection* reflection = message->GetReflection(); in MessageMapSetItem()
714 msg->GetReflection()->Swap(msg, released->message); in MessageMapSetItem()
[all …]
Drepeated_composite_container.cc71 return message->GetReflection()->FieldSize(*message, in Length()
85 message->GetReflection()->AddMessage( in Add()
93 message->GetReflection()->RemoveLast( in Add()
113 const Reflection* reflection = message->GetReflection(); in AddMessage()
156 const Reflection* reflection = message->GetReflection(); in Insert()
218 const Reflection* reflection = message->GetReflection(); in GetItem()
226 Message* sub_message = message->GetReflection()->MutableRepeatedMessage( in GetItem()
236 const Reflection* reflection = message->GetReflection(); in Subscript()
379 const Reflection* reflection = message->GetReflection(); in Subscript()
Drepeated_scalar_container.cc67 message->GetReflection()->ClearField(message, self->parent_field_descriptor); in InternalAssignRepeatedField()
81 return message->GetReflection()->FieldSize(*message, in Len()
93 const Reflection* reflection = message->GetReflection(); in AssignItem()
197 const Reflection* reflection = message->GetReflection(); in Item()
256 message->GetReflection()->GetRepeatedEnum( in Item()
348 const Reflection* reflection = message->GetReflection(); in Subscript()
451 const Reflection* reflection = message->GetReflection(); in Subscript()
Dextension_dict.cc71 self->parent->message->GetReflection()->ListFields(*self->parent->message, in len()
117 self->parent->message->GetReflection()->ListFields(*self->parent->message, in GetIter()
292 const Reflection* reflection = message->GetReflection(); in Contains()
Dmessage.cc839 const Reflection* reflection = message->GetReflection(); in MaybeReleaseOverlappingOneofField()
876 const Reflection* reflection = message->GetReflection(); in FixupMessageAfterMerge()
917 const Reflection* reflection = parent_message->GetReflection(); in AssureWritable()
982 const Reflection* reflection = message->GetReflection(); in DeleteRepeatedField()
1373 message->GetReflection()->HasField(*message, field_descriptor); in HasFieldByDescriptor()
1390 return message->GetReflection()->GetOneofFieldDescriptor(*message, in FindFieldWithOneofs()
1464 if (message->GetReflection()->HasField(*message, field_descriptor)) { in HasField()
1557 self->message->GetReflection()->SwapFields( in InternalReparentFields()
1606 message->GetReflection()->ClearField(message, field_descriptor); in ClearFieldByDescriptor()
2021 self->message->GetReflection()->GetOneofFieldDescriptor( in WhichOneof()
[all …]
/external/perfetto/src/trace_processor/util/
Dproto_to_json.cc75 const google::protobuf::Reflection* ref = message.GetReflection(); in FieldToJson()
129 const google::protobuf::Reflection* ref = message.GetReflection(); in RepeatedFieldValuesToJson()
143 const google::protobuf::Reflection* ref = message.GetReflection(); in MessageFieldsToJson()
219 message.GetReflection()->ListFields(message, &field_descs); in MessageFieldOptionsToJson()
268 const auto* reflection = message.GetReflection(); in NestedMessageFieldOptionsToJson()
/external/protobuf/src/google/protobuf/util/
Dmessage_differencer.cc160 const Reflection* reflection1 = message1.GetReflection(); in IsMatchInternal()
161 const Reflection* reflection2 = message2.GetReflection(); in IsMatchInternal()
219 !message1.GetReflection()->HasField(message1, key)) || in IsMatch()
570 const Reflection* reflection1 = message1.GetReflection(); in Compare()
571 const Reflection* reflection2 = message2.GetReflection(); in Compare()
605 const Reflection* reflection = message.GetReflection(); in RetrieveFields()
714 const Reflection* reflection1 = message1.GetReflection(); in CompareWithFieldsInternal()
715 const Reflection* reflection2 = message2.GetReflection(); in CompareWithFieldsInternal()
897 const Reflection* reflection1 = message1->GetReflection(); in IsMatch()
898 const Reflection* reflection2 = message2->GetReflection(); in IsMatch()
[all …]
Dfield_comparator.cc62 const Reflection* reflection_1 = message_1.GetReflection(); in Compare()
63 const Reflection* reflection_2 = message_2.GetReflection(); in Compare()
/external/protobuf/benchmarks/util/
Ddata_proto2_to_proto3_util.h19 const Reflection* reflection = message->GetReflection(); in StripMessage()

123