Home
last modified time | relevance | path

Searched refs:oneof_decl_count (Results 1 – 23 of 23) sorted by relevance

/external/protobuf/src/google/protobuf/
Ddynamic_message.cc352 for (int i = 0; i < descriptor->oneof_decl_count(); ++i) { in SharedCtor()
687 uint32* offsets = new uint32[type->field_count() + type->oneof_decl_count()]; in GetPrototypeNoLock()
714 if (type->oneof_decl_count() > 0) { in GetPrototypeNoLock()
716 size += type->oneof_decl_count() * sizeof(uint32); in GetPrototypeNoLock()
746 for (int i = 0; i < type->oneof_decl_count(); i++) { in GetPrototypeNoLock()
765 if (type->oneof_decl_count() > 0) { in GetPrototypeNoLock()
768 for (int i = 0; i < type->oneof_decl_count(); i++) { in GetPrototypeNoLock()
787 if (type->oneof_decl_count() > 0 || num_weak_fields > 0) { in GetPrototypeNoLock()
815 for (int i = 0; i < type->oneof_decl_count(); i++) { in ConstructDefaultOneofInstance()
861 for (int i = 0; i < type->oneof_decl_count(); i++) { in DeleteDefaultOneofInstance()
Ddescriptor.h308 int oneof_decl_count() const;
1894 PROTOBUF_DEFINE_ACCESSOR(Descriptor, oneof_decl_count, int) in PROTOBUF_DEFINE_STRING_ACCESSOR()
Dgenerated_message_reflection.cc661 const int oneof_decl_count = descriptor_->oneof_decl_count(); in Swap() local
662 for (int i = 0; i < oneof_decl_count; i++) { in Swap()
Ddescriptor.cc2073 for (int i = 0; i < oneof_decl_count(); i++) { in CopyTo()
4928 proto.oneof_index() >= parent->oneof_decl_count()) { in BuildFieldOrExtension()
5413 for (int i = 0; i < message->oneof_decl_count(); i++) { in CrossLinkMessage()
6209 for (int i = 0; i < message->oneof_decl_count(); ++i) { in DetectMapConflicts()
Ddescriptor_unittest.cc1086 ASSERT_EQ(2, oneof_message_->oneof_decl_count()); in SetUp()
/external/protobuf/src/google/protobuf/compiler/csharp/
Dcsharp_message.cc220 for (int i = 0; i < descriptor_->oneof_decl_count(); i++) { in Generate()
377 for (int i = 0; i < descriptor_->oneof_decl_count(); ++i) { in GenerateCloningCode()
447 for (int i = 0; i < descriptor_->oneof_decl_count(); i++) { in GenerateFrameworkMethods()
474 for (int i = 0; i < descriptor_->oneof_decl_count(); i++) { in GenerateFrameworkMethods()
584 for (int i = 0; i < descriptor_->oneof_decl_count(); ++i) { in GenerateMergingMethods()
Dcsharp_reflection_class.cc274 if (descriptor->oneof_decl_count() > 0) { in WriteGeneratedCodeInfo()
276 for (int i = 0; i < descriptor->oneof_decl_count(); i++) { in WriteGeneratedCodeInfo()
/external/protobuf/src/google/protobuf/compiler/java/
Djava_message_lite.cc139 for (int i = 0; i < descriptor_->oneof_decl_count(); i++) { in GenerateInterface()
229 for (int i = 0; i < descriptor_->oneof_decl_count(); i++) { in Generate()
495 WriteIntToUtf16CharSequence(descriptor_->oneof_decl_count(), &chars); in GenerateDynamicMethodNewBuildMessageInfo()
496 for (int i = 0; i < descriptor_->oneof_decl_count(); i++) { in GenerateDynamicMethodNewBuildMessageInfo()
Djava_message_builder.cc120 for (int i = 0; i < descriptor_->oneof_decl_count(); i++) { in Generate()
339 for (int i = 0; i < descriptor_->oneof_decl_count(); i++) { in GenerateCommonBuilderMethods()
428 for (int i = 0; i < descriptor_->oneof_decl_count(); i++) { in GenerateCommonBuilderMethods()
547 for (int i = 0; i < descriptor_->oneof_decl_count(); ++i) { in GenerateCommonBuilderMethods()
Djava_message.cc211 10 + 6 * descriptor_->field_count() + 6 * descriptor_->oneof_decl_count(); in GenerateFieldAccessorTable()
230 for (int i = 0; i < descriptor_->oneof_decl_count(); i++) { in GenerateFieldAccessorTableInitializer()
274 for (int i = 0; i < descriptor_->oneof_decl_count(); i++) { in GenerateInterface()
408 for (int i = 0; i < descriptor_->oneof_decl_count(); i++) { in Generate()
1032 for (int i = 0; i < descriptor_->oneof_decl_count(); i++) { in GenerateEqualsAndHashCode()
1113 for (int i = 0; i < descriptor_->oneof_decl_count(); i++) { in GenerateEqualsAndHashCode()
Djava_message_builder_lite.cc92 for (int i = 0; i < descriptor_->oneof_decl_count(); i++) { in Generate()
Djava_context.cc117 for (int i = 0; i < message->oneof_decl_count(); ++i) { in InitializeFieldGeneratorInfoForMessage()
/external/protobuf/src/google/protobuf/compiler/javanano/
Djavanano_message.cc187 for (int i = 0; i < descriptor_->oneof_decl_count(); i++) { in Generate()
545 for (int i = 0; i < descriptor_->oneof_decl_count(); i++) { in GenerateFieldInitializers()
610 for (int i = 0; i < descriptor_->oneof_decl_count(); i++) { in GenerateEquals()
/external/protobuf/src/google/protobuf/compiler/objectivec/
Dobjectivec_message.cc191 for (int i = 0; i < descriptor_->oneof_decl_count(); i++) { in MessageGenerator()
321 std::vector<char> seen_oneofs(descriptor_->oneof_decl_count(), 0); in GenerateMessageHeader()
424 sizeof_has_storage += descriptor_->oneof_decl_count(); in GenerateSource()
/external/rust/crates/grpcio-sys/grpc/third_party/upb/upbc/
Dmessage_layout.cc166 for (int i = 0; i < descriptor->oneof_decl_count(); i++) { in PlaceOneofFields()
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_message.cc1545 if (descriptor_->oneof_decl_count() > 0) { in GenerateClassDefinition()
1549 descriptor_->oneof_decl_count()); in GenerateClassDefinition()
1593 if (descriptor_->oneof_decl_count() > 0 || num_weak_fields_ > 0) { in GenerateExtraDefaultFields()
1644 if (descriptor_->oneof_decl_count() > 0) { in GenerateParseTable()
2066 if (descriptor_->oneof_decl_count() > 0) { in GenerateClassMethods()
2339 if (descriptor_->oneof_decl_count() > 0) { in GenerateOffsets()
2351 descriptor_->oneof_decl_count(); in GenerateOffsets()
2983 for (int i = 0; i < descriptor_->oneof_decl_count(); i++) { in GenerateOneofClear()
3055 for (int i = 0; i < descriptor_->oneof_decl_count(); i++) { in GenerateSwap()
Dcpp_helpers.h821 Iterator end() const { return {descriptor->oneof_decl_count(), descriptor}; } in end()
/external/protobuf/src/google/protobuf/compiler/python/
Dpython_generator.cc755 for (int i = 0; i < message_descriptor.oneof_decl_count(); ++i) { in PrintDescriptor()
894 for (int i = 0; i < descriptor.oneof_decl_count(); ++i) { in FixForeignFieldsInDescriptor()
1379 for (int i = 0; i < descriptor.oneof_decl_count(); ++i) { in FixOptionsForMessage()
/external/protobuf/src/google/protobuf/compiler/php/
Dphp_generator.cc897 for (int i = 0; i < message->oneof_decl_count(); i++) { in GenerateMessageToPool()
1278 for (int i = 0; i < message->oneof_decl_count(); i++) { in GenerateMessageFile()
1305 for (int i = 0; i < message->oneof_decl_count(); i++) { in GenerateMessageFile()
/external/protobuf/src/google/protobuf/util/
Dtype_resolver_util.cc117 for (int i = 0; i < descriptor->oneof_decl_count(); ++i) { in ConvertDescriptor()
/external/protobuf/src/google/protobuf/compiler/ruby/
Druby_generator.cc263 for (int i = 0; i < message->oneof_decl_count(); i++) { in GenerateMessage()
/external/protobuf/src/google/protobuf/compiler/js/
Djs_generator.cc579 for (int i = 0; i < oneof->containing_type()->oneof_decl_count(); i++) { in JSOneofIndex()
1215 for (int i = 0; i < desc->oneof_decl_count(); i++) { in OneofGroupList()
1708 for (int i = 0; i < desc->oneof_decl_count(); i++) { in FindProvidesForOneOfEnums()
2155 for (int i = 0; i < desc->oneof_decl_count(); i++) { in GenerateClassFieldInfo()
/external/protobuf/python/google/protobuf/pyext/
Ddescriptor_containers.cc1264 return GetDescriptor(self)->oneof_decl_count(); in Count()