Home
last modified time | relevance | path

Searched refs:CDataObject (Results 1 – 5 of 5) sorted by relevance

/third_party/python/Modules/_ctypes/
D_ctypes.c438 StructUnionType_paramfunc(CDataObject *self) in StructUnionType_paramfunc()
595 KeepRef(CDataObject *target, Py_ssize_t index, PyObject *keep);
663 if (-1 == KeepRef((CDataObject *)result, -1, mv)) { in CDataType_from_buffer()
715 memcpy(((CDataObject *)result)->b_ptr, in CDataType_from_buffer_copy()
1038 PyCPointerType_paramfunc(CDataObject *self) in PyCPointerType_paramfunc()
1271 CharArray_set_raw(CDataObject *self, PyObject *value, void *Py_UNUSED(ignored)) in CharArray_set_raw()
1301 CharArray_get_raw(CDataObject *self, void *Py_UNUSED(ignored)) in CharArray_get_raw()
1307 CharArray_get_value(CDataObject *self, void *Py_UNUSED(ignored)) in CharArray_get_value()
1318 CharArray_set_value(CDataObject *self, PyObject *value, void *Py_UNUSED(ignored)) in CharArray_set_value()
1362 WCharArray_get_value(CDataObject *self, void *Py_UNUSED(ignored)) in WCharArray_get_value()
[all …]
Dctypes.h15 typedef struct tagCDataObject CDataObject; typedef
18 typedef PyCArgObject *(* PARAMFUNC)(CDataObject *obj);
48 CDataObject *b_base; /* pointer to base object or NULL */
78 CDataObject *b_base; /* pointer to base object or NULL */
331 CDataObject *base;
Dcallbacks.c109 TryAddRef(StgDictObject *dict, CDataObject *obj) in TryAddRef()
190 CDataObject *obj = (CDataObject *)_PyObject_CallNoArg(cnv); in _CallPythonObject()
Dcallproc.c655 carg = dict->paramfunc((CDataObject *)obj); in ConvParam()
1667 return PyLong_FromSsize_t(((CDataObject *)obj)->b_size); in sizeof_func()
1736 parg->value.p = (char *)((CDataObject *)obj)->b_ptr + offset; in byref()
1755 return PyLong_FromVoidPtr(((CDataObject *)obj)->b_ptr); in addressof()
1798 CDataObject *obj; in resize()
Dcfield.c204 CDataObject *dst; in PyCField_set()
211 dst = (CDataObject *)inst; in PyCField_set()
225 CDataObject *src; in PyCField_get()
235 src = (CDataObject *)inst; in PyCField_get()