Home
last modified time | relevance | path

Searched refs:PyDescriptorPool (Results 1 - 7 of 7) sorted by relevance

/third_party/protobuf/python/google/protobuf/pyext/
H A Ddescriptor_pool.cc64 // Pointers are not owned here, and belong to the PyDescriptorPool.
65 static std::unordered_map<const DescriptorPool*, PyDescriptorPool*>*
104 static PyDescriptorPool* _CreateDescriptorPool() { in _CreateDescriptorPool()
105 PyDescriptorPool* cpool = PyObject_GC_New( in _CreateDescriptorPool()
106 PyDescriptorPool, &PyDescriptorPool_Type); in _CreateDescriptorPool()
134 static PyDescriptorPool* PyDescriptorPool_NewWithUnderlay( in PyDescriptorPool_NewWithUnderlay()
136 PyDescriptorPool* cpool = _CreateDescriptorPool(); in PyDescriptorPool_NewWithUnderlay()
153 static PyDescriptorPool* PyDescriptorPool_NewWithDatabase( in PyDescriptorPool_NewWithDatabase()
155 PyDescriptorPool* cpool = _CreateDescriptorPool(); in PyDescriptorPool_NewWithDatabase()
193 PyDescriptorPool* sel in Dealloc()
[all...]
H A Ddescriptor_pool.h56 typedef struct PyDescriptorPool { struct
83 } PyDescriptorPool; typedef
97 PyObject* FindFieldByName(PyDescriptorPool* self, PyObject* name);
103 PyObject* FindExtensionByName(PyDescriptorPool* self, PyObject* arg);
109 PyObject* FindEnumTypeByName(PyDescriptorPool* self, PyObject* arg);
115 PyObject* FindOneofByName(PyDescriptorPool* self, PyObject* arg);
123 PyDescriptorPool* GetDefaultDescriptorPool();
127 PyDescriptorPool* GetDescriptorPool_FromPool(const DescriptorPool* pool);
H A Dmessage_factory.h62 PyDescriptorPool* pool;
67 // Python references to classes are owned by this PyDescriptorPool.
78 PyMessageFactory* NewMessageFactory(PyTypeObject* type, PyDescriptorPool* pool);
H A Dmessage_factory.cc59 PyMessageFactory* NewMessageFactory(PyTypeObject* type, PyDescriptorPool* pool) { in NewMessageFactory()
102 NewMessageFactory(type, reinterpret_cast<PyDescriptorPool*>(pool))); in New()
H A Dextension_dict.cc241 PyDescriptorPool* pool = cmessage::GetFactoryForMessage(self->parent)->pool; in _FindExtensionByName()
271 PyDescriptorPool* pool = cmessage::GetFactoryForMessage(self->parent)->pool; in _FindExtensionByNumber()
H A Ddescriptor.cc218 PyDescriptorPool* caching_pool = GetDescriptorPool_FromPool( in GetOrBuildOptions()
324 PyDescriptorPool* pool;
379 PyDescriptorPool* pool = GetDescriptorPool_FromPool( in NewInternedDescriptor()
H A Dmessage.cc316 PyDescriptorPool* py_descriptor_pool = in New()
395 const PyDescriptorPool* pool = self->py_message_factory->pool; in GetExtensionsByName()
425 const PyDescriptorPool* pool = self->py_message_factory->pool; in GetExtensionsByNumber()

Completed in 10 milliseconds