Searched refs:SYNTAX_PROTO2 (Results 1 – 13 of 13) sorted by relevance
21 const SYNTAX_PROTO2 = 0; define in Google\\Protobuf\\Syntax30 self::SYNTAX_PROTO2 => 'SYNTAX_PROTO2',
142 $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());
118 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()
359 return descriptor->syntax() == FileDescriptor::SYNTAX_PROTO2; in IsProto2()387 return descriptor->syntax() == FileDescriptor::SYNTAX_PROTO2; in ExposePublicParser()
158 return descriptor->syntax() == FileDescriptor::SYNTAX_PROTO2; in IsProto2()
1484 SYNTAX_PROTO2 = 2, enumerator2191 (file()->syntax() == FileDescriptor::SYNTAX_PROTO2 && is_optional() && in has_optional_keyword()2204 file()->syntax() == FileDescriptor::SYNTAX_PROTO2; in has_presence()
184 SYNTAX_PROTO2 = 0; enumerator
156 SYNTAX_PROTO2 = 0, enumerator162 constexpr Syntax Syntax_MIN = SYNTAX_PROTO2;
222 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()
534 EXPECT_EQ(FileDescriptor::SYNTAX_PROTO2, file->syntax()); in TEST_F()
542 case FileDescriptor::SYNTAX_PROTO2: in GenerateSource()
242 google::protobuf::FileDescriptor::SYNTAX_PROTO2;
287 case FileDescriptor::SYNTAX_PROTO2: in StringifySyntax()