Lines Matching refs:buf_in
31 char buf_in[1024], buf_out[65536]; in main() local
54 if (read(fd_in, &buf_in, 8) != 8) { in main()
59 if (buf_in[0] != 'C' || buf_in[1] != 'W' || buf_in[2] != 'S') { in main()
69 uncomp_len = buf_in[4] | (buf_in[5] << 8) | (buf_in[6] << 16) | (buf_in[7] << 24); in main()
75 buf_in[0] = 'F'; in main()
76 if (write(fd_out, &buf_in, 8) < 8) { in main()
90 int ret, len = read(fd_in, &buf_in, 1024); in main()
102 zstream.next_in = &buf_in[0]; in main()
135 buf_in[0] = (zstream.total_out + 8) & 0xff; in main()
136 buf_in[1] = ((zstream.total_out + 8) >> 8) & 0xff; in main()
137 buf_in[2] = ((zstream.total_out + 8) >> 16) & 0xff; in main()
138 buf_in[3] = ((zstream.total_out + 8) >> 24) & 0xff; in main()
141 || write(fd_out, &buf_in, 4) < 4) { in main()