Home
last modified time | relevance | path

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

/third_party/python/Python/
Dcodecs.c37 if (interp->codec_search_path == NULL && _PyCodecRegistry_Init()) in PyCodec_Register()
47 return PyList_Append(interp->codec_search_path, search_function); in PyCodec_Register()
57 PyObject *codec_search_path = interp->codec_search_path; in PyCodec_Unregister() local
59 if (codec_search_path == NULL) { in PyCodec_Unregister()
63 assert(PyList_CheckExact(codec_search_path)); in PyCodec_Unregister()
64 Py_ssize_t n = PyList_GET_SIZE(codec_search_path); in PyCodec_Unregister()
66 PyObject *item = PyList_GET_ITEM(codec_search_path, i); in PyCodec_Unregister()
72 return PyList_SetSlice(codec_search_path, i, i+1, NULL); in PyCodec_Unregister()
134 if (interp->codec_search_path == NULL && _PyCodecRegistry_Init()) { in _PyCodec_Lookup()
159 const Py_ssize_t len = PyList_Size(interp->codec_search_path); in _PyCodec_Lookup()
[all …]
Dpystate.c305 Py_CLEAR(interp->codec_search_path); in interpreter_clear()
/third_party/python/Include/internal/
Dpycore_interp.h252 PyObject *codec_search_path; member