Home
last modified time | relevance | path

Searched refs:curdate (Results 1 – 4 of 4) sorted by relevance

/external/libcups/scheduler/
Djob.c2186 struct tm curdate; /* Current date */ in cupsdSaveAllJobs() local
2200 localtime_r(&curtime, &curdate); in cupsdSaveAllJobs()
2201 strftime(temp, sizeof(temp) - 1, "%Y-%m-%d %H:%M", &curdate); in cupsdSaveAllJobs()
2314 struct tm curdate; /* Current date */ in cupsdSetJobHoldUntil() local
2384 localtime_r(&curtime, &curdate); in cupsdSetJobHoldUntil()
2386 if (curdate.tm_hour < 18) in cupsdSetJobHoldUntil()
2390 ((29 - curdate.tm_hour) * 60 + 59 - in cupsdSetJobHoldUntil()
2391 curdate.tm_min) * 60 + 60 - curdate.tm_sec; in cupsdSetJobHoldUntil()
2400 localtime_r(&curtime, &curdate); in cupsdSetJobHoldUntil()
2402 if (curdate.tm_hour < 6 || curdate.tm_hour >= 18) in cupsdSetJobHoldUntil()
[all …]
Dclasses.c667 struct tm curdate; /* Current date */ in cupsdSaveAllClasses() local
687 localtime_r(&curtime, &curdate); in cupsdSaveAllClasses()
688 strftime(temp, sizeof(temp) - 1, "%Y-%m-%d %H:%M", &curdate); in cupsdSaveAllClasses()
Dsubscriptions.c1028 struct tm curdate; /* Current date */ in cupsdSaveAllSubscriptions() local
1050 localtime_r(&curtime, &curdate); in cupsdSaveAllSubscriptions()
1051 strftime(temp, sizeof(temp) - 1, "%Y-%m-%d %H:%M", &curdate); in cupsdSaveAllSubscriptions()
Dprinters.c1481 struct tm curdate; /* Current date */ in cupsdSaveAllPrinters() local
1502 localtime_r(&curtime, &curdate); in cupsdSaveAllPrinters()
1503 strftime(temp, sizeof(temp) - 1, "%Y-%m-%d %H:%M", &curdate); in cupsdSaveAllPrinters()