Home
last modified time | relevance | path

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

/external/python/cpython2/Modules/
Dzipimport.c44 static PyObject *zip_directory_cache = NULL; variable
129 files = PyDict_GetItemString(zip_directory_cache, path); in zipimporter_init()
134 if (PyDict_SetItemString(zip_directory_cache, path, in zipimporter_init()
1344 zip_directory_cache = PyDict_New(); in initzipimport()
1345 if (zip_directory_cache == NULL) in initzipimport()
1347 Py_INCREF(zip_directory_cache); in initzipimport()
1349 zip_directory_cache) < 0) in initzipimport()
/external/python/cpython3/Modules/
Dzipimport.c49 static PyObject *zip_directory_cache = NULL; variable
130 files = PyDict_GetItem(zip_directory_cache, filename); in zipimporter_init()
135 if (PyDict_SetItem(zip_directory_cache, filename, files) != 0) in zipimporter_init()
1580 zip_directory_cache = PyDict_New(); in PyInit_zipimport()
1581 if (zip_directory_cache == NULL) in PyInit_zipimport()
1583 Py_INCREF(zip_directory_cache); in PyInit_zipimport()
1585 zip_directory_cache) < 0) in PyInit_zipimport()