Home
last modified time | relevance | path

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

/third_party/python/Python/
Dcodecs.c68 if (interp->codec_search_cache != NULL) { in PyCodec_Unregister()
69 assert(PyDict_CheckExact(interp->codec_search_cache)); in PyCodec_Unregister()
70 PyDict_Clear(interp->codec_search_cache); in PyCodec_Unregister()
148 PyObject *result = PyDict_GetItemWithError(interp->codec_search_cache, v); in _PyCodec_Lookup()
199 if (PyDict_SetItem(interp->codec_search_cache, v, result) < 0) { in _PyCodec_Lookup()
1506 interp->codec_search_cache = PyDict_New(); in _PyCodecRegistry_Init()
1507 if (interp->codec_search_cache == NULL) { in _PyCodecRegistry_Init()
Dpystate.c306 Py_CLEAR(interp->codec_search_cache); in interpreter_clear()
/third_party/python/Include/internal/
Dpycore_interp.h253 PyObject *codec_search_cache; member