Home | History | Annotate | Download | only in examples

Lines Matching defs:out

273     if (gz.buf == NULL) bye("out of memory", "");
282 if (window == NULL) bye("out of memory", "");
287 if (ret != Z_OK) bye("out of memory", " or library mismatch");
312 if (ret == Z_MEM_ERROR) bye("out of memory", "");
369 if (ret != Z_OK) bye("out of memory", "");
392 unsigned char *in, *out;
405 out = malloc(CHUNK);
406 if (in == NULL || out == NULL) bye("out of memory", "");
425 strm->next_out = out;
429 len = write(gd, out + CHUNK - strm->avail_out - left, left);
439 out[0] = (unsigned char)(strm->adler);
440 out[1] = (unsigned char)(strm->adler >> 8);
441 out[2] = (unsigned char)(strm->adler >> 16);
442 out[3] = (unsigned char)(strm->adler >> 24);
443 out[4] = (unsigned char)(strm->total_in);
444 out[5] = (unsigned char)(strm->total_in >> 8);
445 out[6] = (unsigned char)(strm->total_in >> 16);
446 out[7] = (unsigned char)(strm->total_in >> 24);
449 ret = write(gd, out + 8 - len, len);
457 free(out);