Home
last modified time | relevance | path

Searched refs:AddField (Results 1 – 8 of 8) sorted by relevance

/third_party/protobuf/src/google/protobuf/
Ddescriptor_unittest.cc108 FieldDescriptorProto* AddField(DescriptorProto* parent, const std::string& name, in AddField() function
669 AddField(message, "foo", 1, FieldDescriptorProto::LABEL_REQUIRED, in SetUp()
671 AddField(message, "bar", 6, FieldDescriptorProto::LABEL_OPTIONAL, in SetUp()
674 AddField(message, "baz", 500000000, FieldDescriptorProto::LABEL_REPEATED, in SetUp()
677 AddField(message, "qux", 15, FieldDescriptorProto::LABEL_OPTIONAL, in SetUp()
686 AddField(message2, "foo", 1, FieldDescriptorProto::LABEL_REQUIRED, in SetUp()
688 AddField(message2, "bar", 2, FieldDescriptorProto::LABEL_REQUIRED, in SetUp()
690 AddField(message2, "quux", 6, FieldDescriptorProto::LABEL_REQUIRED, in SetUp()
698 AddField(entry, "key", 1, FieldDescriptorProto::LABEL_OPTIONAL, in SetUp()
700 AddField(entry, "value", 2, FieldDescriptorProto::LABEL_OPTIONAL, in SetUp()
[all …]
Dgenerated_message_table_driven_lite.h92 inline Type* AddField(MessageLite* msg, int64 offset) { in AddField() function
102 inline std::string* AddField<std::string>(MessageLite* msg, int64 offset) {
110 inline void AddField(MessageLite* msg, int64 offset, Type value) { in AddField() function
113 *AddField<Type>(msg, offset) = value; in AddField()
237 s = AddField<InlinedStringField>(msg, offset); in HandleString()
265 std::string* value = AddField<std::string>(msg, offset); in HandleString()
320 AddField(msg, offset, value); in HandleEnum()
Dunknown_field_set.h147 void AddField(const UnknownField& field);
Dunknown_field_set.cc176 void UnknownFieldSet::AddField(const UnknownField& field) { in AddField() function in google::protobuf::UnknownFieldSet
Dmessage.h1090 inline void AddField(Message* message, const FieldDescriptor* field,
1093 inline Type* AddField(Message* message, const FieldDescriptor* field) const;
Dgenerated_message_reflection.cc1171 AddField<TYPE>(message, field, value); \
1321 AddField<std::string>(message, field)->assign(std::move(value)); in AddString()
1473 AddField<int>(message, field, value); in AddEnumValueInternal()
2233 void Reflection::AddField(Message* message, const FieldDescriptor* field, in AddField() function in google::protobuf::Reflection
2239 Type* Reflection::AddField(Message* message, in AddField() function in google::protobuf::Reflection
/third_party/flatbuffers/src/
Didl_parser.cpp715 CheckedError Parser::AddField(StructDef &struct_def, const std::string &name, in AddField() function in flatbuffers::Parser
781 ECHECK(AddField(struct_def, name + UnionTypeFieldSuffix(), in ParseField()
795 ECHECK(AddField(struct_def, name + UnionTypeFieldSuffix(), union_vector, in ParseField()
800 ECHECK(AddField(struct_def, name, type, &field)); in ParseField()
2857 if (!field) ECHECK(AddField(*struct_def, name, type, &field)); in ParseProtoFields()
/third_party/flatbuffers/include/flatbuffers/
Didl.h903 FLATBUFFERS_CHECKED_ERROR AddField(StructDef &struct_def,