Lines Matching refs:CACHED_KEYS
4764 #define CACHED_KEYS(tp) (((PyHeapTypeObject*)tp)->ht_cached_keys) macro
4778 if ((tp->tp_flags & Py_TPFLAGS_HEAPTYPE) && CACHED_KEYS(tp)) { in PyObject_GenericGetDict()
4779 dictkeys_incref(CACHED_KEYS(tp)); in PyObject_GenericGetDict()
4780 *dictptr = dict = new_dict_with_shared_keys(CACHED_KEYS(tp)); in PyObject_GenericGetDict()
4799 if ((tp->tp_flags & Py_TPFLAGS_HEAPTYPE) && (cached = CACHED_KEYS(tp))) { in _PyObjectDict_SetItem()
4813 if ((cached = CACHED_KEYS(tp)) != NULL) { in _PyObjectDict_SetItem()
4814 CACHED_KEYS(tp) = NULL; in _PyObjectDict_SetItem()
4822 (cached = CACHED_KEYS(tp)) != NULL && in _PyObjectDict_SetItem()
4839 CACHED_KEYS(tp) = make_keys_shared(dict); in _PyObjectDict_SetItem()
4842 CACHED_KEYS(tp) = NULL; in _PyObjectDict_SetItem()
4845 if (CACHED_KEYS(tp) == NULL && PyErr_Occurred()) in _PyObjectDict_SetItem()