Classes | Functions | Variables
descriptor_containers.c File Reference
#include "descriptor_containers.h"
#include "descriptor.h"
#include "protobuf.h"
#include "upb/def.h"
Include dependency graph for descriptor_containers.c:

Go to the source code of this file.

Classes

struct  PyUpb_ByNameMap
 
struct  PyUpb_ByNumberMap
 
struct  PyUpb_DescriptorIterator
 
struct  PyUpb_GenericSequence
 

Functions

static int PyUpb_ByNameMap_AssignSubscript (PyObject *self, PyObject *key, PyObject *value)
 
static int PyUpb_ByNameMap_Contains (PyObject *_self, PyObject *key)
 
static void PyUpb_ByNameMap_Dealloc (PyObject *_self)
 
static PyObject * PyUpb_ByNameMap_Get (PyObject *_self, PyObject *args)
 
static PyObject * PyUpb_ByNameMap_GetIter (PyObject *_self)
 
static int PyUpb_ByNameMap_IsEqual (PyUpb_ByNameMap *self, PyObject *other)
 
static PyObject * PyUpb_ByNameMap_Items (PyObject *_self, PyObject *args)
 
static PyObject * PyUpb_ByNameMap_Keys (PyObject *_self, PyObject *args)
 
static Py_ssize_t PyUpb_ByNameMap_Length (PyObject *_self)
 
PyObject * PyUpb_ByNameMap_New (const PyUpb_ByNameMap_Funcs *funcs, const void *parent, PyObject *parent_obj)
 
static PyObject * PyUpb_ByNameMap_RichCompare (PyObject *_self, PyObject *other, int opid)
 
PyUpb_ByNameMapPyUpb_ByNameMap_Self (PyObject *obj)
 
static PyObject * PyUpb_ByNameMap_Subscript (PyObject *_self, PyObject *key)
 
static PyObject * PyUpb_ByNameMap_Values (PyObject *_self, PyObject *args)
 
static int PyUpb_ByNumberMap_AssignSubscript (PyObject *self, PyObject *key, PyObject *value)
 
static int PyUpb_ByNumberMap_Contains (PyObject *_self, PyObject *key)
 
static void PyUpb_ByNumberMap_Dealloc (PyObject *_self)
 
static PyObject * PyUpb_ByNumberMap_Get (PyObject *_self, PyObject *args)
 
static PyObject * PyUpb_ByNumberMap_GetIter (PyObject *_self)
 
static int PyUpb_ByNumberMap_IsEqual (PyUpb_ByNumberMap *self, PyObject *other)
 
static PyObject * PyUpb_ByNumberMap_Items (PyObject *_self, PyObject *args)
 
static PyObject * PyUpb_ByNumberMap_Keys (PyObject *_self, PyObject *args)
 
static Py_ssize_t PyUpb_ByNumberMap_Length (PyObject *_self)
 
static const void * PyUpb_ByNumberMap_LookupHelper (PyUpb_ByNumberMap *self, PyObject *key)
 
PyObject * PyUpb_ByNumberMap_New (const PyUpb_ByNumberMap_Funcs *funcs, const void *parent, PyObject *parent_obj)
 
static PyObject * PyUpb_ByNumberMap_RichCompare (PyObject *_self, PyObject *other, int opid)
 
PyUpb_ByNumberMapPyUpb_ByNumberMap_Self (PyObject *obj)
 
static PyObject * PyUpb_ByNumberMap_Subscript (PyObject *_self, PyObject *key)
 
static PyObject * PyUpb_ByNumberMap_Values (PyObject *_self, PyObject *args)
 
static void PyUpb_DescriptorIterator_Dealloc (PyObject *_self)
 
PyObject * PyUpb_DescriptorIterator_IterNext (PyObject *_self)
 
PyObject * PyUpb_DescriptorIterator_New (const PyUpb_GenericSequence_Funcs *funcs, const void *parent, PyObject *parent_obj)
 
PyUpb_DescriptorIteratorPyUpb_DescriptorIterator_Self (PyObject *obj)
 
