Lines Matching refs:toc_entry
48 static PyObject *get_data(const char *archive, PyObject *toc_entry);
426 PyObject *toc_entry; in zipimporter_get_data() local
451 toc_entry = PyDict_GetItemString(self->files, path); in zipimporter_get_data()
452 if (toc_entry == NULL) { in zipimporter_get_data()
456 return get_data(PyString_AsString(self->archive), toc_entry); in zipimporter_get_data()
475 PyObject *toc_entry; in zipimporter_get_source() local
504 toc_entry = PyDict_GetItemString(self->files, path); in zipimporter_get_source()
505 if (toc_entry != NULL) in zipimporter_get_source()
506 return get_data(PyString_AsString(self->archive), toc_entry); in zipimporter_get_source()
916 get_data(const char *archive, PyObject *toc_entry) in get_data() argument
929 if (!PyArg_ParseTuple(toc_entry, "sHnnlHHI", &datapath, &compress, in get_data()
1180 PyObject *toc_entry; in get_mtime_of_source() local
1185 toc_entry = PyDict_GetItemString(self->files, path); in get_mtime_of_source()
1186 if (toc_entry != NULL && PyTuple_Check(toc_entry) && in get_mtime_of_source()
1187 PyTuple_Size(toc_entry) == 8) { in get_mtime_of_source()
1191 time = PyInt_AsLong(PyTuple_GetItem(toc_entry, 5)); in get_mtime_of_source()
1192 date = PyInt_AsLong(PyTuple_GetItem(toc_entry, 6)); in get_mtime_of_source()
1203 time_t mtime, PyObject *toc_entry) in get_code_from_data() argument
1212 data = get_data(archive, toc_entry); in get_code_from_data()
1216 modpath = PyString_AsString(PyTuple_GetItem(toc_entry, 0)); in get_code_from_data()
1234 PyObject *toc_entry; in get_module_code() local
1253 toc_entry = PyDict_GetItemString(self->files, path); in get_module_code()
1254 if (toc_entry != NULL) { in get_module_code()
1265 toc_entry); in get_module_code()
1274 PyTuple_GetItem(toc_entry, 0)); in get_module_code()