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