static PyObject * PyUpb_GenericSequence_Append (PyObject *self, PyObject *args)
 
static PyObject * PyUpb_GenericSequence_Count (PyObject *_self, PyObject *item)
 
static void PyUpb_GenericSequence_Dealloc (PyObject *_self)
 
static int PyUpb_GenericSequence_Find (PyObject *_self, PyObject *item)
 
static PyObject * PyUpb_GenericSequence_GetItem (PyObject *_self, Py_ssize_t index)
 
static PyObject * PyUpb_GenericSequence_Index (PyObject *self, PyObject *item)
 
static int PyUpb_GenericSequence_IsEqual (PyUpb_GenericSequence *self, PyObject *other)
 
static Py_ssize_t PyUpb_GenericSequence_Length (PyObject *_self)
 
PyObject * PyUpb_GenericSequence_New (const PyUpb_GenericSequence_Funcs *funcs, const void *parent, PyObject *parent_obj)
 
static PyObject * PyUpb_GenericSequence_RichCompare (PyObject *_self, PyObject *other, int opid)
 
PyUpb_GenericSequencePyUpb_GenericSequence_Self (PyObject *obj)
 
bool PyUpb_InitDescriptorContainers (PyObject *m)
 

Variables

static PyMethodDef PyUpb_ByNameMap_Methods []
 
static PyType_Slot PyUpb_ByNameMap_Slots []
 
static PyType_Spec PyUpb_ByNameMap_Spec
 
static PyMethodDef PyUpb_ByNumberMap_Methods []
 
static PyType_Slot PyUpb_ByNumberMap_Slots []
 
static PyType_Spec PyUpb_ByNumberMap_Spec
 
static PyType_Slot PyUpb_DescriptorIterator_Slots []
 
static PyType_Spec PyUpb_DescriptorIterator_Spec
 
static PyMethodDef PyUpb_GenericSequence_Methods []
 
static PyType_Slot PyUpb_GenericSequence_Slots []
 
static PyType_Spec PyUpb_GenericSequence_Spec
 

Function Documentation

◆ PyUpb_ByNameMap_AssignSubscript()

static int PyUpb_ByNameMap_AssignSubscript ( PyObject *  self,
PyObject *  key,
PyObject *  value 
)
static

Definition at line 317 of file descriptor_containers.c.

◆ PyUpb_ByNameMap_Contains()

static int PyUpb_ByNameMap_Contains ( PyObject *  _self,
PyObject *  key 
)
static

Definition at line 324 of file descriptor_containers.c.

◆ PyUpb_ByNameMap_Dealloc()

static void PyUpb_ByNameMap_Dealloc ( PyObject *  _self)
static

Definition at line 282 of file descriptor_containers.c.

◆ PyUpb_ByNameMap_Get()

static PyObject* PyUpb_ByNameMap_Get ( PyObject *  _self,
PyObject *  args 
)
static

Definition at line 331 of file descriptor_containers.c.

◆ PyUpb_ByNameMap_GetIter()

static PyObject* PyUpb_ByNameMap_GetIter ( PyObject *  _self)
static

Definition at line 350 of file descriptor_containers.c.

◆ PyUpb_ByNameMap_IsEqual()

static int PyUpb_ByNameMap_IsEqual ( PyUpb_ByNameMap self,
PyObject *  other 
)
static

Definition at line 421 of file descriptor_containers.c.

◆ PyUpb_ByNameMap_Items()

static PyObject* PyUpb_ByNameMap_Items ( PyObject *  _self,
PyObject *  args 
)
static

Definition at line 392 of file descriptor_containers.c.

◆ PyUpb_ByNameMap_Keys()

static PyObject* PyUpb_ByNameMap_Keys ( PyObject *  _self,
PyObject *  args 
)
static

Definition at line 356 of file descriptor_containers.c.

◆ PyUpb_ByNameMap_Length()

static Py_ssize_t PyUpb_ByNameMap_Length ( PyObject *  _self)
static

Definition at line 299 of file descriptor_containers.c.

◆ PyUpb_ByNameMap_New()

