Searched refs:extension_field (Results 1 – 5 of 5) sorted by relevance
/external/protobuf/src/google/protobuf/compiler/python/ |
D | python_generator.cc | 509 const FieldDescriptor& extension_field = *file_->extension(i); in PrintTopLevelExtensions() local 510 string constant_name = extension_field.name() + "_FIELD_NUMBER"; in PrintTopLevelExtensions() 514 "number", SimpleItoa(extension_field.number())); in PrintTopLevelExtensions() 515 printer_->Print("$name$ = ", "name", extension_field.name()); in PrintTopLevelExtensions() 516 PrintFieldDescriptor(extension_field, is_extension); in PrintTopLevelExtensions() 977 const FieldDescriptor& extension_field) const { in FixForeignFieldsInExtension() 978 GOOGLE_CHECK(extension_field.is_extension()); in FixForeignFieldsInExtension() 981 FixForeignFieldsInField(extension_field.extension_scope(), extension_field, in FixForeignFieldsInExtension() 990 *extension_field.containing_type()); in FixForeignFieldsInExtension() 991 m["field"] = FieldReferencingExpression(extension_field.extension_scope(), in FixForeignFieldsInExtension() [all …]
|
D | python_generator.h | 124 const FieldDescriptor& extension_field) const;
|
/external/protobuf/python/google/protobuf/internal/ |
D | python_message.py | 357 for extension_name, extension_field in extension_dict.items(): 359 dictionary[extension_name] = extension_field 746 for extension_name, extension_field in extension_dict.items(): 748 setattr(cls, constant_name, extension_field.number)
|
/external/golang-protobuf/protoc-gen-go/testdata/import_public/sub/ |
D | a.proto | 76 optional string extension_field = 1; field
|
/external/protobuf/python/google/protobuf/pyext/ |
D | message.cc | 192 ScopedPyObjectPtr extension_field(PyFieldDescriptor_FromDescriptor(field)); in AddDescriptors() local 193 if (extension_field == NULL) { in AddDescriptors() 199 cls, field->name().c_str(), extension_field.get()) == -1) { in AddDescriptors() 2104 ScopedPyObjectPtr extension_field( in CheckAndGetInteger() local 2106 if (extension_field == NULL) { in CheckAndGetInteger() 2126 extensions.get(), extension_field.get()); in CheckAndGetInteger() 2130 PyTuple_SET_ITEM(t.get(), 0, extension_field.release()); in CheckAndGetInteger()
|