Lines Matching refs:zip_uint64_t
75 zip_uint64_t start; /* start offset of data to read */
76 zip_uint64_t end; /* end offset of data to read, 0 for up to EOF */
77 zip_uint64_t current; /* current offset */
84 static zip_int64_t read_file(void *state, void *data, zip_uint64_t len, zip_source_cmd_t cmd);
86 static int _zip_fseek_u(FILE *f, zip_uint64_t offset, int whence, zip_error_t *error);
91 zip_source_filep(zip_t *za, FILE *file, zip_uint64_t start, zip_int64_t len) in zip_source_filep()
101 zip_source_filep_create(FILE *file, zip_uint64_t start, zip_int64_t length, zip_error_t *error) in zip_source_filep_create()
113 _zip_source_file_or_p(const char *fname, FILE *file, zip_uint64_t start, zip_int64_t len, const zip… in _zip_source_file_or_p()
138 ctx->end = (len < 0 ? 0 : start+(zip_uint64_t)len); in _zip_source_file_or_p()
222 read_file(void *state, void *data, zip_uint64_t len, zip_source_cmd_t cmd) in read_file()
226 zip_uint64_t n; in read_file()
375 …if (new_current < 0 || (zip_uint64_t)new_current < ctx->start || (ctx->end != 0 && (zip_uint64_t)n… in read_file()
380 ctx->current = (zip_uint64_t)new_current; in read_file()
435 st->size = (zip_uint64_t)fst.st_size; in read_file()
481 _zip_fseek_u(FILE *f, zip_uint64_t offset, int whence, zip_error_t *error) in _zip_fseek_u()