PyObject* PyUpb_ByNameMap_New ( const PyUpb_ByNameMap_Funcs funcs,
const void *  parent,
PyObject *  parent_obj 
)

Definition at line 288 of file descriptor_containers.c.

◆ PyUpb_ByNameMap_RichCompare()

static PyObject* PyUpb_ByNameMap_RichCompare ( PyObject *  _self,
PyObject *  other,
int  opid 
)
static

Definition at line 437 of file descriptor_containers.c.

◆ PyUpb_ByNameMap_Self()

PyUpb_ByNameMap* PyUpb_ByNameMap_Self ( PyObject *  obj)

Definition at line 277 of file descriptor_containers.c.

◆ PyUpb_ByNameMap_Subscript()

static PyObject* PyUpb_ByNameMap_Subscript ( PyObject *  _self,
PyObject *  key 
)
static

Definition at line 304 of file descriptor_containers.c.

◆ PyUpb_ByNameMap_Values()

static PyObject* PyUpb_ByNameMap_Values ( PyObject *  _self,
PyObject *  args 
)
static

Definition at line 374 of file descriptor_containers.c.

◆ PyUpb_ByNumberMap_AssignSubscript()

static int PyUpb_ByNumberMap_AssignSubscript ( PyObject *  self,
PyObject *  key,
PyObject *  value 
)
static

Definition at line 535 of file descriptor_containers.c.

◆ PyUpb_ByNumberMap_Contains()

static int PyUpb_ByNumberMap_Contains ( PyObject *  _self,
PyObject *  key 
)
static

Definition at line 626 of file descriptor_containers.c.

◆ PyUpb_ByNumberMap_Dealloc()

static void PyUpb_ByNumberMap_Dealloc ( PyObject *  _self)
static

Definition at line 502 of file descriptor_containers.c.

◆ PyUpb_ByNumberMap_Get()

static PyObject* PyUpb_ByNumberMap_Get ( PyObject *  _self,
PyObject *  args 
)
static

Definition at line 542 of file descriptor_containers.c.

◆ PyUpb_ByNumberMap_GetIter()

static PyObject* PyUpb_ByNumberMap_GetIter ( PyObject *  _self)
static

Definition at line 558 of file descriptor_containers.c.

◆ PyUpb_ByNumberMap_IsEqual()

static int PyUpb_ByNumberMap_IsEqual ( PyUpb_ByNumberMap self,
PyObject *  other 
)
static

Definition at line 635 of file descriptor_containers.c.

◆ PyUpb_ByNumberMap_Items()

static PyObject* PyUpb_ByNumberMap_Items ( PyObject *  _self,
PyObject *  args 
)
static

Definition at line 600 of file descriptor_containers.c.

◆ PyUpb_ByNumberMap_Keys()

static PyObject* PyUpb_ByNumberMap_Keys ( PyObject *  _self,
PyObject *  args 
)
static

Definition at line 564 of file descriptor_containers.c.

◆ PyUpb_ByNumberMap_Length()

static Py_ssize_t PyUpb_ByNumberMap_Length ( PyObject *  _self)
static

Definition at line 508 of file descriptor_containers.c.

◆ PyUpb_ByNumberMap_LookupHelper()

static const void* PyUpb_ByNumberMap_LookupHelper ( PyUpb_ByNumberMap self,
PyObject *  key 
)
static

Definition at line 513 of file descriptor_containers.c.

◆ PyUpb_ByNumberMap_New()

PyObject* PyUpb_ByNumberMap_New ( const PyUpb_ByNumberMap_Funcs funcs,
const void *  parent,
PyObject *  parent_obj 
)

Definition at line 491 of file descriptor_containers.c.

◆ PyUpb_ByNumberMap_RichCompare()

static PyObject* PyUpb_ByNumberMap_RichCompare ( PyObject *  _self,
PyObject *  other,
int  opid 
)
static

Definition at line 651 of file descriptor_containers.c.

◆ PyUpb_ByNumberMap_Self()

PyUpb_ByNumberMap* PyUpb_ByNumberMap_Self ( PyObject *  obj)

Definition at line 486 of file descriptor_containers.c.

