Home
last modified time | relevance | path

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

123

/third_party/protobuf/src/google/protobuf/
Dmap_test_util.inc137 EXPECT_EQ(size, message.GetReflection()->FieldSize(
139 EXPECT_EQ(size, message.GetReflection()->FieldSize(
142 message.GetReflection()->FieldSize(
145 message.GetReflection()->FieldSize(
148 message.GetReflection()->FieldSize(
151 message.GetReflection()->FieldSize(
154 message.GetReflection()->FieldSize(
157 message.GetReflection()->FieldSize(
160 message.GetReflection()->FieldSize(
163 message.GetReflection()->FieldSize(
[all …]
Dmap_test_util.h297 const Reflection* reflection = message->GetReflection(); in SetMapFieldsViaReflection()
303 sub_message->GetReflection()->SetInt32(sub_message, map_int32_int32_key_, 0); in SetMapFieldsViaReflection()
304 sub_message->GetReflection()->SetInt32(sub_message, map_int32_int32_val_, 0); in SetMapFieldsViaReflection()
307 sub_message->GetReflection()->SetInt64(sub_message, map_int64_int64_key_, 0); in SetMapFieldsViaReflection()
308 sub_message->GetReflection()->SetInt64(sub_message, map_int64_int64_val_, 0); in SetMapFieldsViaReflection()
311 sub_message->GetReflection()->SetUInt32(sub_message, map_uint32_uint32_key_, in SetMapFieldsViaReflection()
313 sub_message->GetReflection()->SetUInt32(sub_message, map_uint32_uint32_val_, in SetMapFieldsViaReflection()
317 sub_message->GetReflection()->SetUInt64(sub_message, map_uint64_uint64_key_, in SetMapFieldsViaReflection()
319 sub_message->GetReflection()->SetUInt64(sub_message, map_uint64_uint64_val_, in SetMapFieldsViaReflection()
323 sub_message->GetReflection()->SetInt32(sub_message, map_sint32_sint32_key_, in SetMapFieldsViaReflection()
[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 …]
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 …]
Dmap_test.cc1113 const Reflection* refl = message.GetReflection(); in TEST_F()
1183 int32 key_int32_int32 = message_int32_int32.GetReflection()->GetInt32( in TEST_F()
1185 int32 value_int32_int32 = message_int32_int32.GetReflection()->GetInt32( in TEST_F()
1190 int32 key_int32_double = message_int32_double.GetReflection()->GetInt32( in TEST_F()
1193 message_int32_double.GetReflection()->GetDouble( in TEST_F()
1199 message_string_string.GetReflection()->GetString( in TEST_F()
1202 message_string_string.GetReflection()->GetString( in TEST_F()
1207 int32 key_int32_message = message_int32_message.GetReflection()->GetInt32( in TEST_F()
1211 message_int32_message.GetReflection()->GetMessage( in TEST_F()
1219 int32 key_int32_int32 = message_int32_int32.GetReflection()->GetInt32( in TEST_F()
[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()
256 const google::protobuf::Reflection* r = msg.GetReflection(); in TEST()
358 const Reflection* r = msg.GetReflection(); in TestAllFieldsZero()
472 msg2.GetReflection()->Swap(&msg, &msg2); 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()
Dreflection_ops.cc55 const Reflection* r = m.GetReflection(); in GetReflectionOrDie()
133 from_child.GetReflection()->GetMessageFactory()) in Merge()
165 to, field, from_child.GetReflection()->GetMessageFactory()) in Merge()
439 m2->GetReflection()->Swap(tmp, m2); in GenericSwap()
Drepeated_field_reflection_unittest.cc59 const Reflection* refl = message.GetReflection(); in TEST()
158 const Reflection* refl = extended_message.GetReflection(); in TEST()
216 const Reflection* refl = message.GetReflection(); in TEST()
441 const Reflection* refl = message.GetReflection(); in TEST()
531 const Reflection* refl = extended_message.GetReflection(); in TEST()
581 const Reflection* refl = m0.GetReflection(); in TEST()
695 const Reflection* refl = dynamic_message->GetReflection(); in TEST()
Dwire_format.cc336 const Reflection* message_reflection = message->GetReflection(); in ParseAndMergePartial()
397 const Reflection* message_reflection = message->GetReflection(); in ParseAndMergeMessageSetField()
423 const Reflection* message_reflection = message->GetReflection(); in ParseAndMergeField()
655 input, MSReflective{message->GetReflection(), message}); in ParseAndMergeMessageSetItem()
783 const Reflection* reflection = msg->GetReflection(); in _InternalParse()
1038 const Reflection* message_reflection = message.GetReflection(); in _InternalSerialize()
1208 const Reflection* message_reflection = message.GetReflection(); in InternalSerializeField()
1426 const Reflection* message_reflection = message.GetReflection(); in InternalSerializeMessageSetItem()
1450 const Reflection* message_reflection = message.GetReflection(); in ByteSize()
1482 const Reflection* message_reflection = message.GetReflection(); in FieldByteSize()
[all …]
Dmap_field.cc222 default_entry_->GetReflection()->GetMessage(*default_entry_, val_des); in AllocateMapValue()
361 const Reflection* reflection = default_entry_->GetReflection(); in SyncRepeatedFieldWithMapNoLock()
447 const Reflection* reflection = default_entry_->GetReflection(); in SyncMapWithRepeatedFieldNoLock()
565 size += message.GetReflection()->SpaceUsedLong(message); in SpaceUsedExcludingSelfNoLock()
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()
Dwrappers.pb.h132 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { in GetReflection() function
269 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { in GetReflection() function
406 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { in GetReflection() function
543 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { in GetReflection() function
680 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { in GetReflection() function
817 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { in GetReflection() function
954 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { in GetReflection() function
1091 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { in GetReflection() function
1235 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { in GetReflection() function
Darena_unittest.cc409 const Reflection* reflection = arena1_message->GetReflection(); in TEST()
543 const Reflection* r = arena2_message->GetReflection(); in TEST()
559 const Reflection* r = arena2_message->GetReflection(); in TEST()
591 const Reflection* r = arena_message->GetReflection(); in TEST()
634 const Reflection* r = arena1_message->GetReflection(); in TEST()
666 const Reflection* r = arena1_message->GetReflection(); in TEST()
758 const Reflection* r = arena1_message->GetReflection(); in TEST()
891 const Reflection* refl = message->GetReflection(); in TEST()
1071 const Reflection* r = message->GetReflection(); in TEST()
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()
500 const Reflection* r = message.GetReflection(); in TEST()
/third_party/protobuf/python/google/protobuf/pyext/
Dmap_container.cc317 return message->GetReflection()->MapSize(*message, in Length()
324 const Reflection* reflection = message->GetReflection(); in Clear()
345 const Reflection* reflection = message->GetReflection(); in MergeFrom()
346 const Reflection* other_reflection = other_message->GetReflection(); in MergeFrom()
360 const Reflection* reflection = message->GetReflection(); in Contains()
405 const Reflection* reflection = message->GetReflection(); in ScalarMapGetItem()
426 const Reflection* reflection = message->GetReflection(); in ScalarMapSetItem()
495 const Reflection* reflection = message->GetReflection(); in ScalarMapToStr()
666 const Reflection* reflection = message->GetReflection(); in MessageMapSetItem()
690 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()
296 const Reflection* reflection = message->GetReflection(); in Contains()
Dmessage.cc865 const Reflection* reflection = message->GetReflection(); in MaybeReleaseOverlappingOneofField()
902 const Reflection* reflection = message->GetReflection(); in FixupMessageAfterMerge()
943 const Reflection* reflection = parent_message->GetReflection(); in AssureWritable()
1008 const Reflection* reflection = message->GetReflection(); in DeleteRepeatedField()
1398 return message->GetReflection()->HasField(*message, field_descriptor); in HasFieldByDescriptor()
1415 return message->GetReflection()->GetOneofFieldDescriptor(*message, in FindFieldWithOneofs()
1473 if (message->GetReflection()->HasField(*message, field_descriptor)) { in HasField()
1571 self->message->GetReflection()->SwapFields( in InternalReparentFields()
1622 message->GetReflection()->ClearField(message, field_descriptor); in ClearFieldByDescriptor()
2045 self->message->GetReflection()->GetOneofFieldDescriptor( in WhichOneof()
[all …]
/third_party/protobuf/src/google/protobuf/util/
Dmessage_differencer.cc158 const Reflection* reflection1 = message1.GetReflection(); in IsMatchInternal()
159 const Reflection* reflection2 = message2.GetReflection(); in IsMatchInternal()
217 !message1.GetReflection()->HasField(message1, key)) || in IsMatch()
573 const Reflection* reflection1 = message1.GetReflection(); in Compare()
574 const Reflection* reflection2 = message2.GetReflection(); in Compare()
608 const Reflection* reflection = message.GetReflection(); in RetrieveFields()
717 const Reflection* reflection1 = message1.GetReflection(); in CompareWithFieldsInternal()
718 const Reflection* reflection2 = message2.GetReflection(); in CompareWithFieldsInternal()
900 const Reflection* reflection1 = message1->GetReflection(); in IsMatch()
901 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()
/third_party/protobuf/benchmarks/util/
Ddata_proto2_to_proto3_util.h19 const Reflection* reflection = message->GetReflection(); in StripMessage()

123