• Home
  • Raw
  • Download

Lines Matching refs:toc_entry

53 static PyObject *get_data(PyObject *archive, PyObject *toc_entry);
576 PyObject *toc_entry; in zipimporter_get_data() local
604 toc_entry = PyDict_GetItem(self->files, key); in zipimporter_get_data()
605 if (toc_entry == NULL) { in zipimporter_get_data()
612 return get_data(self->archive, toc_entry); in zipimporter_get_data()
634 PyObject *toc_entry; in zipimporter_get_source() local
666 toc_entry = PyDict_GetItem(self->files, fullpath); in zipimporter_get_source()
668 if (toc_entry != NULL) { in zipimporter_get_source()
670 bytes = get_data(self->archive, toc_entry); in zipimporter_get_source()
1129 get_data(PyObject *archive, PyObject *toc_entry) in get_data() argument
1142 if (!PyArg_ParseTuple(toc_entry, "OHnnlHHI", &datapath, &compress, in get_data()
1403 PyObject *toc_entry, *stripped; in get_mtime_of_source() local
1415 toc_entry = PyDict_GetItem(self->files, stripped); in get_mtime_of_source()
1417 if (toc_entry != NULL && PyTuple_Check(toc_entry) && in get_mtime_of_source()
1418 PyTuple_Size(toc_entry) == 8) { in get_mtime_of_source()
1422 time = PyLong_AsLong(PyTuple_GetItem(toc_entry, 5)); in get_mtime_of_source()
1423 date = PyLong_AsLong(PyTuple_GetItem(toc_entry, 6)); in get_mtime_of_source()
1434 time_t mtime, PyObject *toc_entry) in get_code_from_data() argument
1438 data = get_data(self->archive, toc_entry); in get_code_from_data()
1442 modpath = PyTuple_GetItem(toc_entry, 0); in get_code_from_data()
1457 PyObject *code = NULL, *toc_entry, *subname; in get_module_code() local
1480 toc_entry = PyDict_GetItem(self->files, fullpath); in get_module_code()
1481 if (toc_entry != NULL) { in get_module_code()
1497 toc_entry); in get_module_code()
1505 *p_modpath = PyTuple_GetItem(toc_entry, 0); in get_module_code()