Home | History | Annotate | Download | only in applypatch

Lines Matching defs:cd

224   unsigned char* cd = img+cdoffset;
226 if (!(cd[0] == 0x50 && cd[1] == 0x4b && cd[2] == 0x01 && cd[3] == 0x02)) {
231 int clen = Read4(cd+20); // compressed len
232 int ulen = Read4(cd+24); // uncompressed len
233 int nlen = Read2(cd+28); // filename len
234 int xlen = Read2(cd+30); // extra field len
235 int mlen = Read2(cd+32); // file comment len
236 int hoffset = Read4(cd+42); // local header offset
239 memcpy(filename, cd+46, nlen);
242 int method = Read2(cd+10);
244 cd += 46 + nlen + xlen + mlen;
263 xlen = Read2(lh+28); // extra field len; might be different from CD entry?