Searched refs:cd (Results 1 – 1 of 1) sorted by relevance
224 unsigned char* cd = img+cdoffset; in ReadZip() local226 if (!(cd[0] == 0x50 && cd[1] == 0x4b && cd[2] == 0x01 && cd[3] == 0x02)) { in ReadZip()231 int clen = Read4(cd+20); // compressed len in ReadZip()232 int ulen = Read4(cd+24); // uncompressed len in ReadZip()233 int nlen = Read2(cd+28); // filename len in ReadZip()234 int xlen = Read2(cd+30); // extra field len in ReadZip()235 int mlen = Read2(cd+32); // file comment len in ReadZip()236 int hoffset = Read4(cd+42); // local header offset in ReadZip()239 memcpy(filename, cd+46, nlen); in ReadZip()242 int method = Read2(cd+10); in ReadZip()[all …]