Home | History | Annotate | Download | only in examples

Lines Matching defs:read1

198 #define read1(in) (in->left == 0 ? readmore(in) : 0, \
227 val = read1(in);
228 val += (unsigned)read1(in) << 8;
229 val += (unsigned long)read1(in) << 16;
230 val += (unsigned long)read1(in) << 24;
240 if (read1(in) != 31 || read1(in) != 139) bye(in->name, " not a gzip file");
241 if (read1(in) != 8) bye("unknown compression method in", in->name);
242 flags = read1(in);
246 n = read1(in);
247 n += (unsigned)(read1(in)) << 8;
250 if (flags & 8) while (read1(in) != 0) ;
251 if (flags & 16) while (read1(in) != 0) ;