Lines Matching defs:timestruct
104 struct tm timestruct, *tnow;
392 timestruct.tm_sec = sec;
393 timestruct.tm_min = min;
394 timestruct.tm_hour = hour;
395 timestruct.tm_mday = day;
396 timestruct.tm_mon = month;
405 timestruct.tm_year = tnow->tm_year - 1;
407 timestruct.tm_year = tnow->tm_year;
410 timestruct.tm_year = year;
411 if (timestruct.tm_year >= 1900)
412 timestruct.tm_year -= 1900;
413 timestruct.tm_wday = 0;
414 timestruct.tm_yday = 0;
415 timestruct.tm_isdst = -1;
416 l->tstamp = mktime (×truct); /* store the time-stamp */
432 struct tm timestruct;
494 timestruct.tm_sec = 0;
495 timestruct.tm_min = min;
496 timestruct.tm_hour = hour;
497 timestruct.tm_mday = day;
498 timestruct.tm_mon = month;
499 timestruct.tm_year = year;
500 timestruct.tm_wday = 0;
501 timestruct.tm_yday = 0;
502 timestruct.tm_isdst = -1;
503 cur.tstamp = mktime (×truct); /* store the time-stamp */
678 struct tm *timestruct;
959 /* Fill tm timestruct according to date-time string. Fractional
964 timestruct = localtime( &timenow );
965 strptime( date_str, "%d-%b-%Y %H:%M:%S", timestruct);
968 timenow = mktime (timestruct);