Searched refs:extension_field (Results 1 – 4 of 4) sorted by relevance
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/python/ |
D | python_generator.cc | 537 const FieldDescriptor& extension_field = *file_->extension(i); in PrintTopLevelExtensions() local 538 string constant_name = extension_field.name() + "_FIELD_NUMBER"; in PrintTopLevelExtensions() 542 "number", SimpleItoa(extension_field.number())); in PrintTopLevelExtensions() 543 printer_->Print("$name$ = ", "name", extension_field.name()); in PrintTopLevelExtensions() 544 PrintFieldDescriptor(extension_field, is_extension); in PrintTopLevelExtensions() 1012 const FieldDescriptor& extension_field) const { in FixForeignFieldsInExtension() 1013 GOOGLE_CHECK(extension_field.is_extension()); in FixForeignFieldsInExtension() 1016 FixForeignFieldsInField(extension_field.extension_scope(), extension_field, in FixForeignFieldsInExtension() 1025 *extension_field.containing_type()); in FixForeignFieldsInExtension() 1026 m["field"] = FieldReferencingExpression(extension_field.extension_scope(), in FixForeignFieldsInExtension() [all …]
|
D | python_generator.h | 125 const FieldDescriptor& extension_field) const;
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/internal/ |
D | python_message.py | 352 for extension_name, extension_field in extension_dict.items(): 354 dictionary[extension_name] = extension_field 741 for extension_name, extension_field in extension_dict.items(): 743 setattr(cls, constant_name, extension_field.number)
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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() 2101 ScopedPyObjectPtr extension_field( in CheckAndGetInteger() local 2103 if (extension_field == NULL) { in CheckAndGetInteger() 2123 extensions.get(), extension_field.get()); in CheckAndGetInteger() 2127 PyTuple_SET_ITEM(t.get(), 0, extension_field.release()); in CheckAndGetInteger()
|