Lines Matching defs:sum
31 #define SUM "sum-crc-0xedb88320-init-done"
38 Sfio_t* sum;
53 if (ar->sum)
54 sfdisc(ar->sum, SF_POPDISC);
78 if (!(ar->sum = codexnull()) || codex(ar->sum, NiL, SUM, 0, &ar->codexdisc, NiL) <= 0)
80 ar->sum = 0;
102 Codexdata_t sum;
118 sfsync(ar->sum);
119 sfwrite(ar->sum, buf+2, 5);
132 sfwrite(ar->sum, buf, size);
133 codexdata(ar->sum, &sum);
134 if (paxchecksum(pax, ap, NiL, checksum, sum.num & 0xffff))
215 Codexdata_t sum;
238 if (codexdata(sp, &sum) <= 0)
240 else if (!paxchecksum(pax, ap, f, ar->checksum, sum.num))