Lines Matching refs:unixdate
1684 struct tm unixdate; /* UNIX date/time info */ in ippDateToTime() local
1691 memset(&unixdate, 0, sizeof(unixdate)); in ippDateToTime()
1710 unixdate.tm_year = ((date[0] << 8) | date[1]) - 1900; in ippDateToTime()
1711 unixdate.tm_mon = date[2] - 1; in ippDateToTime()
1712 unixdate.tm_mday = date[3]; in ippDateToTime()
1713 unixdate.tm_hour = date[4]; in ippDateToTime()
1714 unixdate.tm_min = date[5]; in ippDateToTime()
1715 unixdate.tm_sec = date[6]; in ippDateToTime()
1717 t = mktime(&unixdate); in ippDateToTime()
4660 struct tm *unixdate; /* UNIX unixdate/time info */ in ippTimeToDate() local
4682 unixdate = gmtime(&t); in ippTimeToDate()
4683 unixdate->tm_year += 1900; in ippTimeToDate()
4685 date[0] = (ipp_uchar_t)(unixdate->tm_year >> 8); in ippTimeToDate()
4686 date[1] = (ipp_uchar_t)(unixdate->tm_year); in ippTimeToDate()
4687 date[2] = (ipp_uchar_t)(unixdate->tm_mon + 1); in ippTimeToDate()
4688 date[3] = (ipp_uchar_t)unixdate->tm_mday; in ippTimeToDate()
4689 date[4] = (ipp_uchar_t)unixdate->tm_hour; in ippTimeToDate()
4690 date[5] = (ipp_uchar_t)unixdate->tm_min; in ippTimeToDate()
4691 date[6] = (ipp_uchar_t)unixdate->tm_sec; in ippTimeToDate()