Lines Matching refs:seconds
78 time_t seconds; in sldns_mktime_from_utc() local
91 seconds = minutes * 60 + tm->tm_sec; in sldns_mktime_from_utc()
93 return seconds; in sldns_mktime_from_utc()
216 uint32_t seconds = 0; in sldns_str2period() local
229 return seconds; in sldns_str2period()
236 return seconds; in sldns_str2period()
241 if(seconds > maxint-i) { in sldns_str2period()
245 seconds += i; in sldns_str2period()
250 if(i > maxint/60 || seconds > maxint-(i*60)) { in sldns_str2period()
254 seconds += i * 60; in sldns_str2period()
259 if(i > maxint/(60*60) || seconds > maxint-(i*60*60)) { in sldns_str2period()
263 seconds += i * 60 * 60; in sldns_str2period()
268 if(i > maxint/(60*60*24) || seconds > maxint-(i*60*60*24)) { in sldns_str2period()
272 seconds += i * 60 * 60 * 24; in sldns_str2period()
277 if(i > maxint/(60*60*24*7) || seconds > maxint-(i*60*60*24*7)) { in sldns_str2period()
281 seconds += i * 60 * 60 * 24 * 7; in sldns_str2period()
302 if(seconds > maxint-i) { in sldns_str2period()
306 seconds += i; in sldns_str2period()
308 return seconds; in sldns_str2period()
311 if(seconds > maxint-i) { in sldns_str2period()
315 seconds += i; in sldns_str2period()
317 return seconds; in sldns_str2period()