Searched refs:dk_refcnt (Results 1 – 2 of 2) sorted by relevance
23 Py_ssize_t dk_refcnt; member
308 #define DK_INCREF(dk) (DK_DEBUG_INCREF ++(dk)->dk_refcnt)309 #define DK_DECREF(dk) if (DK_DEBUG_DECREF (--(dk)->dk_refcnt) == 0) free_keys_object(dk)460 assert(keys->dk_refcnt == 1); in _PyDict_CheckConsistency()542 DK_DEBUG_INCREF dk->dk_refcnt = 1; in new_keys_object()624 assert(orig->ma_keys->dk_refcnt == 1); in clone_combined_dict()1190 assert(oldkeys->dk_refcnt == 1); in dictresize()1220 assert(mp->ma_keys->dk_refcnt == 1); in make_keys_shared()1643 assert(oldkeys->dk_refcnt == 1); in PyDict_Clear()1912 assert(keys->dk_refcnt == 1); in dict_dealloc()3016 if (mp->ma_keys->dk_refcnt == 1) in _PyDict_SizeOf()[all …]