/external/protobuf/src/google/protobuf/ |
D | generated_message_reflection_unittest.cc | 66 unittest::TestAllTypes::descriptor()->FindFieldByName(name); in F() 226 fields.push_back(descriptor->FindFieldByName("optional_double")); in TEST() 227 fields.push_back(descriptor->FindFieldByName("repeated_int32")); in TEST() 228 fields.push_back(descriptor->FindFieldByName("optional_string")); in TEST() 229 fields.push_back(descriptor->FindFieldByName("optional_uint64")); in TEST() 362 &message, descriptor->FindFieldByName("repeated_foreign_message"))); in TEST() 633 unittest::TestAllTypes::NestedMessage::descriptor()->FindFieldByName( in TEST() 651 unittest::TestAllTypes::NestedMessage::descriptor()->FindFieldByName( in TEST() 694 0, reflection->GetInt32(message, descriptor->FindFieldByName("foo_int"))); in TEST() 696 message, descriptor->FindFieldByName("foo_string"))); in TEST() [all …]
|
D | dynamic_message_unittest.cc | 196 descriptor->FindFieldByName("foo_int"))); in TEST_P() 198 *message, descriptor->FindFieldByName("foo_string"))); in TEST_P() 200 descriptor->FindFieldByName("foo_cord"))); in TEST_P() 202 *message, descriptor->FindFieldByName("foo_string_piece"))); in TEST_P() 204 *message, descriptor->FindFieldByName("foo_bytes"))); in TEST_P() 207 reflection->GetEnum(*message, descriptor->FindFieldByName("foo_enum")) in TEST_P() 216 *message, descriptor->FindFieldByName("foo_message"))); in TEST_P() 224 descriptor->FindFieldByName("foogroup"))); in TEST_P() 227 *message, descriptor->FindFieldByName("foo_lazy_message"))); in TEST_P() 229 descriptor->FindFieldByName("bar_int"))); in TEST_P() [all …]
|
D | map_test_util.cc | 91 message, descriptor->FindFieldByName("map_int32_int32"))); in ExpectMapsSize() 93 message, descriptor->FindFieldByName("map_int64_int64"))); in ExpectMapsSize() 96 message, descriptor->FindFieldByName("map_uint32_uint32"))); in ExpectMapsSize() 99 message, descriptor->FindFieldByName("map_uint64_uint64"))); in ExpectMapsSize() 102 message, descriptor->FindFieldByName("map_sint32_sint32"))); in ExpectMapsSize() 105 message, descriptor->FindFieldByName("map_sint64_sint64"))); in ExpectMapsSize() 108 message, descriptor->FindFieldByName("map_fixed32_fixed32"))); in ExpectMapsSize() 111 message, descriptor->FindFieldByName("map_fixed64_fixed64"))); in ExpectMapsSize() 114 message, descriptor->FindFieldByName("map_sfixed32_sfixed32"))); in ExpectMapsSize() 117 message, descriptor->FindFieldByName("map_sfixed64_sfixed64"))); in ExpectMapsSize() [all …]
|
D | no_field_presence_test.cc | 295 desc->FindFieldByName("optional_nested_message"); in TEST() 318 const FieldDescriptor* field_int32 = desc->FindFieldByName("optional_int32"); in TEST() 320 desc->FindFieldByName("optional_double"); in TEST() 322 desc->FindFieldByName("optional_string"); in TEST() 350 const FieldDescriptor* field_int32 = desc->FindFieldByName("optional_int32"); in TEST() 352 desc->FindFieldByName("optional_double"); in TEST() 354 desc->FindFieldByName("optional_string"); in TEST() 356 desc->FindFieldByName("optional_nested_message"); in TEST() 358 desc->FindFieldByName("optional_lazy_message"); in TEST() 390 desc->FindFieldByName("oneof_uint32"); in TEST() [all …]
|
D | repeated_field_reflection_unittest.cc | 75 desc->FindFieldByName("repeated_int32"); in TEST() 77 desc->FindFieldByName("repeated_double"); in TEST() 79 desc->FindFieldByName("repeated_string"); in TEST() 81 desc->FindFieldByName("repeated_foreign_message"); in TEST() 148 desc->FindFieldByName("optional_int32"); in TEST() 232 desc->FindFieldByName("repeated_int32"); in TEST() 234 desc->FindFieldByName("repeated_double"); in TEST() 236 desc->FindFieldByName("repeated_string"); in TEST() 238 desc->FindFieldByName("repeated_foreign_message"); in TEST() 431 desc->FindFieldByName("optional_int32"); in TEST() [all …]
|
D | preserve_unknown_enum_test.cc | 190 const FieldDescriptor* field = d->FindFieldByName("e"); in TEST() 202 const FieldDescriptor* repeated_field = d->FindFieldByName("repeated_e"); in TEST() 223 const FieldDescriptor* singular_field = d->FindFieldByName("e"); in TEST() 224 const FieldDescriptor* repeated_field = d->FindFieldByName("repeated_e"); in TEST() 243 d->FindFieldByName("repeated_nested_enum"); in TEST() 252 d->FindFieldByName("optional_nested_enum"); in TEST()
|
D | test_util.h | 132 pool->FindFieldByName(package + ".TestAllTypes.optional_import_message"); in ReflectionTester() 136 nested_b_ = pool->FindFieldByName(package + ".TestAllTypes.NestedMessage.bb"); in ReflectionTester() 137 foreign_c_ = pool->FindFieldByName(package + ".ForeignMessage.c"); in ReflectionTester() 138 import_d_ = pool->FindFieldByName(import_package + ".ImportMessage.d"); in ReflectionTester() 139 import_e_ = pool->FindFieldByName(import_package + ".PublicImportMessage.e"); in ReflectionTester() 151 group_a_ = pool->FindFieldByName(package + ".OptionalGroup_extension.a"); in ReflectionTester() 153 pool->FindFieldByName(package + ".RepeatedGroup_extension.a"); in ReflectionTester() 155 group_a_ = pool->FindFieldByName(package + ".TestAllTypes.OptionalGroup.a"); in ReflectionTester() 157 pool->FindFieldByName(package + ".TestAllTypes.RepeatedGroup.a"); in ReflectionTester() 185 result = base_descriptor_->FindFieldByName(name); in F() [all …]
|
D | map_test.cc | 1026 desc->FindFieldByName("map_int32_int32"); in TEST_F() 1028 desc->FindFieldByName("map_int32_double"); in TEST_F() 1030 desc->FindFieldByName("map_string_string"); in TEST_F() 1032 desc->FindFieldByName("map_int32_foreign_message"); in TEST_F() 1035 fd_map_int32_int32->message_type()->FindFieldByName("key"); in TEST_F() 1037 fd_map_int32_int32->message_type()->FindFieldByName("value"); in TEST_F() 1039 fd_map_int32_double->message_type()->FindFieldByName("key"); in TEST_F() 1041 fd_map_int32_double->message_type()->FindFieldByName("value"); in TEST_F() 1043 fd_map_string_string->message_type()->FindFieldByName("key"); in TEST_F() 1045 fd_map_string_string->message_type()->FindFieldByName("value"); in TEST_F() [all …]
|
D | map_field.cc | 197 default_entry_->GetDescriptor()->FindFieldByName("value"); in AllocateMapValue() 298 default_entry_->GetDescriptor()->FindFieldByName("value"); in MergeFrom() 359 default_entry_->GetDescriptor()->FindFieldByName("key"); in SyncRepeatedFieldWithMapNoLock() 361 default_entry_->GetDescriptor()->FindFieldByName("value"); in SyncRepeatedFieldWithMapNoLock() 447 default_entry_->GetDescriptor()->FindFieldByName("key"); in SyncMapWithRepeatedFieldNoLock() 449 default_entry_->GetDescriptor()->FindFieldByName("value"); in SyncMapWithRepeatedFieldNoLock()
|
D | text_format_unittest.cc | 458 message.GetDescriptor()->FindFieldByName("optional_int32"), in TEST_F() 469 message.GetDescriptor()->FindFieldByName("optional_int32"); in TEST_F() 483 message.GetDescriptor()->FindFieldByName("optional_int32"), in TEST_F() 486 message.GetDescriptor()->FindFieldByName("optional_int32"), in TEST_F() 1347 tree->GetLocation(d->FindFieldByName(field_name), index); in ExpectLocation() 1418 d->FindFieldByName("optional_nested_message"); in TEST_F() 1425 nested_field = d->FindFieldByName("repeated_nested_message"); in TEST_F() 1445 valuestring, d->FindFieldByName("optional_" #name), message.get())); \ in TEST_F() 1451 valuestring, d->FindFieldByName("optional_" #name), message.get())); \ in TEST_F() 1457 valuestring, d->FindFieldByName("optional_" #name), message.get())); \ in TEST_F() [all …]
|
D | map_field_test.cc | 108 ->FindFieldByName("map_int32_int32") in MapFieldBasePrimitiveTest() 110 key_descriptor_ = map_descriptor_->FindFieldByName("key"); in MapFieldBasePrimitiveTest() 111 value_descriptor_ = map_descriptor_->FindFieldByName("value"); in MapFieldBasePrimitiveTest()
|
D | wire_format_unittest.cc | 831 field = desc->FindFieldByName("repeated_fixed32"); in TEST() 834 field = desc->FindFieldByName("repeated_int32"); in TEST() 837 field = desc->FindFieldByName("repeated_fixed64"); in TEST() 840 field = desc->FindFieldByName("repeated_int64"); in TEST() 843 field = desc->FindFieldByName("repeated_float"); in TEST() 846 field = desc->FindFieldByName("repeated_uint64"); in TEST() 1051 unittest::TestAllTypes::descriptor()->FindFieldByName( in MakeInvalidEmbeddedMessage() 1074 unittest::TestAllTypes::descriptor()->FindFieldByName("optionalgroup"); in MakeInvalidGroup()
|
/external/protobuf/src/google/protobuf/util/ |
D | field_comparator_test.cc | 63 const FieldDescriptor* field = descriptor_->FindFieldByName("optionalgroup"); in TEST_F() 70 descriptor_->FindFieldByName("optional_nested_message"); in TEST_F() 77 descriptor_->FindFieldByName("optional_foreign_message"); in TEST_F() 83 const FieldDescriptor* field = descriptor_->FindFieldByName("optional_int32"); in TEST_F() 96 const FieldDescriptor* field = descriptor_->FindFieldByName("optional_int64"); in TEST_F() 110 descriptor_->FindFieldByName("optional_uint32"); in TEST_F() 124 descriptor_->FindFieldByName("optional_uint64"); in TEST_F() 137 const FieldDescriptor* field = descriptor_->FindFieldByName("optional_bool"); in TEST_F() 151 descriptor_->FindFieldByName("optional_nested_enum"); in TEST_F() 165 descriptor_->FindFieldByName("optional_string"); in TEST_F() [all …]
|
D | message_differencer_unittest.cc | 75 field = descriptor->FindFieldByName(field_path[i]); in GetFieldDescriptor() 136 differencer.TreatAsSet(item1->GetDescriptor()->FindFieldByName("ra")); in TEST() 137 differencer.TreatAsSet(item2->GetDescriptor()->FindFieldByName("ra")); in TEST() 555 msg1.GetDescriptor()->FindFieldByName("optional_float"); in TEST() 612 msg1.GetDescriptor()->FindFieldByName("optional_double"); in TEST() 1009 desc->FindFieldByName("optional_int32"); in TEST() 1011 desc->FindFieldByName("optional_int64"); in TEST() 1013 desc->FindFieldByName("default_int64"); in TEST() 1417 differencer1.TreatAsMap(msg1.GetDescriptor()->FindFieldByName("item"), in TEST() 1418 item->GetDescriptor()->FindFieldByName("a")); in TEST() [all …]
|
/external/protobuf/src/google/protobuf/compiler/objectivec/ |
D | objectivec_map_field.cc | 88 descriptor->message_type()->FindFieldByName("key"); in MapFieldGenerator() 90 descriptor->message_type()->FindFieldByName("value"); in MapFieldGenerator() 154 descriptor_->message_type()->FindFieldByName("value"); in FinishInitialization() 165 descriptor_->message_type()->FindFieldByName("value"); in DetermineForwardDeclarations()
|
/external/protobuf/src/google/protobuf/compiler/cpp/ |
D | cpp_map_field.cc | 61 descriptor->message_type()->FindFieldByName("key"); in SetMessageVariables() 63 descriptor->message_type()->FindFieldByName("value"); in SetMessageVariables() 168 descriptor_->message_type()->FindFieldByName("key"); in GenerateMergeFromCodedStream() 170 descriptor_->message_type()->FindFieldByName("value"); in GenerateMergeFromCodedStream() 288 descriptor_->message_type()->FindFieldByName("key"); in GenerateSerializeWithCachedSizes() 290 descriptor_->message_type()->FindFieldByName("value"); in GenerateSerializeWithCachedSizes()
|
/external/protobuf/src/google/protobuf/compiler/csharp/ |
D | csharp_map_field.cc | 60 descriptor_->message_type()->FindFieldByName("key"); in GenerateMembers() 62 descriptor_->message_type()->FindFieldByName("value"); in GenerateMembers()
|
/external/protobuf/src/google/protobuf/compiler/javanano/ |
D | javanano_map_field.cc | 76 return message->FindFieldByName("key"); in KeyField() 83 return message->FindFieldByName("value"); in ValueField()
|
/external/protobuf/csharp/src/Google.Protobuf.Test/Reflection/ |
D | DescriptorDeclarationTest.cs | 126 var field = message.FindFieldByName("text"); in FieldComments() 137 var field = nested.FindFieldByName("nested_text"); in NestedMessageFieldComments()
|
/external/protobuf/csharp/src/Google.Protobuf/Reflection/ |
D | MessageDescriptor.cs | 225 …public FieldDescriptor FindFieldByName(String name) => File.DescriptorPool.FindSymbol<FieldDescrip… 358 var fieldDescriptor = messageDescriptor.FindFieldByName(name);
|
/external/perfetto/src/perfetto_cmd/ |
D | pbtxt_to_pb.cc | 153 const FieldDescriptorProto* field = FindFieldByName( in NumericField() 205 const FieldDescriptorProto* field = FindFieldByName( in StringField() 276 const FieldDescriptorProto* field = FindFieldByName( in IdentifierField() 329 FindFieldByName(key, value, in BeginNestedMessage() 402 const FieldDescriptorProto* FindFieldByName( in FindFieldByName() function in perfetto::__anon36ecb60f0111::ParserDelegate
|
/external/protobuf/python/google/protobuf/pyext/ |
D | descriptor_pool.h | 97 PyObject* FindFieldByName(PyDescriptorPool* self, PyObject* name);
|
/external/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/ |
D | IssuesTest.cs | 50 FieldDescriptor field = ItemField.Descriptor.FindFieldByName("item"); in FieldCalledItem()
|
/external/protobuf/csharp/src/Google.Protobuf.Test/ |
D | IssuesTest.cs | 50 FieldDescriptor field = ItemField.Descriptor.FindFieldByName("item"); in FieldCalledItem()
|
/external/protobuf/python/google/protobuf/internal/ |
D | descriptor_pool_test.py | 253 self.assertRaises(error_type, self.pool.FindFieldByName, 0) 303 field = self.pool.FindFieldByName( 310 self.pool.FindFieldByName('Does not exist') 330 self.pool.FindFieldByName('Does not exist') 381 self.pool.FindFieldByName('google.protobuf.python.internal.another_field') 383 self.pool.FindFieldByName( 569 self.pool.FindFieldByName( 679 self.pool.FindFieldByName('collector.ErrorMessage.nested_message_field')
|