/third_party/protobuf/php/src/Google/Protobuf/Internal/ |
D | FieldDescriptorProto.php | 72 protected $oneof_index = null; variable in Google\\Protobuf\\Internal\\FieldDescriptorProto 441 return isset($this->oneof_index) ? $this->oneof_index : 0; 446 return isset($this->oneof_index); 451 unset($this->oneof_index); 465 $this->oneof_index = $var;
|
D | FieldDescriptor.php | 50 private $oneof_index = -1; variable in Google\\Protobuf\\Internal\\FieldDescriptor 59 $this->oneof_index = $index; 64 return $this->oneof_index; 231 $oneof_index = $proto->hasOneofIndex() ? $proto->getOneofIndex() : -1; 271 $field->setOneofIndex($oneof_index);
|
D | Message.php | 182 $oneof_index = $field->getOneofIndex(); 183 if ($oneof_index === -1) { 207 $oneof_index = $field->getOneofIndex(); 208 if ($oneof_index === -1) {
|
/third_party/protobuf/php/src/Google/Protobuf/ |
D | Field.php | 55 private $oneof_index = 0; variable in Google\\Protobuf\\Field 257 return $this->oneof_index; 271 $this->oneof_index = $var;
|
/third_party/protobuf/src/google/protobuf/compiler/objectivec/ |
D | objectivec_message.cc | 347 const int oneof_index = oneof->index(); in GenerateMessageHeader() local 348 if (!seen_oneofs[oneof_index]) { in GenerateMessageHeader() 349 seen_oneofs[oneof_index] = 1; in GenerateMessageHeader() 350 oneof_generators_[oneof_index]->GeneratePublicCasePropertyDeclaration( in GenerateMessageHeader()
|
/third_party/protobuf/src/google/protobuf/util/ |
D | type_resolver_util_test.cc | 103 if (field == NULL || field->oneof_index() <= 0 || in FieldInOneof() 104 field->oneof_index() > type.oneofs_size()) { in FieldInOneof() 107 return type.oneofs(field->oneof_index() - 1) == oneof_name; in FieldInOneof()
|
/third_party/protobuf/src/google/protobuf/util/internal/ |
D | proto_writer.cc | 565 if (field.oneof_index() > 0) { in ValidOneof() 566 if (element_->IsOneofIndexTaken(field.oneof_index())) { in ValidOneof() 570 "oneof field '", element_->type().oneofs(field.oneof_index() - 1), in ValidOneof() 574 element_->TakeOneofIndex(field.oneof_index()); in ValidOneof()
|
D | default_value_objectwriter.cc | 379 if (field.oneof_index() != 0 && kind == PRIMITIVE) continue; in PopulateChildren()
|
/third_party/protobuf/ruby/ext/google/protobuf_c/ |
D | defs.c | 1473 VALUE options, int oneof_index, in msgdef_add_field() argument 1524 if (oneof_index >= 0) { in msgdef_add_field() 1526 oneof_index); in msgdef_add_field() 1868 self->oneof_index = 0; in OneofBuilderContext_alloc() 1893 VALUE oneof_index, in OneofBuilderContext_initialize() argument 1896 self->oneof_index = NUM2INT(oneof_index); in OneofBuilderContext_initialize() 1919 number, type_class, options, self->oneof_index, false); in OneofBuilderContext_optional()
|
D | protobuf.h | 155 int oneof_index; member
|
D | upb.c | 4469 int oneof_index = in create_fielddef() local 4488 if (oneof_index >= m->oneof_count) { in create_fielddef() 4494 oneof = (upb_oneofdef*)&m->oneofs[oneof_index]; in create_fielddef()
|
/third_party/protobuf/python/google/protobuf/ |
D | descriptor_pool.py | 903 oneof_index = field_desc.oneof_index 904 oneofs[oneof_index].fields.append(fields[field_index]) 905 fields[field_index].containing_oneof = oneofs[oneof_index]
|
/third_party/protobuf/src/google/protobuf/compiler/ |
D | parser.cc | 921 int oneof_index = message->oneof_decl_size(); in ParseMessageStatement() local 923 message_location, DescriptorProto::kOneofDeclFieldNumber, oneof_index); in ParseMessageStatement() 925 return ParseOneof(message->add_oneof_decl(), message, oneof_index, in ParseMessageStatement() 1903 DescriptorProto* containing_type, int oneof_index, in ParseOneof() argument 1951 field->set_oneof_index(oneof_index); in ParseOneof()
|
D | parser.h | 412 DescriptorProto* containing_type, int oneof_index,
|
/third_party/protobuf/src/google/protobuf/ |
D | type.proto | 131 int32 oneof_index = 7; field
|
D | type.pb.cc | 1012 if (this->oneof_index() != 0) { in _InternalSerialize() 1122 if (this->oneof_index() != 0) { in ByteSizeLong() 1186 if (from.oneof_index() != 0) { in MergeFrom()
|
D | generated_message_reflection.cc | 713 int oneof_index = field->containing_oneof()->index(); in SwapFields() local 715 if (swapped_oneof.find(oneof_index) != swapped_oneof.end()) { in SwapFields() 718 swapped_oneof.insert(oneof_index); in SwapFields()
|
D | type.pb.h | 756 ::PROTOBUF_NAMESPACE_ID::int32 oneof_index() const; 1863 inline ::PROTOBUF_NAMESPACE_ID::int32 Field::oneof_index() const { in oneof_index() function
|
D | descriptor.cc | 5010 if (proto.oneof_index() < 0 || in BuildFieldOrExtension() 5011 proto.oneof_index() >= parent->oneof_decl_count()) { in BuildFieldOrExtension() 5016 proto.oneof_index(), parent->name())); in BuildFieldOrExtension() 5019 result->containing_oneof_ = parent->oneof_decl(proto.oneof_index()); in BuildFieldOrExtension()
|
D | descriptor.proto | 207 optional int32 oneof_index = 9; field
|
D | descriptor.pb.h | 2092 ::PROTOBUF_NAMESPACE_ID::int32 oneof_index() const; 8511 inline ::PROTOBUF_NAMESPACE_ID::int32 FieldDescriptorProto::oneof_index() const { in oneof_index() function
|
/third_party/protobuf/php/ext/google/protobuf/ |
D | php-upb.c | 4932 int oneof_index = in create_fielddef() local 4951 if (oneof_index >= m->oneof_count) { in create_fielddef() 4957 oneof = (upb_oneofdef*)&m->oneofs[oneof_index]; in create_fielddef()
|