Home
last modified time | relevance | path

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

12

/external/protobuf/php/src/Google/Protobuf/Internal/
DDescriptorProto.php48 private $extension_range; variable in Google\\Protobuf\\Internal\\DescriptorProto
245 return $this->extension_range;
256 $this->extension_range = $arr;
/external/protobuf/src/google/protobuf/
Ddescriptor.cc1819 if (number >= extension_range(i)->start && in FindExtensionRangeContainingNumber()
1820 number < extension_range(i)->end) { in FindExtensionRangeContainingNumber()
1821 return extension_range(i); in FindExtensionRangeContainingNumber()
2083 extension_range(i)->CopyTo(proto->add_extension_range()); in CopyTo()
2587 extension_range(i)->start, in DebugString()
2588 extension_range(i)->end - 1); in DebugString()
4556 BUILD_ARRAY(proto, result, extension_range, BuildExtensionRange, result); in BuildMessage()
4611 const Descriptor::ExtensionRange* range = result->extension_range(j); in BuildMessage()
4614 field->full_name(), proto.extension_range(j), in BuildMessage()
4641 const Descriptor::ExtensionRange* range1 = result->extension_range(i); in BuildMessage()
[all …]
Ddescriptor.h367 const ExtensionRange* extension_range(int index) const;
1905 PROTOBUF_DEFINE_ARRAY_ACCESSOR(Descriptor, extension_range, in PROTOBUF_DEFINE_STRING_ACCESSOR()
Ddescriptor_unittest.cc1901 EXPECT_EQ(10, foo_->extension_range(0)->start); in TEST_F()
1902 EXPECT_EQ(30, foo_->extension_range(1)->start); in TEST_F()
1904 EXPECT_EQ(20, foo_->extension_range(0)->end); in TEST_F()
1905 EXPECT_EQ(40, foo_->extension_range(1)->end); in TEST_F()
2844 EXPECT_EQ(1, extendee->extension_range(0)->start); in TEST_P()
2845 EXPECT_EQ(FieldDescriptor::kMaxNumber + 1, extendee->extension_range(0)->end); in TEST_P()
/external/protobuf/python/google/protobuf/internal/
Dmessage_factory_test.py170 rng = msg.extension_range.add()
/external/protobuf/src/google/protobuf/compiler/objectivec/
Dobjectivec_message.cc397 sorted_extensions.push_back(descriptor_->extension_range(i)); in GenerateSource()
/external/protobuf/src/google/protobuf/compiler/
Dparser_unittest.cc2908 file_.message_type(0).extension_range(0); in TEST_F()
2910 file_.message_type(0).extension_range(1); in TEST_F()
2912 file_.message_type(0).extension_range(2); in TEST_F()
Dcommand_line_interface.cc2297 ranges->insert(FieldRange(descriptor->extension_range(i)->start, in GatherOccupiedFieldRanges()
2298 descriptor->extension_range(i)->end)); in GatherOccupiedFieldRanges()
Dparser.cc797 if (message->extension_range(i).end() == kMaxRangeSentinel) { in AdjustExtensionRangesWithMaxEndNumber()
/external/rust/crates/protobuf/src/
Ddescriptor.rs909 pub extension_range: crate::RepeatedField<DescriptorProto_ExtensionRange>, field
1072 &self.extension_range in get_extension_range()
1075 self.extension_range.clear(); in clear_extension_range()
1080 self.extension_range = v; in set_extension_range()
1085 &mut self.extension_range in mut_extension_range()
1090 ::std::mem::replace(&mut self.extension_range, crate::RepeatedField::new()) in take_extension_range()
1224 for v in &self.extension_range { in is_initialized()
1267 … crate::rt::read_repeated_message_into(wire_type, is, &mut self.extension_range)?; in merge_from()
1312 for value in &self.extension_range { in compute_size()
1360 for v in &self.extension_range { in write_to_with_cached_sizes()
[all …]
/external/grpc-grpc/third_party/nanopb/generator/
Dnanopb_generator.py816 if len(desc.extension_range) > 0:
818 range_start = min([r.start for r in desc.extension_range])
/external/nanopb-c/generator/
Dnanopb_generator.py912 if len(desc.extension_range) > 0:
914 range_start = min([r.start for r in desc.extension_range])
/external/protobuf/src/google/protobuf/compiler/java/
Djava_message.cc567 sorted_extensions.push_back(descriptor_->extension_range(i)); in GenerateMessageSerializationMethods()
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_message.cc1781 sorted_extensions.push_back(descriptor_->extension_range(i)); in GenerateFieldMetadata()
3611 const Descriptor::ExtensionRange* range = descriptor_->extension_range(i); in GenerateMergeFromCodedStream()
3931 sorted_extensions.push_back(descriptor_->extension_range(i)); in GenerateSerializeWithCachedSizesBody()
Dcpp_helpers.cc1796 descriptor->extension_range(i); in GenerateParseLoop()
/external/protobuf/python/google/protobuf/
Ddescriptor_pool.py820 extension_ranges = [(r.start, r.end) for r in desc_proto.extension_range]
/external/protobuf/src/google/protobuf/compiler/python/
Dpython_generator.cc748 message_descriptor.extension_range(i); in PrintDescriptor()
/external/protobuf/python/google/protobuf/pyext/
Ddescriptor.cc563 const Descriptor::ExtensionRange* range = descriptor->extension_range(i); in GetExtensionRanges()
/external/protobuf/java/compatibility_tests/v2.5.0/protos/src/proto/google/protobuf/
Ddescriptor.proto97 repeated ExtensionRange extension_range = 5; field
/external/protobuf/java/compatibility_tests/v2.5.0/more_protos/src/proto/google/protobuf/
Ddescriptor.proto97 repeated ExtensionRange extension_range = 5; field
/external/protobuf/python/compatibility_tests/v2.5.0/protos/src/proto/google/protobuf/
Ddescriptor.proto97 repeated ExtensionRange extension_range = 5; field
/external/grpc-grpc/third_party/nanopb/generator/proto/google/protobuf/
Ddescriptor.proto102 repeated ExtensionRange extension_range = 5; field
/external/nos/host/generic/nugget/proto/google/protobuf/
Ddescriptor.proto105 repeated ExtensionRange extension_range = 5; field
/external/nanopb-c/generator/proto/google/protobuf/
Ddescriptor.proto108 repeated ExtensionRange extension_range = 5; field
/external/golang-protobuf/protoc-gen-go/descriptor/
Ddescriptor.proto109 repeated ExtensionRange extension_range = 5; field

12