Lines Matching refs:dk_refcnt
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()
4351 if (cached->dk_refcnt == 1) { in _PyObjectDict_SetItem()