Home
last modified time | relevance | path

Searched refs:ZALLOC (Results 1 – 19 of 19) sorted by relevance

/external/freetype/src/gzip/
Dinftrees.c311 if ((v = (uIntf*)ZALLOC(z, 19, sizeof(uInt))) == Z_NULL) in inflate_trees_bits()
344 if ((v = (uIntf*)ZALLOC(z, 288, sizeof(uInt))) == Z_NULL) in inflate_trees_dynamic()
427 if ((c = (uIntf*)ZALLOC(z, 288, sizeof(uInt))) == Z_NULL) in inflate_trees_fixed()
429 if ((v = (uIntf*)ZALLOC(z, 288, sizeof(uInt))) == Z_NULL) in inflate_trees_fixed()
Dinfblock.c95 if ((s = (inflate_blocks_statef *)ZALLOC in inflate_blocks_new()
99 (inflate_huft *)ZALLOC(z, sizeof(inflate_huft), MANY)) == Z_NULL) in inflate_blocks_new()
104 if ((s->window = (Bytef *)ZALLOC(z, 1, w)) == Z_NULL) in inflate_blocks_new()
229 if ((s->sub.trees.blens = (uIntf*)ZALLOC(z, t, sizeof(uInt))) == Z_NULL) in inflate_blocks()
Dzutil.h210 #define ZALLOC(strm, items, size) \ macro
Dinfcodes.c67 ZALLOC(z,1,sizeof(struct inflate_codes_state))) != Z_NULL) in inflate_codes_new()
Dinflate.c103 ZALLOC(z,1,sizeof(struct internal_state))) == Z_NULL) in inflateInit2_()
/external/syslinux/com32/lib/zlib/
Ddeflate.c265 s = (deflate_state *) ZALLOC(strm, 1, sizeof(deflate_state));
281 s->window = (Bytef *) ZALLOC(strm, s->w_size, 2*sizeof(Byte));
282 s->prev = (Posf *) ZALLOC(strm, s->w_size, sizeof(Pos));
283 s->head = (Posf *) ZALLOC(strm, s->hash_size, sizeof(Pos));
289 overlay = (ushf *) ZALLOC(strm, s->lit_bufsize, sizeof(ush)+2);
950 ds = (deflate_state *) ZALLOC(dest, 1, sizeof(deflate_state));
956 ds->window = (Bytef *) ZALLOC(dest, ds->w_size, 2*sizeof(Byte));
957 ds->prev = (Posf *) ZALLOC(dest, ds->w_size, sizeof(Pos));
958 ds->head = (Posf *) ZALLOC(dest, ds->hash_size, sizeof(Pos));
959 overlay = (ushf *) ZALLOC(dest, ds->lit_bufsize, sizeof(ush)+2);
Dzutil.h269 #define ZALLOC(strm, items, size) \ macro
Dinflate.c188 ZALLOC(strm, 1, sizeof(struct inflate_state));
370 ZALLOC(strm, 1U << state->wbits,
1423 ZALLOC(source, 1, sizeof(struct inflate_state));
1428 ZALLOC(source, 1U << state->wbits, sizeof(unsigned char));
Dinfback.c49 state = (struct inflate_state FAR *)ZALLOC(strm, 1,
/external/pdfium/third_party/zlib_v128/
Ddeflate.c276 s = (deflate_state *) ZALLOC(strm, 1, sizeof(deflate_state)); in deflateInit2_()
292 s->window = (Bytef *) ZALLOC(strm, s->w_size, 2*sizeof(Byte)); in deflateInit2_()
293 s->prev = (Posf *) ZALLOC(strm, s->w_size, sizeof(Pos)); in deflateInit2_()
294 s->head = (Posf *) ZALLOC(strm, s->hash_size, sizeof(Pos)); in deflateInit2_()
300 overlay = (ushf *) ZALLOC(strm, s->lit_bufsize, sizeof(ush)+2); in deflateInit2_()
1033 ds = (deflate_state *) ZALLOC(dest, 1, sizeof(deflate_state)); in deflateCopy()
1039 ds->window = (Bytef *) ZALLOC(dest, ds->w_size, 2*sizeof(Byte)); in deflateCopy()
1040 ds->prev = (Posf *) ZALLOC(dest, ds->w_size, sizeof(Pos)); in deflateCopy()
1041 ds->head = (Posf *) ZALLOC(dest, ds->hash_size, sizeof(Pos)); in deflateCopy()
1042 overlay = (ushf *) ZALLOC(dest, ds->lit_bufsize, sizeof(ush)+2); in deflateCopy()
Dzutil.h246 #define ZALLOC(strm, items, size) \ macro
Dinflate.c209 ZALLOC(strm, 1, sizeof(struct inflate_state)); in inflateInit2_()
392 ZALLOC(strm, 1U << state->wbits, in updatewindow()
1456 ZALLOC(source, 1, sizeof(struct inflate_state)); in inflateCopy()
1461 ZALLOC(source, 1U << state->wbits, sizeof(unsigned char)); in inflateCopy()
Dinfback.c58 state = (struct inflate_state FAR *)ZALLOC(strm, 1, in inflateBackInit_()
/external/zlib/src/
Ddeflate.c277 s = (deflate_state *) ZALLOC(strm, 1, sizeof(deflate_state));
293 s->window = (Bytef *) ZALLOC(strm, s->w_size, 2*sizeof(Byte));
294 s->prev = (Posf *) ZALLOC(strm, s->w_size, sizeof(Pos));
295 s->head = (Posf *) ZALLOC(strm, s->hash_size, sizeof(Pos));
301 overlay = (ushf *) ZALLOC(strm, s->lit_bufsize, sizeof(ush)+2);
1034 ds = (deflate_state *) ZALLOC(dest, 1, sizeof(deflate_state));
1040 ds->window = (Bytef *) ZALLOC(dest, ds->w_size, 2*sizeof(Byte));
1041 ds->prev = (Posf *) ZALLOC(dest, ds->w_size, sizeof(Pos));
1042 ds->head = (Posf *) ZALLOC(dest, ds->hash_size, sizeof(Pos));
1043 overlay = (ushf *) ZALLOC(dest, ds->lit_bufsize, sizeof(ush)+2);
Dzutil.h244 #define ZALLOC(strm, items, size) \ macro
Dinflate.c209 ZALLOC(strm, 1, sizeof(struct inflate_state));
392 ZALLOC(strm, 1U << state->wbits,
1455 ZALLOC(source, 1, sizeof(struct inflate_state));
1460 ZALLOC(source, 1U << state->wbits, sizeof(unsigned char));
Dinfback.c58 state = (struct inflate_state FAR *)ZALLOC(strm, 1,
DChangeLog1100 . Replace ZALLOC's in huft_build() with single ZALLOC in inflate_blocks_new()
1101 . ZALLOC the length list in inflate_trees_fixed() instead of using stack
1102 . ZALLOC the value area for huft_build() instead of using stack
/external/zlib/src/contrib/infback9/
Dinfback9.c38 state = (struct inflate_state FAR *)ZALLOC(strm, 1,