◆ PyUpb_ByNumberMap_Subscript()

static PyObject* PyUpb_ByNumberMap_Subscript ( PyObject *  _self,
PyObject *  key 
)
static

Definition at line 524 of file descriptor_containers.c.

◆ PyUpb_ByNumberMap_Values()

static PyObject* PyUpb_ByNumberMap_Values ( PyObject *  _self,
PyObject *  args 
)
static

Definition at line 582 of file descriptor_containers.c.

◆ PyUpb_DescriptorIterator_Dealloc()

static void PyUpb_DescriptorIterator_Dealloc ( PyObject *  _self)
static

Definition at line 51 of file descriptor_containers.c.

◆ PyUpb_DescriptorIterator_IterNext()

PyObject* PyUpb_DescriptorIterator_IterNext ( PyObject *  _self)

Definition at line 71 of file descriptor_containers.c.

◆ PyUpb_DescriptorIterator_New()

PyObject* PyUpb_DescriptorIterator_New ( const PyUpb_GenericSequence_Funcs funcs,
const void *  parent,
PyObject *  parent_obj 
)

Definition at line 57 of file descriptor_containers.c.

◆ PyUpb_DescriptorIterator_Self()

PyUpb_DescriptorIterator* PyUpb_DescriptorIterator_Self ( PyObject *  obj)

Definition at line 46 of file descriptor_containers.c.

◆ PyUpb_GenericSequence_Append()

static PyObject* PyUpb_GenericSequence_Append ( PyObject *  self,
PyObject *  args 
)
static

Definition at line 231 of file descriptor_containers.c.

◆ PyUpb_GenericSequence_Count()

static PyObject* PyUpb_GenericSequence_Count ( PyObject *  _self,
PyObject *  item 
)
static

Definition at line 218 of file descriptor_containers.c.

◆ PyUpb_GenericSequence_Dealloc()

static void PyUpb_GenericSequence_Dealloc ( PyObject *  _self)
static

Definition at line 110 of file descriptor_containers.c.

◆ PyUpb_GenericSequence_Find()

static int PyUpb_GenericSequence_Find ( PyObject *  _self,
PyObject *  item 
)
static

Definition at line 196 of file descriptor_containers.c.

◆ PyUpb_GenericSequence_GetItem()

static PyObject* PyUpb_GenericSequence_GetItem ( PyObject *  _self,
Py_ssize_t  index 
)
static

Definition at line 133 of file descriptor_containers.c.

◆ PyUpb_GenericSequence_Index()

static PyObject* PyUpb_GenericSequence_Index ( PyObject *  self,
PyObject *  item 
)
static

Definition at line 208 of file descriptor_containers.c.

◆ PyUpb_GenericSequence_IsEqual()

static int PyUpb_GenericSequence_IsEqual ( PyUpb_GenericSequence self,
PyObject *  other 
)
static

Definition at line 148 of file descriptor_containers.c.

◆ PyUpb_GenericSequence_Length()

static Py_ssize_t PyUpb_GenericSequence_Length ( PyObject *  _self)
static

Definition at line 128 of file descriptor_containers.c.

◆ PyUpb_GenericSequence_New()

PyObject* PyUpb_GenericSequence_New ( const PyUpb_GenericSequence_Funcs funcs,
const void *  parent,
PyObject *  parent_obj 
)

Definition at line 116 of file descriptor_containers.c.

◆ PyUpb_GenericSequence_RichCompare()

static PyObject* PyUpb_GenericSequence_RichCompare ( PyObject *  _self,
PyObject *  other,
int  opid 
)
static

Definition at line 183 of file descriptor_containers.c.

◆ PyUpb_GenericSequence_Self()

PyUpb_GenericSequence* PyUpb_GenericSequence_Self ( PyObject *  obj)

Definition at line 105 of file descriptor_containers.c.

◆ PyUpb_InitDescriptorContainers()

bool PyUpb_InitDescriptorContainers ( PyObject *  m)

Definition at line 693 of file descriptor_containers.c.

Variable Documentation

◆ PyUpb_ByNameMap_Methods

