Lines Matching defs:seconds
34 static void time2str(char *r, curl_off_t seconds)
37 if(seconds <= 0) {
41 h = seconds / CURL_OFF_T_C(3600);
43 m = (seconds - (h*CURL_OFF_T_C(3600))) / CURL_OFF_T_C(60);
44 s = (seconds - (h*CURL_OFF_T_C(3600))) - (m*CURL_OFF_T_C(60));
51 d = seconds / CURL_OFF_T_C(86400);
52 h = (seconds - (d*CURL_OFF_T_C(86400))) / CURL_OFF_T_C(3600);
250 int countindex; /* amount of seconds stored in the speeder array */
293 here and we expect it to never wrap as 2^32 is a lot of seconds! */
297 array. With N_ENTRIES filled in, we have about N_ENTRIES-1 seconds of
299 after two seconds we've filled in three entries etc. */
303 /* first of all, we don't do this if there's no counted seconds yet */