Home
last modified time | relevance | path

Searched refs:itemdict (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Modules/_ctypes/
D_ctypes.c1037 StgDictObject *itemdict = PyType_stgdict(proto); in PyCPointerType_new() local
1040 assert(itemdict); in PyCPointerType_new()
1046 current_format = itemdict->format ? itemdict->format : "B"; in PyCPointerType_new()
1047 if (itemdict->shape != NULL) { in PyCPointerType_new()
1050 itemdict->ndim, itemdict->shape, "&", current_format); in PyCPointerType_new()
1462 StgDictObject *itemdict; in PyCArrayType_new() local
1494 itemdict = PyType_stgdict(proto); in PyCArrayType_new()
1495 if (!itemdict) { in PyCArrayType_new()
1502 assert(itemdict->format); in PyCArrayType_new()
1503 stgdict->format = _ctypes_alloc_format_string(NULL, itemdict->format); in PyCArrayType_new()
[all …]
/external/python/cpython3/Modules/_ctypes/
D_ctypes.c994 StgDictObject *itemdict = PyType_stgdict(proto); in PyCPointerType_new() local
997 assert(itemdict); in PyCPointerType_new()
1003 current_format = itemdict->format ? itemdict->format : "B"; in PyCPointerType_new()
1004 if (itemdict->shape != NULL) { in PyCPointerType_new()
1007 itemdict->ndim, itemdict->shape, "&", current_format); in PyCPointerType_new()
1399 StgDictObject *itemdict; in PyCArrayType_new() local
1445 itemdict = PyType_stgdict(type_attr); in PyCArrayType_new()
1446 if (!itemdict) { in PyCArrayType_new()
1452 assert(itemdict->format); in PyCArrayType_new()
1453 stgdict->format = _ctypes_alloc_format_string(NULL, itemdict->format); in PyCArrayType_new()
[all …]