Home
last modified time | relevance | path

Searched refs:extendee (Results 1 – 17 of 17) sorted by relevance

/external/protobuf/src/google/protobuf/
Ddescriptor_database.cc153 if (!field.extendee().empty() && field.extendee()[0] == '.') { in AddExtension()
158 std::make_pair(field.extendee().substr(1), field.number()), in AddExtension()
161 "extend " << field.extendee() << " { " in AddExtension()
420 const Descriptor* extendee = pool_.FindMessageTypeByName(containing_type); in FindFileContainingExtension() local
421 if (extendee == NULL) return false; in FindFileContainingExtension()
424 pool_.FindExtensionByNumber(extendee, field_number); in FindFileContainingExtension()
435 const Descriptor* extendee = pool_.FindMessageTypeByName(extendee_type); in FindAllExtensionNumbers() local
436 if (extendee == NULL) return false; in FindAllExtensionNumbers()
439 pool_.FindAllExtensions(extendee, &extensions); in FindAllExtensionNumbers()
Ddescriptor.cc472 inline const FieldDescriptor* FindExtension(const Descriptor* extendee,
474 inline void FindAllExtensions(const Descriptor* extendee,
898 const Descriptor* extendee, int number) { in FindExtension() argument
899 return FindPtrOrNull(extensions_, std::make_pair(extendee, number)); in FindExtension()
903 const Descriptor* extendee, vector<const FieldDescriptor*>* out) const { in FindAllExtensions() argument
905 extensions_.lower_bound(std::make_pair(extendee, 0)); in FindAllExtensions()
906 for (; it != extensions_.end() && it->first.first == extendee; ++it) { in FindAllExtensions()
1270 const Descriptor* extendee, int number) const { in FindExtensionByNumber() argument
1274 const FieldDescriptor* result = tables_->FindExtension(extendee, number); in FindExtensionByNumber()
1279 result = underlay_->FindExtensionByNumber(extendee, number); in FindExtensionByNumber()
[all …]
Ddescriptor_unittest.cc114 const string& extendee, in AddExtension() argument
123 result->set_extendee(extendee); in AddExtension()
128 const string& extendee, in AddNestedExtension() argument
137 result->set_extendee(extendee); in AddNestedExtension()
2565 const Descriptor* extendee = file->extension(0)->containing_type(); in TEST_P() local
2566 EXPECT_EQ("UnknownType", extendee->name()); in TEST_P()
2567 EXPECT_TRUE(extendee->is_placeholder()); in TEST_P()
2568 ASSERT_EQ(1, extendee->extension_range_count()); in TEST_P()
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.h1422 const FieldDescriptor* FindExtensionByNumber(const Descriptor* extendee,
1430 void FindAllExtensions(const Descriptor* extendee,
Ddescriptor.pb.cc4379 this->extendee().data(), this->extendee().length(), in MergePartialFromCodedStream()
4561 this->extendee().data(), this->extendee().length(), in SerializeWithCachedSizes()
4565 2, this->extendee(), output); in SerializeWithCachedSizes()
4650 this->extendee().data(), this->extendee().length(), in SerializeWithCachedSizesToArray()
4655 2, this->extendee(), target); in SerializeWithCachedSizesToArray()
4770 this->extendee()); in ByteSize()
5126 const ::std::string& FieldDescriptorProto::extendee() const { in extendee() function in google::protobuf::FieldDescriptorProto
5156 void FieldDescriptorProto::set_allocated_extendee(::std::string* extendee) { in set_allocated_extendee() argument
5157 if (extendee != NULL) { in set_allocated_extendee()
5162 …endee_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), extendee); in set_allocated_extendee()
Ddescriptor.proto180 optional string extendee = 2; field
682 // example, the "extendee" of an extension declaration appears at the
Ddescriptor.pb.h1132 const ::std::string& extendee() const;
1138 void set_allocated_extendee(::std::string* extendee);
4835 inline const ::std::string& FieldDescriptorProto::extendee() const { in extendee() function
4865 inline void FieldDescriptorProto::set_allocated_extendee(::std::string* extendee) { in set_allocated_extendee() argument
4866 if (extendee != NULL) { in set_allocated_extendee()
4871 …endee_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), extendee); in set_allocated_extendee()
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_extension.cc53 const Descriptor* extendee = descriptor->containing_type(); in ExtendeeClassName() local
54 return ClassName(extendee, true); in ExtendeeClassName()
/external/protobuf/python/google/protobuf/internal/
Dmessage_factory_test.py163 ext.extendee = 'Container'
180 ext.extendee = 'Container'
Dmore_extensions_dynamic.proto34 // generated C++ type is available for the extendee, but the extension is
/external/protobuf/python/google/protobuf/
Ddescriptor_pool.py378 file_descriptor.package, extension_proto.extendee, scope)
588 nested_package, extension_proto.extendee, scope)
/external/protobuf/src/google/protobuf/compiler/
Dparser.cc1563 string extendee; in ParseExtend() local
1564 DO(ParseUserDefinedType(&extendee)); in ParseExtend()
1596 field->set_extendee(extendee); in ParseExtend()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DDescriptors.java1313 final GenericDescriptor extendee = in crossLink() local
1316 if (!(extendee instanceof Descriptor)) { in crossLink()
1320 containingType = (Descriptor)extendee; in crossLink()
/external/nanopb-c/generator/proto/google/protobuf/
Ddescriptor.proto158 optional string extendee = 2; field
539 // example, the "extendee" of an extension declaration appears at the
/external/nanopb-c/generator/
Dnanopb_generator.py455 self.extendee_name = names_from_type_name(desc.extendee)
/external/protobuf/php/ext/google/protobuf/
Dupb.h6841 inline upb::reffed_ptr<const upb::FieldDef> extendee() { RETURN_REFFED(upb::FieldDef, upbdefs_googl…
/external/protobuf/ruby/ext/google/protobuf_c/
Dupb.c7073 upb_handlers_setstring(h, F(FieldDescriptorProto, extendee), in reghandlers()