Home
last modified time | relevance | path

Searched refs:extensions_by_name (Results 1 – 9 of 9) sorted by relevance

/external/protobuf/python/google/protobuf/pyext/
Dextension_dict.cc228 ScopedPyObjectPtr extensions_by_name(PyObject_GetAttrString( in _FindExtensionByName() local
230 if (extensions_by_name == NULL) { in _FindExtensionByName()
233 PyObject* result = PyDict_GetItem(extensions_by_name.get(), name); in _FindExtensionByName()
Dmessage.cc1963 ScopedPyObjectPtr extensions_by_name( in CheckAndGetInteger() local
1965 if (extensions_by_name == NULL) { in CheckAndGetInteger()
1976 PyDict_GetItem(extensions_by_name.get(), full_name.get()); in CheckAndGetInteger()
1988 if (PyDict_SetItem(extensions_by_name.get(), full_name.get(), in CheckAndGetInteger()
2044 PyDict_SetItem(extensions_by_name.get(), message_name.get(), in CheckAndGetInteger()
/external/protobuf/python/google/protobuf/
Dmessage_factory.py123 for name, extension in file_desc.extensions_by_name.items():
Ddescriptor.py312 self.extensions_by_name = dict((f.name, f) for f in extensions)
827 self.extensions_by_name = {}
Ddescriptor_pool.py304 return scope.extensions_by_name[extension_name]
381 file_descriptor.extensions_by_name[extension_desc.name] = (
/external/protobuf/python/google/protobuf/internal/
Dgenerator_test.py264 file_type.extensions_by_name[unittest_pb2.my_extension_string.name])
Ddescriptor_pool_test.py503 field_desc = msg_desc.extensions_by_name[name]
654 unittest_pb2.DESCRIPTOR.extensions_by_name['optional_int32_extension'])
Dpython_message.py356 extension_dict = descriptor.extensions_by_name
745 extension_dict = descriptor.extensions_by_name
Ddescriptor_test.py390 nested_extension = outer_message.extensions_by_name["nested_extension"]