Home
last modified time | relevance | path

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

/external/python/cpython3/Objects/
Ddictobject.c4764 #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()
[all …]