Home | History | Annotate | Download | only in Python

Lines Matching defs:mtime

787 check_compiled_module(char *pathname, time_t mtime, char *cpathname)
804 if (pyc_mtime != mtime) {
806 PySys_WriteStderr("# %s has bad mtime\n", cpathname);
929 write_compiled_module(PyCodeObject *co, char *cpathname, struct stat *srcstat, time_t mtime)
952 /* First write a 0 for mtime */
963 /* Now write the true mtime (as a 32-bit field) */
965 assert(mtime <= 0xFFFFFFFF);
966 PyMarshal_WriteLongToFile((long)mtime, fp, Py_MARSHAL_VERSION);
1022 /* Get mtime from file pointer. */
1062 time_t mtime;
1072 mtime = win32_mtime(fp, pathname);
1073 if (mtime == (time_t)-1 && PyErr_Occurred())
1076 mtime = st.st_mtime;
1078 if (sizeof mtime > 4) {
1084 mtime &= 0xFFFFFFFF;
1093 (fpc = check_compiled_module(pathname, mtime, cpathname))) {
1118 write_compiled_module(co, cpathname, &st, mtime);