Lines Matching refs:SWAP_BYTES
66 #define SWAP_BYTES(a) \
69 #define SWAP_BYTES(a) (a)
73 SWAP_BYTES(a & 0xFFFF)
76 SWAP_BYTES((a >> 16) & 0xFFFF);
106 header[0] = (ushort)SWAP_BYTES(0x4B50);
107 header[1] = (ushort)SWAP_BYTES(0x0201);
108 header[2] = (ushort)SWAP_BYTES(0xA);
111 header[3] = (ushort)SWAP_BYTES(0xA);
114 header[4] = ( store ) ? 0x0 : SWAP_BYTES(0x2);
117 header[5] = ( store ) ? 0x0 : SWAP_BYTES(0x08);
136 header[14] = (ushort)SWAP_BYTES(fname_length);
169 header[0] = (ushort)SWAP_BYTES(0x4B50);
170 header[1] = (ushort)SWAP_BYTES(0x0403);
173 header[2] = (ushort)SWAP_BYTES(0xA);
176 header[3] = ( store ) ? 0x0 : SWAP_BYTES(0x2);
179 header[4] = ( store ) ? 0x0 : SWAP_BYTES(0x08);
198 header[13] = (ushort)SWAP_BYTES(fname_length);
217 header[0] = (ushort)SWAP_BYTES(0x4B50);
218 header[1] = (ushort)SWAP_BYTES(0x0605);
223 header[4] = (ushort)SWAP_BYTES(central_directory_count);
224 header[5] = (ushort)SWAP_BYTES(central_directory_count);
232 header [10] = (ushort)SWAP_BYTES((int)mc.len);