/external/protobuf/src/google/protobuf/ |
D | map_test_util.cc | 93 message, descriptor->FindFieldByName("map_int32_int32"))); in ExpectMapsSize() 95 message, descriptor->FindFieldByName("map_int64_int64"))); in ExpectMapsSize() 97 message, descriptor->FindFieldByName("map_uint32_uint32"))); in ExpectMapsSize() 99 message, descriptor->FindFieldByName("map_uint64_uint64"))); in ExpectMapsSize() 101 message, descriptor->FindFieldByName("map_sint32_sint32"))); in ExpectMapsSize() 103 message, descriptor->FindFieldByName("map_sint64_sint64"))); in ExpectMapsSize() 105 message, descriptor->FindFieldByName("map_fixed32_fixed32"))); in ExpectMapsSize() 107 message, descriptor->FindFieldByName("map_fixed64_fixed64"))); in ExpectMapsSize() 109 message, descriptor->FindFieldByName("map_sfixed32_sfixed32"))); in ExpectMapsSize() 111 message, descriptor->FindFieldByName("map_sfixed64_sfixed64"))); in ExpectMapsSize() [all …]
|
D | generated_message_reflection_unittest.cc | 68 unittest::TestAllTypes::descriptor()->FindFieldByName(name); in F() 227 fields.push_back(descriptor->FindFieldByName("optional_double")); in TEST() 228 fields.push_back(descriptor->FindFieldByName("repeated_int32")); in TEST() 229 fields.push_back(descriptor->FindFieldByName("optional_string")); in TEST() 230 fields.push_back(descriptor->FindFieldByName("optional_uint64")); in TEST() 363 &message, descriptor->FindFieldByName("repeated_foreign_message"))); in TEST() 563 unittest::TestAllTypes::NestedMessage::descriptor()->FindFieldByName( in TEST() 581 unittest::TestAllTypes::NestedMessage::descriptor()->FindFieldByName( in TEST() 623 message, descriptor->FindFieldByName("foo_int"))); in TEST() 625 message, descriptor->FindFieldByName("foo_string"))); in TEST() [all …]
|
D | dynamic_message_unittest.cc | 185 *message, descriptor->FindFieldByName("foo_int"))); in TEST_F() 187 *message, descriptor->FindFieldByName("foo_string"))); in TEST_F() 189 *message, descriptor->FindFieldByName("foo_cord"))); in TEST_F() 191 *message, descriptor->FindFieldByName("foo_string_piece"))); in TEST_F() 193 *message, descriptor->FindFieldByName("foo_bytes"))); in TEST_F() 195 *message, descriptor->FindFieldByName("foo_enum"))->number()); in TEST_F() 203 *message, descriptor->FindFieldByName("foo_message"))); in TEST_F() 211 *message, descriptor->FindFieldByName("foogroup"))); in TEST_F() 214 *message, descriptor->FindFieldByName("foo_lazy_message"))); in TEST_F() 216 *message, descriptor->FindFieldByName("bar_int"))); in TEST_F() [all …]
|
D | no_field_presence_test.cc | 296 desc->FindFieldByName("optional_nested_message"); in TEST() 317 const google::protobuf::FieldDescriptor* field_int32 = desc->FindFieldByName( in TEST() 319 const google::protobuf::FieldDescriptor* field_double = desc->FindFieldByName( in TEST() 321 const google::protobuf::FieldDescriptor* field_string = desc->FindFieldByName( in TEST() 350 const google::protobuf::FieldDescriptor* field_int32 = desc->FindFieldByName( in TEST() 352 const google::protobuf::FieldDescriptor* field_double = desc->FindFieldByName( in TEST() 354 const google::protobuf::FieldDescriptor* field_string = desc->FindFieldByName( in TEST() 356 const google::protobuf::FieldDescriptor* field_message = desc->FindFieldByName( in TEST() 358 const google::protobuf::FieldDescriptor* field_lazy = desc->FindFieldByName( in TEST() 391 desc->FindFieldByName("oneof_uint32"); in TEST() [all …]
|
D | repeated_field_reflection_unittest.cc | 77 desc->FindFieldByName("repeated_int32"); in TEST() 79 desc->FindFieldByName("repeated_double"); in TEST() 81 desc->FindFieldByName("repeated_string"); in TEST() 83 desc->FindFieldByName("repeated_foreign_message"); in TEST() 151 desc->FindFieldByName("optional_int32"); in TEST() 219 desc->FindFieldByName("repeated_int32"); in TEST() 221 desc->FindFieldByName("repeated_double"); in TEST() 223 desc->FindFieldByName("repeated_string"); in TEST() 225 desc->FindFieldByName("repeated_foreign_message"); in TEST() 416 desc->FindFieldByName("optional_int32"); in TEST() [all …]
|
D | preserve_unknown_enum_test.cc | 193 const google::protobuf::FieldDescriptor* field = d->FindFieldByName("e"); in TEST() 207 d->FindFieldByName("repeated_e"); in TEST() 228 const google::protobuf::FieldDescriptor* singular_field = d->FindFieldByName("e"); in TEST() 230 d->FindFieldByName("repeated_e"); in TEST() 250 d->FindFieldByName("repeated_nested_enum"); in TEST() 260 d->FindFieldByName("optional_nested_enum"); in TEST()
|
D | map_test.cc | 963 desc->FindFieldByName("map_int32_int32"); in TEST_F() 965 desc->FindFieldByName("map_int32_double"); in TEST_F() 967 desc->FindFieldByName("map_string_string"); in TEST_F() 969 desc->FindFieldByName("map_int32_foreign_message"); in TEST_F() 972 fd_map_int32_int32->message_type()->FindFieldByName("key"); in TEST_F() 974 fd_map_int32_int32->message_type()->FindFieldByName("value"); in TEST_F() 976 fd_map_int32_double->message_type()->FindFieldByName("key"); in TEST_F() 978 fd_map_int32_double->message_type()->FindFieldByName("value"); in TEST_F() 980 fd_map_string_string->message_type()->FindFieldByName("key"); in TEST_F() 982 fd_map_string_string->message_type()->FindFieldByName("value"); in TEST_F() [all …]
|
D | text_format_unittest.cc | 436 message.GetDescriptor()->FindFieldByName("optional_int32"), in TEST_F() 448 message.GetDescriptor()->FindFieldByName("optional_int32"), in TEST_F() 974 d->FindFieldByName(field_name), index); in ExpectLocation() 1044 d->FindFieldByName("optional_nested_message"); in TEST_F() 1051 nested_field = d->FindFieldByName("repeated_nested_message"); in TEST_F() 1071 valuestring, d->FindFieldByName("optional_" #name), message.get())); \ in TEST_F() 1077 valuestring, d->FindFieldByName("optional_" #name), message.get())); \ in TEST_F() 1083 valuestring, d->FindFieldByName("optional_" #name), message.get())); \ in TEST_F() 1089 valuestring, d->FindFieldByName("optional_" #name), message.get())); \ in TEST_F() 1095 valuestring, d->FindFieldByName("optional_" #name), message.get())); in TEST_F() [all …]
|
D | map_field_test.cc | 110 ->FindFieldByName("map_int32_int32") in MapFieldBasePrimitiveTest() 112 key_descriptor_ = map_descriptor_->FindFieldByName("key"); in MapFieldBasePrimitiveTest() 113 value_descriptor_ = map_descriptor_->FindFieldByName("value"); in MapFieldBasePrimitiveTest() 219 ->FindFieldByName("map_int32_int32") in MapFieldStateTest()
|
D | map_field.cc | 191 default_entry_->GetDescriptor()->FindFieldByName("value"); in InsertOrLookupMapValue() 265 default_entry_->GetDescriptor()->FindFieldByName("key"); in SyncRepeatedFieldWithMapNoLock() 267 default_entry_->GetDescriptor()->FindFieldByName("value"); in SyncRepeatedFieldWithMapNoLock() 353 default_entry_->GetDescriptor()->FindFieldByName("key"); in SyncMapWithRepeatedFieldNoLock() 355 default_entry_->GetDescriptor()->FindFieldByName("value"); in SyncMapWithRepeatedFieldNoLock()
|
D | wire_format_unittest.cc | 750 field = desc->FindFieldByName("repeated_fixed32"); in TEST() 753 field = desc->FindFieldByName("repeated_int32"); in TEST() 756 field = desc->FindFieldByName("repeated_fixed64"); in TEST() 759 field = desc->FindFieldByName("repeated_int64"); in TEST() 762 field = desc->FindFieldByName("repeated_float"); in TEST() 765 field = desc->FindFieldByName("repeated_uint64"); in TEST() 970 unittest::TestAllTypes::descriptor()->FindFieldByName( in MakeInvalidEmbeddedMessage() 991 unittest::TestAllTypes::descriptor()->FindFieldByName( in MakeInvalidGroup()
|
D | test_util.cc | 94 message->GetDescriptor()->FindFieldByName("optional_string_piece"), in SetOptionalFields() 98 message->GetDescriptor()->FindFieldByName("optional_cord"), in SetOptionalFields() 135 message->GetDescriptor()->FindFieldByName("repeated_string_piece"), in AddRepeatedFields1() 139 message->GetDescriptor()->FindFieldByName("repeated_cord"), in AddRepeatedFields1() 175 message->GetDescriptor()->FindFieldByName("repeated_string_piece"), in AddRepeatedFields2() 179 message->GetDescriptor()->FindFieldByName("repeated_cord"), in AddRepeatedFields2() 210 message->GetDescriptor()->FindFieldByName("default_string_piece"), in SetDefaultFields() 214 message->GetDescriptor()->FindFieldByName("default_cord"), in SetDefaultFields() 251 message->GetDescriptor()->FindFieldByName("repeated_string_piece"), in ModifyRepeatedFields() 255 message->GetDescriptor()->FindFieldByName("repeated_cord"), in ModifyRepeatedFields() [all …]
|
D | arena_unittest.cc | 545 const FieldDescriptor* f = arena_message->GetDescriptor()->FindFieldByName( in TEST() 610 const FieldDescriptor* msg_field = d->FindFieldByName( in TEST() 645 d->FindFieldByName("repeated_import_no_arena_message"); in TEST() 652 fd = d->FindFieldByName("repeated_nested_message"); in TEST() 748 d->FindFieldByName("repeated_nested_message"); in TEST() 903 const FieldDescriptor* string_field = desc->FindFieldByName( in TEST() 905 const FieldDescriptor* msg_field = desc->FindFieldByName( in TEST() 1087 const FieldDescriptor* field = d->FindFieldByName("optional_nested_message"); in TEST() 1097 const FieldDescriptor* oneof_field = d->FindFieldByName("oneof_nested_message"); in TEST()
|
D | unknown_field_set_unittest.cc | 70 const FieldDescriptor* field = descriptor_->FindFieldByName(name); in GetField() 181 unittest::TestAllTypes::OptionalGroup::descriptor()->FindFieldByName("a"); in TEST_F() 413 TestAllTypes::descriptor()->FindFieldByName("optional_nested_enum"); in TEST_F() 415 TestAllTypes::descriptor()->FindFieldByName("repeated_nested_enum"); in TEST_F()
|
/external/protobuf/src/google/protobuf/util/ |
D | field_comparator_test.cc | 66 descriptor_->FindFieldByName("optionalgroup"); in TEST_F() 73 descriptor_->FindFieldByName("optional_nested_message"); in TEST_F() 80 descriptor_->FindFieldByName("optional_foreign_message"); in TEST_F() 86 const FieldDescriptor* field = descriptor_->FindFieldByName("optional_int32"); in TEST_F() 99 const FieldDescriptor* field = descriptor_->FindFieldByName("optional_int64"); in TEST_F() 113 descriptor_->FindFieldByName("optional_uint32"); in TEST_F() 127 descriptor_->FindFieldByName("optional_uint64"); in TEST_F() 141 descriptor_->FindFieldByName("optional_bool"); in TEST_F() 155 descriptor_->FindFieldByName("optional_nested_enum"); in TEST_F() 169 descriptor_->FindFieldByName("optional_string"); in TEST_F() [all …]
|
D | message_differencer_unittest.cc | 74 field = descriptor->FindFieldByName(field_path[i]); in GetFieldDescriptor() 543 msg1.GetDescriptor()->FindFieldByName("optional_float"); in TEST() 600 msg1.GetDescriptor()->FindFieldByName("optional_double"); in TEST() 998 desc->FindFieldByName("optional_int32"); in TEST() 1000 desc->FindFieldByName("optional_int64"); in TEST() 1002 desc->FindFieldByName("default_int64"); in TEST() 1107 differencer1.TreatAsMap(msg1.GetDescriptor()->FindFieldByName("item"), in TEST() 1108 item->GetDescriptor()->FindFieldByName("a")); in TEST() 1109 differencer1.TreatAsSet(msg1.GetDescriptor()->FindFieldByName("rv")); in TEST() 1110 differencer1.TreatAsSet(item->GetDescriptor()->FindFieldByName("ra")); in TEST() [all …]
|
/external/protobuf/src/google/protobuf/compiler/cpp/ |
D | cpp_map_field.cc | 60 descriptor->message_type()->FindFieldByName("key"); in SetMessageVariables() 62 descriptor->message_type()->FindFieldByName("value"); in SetMessageVariables() 186 descriptor_->message_type()->FindFieldByName("value"); in GenerateMergeFromCodedStream() 239 descriptor_->message_type()->FindFieldByName("key"); in GenerateMergeFromCodedStream() 285 descriptor_->message_type()->FindFieldByName("key"); in GenerateSerializeWithCachedSizes() 287 descriptor_->message_type()->FindFieldByName("value"); in GenerateSerializeWithCachedSizes() 343 descriptor_->message_type()->FindFieldByName("key"); in GenerateSerializeWithCachedSizesToArray() 345 descriptor_->message_type()->FindFieldByName("value"); in GenerateSerializeWithCachedSizesToArray()
|
/external/protobuf/src/google/protobuf/compiler/objectivec/ |
D | objectivec_map_field.cc | 91 descriptor->message_type()->FindFieldByName("key"); in MapFieldGenerator() 93 descriptor->message_type()->FindFieldByName("value"); in MapFieldGenerator() 157 descriptor_->message_type()->FindFieldByName("value"); in FinishInitialization() 168 descriptor_->message_type()->FindFieldByName("value"); in DetermineForwardDeclarations()
|
/external/protobuf/src/google/protobuf/compiler/csharp/ |
D | csharp_map_field.cc | 61 descriptor_->message_type()->FindFieldByName("key"); in GenerateMembers() 63 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/Reflection/ |
D | MessageDescriptor.cs | 201 …public FieldDescriptor FindFieldByName(String name) => File.DescriptorPool.FindSymbol<FieldDescrip… 307 var fieldDescriptor = messageDescriptor.FindFieldByName(name);
|
/external/perfetto/src/perfetto_cmd/ |
D | pbtxt_to_pb.cc | 152 const FieldDescriptorProto* field = FindFieldByName( in NumericField() 204 const FieldDescriptorProto* field = FindFieldByName( in StringField() 275 const FieldDescriptorProto* field = FindFieldByName( in IdentifierField() 319 FindFieldByName(key, value, in BeginNestedMessage() 392 const FieldDescriptorProto* FindFieldByName( in FindFieldByName() function in perfetto::__anoned93b08d0111::ParserDelegate
|
/external/protobuf/python/google/protobuf/internal/ |
D | descriptor_pool_test.py | 232 field = self.pool.FindFieldByName( 237 self.pool.FindFieldByName('Does not exist') 250 self.pool.FindFieldByName('Does not exist') 254 self.pool.FindFieldByName('google.protobuf.python.internal.another_field') 256 self.pool.FindFieldByName( 650 pool.FindFieldByName('protobuf_unittest.TestAllTypes.optional_int32'),
|
/external/protobuf/python/google/protobuf/pyext/ |
D | descriptor_pool.cc | 239 PyObject* FindFieldByName(PyDescriptorPool* self, PyObject* arg) { in FindFieldByName() function 247 self->pool->FindFieldByName(string(name, name_size)); in FindFieldByName() 486 { "FindFieldByName", (PyCFunction)FindFieldByName, METH_O,
|
/external/protobuf/src/google/protobuf/compiler/java/ |
D | java_map_field_lite.cc | 50 return message->FindFieldByName("key"); in KeyField() 57 return message->FindFieldByName("value"); in ValueField()
|