Home
last modified time | relevance | path

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

/external/python/cpython2/Modules/_ctypes/
Dstgdict.c322 StgDictObject *stgdict, *basedict; in PyCStructUnionType_update_stgdict() local
372 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 …]
D_ctypes.c449 StgDictObject *stgdict; in StructUnionType_paramfunc() local
456 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() argument
983 Py_XSETREF(stgdict->proto, proto); in PyCPointerType_SetProto()
1008 StgDictObject *stgdict; in PyCPointerType_new() local
1019 stgdict = (StgDictObject *)PyObject_CallObject( in PyCPointerType_new()
1021 if (!stgdict) in PyCPointerType_new()
1023 stgdict->size = sizeof(void *); in PyCPointerType_new()
[all …]
/external/python/cpython3/Modules/_ctypes/
Dstgdict.c338 StgDictObject *stgdict, *basedict; in PyCStructUnionType_update_stgdict() local
388 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 …]
D_ctypes.c406 StgDictObject *stgdict; in StructUnionType_paramfunc() local
413 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() argument
940 Py_XSETREF(stgdict->proto, proto); in PyCPointerType_SetProto()
965 StgDictObject *stgdict; in PyCPointerType_new() local
976 stgdict = (StgDictObject *)PyObject_CallObject( in PyCPointerType_new()
978 if (!stgdict) in PyCPointerType_new()
980 stgdict->size = sizeof(void *); in PyCPointerType_new()
[all …]
/external/python/cpython2/PC/VC6/
D_ctypes.dsp124 SOURCE=..\..\Modules\_ctypes\stgdict.c
/external/python/cpython2/
DAndroid.bp873 "Modules/_ctypes/stgdict.c",