Home
last modified time | relevance | path

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

/external/python/cpython2/Modules/_ctypes/
D_ctypes.c375 StructUnionType_paramfunc(CDataObject *self) in StructUnionType_paramfunc()
494 KeepRef(CDataObject *target, Py_ssize_t index, PyObject *keep);
542 if (-1 == KeepRef((CDataObject *)result, -1, obj)) { in CDataType_from_buffer()
600 memcpy(((CDataObject *)result)->b_ptr, in CDataType_from_buffer_copy()
917 PyCPointerType_paramfunc(CDataObject *self) in PyCPointerType_paramfunc()
1132 CharArray_set_raw(CDataObject *self, PyObject *value) in CharArray_set_raw()
1175 CharArray_get_raw(CDataObject *self) in CharArray_get_raw()
1181 CharArray_get_value(CDataObject *self) in CharArray_get_value()
1192 CharArray_set_value(CDataObject *self, PyObject *value) in CharArray_set_value()
1243 WCharArray_get_value(CDataObject *self) in WCharArray_get_value()
[all …]
Dctypes.h53 typedef struct tagCDataObject CDataObject; typedef
56 typedef PyCArgObject *(* PARAMFUNC)(CDataObject *obj);
88 CDataObject *b_base; /* pointer to base object or NULL */
118 CDataObject *b_base; /* pointer to base object or NULL */
371 CDataObject *base;
Dcallbacks.c188 TryAddRef(StgDictObject *dict, CDataObject *obj) in TryAddRef()
265 CDataObject *obj = (CDataObject *)PyObject_CallFunctionObjArgs(cnv, NULL); in _CallPythonObject()
Dcallproc.c631 carg = dict->paramfunc((CDataObject *)obj); in ConvParam()
1342 CDataObject *pcom; in call_commethod()
1560 return PyInt_FromSsize_t(((CDataObject *)obj)->b_size); in sizeof_func()
1629 parg->value.p = (char *)((CDataObject *)obj)->b_ptr + offset; in byref()
1641 return PyLong_FromVoidPtr(((CDataObject *)obj)->b_ptr); in addressof()
1733 CDataObject *obj; in resize()
Dcfield.c206 CDataObject *dst; in PyCField_set()
209 dst = (CDataObject *)inst; in PyCField_set()
223 CDataObject *src; in PyCField_get()
229 src = (CDataObject *)inst; in PyCField_get()