Home
last modified time | relevance | path

Searched refs:oneof_index (Results 1 – 15 of 15) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/objectivec/
Dobjectivec_message.cc349 const int oneof_index = field->containing_oneof()->index(); in GenerateMessageHeader() local
350 if (!seen_oneofs[oneof_index]) { in GenerateMessageHeader()
351 seen_oneofs[oneof_index] = 1; in GenerateMessageHeader()
352 oneof_generators_[oneof_index]->GeneratePublicCasePropertyDeclaration( in GenerateMessageHeader()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/
Dtype_resolver_util_test.cc106 if (field == NULL || field->oneof_index() <= 0 || in FieldInOneof()
107 field->oneof_index() > type.oneofs_size()) { in FieldInOneof()
110 return type.oneofs(field->oneof_index() - 1) == oneof_name; in FieldInOneof()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/
Ddescriptor_pool.py479 oneof_index = field_desc.oneof_index
480 oneofs[oneof_index].fields.append(fields[field_index])
481 fields[field_index].containing_oneof = oneofs[oneof_index]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/internal/
Dproto_writer.cc541 if (field.oneof_index() > 0) { in ValidOneof()
542 if (element_->IsOneofIndexTaken(field.oneof_index())) { in ValidOneof()
546 element_->type().oneofs(field.oneof_index() - 1), in ValidOneof()
550 element_->TakeOneofIndex(field.oneof_index()); in ValidOneof()
Ddefault_value_objectwriter.cc364 if (field.oneof_index() != 0) continue; in PopulateChildren()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Dtype.pb.cc1379 if (this->oneof_index() != 0) { in SerializeWithCachedSizes()
1380 ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->oneof_index(), output); in SerializeWithCachedSizes()
1460 if (this->oneof_index() != 0) { in InternalSerializeWithCachedSizesToArray()
1461 …target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->oneof_index(), t… in InternalSerializeWithCachedSizesToArray()
1540 if (this->oneof_index() != 0) { in ByteSize()
1543 this->oneof_index()); in ByteSize()
1619 if (from.oneof_index() != 0) { in MergeFrom()
1620 set_oneof_index(from.oneof_index()); in MergeFrom()
1818 ::google::protobuf::int32 Field::oneof_index() const { in oneof_index() function in google::protobuf::Field
Dtype.proto130 int32 oneof_index = 7; field
Dgenerated_message_reflection.cc729 int oneof_index = field->containing_oneof()->index(); in SwapFields() local
731 if (swapped_oneof.find(oneof_index) != swapped_oneof.end()) { in SwapFields()
734 swapped_oneof.insert(oneof_index); in SwapFields()
Dtype.pb.h473 ::google::protobuf::int32 oneof_index() const;
1230 inline ::google::protobuf::int32 Field::oneof_index() const { in oneof_index() function
Ddescriptor.cc4448 if (proto.oneof_index() < 0 || in BuildFieldOrExtension()
4449 proto.oneof_index() >= parent->oneof_decl_count()) { in BuildFieldOrExtension()
4454 proto.oneof_index(), in BuildFieldOrExtension()
4458 result->containing_oneof_ = parent->oneof_decl(proto.oneof_index()); in BuildFieldOrExtension()
Ddescriptor.proto192 optional int32 oneof_index = 9; field
Ddescriptor.pb.cc4656 ::google::protobuf::internal::WireFormatLite::WriteInt32(9, this->oneof_index(), output); in SerializeWithCachedSizes()
4749 …target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(9, this->oneof_index(), t… in InternalSerializeWithCachedSizesToArray()
4827 this->oneof_index()); in ByteSize()
4907 set_oneof_index(from.oneof_index()); in MergeFrom()
5281 ::google::protobuf::int32 FieldDescriptorProto::oneof_index() const { in oneof_index() function in google::protobuf::FieldDescriptorProto
Ddescriptor.pb.h1181 ::google::protobuf::int32 oneof_index() const;
5151 inline ::google::protobuf::int32 FieldDescriptorProto::oneof_index() const { in oneof_index() function
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/
Dparser.cc761 int oneof_index = message->oneof_decl_size(); in ParseMessageStatement() local
764 oneof_index); in ParseMessageStatement()
767 oneof_index, oneof_location, message_location, in ParseMessageStatement()
1613 int oneof_index, in ParseOneof() argument
1661 field->set_oneof_index(oneof_index); in ParseOneof()
Dparser.h389 int oneof_index,