/external/protobuf/src/google/protobuf/compiler/objectivec/ |
D | objectivec_message.cc | 333 const int oneof_index = field->containing_oneof()->index(); in GenerateMessageHeader() local 334 if (!seen_oneofs[oneof_index]) { in GenerateMessageHeader() 335 seen_oneofs[oneof_index] = 1; in GenerateMessageHeader() 336 oneof_generators_[oneof_index]->GeneratePublicCasePropertyDeclaration( in GenerateMessageHeader()
|
/external/protobuf/src/google/protobuf/util/ |
D | type_resolver_util_test.cc | 106 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()
|
/external/protobuf/python/google/protobuf/ |
D | descriptor_pool.py | 474 oneof_index = field_desc.oneof_index 475 oneofs[oneof_index].fields.append(fields[field_index]) 476 fields[field_index].containing_oneof = oneofs[oneof_index]
|
/external/protobuf/src/google/protobuf/util/internal/ |
D | proto_writer.cc | 525 if (field.oneof_index() > 0) { in ValidOneof() 526 if (element_->IsOneofIndexTaken(field.oneof_index())) { in ValidOneof() 530 element_->type().oneofs(field.oneof_index() - 1), in ValidOneof() 534 element_->TakeOneofIndex(field.oneof_index()); in ValidOneof()
|
D | default_value_objectwriter.cc | 361 if (field.oneof_index() != 0) continue; in PopulateChildren()
|
/external/protobuf/src/google/protobuf/ |
D | type.pb.cc | 1382 if (this->oneof_index() != 0) { in SerializeWithCachedSizes() 1383 ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->oneof_index(), output); in SerializeWithCachedSizes() 1463 if (this->oneof_index() != 0) { in SerializeWithCachedSizesToArray() 1464 …target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->oneof_index(), t… in SerializeWithCachedSizesToArray() 1543 if (this->oneof_index() != 0) { in ByteSize() 1546 this->oneof_index()); in ByteSize() 1618 if (from.oneof_index() != 0) { in MergeFrom() 1619 set_oneof_index(from.oneof_index()); in MergeFrom() 1817 ::google::protobuf::int32 Field::oneof_index() const { in oneof_index() function in google::protobuf::Field
|
D | type.proto | 130 int32 oneof_index = 7; field
|
D | generated_message_reflection.cc | 729 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()
|
D | type.pb.h | 465 ::google::protobuf::int32 oneof_index() const; 1210 inline ::google::protobuf::int32 Field::oneof_index() const { in oneof_index() function
|
D | descriptor.cc | 4442 if (proto.oneof_index() < 0 || in BuildFieldOrExtension() 4443 proto.oneof_index() >= parent->oneof_decl_count()) { in BuildFieldOrExtension() 4448 proto.oneof_index(), in BuildFieldOrExtension() 4452 result->containing_oneof_ = parent->oneof_decl(proto.oneof_index()); in BuildFieldOrExtension()
|
D | descriptor.proto | 191 optional int32 oneof_index = 9; field
|
D | descriptor.pb.cc | 4613 ::google::protobuf::internal::WireFormatLite::WriteInt32(9, this->oneof_index(), output); in SerializeWithCachedSizes() 4706 …target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(9, this->oneof_index(), t… in SerializeWithCachedSizesToArray() 4784 this->oneof_index()); in ByteSize() 4860 set_oneof_index(from.oneof_index()); in MergeFrom() 5234 ::google::protobuf::int32 FieldDescriptorProto::oneof_index() const { in oneof_index() function in google::protobuf::FieldDescriptorProto
|
D | descriptor.pb.h | 1156 ::google::protobuf::int32 oneof_index() const; 4943 inline ::google::protobuf::int32 FieldDescriptorProto::oneof_index() const { in oneof_index() function
|
/external/protobuf/src/google/protobuf/compiler/ |
D | parser.cc | 761 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 1651 field->set_oneof_index(oneof_index); in ParseOneof()
|
D | parser.h | 389 int oneof_index,
|