Home
last modified time | relevance | path

Searched refs:LABEL_OPTIONAL (Results 1 – 25 of 32) sorted by relevance

12

/external/protobuf/src/google/protobuf/
Ddescriptor_unittest.cc268 FieldDescriptorProto::LABEL_OPTIONAL, in SetUp()
279 FieldDescriptorProto::LABEL_OPTIONAL, in SetUp()
554 FieldDescriptorProto::LABEL_OPTIONAL, in SetUp()
562 FieldDescriptorProto::LABEL_OPTIONAL, in SetUp()
587 FieldDescriptorProto::LABEL_OPTIONAL, in SetUp()
590 FieldDescriptorProto::LABEL_OPTIONAL, in SetUp()
604 FieldDescriptorProto::LABEL_OPTIONAL, in SetUp()
607 FieldDescriptorProto::LABEL_OPTIONAL, in SetUp()
610 FieldDescriptorProto::LABEL_OPTIONAL, in SetUp()
613 FieldDescriptorProto::LABEL_OPTIONAL, in SetUp()
[all …]
Ddescriptor.h494 LABEL_OPTIONAL = 1, // optional enumerator
1799 return label() == LABEL_OPTIONAL; in is_optional()
Dextension_set_heavy.cc140 : FieldDescriptor::LABEL_OPTIONAL, \
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DDescriptorsTest.java457 .setLabel(FieldDescriptorProto.Label.LABEL_OPTIONAL) in testDescriptorValidatorException()
489 .setLabel(FieldDescriptorProto.Label.LABEL_OPTIONAL) in testDescriptorComplexCrosslink()
498 .setLabel(FieldDescriptorProto.Label.LABEL_OPTIONAL) in testDescriptorComplexCrosslink()
581 .setLabel(FieldDescriptorProto.Label.LABEL_OPTIONAL) in testUnknownFieldsDenied()
603 .setLabel(FieldDescriptorProto.Label.LABEL_OPTIONAL) in testUnknownFieldsAllowed()
626 .setLabel(FieldDescriptorProto.Label.LABEL_OPTIONAL) in testHiddenDependency()
662 .setLabel(FieldDescriptorProto.Label.LABEL_OPTIONAL) in testPublicDependency()
/external/protobuf/python/google/protobuf/internal/
Dmessage_factory_test.py161 ext.label = descriptor_pb2.FieldDescriptorProto.LABEL_OPTIONAL
178 ext.label = descriptor_pb2.FieldDescriptorProto.LABEL_OPTIONAL
Ddescriptor_test.py73 label=descriptor_pb2.FieldDescriptorProto.LABEL_OPTIONAL)
Dpython_message.py275 field.label == _FieldDescriptor.LABEL_OPTIONAL)
Dreflection_test.py1016 label=FieldDescriptor.LABEL_OPTIONAL, default_value=0,
1046 new_field.label = descriptor_pb2.FieldDescriptorProto.LABEL_OPTIONAL
/external/protobuf/python/google/protobuf/
Dproto_builder.py128 field_proto.label = descriptor_pb2.FieldDescriptorProto.LABEL_OPTIONAL
Ddescriptor.py483 LABEL_OPTIONAL = 1 variable in FieldDescriptor
Dtext_format.py245 field.label == descriptor.FieldDescriptor.LABEL_OPTIONAL):
/external/protobuf/src/google/protobuf/compiler/
Dparser.cc794 if (label == FieldDescriptorProto::LABEL_OPTIONAL && in ParseMessageField()
865 field->set_label(FieldDescriptorProto::LABEL_OPTIONAL); in ParseMessageFieldNoLabel()
871 field->set_label(FieldDescriptorProto::LABEL_OPTIONAL); in ParseMessageFieldNoLabel()
981 key_field->set_label(FieldDescriptorProto::LABEL_OPTIONAL); in GenerateMapEntry()
990 value_field->set_label(FieldDescriptorProto::LABEL_OPTIONAL); in GenerateMapEntry()
1650 field->set_label(FieldDescriptorProto::LABEL_OPTIONAL); in ParseOneof()
1946 *label = FieldDescriptorProto::LABEL_OPTIONAL; in ParseLabel()
/external/protobuf/src/google/protobuf/util/
Dtype_resolver_util.cc150 case FieldDescriptor::LABEL_OPTIONAL: in ConvertFieldDescriptor()
/external/protobuf/python/google/protobuf/pyext/
Dextension_dict.cc169 if (descriptor->label() != FieldDescriptor::LABEL_OPTIONAL || in ass_subscript()
/external/protobuf/src/google/protobuf/compiler/javamicro/
Djavamicro_message.cc434 case FieldDescriptor::LABEL_OPTIONAL: in GenerateIsInitialized()
/external/nanopb-c/generator/google/protobuf/
Ddescriptor.py423 LABEL_OPTIONAL = 1 variable in FieldDescriptor
Dtext_format.py87 field.label == descriptor.FieldDescriptor.LABEL_OPTIONAL):
/external/protobuf/src/google/protobuf/compiler/java/
Djava_message_builder.cc593 case FieldDescriptor::LABEL_OPTIONAL: in GenerateIsInitialized()
Djava_message_lite.cc718 case FieldDescriptor::LABEL_OPTIONAL: in GenerateDynamicMethodIsInitialized()
Djava_message.cc888 case FieldDescriptor::LABEL_OPTIONAL: in GenerateIsInitialized()
/external/protobuf/src/google/protobuf/compiler/ruby/
Druby_generator.cc84 case FieldDescriptor::LABEL_OPTIONAL: return "optional"; in LabelForField()
/external/nanopb-c/generator/google/protobuf/internal/
Dpython_message.py188 field.label == _FieldDescriptor.LABEL_OPTIONAL)
/external/nanopb-c/generator/
Dnanopb_generator.py188 elif desc.label == FieldD.LABEL_OPTIONAL:
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DDescriptors.java993 return proto.getLabel() == FieldDescriptorProto.Label.LABEL_OPTIONAL; in isOptional()
/external/nanopb-c/generator/proto/google/protobuf/
Ddescriptor.proto135 LABEL_OPTIONAL = 1; enumerator

12