Lines Matching refs:trailer
294 unsigned char trailer[8];
330 /* Build trailer: 4-byte CRC and 4-byte length. */
331 trailer[0] = (state->crc)&0xff;
332 trailer[1] = (state->crc >> 8)&0xff;
333 trailer[2] = (state->crc >> 16)&0xff;
334 trailer[3] = (state->crc >> 24)&0xff;
335 trailer[4] = (state->total_in)&0xff;
336 trailer[5] = (state->total_in >> 8)&0xff;
337 trailer[6] = (state->total_in >> 16)&0xff;
338 trailer[7] = (state->total_in >> 24)&0xff;
340 /* Add trailer to current block. */
344 memcpy(state->stream.next_out, trailer, tocopy);
359 memcpy(state->stream.next_out, trailer + tocopy, 8-tocopy);