Searched refs:stgdict (Results 1 – 3 of 3) sorted by relevance
343 StgDictObject *stgdict, *basedict; in PyCStructUnionType_update_stgdict() local422 stgdict = PyType_stgdict(type); in PyCStructUnionType_update_stgdict()423 if (!stgdict) in PyCStructUnionType_update_stgdict()428 if (stgdict->flags & DICTFLAG_FINAL) {/* is final ? */ in PyCStructUnionType_update_stgdict()434 if (stgdict->format) { in PyCStructUnionType_update_stgdict()435 PyMem_Free(stgdict->format); in PyCStructUnionType_update_stgdict()436 stgdict->format = NULL; in PyCStructUnionType_update_stgdict()439 if (stgdict->ffi_type_pointer.elements) in PyCStructUnionType_update_stgdict()440 PyMem_Free(stgdict->ffi_type_pointer.elements); in PyCStructUnionType_update_stgdict()444 stgdict->flags |= (basedict->flags & in PyCStructUnionType_update_stgdict()[all …]
442 StgDictObject *stgdict; in StructUnionType_paramfunc() local476 stgdict = PyObject_stgdict((PyObject *)self); in StructUnionType_paramfunc()477 assert(stgdict); /* Cannot be NULL for structure/union instances */ in StructUnionType_paramfunc()478 parg->pffi_type = &stgdict->ffi_type_pointer; in StructUnionType_paramfunc()1020 PyCPointerType_SetProto(StgDictObject *stgdict, PyObject *proto) in PyCPointerType_SetProto() argument1033 Py_XSETREF(stgdict->proto, proto); in PyCPointerType_SetProto()1058 StgDictObject *stgdict; in PyCPointerType_new() local1070 stgdict = (StgDictObject *)_PyObject_CallNoArg( in PyCPointerType_new()1072 if (!stgdict) in PyCPointerType_new()1074 stgdict->size = sizeof(void *); in PyCPointerType_new()[all …]
509 Modules/_ctypes/stgdict.c - PyCStgDict_methods -2269 Modules/_ctypes/stgdict.c - PyCStgDict_Type -2622 Modules/_ctypes/stgdict.c MakeAnonFields PyId__anonymous_ -2623 Modules/_ctypes/stgdict.c PyCStructUnionType_update_stgdict PyId__swappedbytes_ -2624 Modules/_ctypes/stgdict.c PyCStructUnionType_update_stgdict PyId__use_broken_old_ctypes_structure_s…2625 Modules/_ctypes/stgdict.c PyCStructUnionType_update_stgdict PyId__pack_ -