Home
last modified time | relevance | path

Searched refs:extension_range (Results 1 – 21 of 21) sorted by relevance

/external/protobuf/src/google/protobuf/
Ddescriptor.cc1552 if (number >= extension_range(i)->start && in FindExtensionRangeContainingNumber()
1553 number < extension_range(i)->end) { in FindExtensionRangeContainingNumber()
1554 return extension_range(i); in FindExtensionRangeContainingNumber()
1803 range->set_start(extension_range(i)->start); in CopyTo()
1804 range->set_end(extension_range(i)->end); in CopyTo()
2268 extension_range(i)->start, in DebugString()
2269 extension_range(i)->end - 1); in DebugString()
4075 BUILD_ARRAY(proto, result, extension_range, BuildExtensionRange, result); in BuildMessage()
4130 const Descriptor::ExtensionRange* range = result->extension_range(j); in BuildMessage()
4132 AddError(field->full_name(), proto.extension_range(j), in BuildMessage()
[all …]
Ddescriptor.h297 const ExtensionRange* extension_range(int index) const;
1664 PROTOBUF_DEFINE_ARRAY_ACCESSOR(Descriptor, extension_range, in PROTOBUF_DEFINE_STRING_ACCESSOR()
Ddescriptor_unittest.cc1778 EXPECT_EQ(10, foo_->extension_range(0)->start); in TEST_F()
1779 EXPECT_EQ(30, foo_->extension_range(1)->start); in TEST_F()
1781 EXPECT_EQ(20, foo_->extension_range(0)->end); in TEST_F()
1782 EXPECT_EQ(40, foo_->extension_range(1)->end); in TEST_F()
2569 EXPECT_EQ(1, extendee->extension_range(0)->start); in TEST_P()
2570 EXPECT_EQ(FieldDescriptor::kMaxNumber + 1, extendee->extension_range(0)->end); in TEST_P()
Ddescriptor.pb.h847 const ::google::protobuf::DescriptorProto_ExtensionRange& extension_range(int index) const;
853 extension_range() const;
4453 inline const ::google::protobuf::DescriptorProto_ExtensionRange& DescriptorProto::extension_range(i… in extension_range() function
4471 DescriptorProto::extension_range() const { in extension_range() function
Ddescriptor.proto105 repeated ExtensionRange extension_range = 5; field
Ddescriptor.pb.cc3354 5, this->extension_range(i), output); in SerializeWithCachedSizes()
3437 5, this->extension_range(i), target); in SerializeWithCachedSizesToArray()
3543 this->extension_range(i)); in ByteSize()
3962 const ::google::protobuf::DescriptorProto_ExtensionRange& DescriptorProto::extension_range(int inde… in extension_range() function in google::protobuf::DescriptorProto
3980 DescriptorProto::extension_range() const { in extension_range() function in google::protobuf::DescriptorProto
/external/protobuf/python/google/protobuf/internal/
Dmessage_factory_test.py144 rng = msg.extension_range.add()
/external/nanopb-c/generator/google/protobuf/
Ddescriptor_pool.py267 extension_ranges = [(r.start, r.end) for r in desc_proto.extension_range]
/external/nanopb-c/generator/
Dnanopb_generator.py512 if len(desc.extension_range) > 0:
514 range_start = min([r.start for r in desc.extension_range])
/external/protobuf/src/google/protobuf/compiler/objectivec/
Dobjectivec_message.cc403 sorted_extensions.push_back(descriptor_->extension_range(i)); in GenerateSource()
/external/protobuf/src/google/protobuf/compiler/
Dparser_unittest.cc2487 file_.message_type(0).extension_range(0); in TEST_F()
2489 file_.message_type(0).extension_range(1); in TEST_F()
2491 file_.message_type(0).extension_range(2); in TEST_F()
Dcommand_line_interface.cc1811 ranges->insert(FieldRange(descriptor->extension_range(i)->start, in GatherOccupiedFieldRanges()
1812 descriptor->extension_range(i)->end)); in GatherOccupiedFieldRanges()
Dparser.cc691 if (message->extension_range(i).end() == kMaxExtensionRangeSentinel) { in AdjustExtensionRangesWithMaxEndNumber()
/external/protobuf/python/google/protobuf/
Ddescriptor_pool.py446 extension_ranges = [(r.start, r.end) for r in desc_proto.extension_range]
/external/protobuf/src/google/protobuf/compiler/java/
Djava_message_lite.cc467 sorted_extensions.push_back(descriptor_->extension_range(i)); in GenerateMessageSerializationMethods()
Djava_message.cc554 sorted_extensions.push_back(descriptor_->extension_range(i)); in GenerateMessageSerializationMethods()
/external/protobuf/src/google/protobuf/compiler/python/
Dpython_generator.cc696 message_descriptor.extension_range(i); in PrintDescriptor()
/external/protobuf/python/google/protobuf/pyext/
Ddescriptor.cc510 const Descriptor::ExtensionRange* range = descriptor->extension_range(i); in GetExtensionRanges()
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_message.cc3140 descriptor_->extension_range(i); in GenerateMergeFromCodedStream()
3368 sorted_extensions.push_back(descriptor_->extension_range(i)); in GenerateSerializeWithCachedSizesBody()
/external/nanopb-c/generator/proto/google/protobuf/
Ddescriptor.proto97 repeated ExtensionRange extension_range = 5; field
/external/protobuf/php/ext/google/protobuf/
Dupb.h6774 inline upb::reffed_ptr<const upb::FieldDef> extension_range() { RETURN_REFFED(upb::FieldDef, upbdef…