Searched refs:stgdict (Results 1 – 6 of 6) sorted by relevance
322 StgDictObject *stgdict, *basedict; in PyCStructUnionType_update_stgdict() local372 stgdict = PyType_stgdict(type); in PyCStructUnionType_update_stgdict()373 if (!stgdict) in PyCStructUnionType_update_stgdict()378 if (stgdict->flags & DICTFLAG_FINAL) {/* is final ? */ in PyCStructUnionType_update_stgdict()384 if (stgdict->format) { in PyCStructUnionType_update_stgdict()385 PyMem_Free(stgdict->format); in PyCStructUnionType_update_stgdict()386 stgdict->format = NULL; in PyCStructUnionType_update_stgdict()389 if (stgdict->ffi_type_pointer.elements) in PyCStructUnionType_update_stgdict()390 PyMem_Free(stgdict->ffi_type_pointer.elements); in PyCStructUnionType_update_stgdict()398 stgdict->ffi_type_pointer.type = FFI_TYPE_STRUCT; in PyCStructUnionType_update_stgdict()[all …]
449 StgDictObject *stgdict; in StructUnionType_paramfunc() local456 stgdict = PyObject_stgdict((PyObject *)self); in StructUnionType_paramfunc()457 assert(stgdict); /* Cannot be NULL for structure/union instances */ in StructUnionType_paramfunc()458 parg->pffi_type = &stgdict->ffi_type_pointer; in StructUnionType_paramfunc()970 PyCPointerType_SetProto(StgDictObject *stgdict, PyObject *proto) in PyCPointerType_SetProto() argument983 Py_XSETREF(stgdict->proto, proto); in PyCPointerType_SetProto()1008 StgDictObject *stgdict; in PyCPointerType_new() local1019 stgdict = (StgDictObject *)PyObject_CallObject( in PyCPointerType_new()1021 if (!stgdict) in PyCPointerType_new()1023 stgdict->size = sizeof(void *); in PyCPointerType_new()[all …]
338 StgDictObject *stgdict, *basedict; in PyCStructUnionType_update_stgdict() local388 stgdict = PyType_stgdict(type); in PyCStructUnionType_update_stgdict()389 if (!stgdict) in PyCStructUnionType_update_stgdict()394 if (stgdict->flags & DICTFLAG_FINAL) {/* is final ? */ in PyCStructUnionType_update_stgdict()400 if (stgdict->format) { in PyCStructUnionType_update_stgdict()401 PyMem_Free(stgdict->format); in PyCStructUnionType_update_stgdict()402 stgdict->format = NULL; in PyCStructUnionType_update_stgdict()405 if (stgdict->ffi_type_pointer.elements) in PyCStructUnionType_update_stgdict()406 PyMem_Free(stgdict->ffi_type_pointer.elements); in PyCStructUnionType_update_stgdict()414 stgdict->ffi_type_pointer.type = FFI_TYPE_STRUCT; in PyCStructUnionType_update_stgdict()[all …]
406 StgDictObject *stgdict; in StructUnionType_paramfunc() local413 stgdict = PyObject_stgdict((PyObject *)self); in StructUnionType_paramfunc()414 assert(stgdict); /* Cannot be NULL for structure/union instances */ in StructUnionType_paramfunc()415 parg->pffi_type = &stgdict->ffi_type_pointer; in StructUnionType_paramfunc()927 PyCPointerType_SetProto(StgDictObject *stgdict, PyObject *proto) in PyCPointerType_SetProto() argument940 Py_XSETREF(stgdict->proto, proto); in PyCPointerType_SetProto()965 StgDictObject *stgdict; in PyCPointerType_new() local976 stgdict = (StgDictObject *)PyObject_CallObject( in PyCPointerType_new()978 if (!stgdict) in PyCPointerType_new()980 stgdict->size = sizeof(void *); in PyCPointerType_new()[all …]
124 SOURCE=..\..\Modules\_ctypes\stgdict.c
873 "Modules/_ctypes/stgdict.c",