Lines Matching defs:WRITE_16
21 #define WRITE_16(buff, n) do { \
26 WRITE_16((unsigned char*)(buff), (n) & 0xffff); \
27 WRITE_16((unsigned char*)(buff) + 2, (n) >> 16); \
153 WRITE_16(header + 4, version);
154 WRITE_16(header + 6, version);
155 WRITE_16(header + 8, gpflag);
156 WRITE_16(header + 10, method);
157 WRITE_16(header + 12, filetime);
158 WRITE_16(header + 14, filedate);
162 WRITE_16(header + 28, fnsize);
163 WRITE_16(header + 30, extsize);
164 WRITE_16(header + 32, comsize);
165 WRITE_16(header + 34, 0); /* disk # */
166 WRITE_16(header + 36, 0); /* int attrb */
231 WRITE_16(header + 4, 0); /* disk # */
232 WRITE_16(header + 6, 0); /* disk # */
233 WRITE_16(header + 8, entriesZip); /* hack */
234 WRITE_16(header + 10, entriesZip); /* hack */
237 WRITE_16(header + 20, comsize); /* comment */