PyMethodDef PyUpb_ByNameMap_Methods[]
static
Initial value:
= {
{"get", (PyCFunction)&PyUpb_ByNameMap_Get, METH_VARARGS},
{"keys", PyUpb_ByNameMap_Keys, METH_NOARGS},
{"values", PyUpb_ByNameMap_Values, METH_NOARGS},
{"items", PyUpb_ByNameMap_Items, METH_NOARGS},
{NULL}}

Definition at line 448 of file descriptor_containers.c.

◆ PyUpb_ByNameMap_Slots

PyType_Slot PyUpb_ByNameMap_Slots[]
static
Initial value:
= {
{Py_mp_ass_subscript, PyUpb_ByNameMap_AssignSubscript},
{Py_mp_length, PyUpb_ByNameMap_Length},
{Py_mp_subscript, PyUpb_ByNameMap_Subscript},
{Py_sq_contains, &PyUpb_ByNameMap_Contains},
{Py_tp_dealloc, &PyUpb_ByNameMap_Dealloc},
{Py_tp_iter, PyUpb_ByNameMap_GetIter},
{Py_tp_methods, &PyUpb_ByNameMap_Methods},
{Py_tp_richcompare, &PyUpb_ByNameMap_RichCompare},
{0, NULL},
}

Definition at line 455 of file descriptor_containers.c.

◆ PyUpb_ByNameMap_Spec

PyType_Spec PyUpb_ByNameMap_Spec
static
Initial value:
= {
PYUPB_MODULE_NAME "._ByNameMap",
sizeof(PyUpb_ByNameMap),
0,
Py_TPFLAGS_DEFAULT,
}

Definition at line 467 of file descriptor_containers.c.

◆ PyUpb_ByNumberMap_Methods

PyMethodDef PyUpb_ByNumberMap_Methods[]
static
Initial value:
= {
{"get", (PyCFunction)&PyUpb_ByNumberMap_Get, METH_VARARGS},
{"keys", PyUpb_ByNumberMap_Keys, METH_NOARGS},
{"values", PyUpb_ByNumberMap_Values, METH_NOARGS},
{"items", PyUpb_ByNumberMap_Items, METH_NOARGS},
{NULL}}

Definition at line 662 of file descriptor_containers.c.

◆ PyUpb_ByNumberMap_Slots

PyType_Slot PyUpb_ByNumberMap_Slots[]
static
Initial value:
= {
{Py_mp_ass_subscript, PyUpb_ByNumberMap_AssignSubscript},
{Py_mp_length, PyUpb_ByNumberMap_Length},
{Py_mp_subscript, PyUpb_ByNumberMap_Subscript},
{Py_sq_contains, &PyUpb_ByNumberMap_Contains},
{Py_tp_dealloc, &PyUpb_ByNumberMap_Dealloc},
{Py_tp_methods, &PyUpb_ByNumberMap_Methods},
{Py_tp_richcompare, &PyUpb_ByNumberMap_RichCompare},
{0, NULL},
}

Definition at line 669 of file descriptor_containers.c.

◆ PyUpb_ByNumberMap_Spec

PyType_Spec PyUpb_ByNumberMap_Spec
static
Initial value:
= {
PYUPB_MODULE_NAME "._ByNumberMap",
0,
Py_TPFLAGS_DEFAULT,
}

Definition at line 681 of file descriptor_containers.c.

◆ PyUpb_DescriptorIterator_Slots

PyType_Slot PyUpb_DescriptorIterator_Slots[]
static
Initial value:
= {
{Py_tp_iter, PyObject_SelfIter},
{0, NULL}}

Definition at line 80 of file descriptor_containers.c.

◆ PyUpb_DescriptorIterator_Spec

PyType_Spec PyUpb_DescriptorIterator_Spec
static
Initial value:
= {
PYUPB_MODULE_NAME ".DescriptorIterator",
0,
Py_TPFLAGS_DEFAULT,
}

Definition at line 86 of file descriptor_containers.c.

◆ PyUpb_GenericSequence_Methods

