Home
last modified time | relevance | path

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

/external/python/cpython2/Objects/
Dtypeobject.c34 static struct method_cache_entry method_cache[1 << MCACHE_SIZE_EXP]; variable
60 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 …]
/external/python/cpython3/Objects/
Dtypeobject.c44 static struct method_cache_entry method_cache[1 << MCACHE_SIZE_EXP]; variable
211 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 …]
/external/python/cpython3/Tools/c-globals/
Dignored-globals.txt207 method_cache # only for static types