Home
last modified time | relevance | path

Searched refs:SYNTAX_PROTO2 (Results 1 – 13 of 13) sorted by relevance

/third_party/protobuf/php/src/Google/Protobuf/
DSyntax.php21 const SYNTAX_PROTO2 = 0; define in Google\\Protobuf\\Syntax
30 self::SYNTAX_PROTO2 => 'SYNTAX_PROTO2',
/third_party/protobuf/php/tests/
DWellKnownTest.php142 $m->setSyntax(Syntax::SYNTAX_PROTO2);
143 $this->assertSame(Syntax::SYNTAX_PROTO2, $m->getSyntax());
190 $m->setSyntax(Syntax::SYNTAX_PROTO2);
191 $this->assertSame(Syntax::SYNTAX_PROTO2, $m->getSyntax());
345 $m->setSyntax(Syntax::SYNTAX_PROTO2);
346 $this->assertSame(Syntax::SYNTAX_PROTO2, $m->getSyntax());
/third_party/protobuf/src/google/protobuf/compiler/ruby/
Druby_generator.cc118 case FileDescriptor::SYNTAX_PROTO2: in StringifySyntax()
504 import->syntax() == FileDescriptor::SYNTAX_PROTO2) { in MaybeEmitDependency()
544 if (file->syntax() == FileDescriptor::SYNTAX_PROTO2 && in GenerateFile()
588 file->syntax() != FileDescriptor::SYNTAX_PROTO2) { in Generate()
/third_party/protobuf/src/google/protobuf/compiler/java/
Djava_helpers.h359 return descriptor->syntax() == FileDescriptor::SYNTAX_PROTO2; in IsProto2()
387 return descriptor->syntax() == FileDescriptor::SYNTAX_PROTO2; in ExposePublicParser()
/third_party/protobuf/src/google/protobuf/compiler/csharp/
Dcsharp_helpers.h158 return descriptor->syntax() == FileDescriptor::SYNTAX_PROTO2; in IsProto2()
/third_party/protobuf/src/google/protobuf/
Ddescriptor.h1484 SYNTAX_PROTO2 = 2, enumerator
2191 (file()->syntax() == FileDescriptor::SYNTAX_PROTO2 && is_optional() && in has_optional_keyword()
2204 file()->syntax() == FileDescriptor::SYNTAX_PROTO2; in has_presence()
Dtype.proto184 SYNTAX_PROTO2 = 0; enumerator
Dtype.pb.h156 SYNTAX_PROTO2 = 0, enumerator
162 constexpr Syntax Syntax_MIN = SYNTAX_PROTO2;
Ddescriptor.cc222 case SYNTAX_PROTO2: in SyntaxName()
2999 if (file_->syntax() == FileDescriptor::SYNTAX_PROTO2) { in is_packed()
4264 if (existing_file->syntax() == FileDescriptor::SYNTAX_PROTO2 && in ExistingFileMatchesProto()
4371 file_->syntax_ = FileDescriptor::SYNTAX_PROTO2; in BuildFileImpl()
5180 if (result->file()->syntax() == FileDescriptor::SYNTAX_PROTO2) { in CheckEnumValueUniqueness()
Ddescriptor_unittest.cc534 EXPECT_EQ(FileDescriptor::SYNTAX_PROTO2, file->syntax()); in TEST_F()
/third_party/protobuf/src/google/protobuf/compiler/objectivec/
Dobjectivec_file.cc542 case FileDescriptor::SYNTAX_PROTO2: in GenerateSource()
/third_party/protobuf/docs/
Dimplementing_proto3_presence.md242 google::protobuf::FileDescriptor::SYNTAX_PROTO2;
/third_party/protobuf/src/google/protobuf/compiler/python/
Dpython_generator.cc287 case FileDescriptor::SYNTAX_PROTO2: in StringifySyntax()