PyMethodDef PyUpb_GenericSequence_Methods[]
static
Initial value:
= {
{"index", PyUpb_GenericSequence_Index, METH_O},
{"count", PyUpb_GenericSequence_Count, METH_O},
{"append", PyUpb_GenericSequence_Append, METH_O},
{NULL}}

Definition at line 236 of file descriptor_containers.c.

◆ PyUpb_GenericSequence_Slots

PyType_Slot PyUpb_GenericSequence_Slots[]
static
Initial value:
= {
{Py_tp_dealloc, &PyUpb_GenericSequence_Dealloc},
{Py_tp_methods, &PyUpb_GenericSequence_Methods},
{Py_tp_richcompare, &PyUpb_GenericSequence_RichCompare},
{0, NULL},
}

Definition at line 244 of file descriptor_containers.c.

◆ PyUpb_GenericSequence_Spec

PyType_Spec PyUpb_GenericSequence_Spec
static
Initial value:
= {
PYUPB_MODULE_NAME "._GenericSequence",
0,
Py_TPFLAGS_DEFAULT,
}

Definition at line 258 of file descriptor_containers.c.

PyUpb_GenericSequence_Dealloc
static void PyUpb_GenericSequence_Dealloc(PyObject *_self)
Definition: descriptor_containers.c:110
PyUpb_GenericSequence_Length
static Py_ssize_t PyUpb_GenericSequence_Length(PyObject *_self)
Definition: descriptor_containers.c:128
PyUpb_ByNumberMap_Subscript
static PyObject * PyUpb_ByNumberMap_Subscript(PyObject *_self, PyObject *key)
Definition: descriptor_containers.c:524
PyUpb_ByNameMap_Get
static PyObject * PyUpb_ByNameMap_Get(PyObject *_self, PyObject *args)
Definition: descriptor_containers.c:331
PyUpb_GenericSequence_Methods
static PyMethodDef PyUpb_GenericSequence_Methods[]
Definition: descriptor_containers.c:236
PyUpb_ByNameMap_Items
static PyObject * PyUpb_ByNameMap_Items(PyObject *_self, PyObject *args)
Definition: descriptor_containers.c:392
PyUpb_ByNumberMap_Methods
static PyMethodDef PyUpb_ByNumberMap_Methods[]
Definition: descriptor_containers.c:662
PyUpb_ByNumberMap_AssignSubscript
static int PyUpb_ByNumberMap_AssignSubscript(PyObject *self, PyObject *key, PyObject *value)
Definition: descriptor_containers.c:535
PyUpb_ByNumberMap_Contains
static int PyUpb_ByNumberMap_Contains(PyObject *_self, PyObject *key)
Definition: descriptor_containers.c:626
PyUpb_ByNumberMap_RichCompare
static PyObject * PyUpb_ByNumberMap_RichCompare(PyObject *_self, PyObject *other, int opid)
Definition: descriptor_containers.c:651
PyUpb_GenericSequence_Slots
static PyType_Slot PyUpb_GenericSequence_Slots[]
Definition: descriptor_containers.c:244
PyUpb_ByNameMap_Values
static PyObject * PyUpb_ByNameMap_Values(PyObject *_self, PyObject *args)
Definition: descriptor_containers.c:374
PyUpb_GenericSequence
Definition: descriptor_containers.c:98
PyUpb_ByNameMap_Keys
static PyObject * PyUpb_ByNameMap_Keys(PyObject *_self, PyObject *args)
Definition: descriptor_containers.c:356
PyUpb_GenericSequence_RichCompare
static PyObject * PyUpb_GenericSequence_RichCompare(PyObject *_self, PyObject *other, int opid)
Definition: descriptor_containers.c:183
PyUpb_GenericSequence_GetItem
static PyObject * PyUpb_GenericSequence_GetItem(PyObject *_self, Py_ssize_t index)
Definition: descriptor_containers.c:133
PyUpb_GenericSequence_Append
static PyObject * PyUpb_GenericSequence_Append(PyObject *self, PyObject *args)
Definition: descriptor_containers.c:231
PyUpb_ByNameMap_RichCompare
static PyObject * PyUpb_ByNameMap_RichCompare(PyObject *_self, PyObject *other, int opid)
Definition: descriptor_containers.c:437
PyUpb_ByNameMap_Slots
static PyType_Slot PyUpb_ByNameMap_Slots[]
Definition: descriptor_containers.c:455
PyUpb_ByNumberMap
Definition: descriptor_containers.c:479
PyUpb_ByNameMap_Dealloc
static void PyUpb_ByNameMap_Dealloc(PyObject *_self)
Definition: descriptor_containers.c:282
PyUpb_ByNumberMap_Keys
static PyObject * PyUpb_ByNumberMap_Keys(PyObject *_self, PyObject *args)
Definition: descriptor_containers.c:564
PyUpb_ByNumberMap_GetIter
static PyObject * PyUpb_ByNumberMap_GetIter(PyObject *_self)
Definition: descriptor_containers.c:558
PyUpb_ByNumberMap_Items
static PyObject * PyUpb_ByNumberMap_Items(PyObject *_self, PyObject *args)
Definition: descriptor_containers.c:600
PyUpb_ByNameMap_GetIter
static PyObject * PyUpb_ByNameMap_GetIter(PyObject *_self)
Definition: descriptor_containers.c:350
PyUpb_GenericSequence_Index
static PyObject * PyUpb_GenericSequence_Index(PyObject *self, PyObject *item)
Definition: descriptor_containers.c:208
PyUpb_DescriptorIterator_IterNext
PyObject * PyUpb_DescriptorIterator_IterNext(PyObject *_self)
Definition: descriptor_containers.c:71
PyUpb_ByNumberMap_Values
static PyObject * PyUpb_ByNumberMap_Values(PyObject *_self, PyObject *args)
Definition: descriptor_containers.c:582
PYUPB_MODULE_NAME
#define PYUPB_MODULE_NAME
Definition: upb/python/protobuf.h:43
PyUpb_ByNameMap_Methods
static PyMethodDef PyUpb_ByNameMap_Methods[]
Definition: descriptor_containers.c:448
PyUpb_ByNameMap_AssignSubscript
static int PyUpb_ByNameMap_AssignSubscript(PyObject *self, PyObject *key, PyObject *value)
Definition: descriptor_containers.c:317
PyUpb_DescriptorIterator_Slots
static PyType_Slot PyUpb_DescriptorIterator_Slots[]
Definition: descriptor_containers.c:80
PyUpb_ByNumberMap_Length
static Py_ssize_t PyUpb_ByNumberMap_Length(PyObject *_self)
Definition: descriptor_containers.c:508
PyUpb_DescriptorIterator_Dealloc
static void PyUpb_DescriptorIterator_Dealloc(PyObject *_self)
Definition: descriptor_containers.c:51
PyUpb_ByNameMap_Length
static Py_ssize_t PyUpb_ByNameMap_Length(PyObject *_self)
Definition: descriptor_containers.c:299
PyUpb_ByNameMap_Subscript
static PyObject * PyUpb_ByNameMap_Subscript(PyObject *_self, PyObject *key)
Definition: descriptor_containers.c:304
PyUpb_ByNumberMap_Get
static PyObject * PyUpb_ByNumberMap_Get(PyObject *_self, PyObject *args)
Definition: descriptor_containers.c:542
PyUpb_GenericSequence_Count
static PyObject * PyUpb_GenericSequence_Count(PyObject *_self, PyObject *item)
Definition: descriptor_containers.c:218
PyUpb_ByNameMap
Definition: descriptor_containers.c:270
PyUpb_DescriptorIterator
Definition: descriptor_containers.c:38
PyUpb_ByNumberMap_Slots
static PyType_Slot PyUpb_ByNumberMap_Slots[]
Definition: descriptor_containers.c:669
PyUpb_ByNameMap_Contains
static int PyUpb_ByNameMap_Contains(PyObject *_self, PyObject *key)
Definition: descriptor_containers.c:324
PyUpb_ByNumberMap_Dealloc
static void PyUpb_ByNumberMap_Dealloc(PyObject *_self)
Definition: descriptor_containers.c:502


grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:10