Home
last modified time | relevance | path

Searched refs:CFieldObject (Results 1 – 3 of 3) sorted by relevance

/third_party/python/Modules/_ctypes/
Dstgdict.c204 MakeFields(PyObject *type, CFieldObject *descr, in MakeFields()
222 CFieldObject *fdescr; in MakeFields()
223 CFieldObject *new_descr; in MakeFields()
229 fdescr = (CFieldObject *)PyObject_GetAttr(descr->proto, fname); in MakeFields()
251 new_descr = (CFieldObject *)_PyObject_CallNoArg((PyObject *)&PyCField_Type); in MakeFields()
302 CFieldObject *descr = (CFieldObject *)PyObject_GetAttr(type, fname); in MakeAnonFields()
319 if (-1 == MakeFields(type, (CFieldObject *)descr, in MakeAnonFields()
320 ((CFieldObject *)descr)->index, in MakeAnonFields()
321 ((CFieldObject *)descr)->offset)) { in MakeAnonFields()
Dcfield.c29 CFieldObject *obj; in PyCField_new()
30 obj = (CFieldObject *)type->tp_alloc(type, 0); in PyCField_new()
52 CFieldObject *self; in PyCField_FromDesc()
64 self = (CFieldObject *)_PyObject_CallNoArg((PyObject *)&PyCField_Type); in PyCField_FromDesc()
202 PyCField_set(CFieldObject *self, PyObject *inst, PyObject *value) in PyCField_set()
223 PyCField_get(CFieldObject *self, PyObject *inst, PyTypeObject *type) in PyCField_get()
243 return PyLong_FromSsize_t(((CFieldObject *)self)->offset); in PyCField_get_offset()
249 return PyLong_FromSsize_t(((CFieldObject *)self)->size); in PyCField_get_size()
259 PyCField_traverse(CFieldObject *self, visitproc visit, void *arg) in PyCField_traverse()
266 PyCField_clear(CFieldObject *self) in PyCField_clear()
[all …]
Dctypes.h181 } CFieldObject; typedef