HomeSort by: relevance | last modified time | path
    Searched refs:ZALLOC (Results 1 - 6 of 6) sorted by relevancy

  /src/sys/net/
zlib.c 277 #define ZALLOC(strm, items, size) \
278 (*((strm)->zalloc))((strm)->opaque, (items), (size))
833 if (strm->zalloc == Z_NULL) {
834 strm->zalloc = zcalloc;
854 s = (deflate_state *) ZALLOC(strm, 1, sizeof(deflate_state));
869 s->window = (Bytef *) ZALLOC(strm, s->w_size, 2*sizeof(Byte));
870 s->prev = (Posf *) ZALLOC(strm, s->w_size, sizeof(Pos));
871 s->head = (Posf *) ZALLOC(strm, s->hash_size, sizeof(Pos));
875 overlay = (ushf *) ZALLOC(strm, s->lit_bufsize, sizeof(ush)+2);
946 strm->zalloc == Z_NULL || strm->zfree == Z_NULL) return Z_STREAM_ERROR
    [all...]
  /src/common/dist/zlib/
zutil.h 259 #define ZALLOC(strm, items, size) \
260 (*((strm)->zalloc))((strm)->opaque, (items), (size))
deflate.c 395 if (strm->zalloc == (alloc_func)0) {
399 strm->zalloc = zcalloc;
434 s = (deflate_state *) ZALLOC(strm, 1, sizeof(deflate_state));
451 s->window = (Bytef *) ZALLOC(strm, s->w_size, 2*sizeof(Byte));
452 s->prev = (Posf *) ZALLOC(strm, s->w_size, sizeof(Pos));
453 s->head = (Posf *) ZALLOC(strm, s->hash_size, sizeof(Pos));
498 s->pending_buf = (uchf *) ZALLOC(strm, s->lit_bufsize, LIT_BUFS);
534 strm->zalloc == (alloc_func)0 || strm->zfree == (free_func)0)
1302 ds = (deflate_state *) ZALLOC(dest, 1, sizeof(deflate_state));
1308 ds->window = (Bytef *) ZALLOC(dest, ds->w_size, 2*sizeof(Byte))
    [all...]
inflate.c 99 strm->zalloc == (alloc_func)0 || strm->zfree == (free_func)0)
190 if (strm->zalloc == (alloc_func)0) {
194 strm->zalloc = zcalloc;
205 ZALLOC(strm, 1, sizeof(struct inflate_state));
379 ZALLOC(strm, 1U << state->wbits,
1461 ZALLOC(source, 1, sizeof(struct inflate_state));
1466 ZALLOC(source, 1U << state->wbits, sizeof(unsigned char));
infback.c 21 strm provides memory allocation functions in zalloc and zfree, or
39 if (strm->zalloc == (alloc_func)0) {
43 strm->zalloc = zcalloc;
53 state = (struct inflate_state FAR *)ZALLOC(strm, 1,
  /src/common/dist/zlib/contrib/infback9/
infback9.c 14 strm provides memory allocation functions in zalloc and zfree, or
29 if (strm->zalloc == (alloc_func)0) {
30 strm->zalloc = zcalloc;
34 state = (struct inflate_state FAR *)ZALLOC(strm, 1,

Completed in 19 milliseconds