Home | History | Annotate | Download | only in examples

Lines Matching refs:read1

196 #define read1(in) (in->left == 0 ? readmore(in) : 0, \
225 val = read1(in);
226 val += (unsigned)read1(in) << 8;
227 val += (unsigned long)read1(in) << 16;
228 val += (unsigned long)read1(in) << 24;
238 if (read1(in) != 31 || read1(in) != 139) bye(in->name, " not a gzip file");
239 if (read1(in) != 8) bye("unknown compression method in", in->name);
240 flags = read1(in);
244 n = read1(in);
245 n += (unsigned)(read1(in)) << 8;
248 if (flags & 8) while (read1(in) != 0) ;
249 if (flags & 16) while (read1(in) != 0) ;