Searched refs:extension_range (Results 1 – 16 of 16) sorted by relevance
/external/protobuf/src/google/protobuf/ |
D | descriptor.cc | 1401 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 …]
|
D | descriptor.h | 247 const ExtensionRange* extension_range(int index) const; 1474 PROTOBUF_DEFINE_ARRAY_ACCESSOR(Descriptor, extension_range,
|
D | descriptor_unittest.cc | 1531 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()
|
D | descriptor.pb.h | 665 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
|
D | descriptor.proto | 97 repeated ExtensionRange extension_range = 5; field
|
D | descriptor.pb.cc | 2234 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/ |
D | descriptor_pool.py | 267 extension_ranges = [(r.start, r.end) for r in desc_proto.extension_range]
|
/external/protobuf/src/google/protobuf/compiler/ |
D | parser_unittest.cc | 2014 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()
|
D | command_line_interface.cc | 1539 ranges->insert(FieldRange(descriptor->extension_range(i)->start, in GatherOccupiedFieldRanges() 1540 descriptor->extension_range(i)->end)); in GatherOccupiedFieldRanges()
|
D | parser.cc | 577 if (message->extension_range(i).end() == kMaxExtensionRangeSentinel) { in AdjustExtensionRangesWithMaxEndNumber()
|
/external/nanopb-c/generator/ |
D | nanopb_generator.py | 512 if len(desc.extension_range) > 0: 514 range_start = min([r.start for r in desc.extension_range])
|
/external/protobuf/python/google/protobuf/ |
D | descriptor_pool.py | 366 extension_ranges = [(r.start, r.end) for r in desc_proto.extension_range]
|
/external/protobuf/src/google/protobuf/compiler/cpp/ |
D | cpp_message.cc | 2154 descriptor_->extension_range(i); in GenerateMergeFromCodedStream() 2364 sorted_extensions.push_back(descriptor_->extension_range(i)); in GenerateSerializeWithCachedSizesBody()
|
/external/protobuf/src/google/protobuf/compiler/java/ |
D | java_message.cc | 545 sorted_extensions.push_back(descriptor_->extension_range(i)); in GenerateMessageSerializationMethods()
|
/external/protobuf/src/google/protobuf/compiler/python/ |
D | python_generator.cc | 639 message_descriptor.extension_range(i); in PrintDescriptor()
|
/external/nanopb-c/generator/proto/google/protobuf/ |
D | descriptor.proto | 97 repeated ExtensionRange extension_range = 5; field
|