Home
last modified time | relevance | path

Searched refs:IsRepeated (Results 1 – 7 of 7) sorted by relevance

/external/protobuf/src/google/protobuf/util/internal/
Dproto_writer.cc316 if (ow_->IsRepeated(*field)) { in ProtoElement()
380 if (!ow_->IsRepeated(*parent_field_) || in ToString()
395 if (ow_->IsRepeated(*parent_field_) && array_index_ > 0) { in ToString()
539 bool ProtoWriter::IsRepeated(const google::protobuf::Field& field) { in IsRepeated() function in google::protobuf::util::converter::ProtoWriter
668 if (is_list && !IsRepeated(*field)) { in BeginNamed()
687 } else if (!IsRepeated(*e->parent_field())) { in Lookup()
Dprotostream_objectwriter.cc724 if (IsRepeated(*field)) { in StartList()
745 if (IsRepeated(*field)) { in StartList()
762 if (!IsRepeated(*field)) { in StartList()
Dproto_writer.h269 bool IsRepeated(const google::protobuf::Field& field);
/external/protobuf/csharp/src/Google.Protobuf/Reflection/
DFieldDescriptor.cs180 public bool IsRepeated => Proto.Label == FieldDescriptorProto.Types.Label.Repeated; field in Google.Protobuf.Reflection.FieldDescriptor
339 : IsRepeated ? new RepeatedFieldAccessor(property, this) in CreateAccessor()
/external/protobuf/csharp/src/Google.Protobuf.Test/Reflection/
DDescriptorsTest.cs171 Assert.IsFalse(singleField.IsRepeated); in FieldDescriptorLabel()
172 Assert.IsTrue(repeatedField.IsRepeated); in FieldDescriptorLabel()
/external/protobuf/csharp/src/Google.Protobuf/
DJsonParser.cs222 if (field.IsMap || field.IsRepeated || !IsGoogleProtobufValueField(field)) in MergeField()
234 else if (field.IsRepeated) in MergeField()
DJsonFormatter.cs341 if (accessor.Descriptor.IsRepeated) in IsDefaultValue()