Home
last modified time | relevance | path

Searched refs:SYNTAX_PROTO3 (Results 1 – 24 of 24) sorted by relevance

/third_party/protobuf/php/src/Google/Protobuf/
DSyntax.php27 const SYNTAX_PROTO3 = 1; define in Google\\Protobuf\\Syntax
31 self::SYNTAX_PROTO3 => 'SYNTAX_PROTO3',
/third_party/protobuf/src/google/protobuf/compiler/java/
Djava_helpers.h394 return descriptor->syntax() == FileDescriptor::SYNTAX_PROTO3; in SupportUnknownEnumValue()
398 return field->file()->syntax() == FileDescriptor::SYNTAX_PROTO3; in SupportUnknownEnumValue()
421 return descriptor->file()->syntax() == FileDescriptor::SYNTAX_PROTO3 || in CheckUtf8()
/third_party/protobuf/src/google/protobuf/compiler/ruby/
Druby_generator.cc81 field->file()->syntax() == FileDescriptor::SYNTAX_PROTO3) { in LabelForField()
120 case FileDescriptor::SYNTAX_PROTO3: in StringifySyntax()
503 if (from->syntax() == FileDescriptor::SYNTAX_PROTO3 && in MaybeEmitDependency()
587 if (file->syntax() != FileDescriptor::SYNTAX_PROTO3 && in Generate()
/third_party/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_map_field.cc46 return file_descriptor->syntax() == FileDescriptor::SYNTAX_PROTO3; in IsProto3Field()
Dcpp_helpers.h299 return message->file()->syntax() != FileDescriptor::SYNTAX_PROTO3; in PublicUnknownFieldsAccessors()
428 return file->syntax() != FileDescriptor::SYNTAX_PROTO3; in HasFieldPresence()
450 return field->file()->syntax() == FileDescriptor::SYNTAX_PROTO3; in HasPreservingUnknownEnumSemantics()
Dcpp_enum.cc122 if (descriptor_->file()->syntax() == FileDescriptor::SYNTAX_PROTO3) { in GenerateDefinition()
Dcpp_helpers.cc1037 if (field->file()->syntax() == FileDescriptor::SYNTAX_PROTO3 && in GetUtf8CheckMode()
Dcpp_message.cc271 if (descriptor->file()->syntax() != FileDescriptor::SYNTAX_PROTO3 && in CollectMapInfo()
/third_party/protobuf/src/google/protobuf/compiler/objectivec/
Dobjectivec_helpers.h131 return file->syntax() == FileDescriptor::SYNTAX_PROTO3; in HasPreservingUnknownEnumSemantics()
Dobjectivec_file.cc545 case FileDescriptor::SYNTAX_PROTO3: in GenerateSource()
/third_party/protobuf/src/google/protobuf/util/internal/
Dproto_writer.cc294 proto3_(type.syntax() == google::protobuf::SYNTAX_PROTO3), in ProtoElement()
313 proto3_(type.syntax() == google::protobuf::SYNTAX_PROTO3), in ProtoElement()
/third_party/protobuf/conformance/
Dconformance_test.cc130 FileDescriptor::SYNTAX_PROTO3 ? "Proto3" : "Proto2"; in GetTestName()
/third_party/protobuf/src/google/protobuf/
Dtype.proto186 SYNTAX_PROTO3 = 1; enumerator
Dwire_format.cc416 return field->file()->syntax() == FileDescriptor::SYNTAX_PROTO3; in StrictUtf8Check()
489 FileDescriptor::SYNTAX_PROTO3) { in ParseAndMergeField()
863 if (field->file()->syntax() == FileDescriptor::SYNTAX_PROTO3 || in _InternalParseAndMergeField()
Ddescriptor.cc224 case SYNTAX_PROTO3: in SyntaxName()
2034 if (syntax() == SYNTAX_PROTO3) proto->set_syntax(SyntaxName(syntax())); in CopyTo()
4373 file_->syntax_ = FileDescriptor::SYNTAX_PROTO3; in BuildFileImpl()
4757 file_->syntax() != FileDescriptor::SYNTAX_PROTO3) { in BuildFieldOrExtension()
5946 if (file->syntax() == FileDescriptor::SYNTAX_PROTO3) { in ValidateFileOptions()
6042 field->enum_type()->file()->syntax() != FileDescriptor::SYNTAX_PROTO3 && in ValidateProto3Field()
Ddescriptor.h1485 SYNTAX_PROTO3 = 3, enumerator
Dgenerated_message_reflection.cc1038 return file->syntax() == FileDescriptor::SYNTAX_PROTO3; in CreateUnknownEnumValues()
1045 return field->file()->syntax() == FileDescriptor::SYNTAX_PROTO3 || open_enum; in CreateUnknownEnumValues()
Dtype.pb.h157 SYNTAX_PROTO3 = 1, enumerator
163 constexpr Syntax Syntax_MAX = SYNTAX_PROTO3;
Ddescriptor_unittest.cc545 EXPECT_EQ(FileDescriptor::SYNTAX_PROTO3, file->syntax()); in TEST_F()
/third_party/grpc/third_party/upb/upbc/
Dprotoc-gen-upb.cc691 if (field->file()->syntax() == protobuf::FileDescriptor::SYNTAX_PROTO3) { in TryFillTableEntry()
/third_party/protobuf/src/google/protobuf/compiler/js/
Djs_generator.cc1004 if (field->file()->syntax() == FileDescriptor::SYNTAX_PROTO3 && in DeclaredReturnTypeIsNullable()
2380 if (field->file()->syntax() == FileDescriptor::SYNTAX_PROTO3 && in GenerateClassFieldToObject()
2791 if (field->file()->syntax() == FileDescriptor::SYNTAX_PROTO3 && in GenerateClassField()
/third_party/protobuf/src/google/protobuf/compiler/python/
Dpython_generator.cc289 case FileDescriptor::SYNTAX_PROTO3: in StringifySyntax()
/third_party/protobuf/src/google/protobuf/compiler/php/
Dphp_generator.cc1824 if (!is_descriptor && file->syntax() != FileDescriptor::SYNTAX_PROTO3) { in Generate()
/third_party/protobuf/src/google/protobuf/compiler/
Dcommand_line_interface.cc824 if (file->syntax() == FileDescriptor::SYNTAX_PROTO3) { in ContainsProto3Optional()