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()
157 make_pair(field.extendee().substr(1), in AddExtension()
161 "extend " << field.extendee() << " { " in AddExtension()
421 const Descriptor* extendee = pool_.FindMessageTypeByName(containing_type); in FindFileContainingExtension() local
422 if (extendee == NULL) return false; in FindFileContainingExtension()
425 pool_.FindExtensionByNumber(extendee, field_number); in FindFileContainingExtension()
436 const Descriptor* extendee = pool_.FindMessageTypeByName(extendee_type); in FindAllExtensionNumbers() local
437 if (extendee == NULL) return false; in FindAllExtensionNumbers()
440 pool_.FindAllExtensions(extendee, &extensions); in FindAllExtensionNumbers()
Ddescriptor.cc415 inline const FieldDescriptor* FindExtension(const Descriptor* extendee,
417 inline void FindAllExtensions(const Descriptor* extendee,
753 const Descriptor* extendee, int number) { in FindExtension() argument
754 return FindPtrOrNull(extensions_, make_pair(extendee, number)); in FindExtension()
758 const Descriptor* extendee, vector<const FieldDescriptor*>* out) const { in FindAllExtensions() argument
760 extensions_.lower_bound(make_pair(extendee, 0)); in FindAllExtensions()
761 for (; it != extensions_.end() && it->first.first == extendee; ++it) { in FindAllExtensions()
1124 const Descriptor* extendee, int number) const { in FindExtensionByNumber() argument
1128 const FieldDescriptor* result = tables_->FindExtension(extendee, number); in FindExtensionByNumber()
1133 result = underlay_->FindExtensionByNumber(extendee, number); in FindExtensionByNumber()
[all …]
Ddescriptor_unittest.cc107 const string& extendee, in AddExtension() argument
116 result->set_extendee(extendee); in AddExtension()
121 const string& extendee, in AddNestedExtension() argument
130 result->set_extendee(extendee); in AddNestedExtension()
2234 const Descriptor* extendee = file->extension(0)->containing_type(); in TEST_P() local
2235 EXPECT_EQ("UnknownType", extendee->name()); in TEST_P()
2236 EXPECT_TRUE(extendee->is_placeholder()); in TEST_P()
2237 ASSERT_EQ(1, extendee->extension_range_count()); in TEST_P()
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.h1233 const FieldDescriptor* FindExtensionByNumber(const Descriptor* extendee,
1241 void FindAllExtensions(const Descriptor* extendee,
Ddescriptor.pb.cc2726 this->extendee().data(), this->extendee().length(), in MergePartialFromCodedStream()
2891 this->extendee().data(), this->extendee().length(), in SerializeWithCachedSizes()
2895 2, this->extendee(), output); in SerializeWithCachedSizes()
2970 this->extendee().data(), this->extendee().length(), in SerializeWithCachedSizesToArray()
2975 2, this->extendee(), target); in SerializeWithCachedSizesToArray()
3078 this->extendee()); in ByteSize()
3147 set_extendee(from.extendee()); in MergeFrom()
Ddescriptor.proto160 optional string extendee = 2; field
609 // example, the "extendee" of an extension declaration appears at the
Ddescriptor.pb.h889 inline const ::std::string& extendee() const;
895 inline void set_allocated_extendee(::std::string* extendee);
3997 inline const ::std::string& FieldDescriptorProto::extendee() const { in extendee() function
4043 inline void FieldDescriptorProto::set_allocated_extendee(::std::string* extendee) { in set_allocated_extendee() argument
4047 if (extendee) { in set_allocated_extendee()
4049 extendee_ = 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/
Dmore_extensions_dynamic.proto34 // generated C++ type is available for the extendee, but the extension is
/external/chromium-trace/catapult/third_party/polymer/components/webcomponentsjs/
DCustomElements.js749 var extendee = getRegisteredDefinition(extnds);
750 if (extendee) {
751 return ancestry(extendee.extends).concat([ extendee ]);
Dwebcomponents-lite.js2036 var extendee = getRegisteredDefinition(extnds);
2037 if (extendee) {
2038 return ancestry(extendee.extends).concat([ extendee ]);
Dwebcomponents.js4436 var extendee = this.registry[def.extendsName];
4437 if (extendee) {
4438 def.scopeStyles = extendee.scopeStyles.concat(def.scopeStyles);
6778 var extendee = getRegisteredDefinition(extnds);
6779 if (extendee) {
6780 return ancestry(extendee.extends).concat([ extendee ]);
/external/protobuf/python/google/protobuf/
Ddescriptor_pool.py303 file_descriptor.package, extension_proto.extendee, scope)
507 nested_package, extension_proto.extendee, scope)
/external/protobuf/src/google/protobuf/compiler/
Dparser.cc1220 string extendee; in ParseExtend() local
1221 DO(ParseUserDefinedType(&extendee)); in ParseExtend()
1253 field->set_extendee(extendee); in ParseExtend()
/external/protobuf/java/src/main/java/com/google/protobuf/
DDescriptors.java1151 final GenericDescriptor extendee = in crossLink() local
1154 if (!(extendee instanceof Descriptor)) { in crossLink()
1158 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)