Lines Matching refs:start
41 zip_uint64_t start; member
54 zip_source_window(zip_t *za, zip_source_t *src, zip_uint64_t start, zip_uint64_t len) in zip_source_window() argument
56 return _zip_source_window_new(src, start, len, NULL, &za->error); in zip_source_window()
61 _zip_source_window_new(zip_source_t *src, zip_uint64_t start, zip_uint64_t length, zip_stat_t *st, … in _zip_source_window_new() argument
65 if (src == NULL || start + length < start) { in _zip_source_window_new()
75 ctx->start = start; in _zip_source_window_new()
76 ctx->end = start + length; in _zip_source_window_new()
136 for (n=0; n<ctx->start; n+=(zip_uint64_t)ret) { in window_read()
137 i = (ctx->start-n > sizeof(b) ? sizeof(b) : ctx->start-n); in window_read()
149 ctx->offset = ctx->start; in window_read()
183 …ew_offset = zip_source_seek_compute_offset(ctx->offset - ctx->start, ctx->end - ctx->start, data, … in window_read()
189 ctx->offset = (zip_uint64_t)new_offset + ctx->start; in window_read()
209 return (zip_int64_t)(ctx->offset - ctx->start); in window_read()