Lines Matching refs:stb
903 struct stat stb; /* Buffer for stat, if necessary */
920 if (stat(file, &stb) == 0) {
921 if (stb.st_mtime == 0)
922 stb.st_mtime = 1;
928 fprintf(debug_file, " Caching %s for %s\n", Targ_FmtTime(stb.st_mtime),
932 Hash_SetTimeValue(entry, stb.st_mtime);
1063 struct stat stb; /* Buffer for stat, if necessary */
1315 } else if (stat(name, &stb) == 0) {
1316 if (stb.st_mtime == 0)
1317 stb.st_mtime = 1;
1320 fprintf(debug_file, " Caching %s for %s\n", Targ_FmtTime(stb.st_mtime),
1323 Hash_SetTimeValue(entry, stb.st_mtime);
1435 struct stat stb; /* buffer for finding the mod time */
1496 stb.st_mtime = Hash_GetTimeValue(entry);
1497 } else if (stat(fullName, &stb) < 0) {
1503 stb.st_mtime = 0;
1506 if (stb.st_mtime == 0) {
1511 stb.st_mtime = 1;
1514 Hash_SetTimeValue(entry, stb.st_mtime);
1521 gn->mtime = stb.st_mtime;