Home
last modified time | relevance | path

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

/external/protobuf/src/google/protobuf/
Ddescriptor.cc1401 if (number >= extension_range(i)->start && in FindExtensionRangeContainingNumber()
1402 number < extension_range(i)->end) { in FindExtensionRangeContainingNumber()
1403 return extension_range(i); in FindExtensionRangeContainingNumber()
1619 range->set_start(extension_range(i)->start); in CopyTo()
1620 range->set_end(extension_range(i)->end); in CopyTo()
1932 extension_range(i)->start, in DebugString()
1933 extension_range(i)->end - 1); in DebugString()
3546 BUILD_ARRAY(proto, result, extension_range, BuildExtensionRange, result); in BuildMessage()
3563 const Descriptor::ExtensionRange* range = result->extension_range(j); in BuildMessage()
3565 AddError(field->full_name(), proto.extension_range(j), in BuildMessage()
[all …]
Ddescriptor.h247 const ExtensionRange* extension_range(int index) const;
1474 PROTOBUF_DEFINE_ARRAY_ACCESSOR(Descriptor, extension_range,
Ddescriptor_unittest.cc1531 EXPECT_EQ(10, foo_->extension_range(0)->start); in TEST_F()
1532 EXPECT_EQ(30, foo_->extension_range(1)->start); in TEST_F()
1534 EXPECT_EQ(20, foo_->extension_range(0)->end); in TEST_F()
1535 EXPECT_EQ(40, foo_->extension_range(1)->end); in TEST_F()
2238 EXPECT_EQ(1, extendee->extension_range(0)->start); in TEST_P()
2239 EXPECT_EQ(FieldDescriptor::kMaxNumber + 1, extendee->extension_range(0)->end); in TEST_P()
Ddescriptor.pb.h665 inline const ::google::protobuf::DescriptorProto_ExtensionRange& extension_range(int index) const;
669 extension_range() const;
3647 inline const ::google::protobuf::DescriptorProto_ExtensionRange& DescriptorProto::extension_range(i… in extension_range() function
3660 DescriptorProto::extension_range() const { in extension_range() function
Ddescriptor.proto97 repeated ExtensionRange extension_range = 5; field
Ddescriptor.pb.cc2234 5, this->extension_range(i), output); in SerializeWithCachedSizes()
2301 5, this->extension_range(i), target); in SerializeWithCachedSizesToArray()
2389 this->extension_range(i)); in ByteSize()
/external/nanopb-c/generator/google/protobuf/
Ddescriptor_pool.py267 extension_ranges = [(r.start, r.end) for r in desc_proto.extension_range]
/external/protobuf/src/google/protobuf/compiler/
Dparser_unittest.cc2014 file_.message_type(0).extension_range(0); in TEST_F()
2016 file_.message_type(0).extension_range(1); in TEST_F()
2018 file_.message_type(0).extension_range(2); in TEST_F()
Dcommand_line_interface.cc1539 ranges->insert(FieldRange(descriptor->extension_range(i)->start, in GatherOccupiedFieldRanges()
1540 descriptor->extension_range(i)->end)); in GatherOccupiedFieldRanges()
Dparser.cc577 if (message->extension_range(i).end() == kMaxExtensionRangeSentinel) { in AdjustExtensionRangesWithMaxEndNumber()
/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/python/google/protobuf/
Ddescriptor_pool.py366 extension_ranges = [(r.start, r.end) for r in desc_proto.extension_range]
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_message.cc2154 descriptor_->extension_range(i); in GenerateMergeFromCodedStream()
2364 sorted_extensions.push_back(descriptor_->extension_range(i)); in GenerateSerializeWithCachedSizesBody()
/external/protobuf/src/google/protobuf/compiler/java/
Djava_message.cc545 sorted_extensions.push_back(descriptor_->extension_range(i)); in GenerateMessageSerializationMethods()
/external/protobuf/src/google/protobuf/compiler/python/
Dpython_generator.cc639 message_descriptor.extension_range(i); in PrintDescriptor()
/external/nanopb-c/generator/proto/google/protobuf/
Ddescriptor.proto97 repeated ExtensionRange extension_range = 5; field