Home
last modified time | relevance | path

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

/third_party/python/Modules/
D_zoneinfo.c273 PyObject *weak_cache = get_weak_cache(type); in zoneinfo_new() local
274 instance = PyObject_CallMethod(weak_cache, "get", "O", key, Py_None); in zoneinfo_new()
287 PyObject_CallMethod(weak_cache, "setdefault", "OO", key, tmp); in zoneinfo_new()
407 PyObject *weak_cache = get_weak_cache(type); in zoneinfo_clear_cache() local
410 PyObject *rv = PyObject_CallMethod(weak_cache, "clear", NULL); in zoneinfo_clear_cache()
438 PyObject *tmp = PyObject_CallMethodObjArgs(weak_cache, pop, item, in zoneinfo_clear_cache()
2496 PyObject *weak_cache = in new_weak_cache() local
2499 return weak_cache; in new_weak_cache()
2534 PyObject *weak_cache = new_weak_cache(); in zoneinfo_init_subclass() local
2535 if (weak_cache == NULL) { in zoneinfo_init_subclass()
[all …]