Home
last modified time | relevance | path

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

/external/python/cpython3/Objects/
Ddictobject.c4277 #define CACHED_KEYS(tp) (((PyHeapTypeObject*)tp)->ht_cached_keys) macro
4291 if ((tp->tp_flags & Py_TPFLAGS_HEAPTYPE) && CACHED_KEYS(tp)) { in PyObject_GenericGetDict()
4292 DK_INCREF(CACHED_KEYS(tp)); in PyObject_GenericGetDict()
4293 *dictptr = dict = new_dict_with_shared_keys(CACHED_KEYS(tp)); in PyObject_GenericGetDict()
4312 if ((tp->tp_flags & Py_TPFLAGS_HEAPTYPE) && (cached = CACHED_KEYS(tp))) { in _PyObjectDict_SetItem()
4326 if ((cached = CACHED_KEYS(tp)) != NULL) { in _PyObjectDict_SetItem()
4327 CACHED_KEYS(tp) = NULL; in _PyObjectDict_SetItem()
4335 (cached = CACHED_KEYS(tp)) != NULL && in _PyObjectDict_SetItem()
4352 CACHED_KEYS(tp) = make_keys_shared(dict); in _PyObjectDict_SetItem()
4355 CACHED_KEYS(tp) = NULL; in _PyObjectDict_SetItem()
[all …]