Lines Matching refs:skip
155 /* skip bytes in file */
156 local void bskip(bin *in, unsigned skip)
162 /* easy case -- skip bytes in buffer */
163 if (skip <= in->left) {
164 in->left -= skip;
165 in->next += skip;
169 /* skip what's in buffer, discard buffer contents */
170 skip -= in->left;
174 if (skip > CHUNK) {
177 left = skip & (CHUNK - 1);
181 lseek(in->fd, skip - 1, SEEK_CUR);
187 /* skip the integral chunks, update skip with remainder */
188 lseek(in->fd, skip - left, SEEK_CUR);
189 skip = left;
192 /* read more input and skip remainder */
194 if (skip > in->left)
196 in->left -= skip;
197 in->next += skip;
202 /* skip the gzip header from file in */
216 /* skip modification time, extra flags, and os */
219 /* skip extra field if present */
228 /* skip file name if present */
233 /* skip comment if present */
238 /* skip header crc if present */
290 /* open gzip file and skip header */
430 /* skip command name */