Lines Matching refs:zip_uint16_t

45 static time_t _zip_d2u_time(zip_uint16_t, zip_uint16_t);
46 static struct zip_string *_zip_read_string(const unsigned char **, FILE *, zip_uint16_t, int, struc…
47 static struct zip_string *_zip_dirent_process_ef_utf_8(const struct zip_dirent *, zip_uint16_t, str…
48 static struct zip_extra_field *_zip_ef_utf8(zip_uint16_t, struct zip_string *, struct zip_error *);
189 _zip_write2(survivors >= ZIP_UINT16_MAX ? ZIP_UINT16_MAX : (zip_uint16_t)survivors, fp); in _zip_cdir_write()
190 _zip_write2(survivors >= ZIP_UINT16_MAX ? ZIP_UINT16_MAX : (zip_uint16_t)survivors, fp); in _zip_cdir_write()
333 zip_uint16_t dostime, dosdate; in _zip_dirent_read()
335 zip_uint16_t filename_len, comment_len, ef_len; in _zip_dirent_read()
461 zip_uint16_t got_len, needed_len; in _zip_dirent_read()
513 _zip_dirent_process_ef_utf_8(const struct zip_dirent *de, zip_uint16_t id, struct zip_string *str) in _zip_dirent_process_ef_utf_8()
515 zip_uint16_t ef_len; in _zip_dirent_process_ef_utf_8()
541 _zip_dirent_size(FILE *f, zip_uint16_t flags, struct zip_error *error) in _zip_dirent_size()
695 …struct zip_extra_field *ef64 = _zip_ef_new(ZIP_EF_ZIP64, (zip_uint16_t)(ef_zip64_p-ef_zip64), ef_z… in _zip_dirent_write()
710 _zip_write2((zip_uint16_t)de->comp_method, fp); /* TODO: can it be ZIP_CM_DEFAULT? */ in _zip_dirent_write()
731 _zip_write2((zip_uint16_t)de->disk_number, fp); in _zip_dirent_write()
766 _zip_d2u_time(zip_uint16_t dtime, zip_uint16_t ddate) in _zip_d2u_time()
789 _zip_ef_utf8(zip_uint16_t id, struct zip_string *str, struct zip_error *error) in _zip_ef_utf8()
813 ef = _zip_ef_new(id, (zip_uint16_t)(p-data), data, ZIP_EF_BOTH); in _zip_ef_utf8()
848 zip_uint16_t
851 zip_uint16_t ret; in _zip_read2()
853 ret = (zip_uint16_t)((*a)[0]+((*a)[1]<<8)); in _zip_read2()
933 _zip_read_string(const zip_uint8_t **buf, FILE *fp, zip_uint16_t len, int nulp, struct zip_error *e… in _zip_read_string()
975 _zip_write2(zip_uint16_t i, FILE *fp) in _zip_write2()
1016 _zip_u2d_time(time_t time, zip_uint16_t *dtime, zip_uint16_t *ddate) in _zip_u2d_time()
1021 *ddate = (zip_uint16_t)(((tm->tm_year+1900-1980)<<9) + ((tm->tm_mon+1)<<5) + tm->tm_mday); in _zip_u2d_time()
1022 *dtime = (zip_uint16_t)(((tm->tm_hour)<<11) + ((tm->tm_min)<<5) + ((tm->tm_sec)>>1)); in _zip_u2d_time()