/third_party/protobuf/src/google/protobuf/ |
H A D | dynamic_message.cc | 381 if (descriptor->oneof_decl(i)->is_synthetic()) continue; in SharedCtor() 712 if (!type->oneof_decl(i)->is_synthetic()) { in GetPrototypeNoLock() 787 if (!type->oneof_decl(i)->is_synthetic()) { in GetPrototypeNoLock() 805 if (type->oneof_decl(i)->is_synthetic()) continue; in GetPrototypeNoLock() 806 for (int j = 0; j < type->oneof_decl(i)->field_count(); j++) { in GetPrototypeNoLock() 807 const FieldDescriptor* field = type->oneof_decl(i)->field(j); in GetPrototypeNoLock() 853 if (type->oneof_decl(i)->is_synthetic()) continue; in ConstructDefaultOneofInstance() 854 for (int j = 0; j < type->oneof_decl(i)->field_count(); j++) { in ConstructDefaultOneofInstance() 855 const FieldDescriptor* field = type->oneof_decl(i)->field(j); in ConstructDefaultOneofInstance() 900 if (type->oneof_decl( in DeleteDefaultOneofInstance() [all...] |
H A D | descriptor.cc | 2094 oneof_decl(i)->CopyTo(proto->add_oneof_decl()); in CopyTo() 4624 BUILD_ARRAY(proto, result, oneof_decl, BuildOneof, result); in BuildMessage() 5019 result->containing_oneof_ = parent->oneof_decl(proto.oneof_index()); in BuildFieldOrExtension() 5470 const OneofDescriptor* oneof_decl = message->field(i)->containing_oneof(); in CrossLinkMessage() local 5471 if (oneof_decl != nullptr) { in CrossLinkMessage() 5478 if (oneof_decl->field_count() > 0 && in CrossLinkMessage() 5479 message->field(i - 1)->containing_oneof() != oneof_decl) { in CrossLinkMessage() 5486 message->field(i - 1)->name(), oneof_decl->name())); in CrossLinkMessage() 5490 ++message->oneof_decls_[oneof_decl->index()].field_count_; in CrossLinkMessage() 5496 OneofDescriptor* oneof_decl in CrossLinkMessage() local 5515 const OneofDescriptor* oneof_decl = message->field(i)->containing_oneof(); CrossLinkMessage() local [all...] |
H A D | descriptor.h | 347 const OneofDescriptor* oneof_decl(int index) const; 2005 PROTOBUF_DEFINE_ARRAY_ACCESSOR(Descriptor, oneof_decl, const OneofDescriptor*)
|
H A D | generated_message_reflection.cc | 666 const OneofDescriptor* oneof = descriptor_->oneof_decl(i); in Swap()
|
H A D | descriptor.pb.h | 1452 // repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; 1465 const PROTOBUF_NAMESPACE_ID::OneofDescriptorProto& oneof_decl(int index) const; 1468 oneof_decl() const; 7832 // repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; 7843 // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.oneof_decl) in mutable_oneof_decl() 7848 // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.oneof_decl) in mutable_oneof_decl() 7854 inline const PROTOBUF_NAMESPACE_ID::OneofDescriptorProto& DescriptorProto::oneof_decl(int index) const { in oneof_decl() function in DescriptorProto 7855 // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.oneof_decl) in oneof_decl() 7862 // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.oneof_decl) in add_oneof_decl() 7866 DescriptorProto::oneof_decl() cons function in DescriptorProto [all...] |
H A D | descriptor_unittest.cc | 1103 oneof_ = oneof_message_->oneof_decl(0); in SetUp() 1104 oneof2_ = oneof_message_->oneof_decl(1); in SetUp() 4362 " oneof_decl { name:\"bar\" }" in TEST_F() 4378 " oneof_decl { name:\"bar\" }" in TEST_F() 4397 " oneof_decl { name:\"foos\" }" in TEST_F() 4417 " oneof_decl { name:\"foos\" }" in TEST_F() 4418 " oneof_decl { name:\"bars\" }" in TEST_F() 4439 " oneof_decl { name:\"foos\" }" in TEST_F() 4440 " oneof_decl { name:\"bars\" }" in TEST_F() 5062 " oneof_decl { nam in TEST_F() [all...] |
/third_party/protobuf/php/src/Google/Protobuf/Internal/ |
H A D | Descriptor.php | 49 private $oneof_decl = []; variable 58 $this->oneof_decl[] = $oneof; 63 return $this->oneof_decl;
|
H A D | DescriptorProto.php | 45 * Generated from protobuf field <code>repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;</code> 47 private $oneof_decl; variable 76 * @type \Google\Protobuf\Internal\OneofDescriptorProto[]|\Google\Protobuf\Internal\RepeatedField $oneof_decl 232 * Generated from protobuf field <code>repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;</code> 237 return $this->oneof_decl; 241 * Generated from protobuf field <code>repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;</code> 248 $this->oneof_decl = $arr; variable
|
/third_party/protobuf/src/google/protobuf/compiler/csharp/ |
H A D | csharp_message.cc | 228 const OneofDescriptor* oneof = descriptor_->oneof_decl(i); in Generate() 398 const OneofDescriptor* oneof = descriptor_->oneof_decl(i); in GenerateCloningCode() 469 "property_name", UnderscoresToCamelCase(descriptor_->oneof_decl(i)->name(), true)); in GenerateFrameworkMethods() 496 "name", UnderscoresToCamelCase(descriptor_->oneof_decl(i)->name(), false)); in GenerateFrameworkMethods() 631 const OneofDescriptor* oneof = descriptor_->oneof_decl(i); in GenerateMergingMethods()
|
H A D | csharp_reflection_class.cc | 279 oneofs.push_back(UnderscoresToCamelCase(descriptor->oneof_decl(i)->name(), true)); in WriteGeneratedCodeInfo()
|
/third_party/protobuf/src/google/protobuf/compiler/java/ |
H A D | java_context.cc | 117 const OneofDescriptor* oneof = message->oneof_decl(i); in InitializeFieldGeneratorInfoForMessage()
|
H A D | java_message.cc | 236 const OneofDescriptor* oneof = descriptor_->oneof_decl(i); in GenerateFieldAccessorTableInitializer()
|
/third_party/protobuf/src/google/protobuf/compiler/ |
H A D | parser_unittest.cc | 614 " oneof_decl {" in TEST_F() 647 " oneof_decl {" in TEST_F() 650 " oneof_decl {" in TEST_F() 1023 " oneof_decl { name:\"_foo\" } " in TEST_F() 1043 " oneof_decl { name:\"_foo\" } " in TEST_F() 1044 " oneof_decl { name:\"X_foo\" } " in TEST_F() 3022 const OneofDescriptorProto& oneof_decl = file_.message_type(0).oneof_decl(0); in TEST_F() local 3025 EXPECT_TRUE(HasSpan('a', 'r', oneof_decl)); in TEST_F() 3026 EXPECT_TRUE(HasSpan('c', 'd', oneof_decl, "nam in TEST_F() [all...] |
H A D | parser.h | 409 // oneof_decl->label() since it will have had to parse the label before it 411 bool ParseOneof(OneofDescriptorProto* oneof_decl,
|
H A D | parser.cc | 781 for (const auto& oneof : message->oneof_decl()) { in ParseMessageDefinition() 1902 bool Parser::ParseOneof(OneofDescriptorProto* oneof_decl, in ParseOneof() argument 1912 DO(ConsumeIdentifier(oneof_decl->mutable_name(), "Expected oneof name.")); in ParseOneof() 1926 if (!ParseOption(oneof_decl->mutable_options(), option_location, in ParseOneof()
|
/third_party/protobuf/src/google/protobuf/compiler/python/ |
H A D | python_generator.cc | 794 const OneofDescriptor* desc = message_descriptor.oneof_decl(i); in PrintDescriptor() 939 const OneofDescriptor* oneof = descriptor.oneof_decl(i); in FixForeignFieldsInDescriptor() 1425 FixOptionsForOneof(*descriptor.oneof_decl(i)); in FixOptionsForMessage()
|
/third_party/protobuf/src/google/protobuf/compiler/js/ |
H A D | js_generator.cc | 579 const OneofDescriptor* o = oneof->containing_type()->oneof_decl(i); in JSOneofIndex() 1214 const OneofDescriptor* oneof = desc->oneof_decl(i); in OneofGroupList() 1696 if (IgnoreOneof(desc->oneof_decl(i))) { in FindProvidesForOneOfEnums() 1699 FindProvidesForOneOfEnum(options, desc->oneof_decl(i), provided); in FindProvidesForOneOfEnums() 2143 if (IgnoreOneof(desc->oneof_decl(i))) { in GenerateClassFieldInfo() 2146 GenerateOneofCaseDefinition(options, printer, desc->oneof_decl(i)); in GenerateClassFieldInfo()
|
/third_party/protobuf/src/google/protobuf/compiler/objectivec/ |
H A D | objectivec_message.cc | 189 OneofGenerator* generator = new OneofGenerator(descriptor_->oneof_decl(i)); in MessageGenerator()
|
/third_party/protobuf/src/google/protobuf/compiler/ruby/ |
H A D | ruby_generator.cc | 268 const OneofDescriptor* oneof = message->oneof_decl(i); in GenerateMessage()
|
/third_party/protobuf/src/google/protobuf/util/ |
H A D | type_resolver_util.cc | 117 type->add_oneofs(descriptor->oneof_decl(i)->name()); in ConvertDescriptor()
|
/third_party/protobuf/src/google/protobuf/compiler/php/ |
H A D | php_generator.cc | 894 const OneofDescriptor* oneof = message->oneof_decl(i); in GenerateMessageToPool() 1417 const OneofDescriptor* oneof = message->oneof_decl(i); in GenerateMessageFile() 1446 const OneofDescriptor* oneof = message->oneof_decl(i); in GenerateMessageFile()
|
/third_party/protobuf/python/google/protobuf/ |
H A D | descriptor_pool.py | 872 for index, desc in enumerate(desc_proto.oneof_decl)]
|
/third_party/protobuf/src/google/protobuf/compiler/cpp/ |
H A D | cpp_helpers.h | 872 value_type operator*() { return descriptor->oneof_decl(idx); } in operator *()
|
/third_party/protobuf/python/google/protobuf/pyext/ |
H A D | descriptor_containers.cc | 1275 return GetDescriptor(self)->oneof_decl(index); in GetByIndex()
|
/third_party/protobuf/python/google/protobuf/internal/ |
H A D | descriptor_pool_test.py | 638 oneof = message_type.oneof_decl.add()
|