Searched refs:method_cache (Results 1 – 3 of 3) sorted by relevance
34 static struct method_cache_entry method_cache[1 << MCACHE_SIZE_EXP]; variable60 sizeof(method_cache) / 1024); in PyType_ClearCache()64 method_cache[i].version = 0; in PyType_ClearCache()65 Py_CLEAR(method_cache[i].name); in PyType_ClearCache()66 method_cache[i].value = NULL; in PyType_ClearCache()189 method_cache[i].value = NULL; in assign_version_tag()191 Py_XSETREF(method_cache[i].name, Py_None); in assign_version_tag()2539 if (method_cache[h].version == type->tp_version_tag && in _PyType_Lookup()2540 method_cache[h].name == name) { in _PyType_Lookup()2544 return method_cache[h].value; in _PyType_Lookup()[all …]
44 static struct method_cache_entry method_cache[1 << MCACHE_SIZE_EXP]; variable211 sizeof(method_cache) / 1024); in PyType_ClearCache()215 method_cache[i].version = 0; in PyType_ClearCache()216 Py_CLEAR(method_cache[i].name); in PyType_ClearCache()217 method_cache[i].value = NULL; in PyType_ClearCache()342 method_cache[i].value = NULL; in assign_version_tag()344 Py_XSETREF(method_cache[i].name, Py_None); in assign_version_tag()3084 if (method_cache[h].version == type->tp_version_tag && in _PyType_Lookup()3085 method_cache[h].name == name) { in _PyType_Lookup()3089 return method_cache[h].value; in _PyType_Lookup()[all …]
207 method_cache # only for static types