Home
last modified time | relevance | path

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

/external/python/cpython2/Modules/_ctypes/
Dstgdict.c314 StgDictObject *stgdict, *basedict; in PyCStructUnionType_update_stgdict() local
364 stgdict = PyType_stgdict(type); in PyCStructUnionType_update_stgdict()
365 if (!stgdict) in PyCStructUnionType_update_stgdict()
370 if (stgdict->flags & DICTFLAG_FINAL) {/* is final ? */ in PyCStructUnionType_update_stgdict()
376 if (stgdict->format) { in PyCStructUnionType_update_stgdict()
377 PyMem_Free(stgdict->format); in PyCStructUnionType_update_stgdict()
378 stgdict->format = NULL; in PyCStructUnionType_update_stgdict()
381 if (stgdict->ffi_type_pointer.elements) in PyCStructUnionType_update_stgdict()
382 PyMem_Free(stgdict->ffi_type_pointer.elements); in PyCStructUnionType_update_stgdict()
390 stgdict->ffi_type_pointer.type = FFI_TYPE_STRUCT; in PyCStructUnionType_update_stgdict()
[all …]
D_ctypes.c378 StgDictObject *stgdict; in StructUnionType_paramfunc() local
385 stgdict = PyObject_stgdict((PyObject *)self); in StructUnionType_paramfunc()
386 assert(stgdict); /* Cannot be NULL for structure/union instances */ in StructUnionType_paramfunc()
387 parg->pffi_type = &stgdict->ffi_type_pointer; in StructUnionType_paramfunc()
899 PyCPointerType_SetProto(StgDictObject *stgdict, PyObject *proto) in PyCPointerType_SetProto() argument
912 Py_XSETREF(stgdict->proto, proto); in PyCPointerType_SetProto()
937 StgDictObject *stgdict; in PyCPointerType_new() local
948 stgdict = (StgDictObject *)PyObject_CallObject( in PyCPointerType_new()
950 if (!stgdict) in PyCPointerType_new()
952 stgdict->size = sizeof(void *); in PyCPointerType_new()
[all …]
/external/python/cpython2/PC/VC6/
D_ctypes.dsp124 SOURCE=..\..\Modules\_ctypes\stgdict.c