Searched refs:newn (Results 1 – 2 of 2) sorted by relevance
754 size_t newn, len; local759 newn = 2 + pglob->gl_pathc + pglob->gl_offs;762 newn >= INT_MAX ||763 SIZE_MAX / sizeof(*pathv) <= newn ||764 SIZE_MAX / sizeof(*statv) <= newn) {766 for (i = pglob->gl_offs; i < (ssize_t)(newn - 2); i++) {784 pathv = realloc(pglob->gl_pathv, newn * sizeof(*pathv));796 statv = realloc(pglob->gl_statv, newn * sizeof(*statv));838 (newn * sizeof(*pathv)) + limitp->glim_malloc >
407 char newn[MAX_OSPATH]; in CL_ParseDownload() local419 sprintf (newn, "%s/%s", com_gamedir, cls.downloadname); in CL_ParseDownload()422 sprintf (newn, "qw/%s", cls.downloadname); in CL_ParseDownload()424 r = rename (oldn, newn); in CL_ParseDownload()