Home
last modified time | relevance | path

Searched refs:ddate (Results 1 – 2 of 2) sorted by relevance

/PHP-7.0/ext/zip/lib/
H A Dzip_dirent.c808 _zip_d2u_time(zip_uint16_t dtime, zip_uint16_t ddate) in _zip_d2u_time() argument
817 tm.tm_year = ((ddate>>9)&127) + 1980 - 1900; in _zip_d2u_time()
818 tm.tm_mon = ((ddate>>5)&15) - 1; in _zip_d2u_time()
819 tm.tm_mday = ddate&31; in _zip_d2u_time()
899 _zip_u2d_time(time_t intime, zip_uint16_t *dtime, zip_uint16_t *ddate) in _zip_u2d_time() argument
908 *ddate = (zip_uint16_t)(((tm->tm_year+1900-1980)<<9) + ((tm->tm_mon+1)<<5) + tm->tm_mday); in _zip_u2d_time()
/PHP-7.0/ext/phar/
H A Dzip.c125 int dtime = PHAR_GET_16(cdtime), ddate = PHAR_GET_16(cddate); in phar_zip_d2u_time() local
132 tm->tm_year = ((ddate>>9)&127) + 1980 - 1900; in phar_zip_d2u_time()
133 tm->tm_mon = ((ddate>>5)&15) - 1; in phar_zip_d2u_time()
134 tm->tm_mday = ddate&31; in phar_zip_d2u_time()
144 static void phar_zip_u2d_time(time_t time, char *dtime, char *ddate) /* {{{ */ in phar_zip_u2d_time() argument
153 PHAR_SET_16(ddate, cdate); in phar_zip_u2d_time()

Completed in 14 milliseconds