Home
last modified time | relevance | path

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

12

/external/zlib/patches/
D0003-uninitializedjump.patch8 s->prev = (Posf *) ZALLOC(strm, s->w_size, sizeof(Pos));
13 s->head = (Posf *) ZALLOC(strm, s->hash_size, sizeof(Pos));
D0007-zero-init-deflate-window.patch29 s->window = (Bytef *) ZALLOC(strm,
35 s->prev = (Posf *) ZALLOC(strm, s->w_size, sizeof(Pos));
/external/angle/third_party/zlib/patches/
D0003-uninitializedjump.patch8 s->prev = (Posf *) ZALLOC(strm, s->w_size, sizeof(Pos));
13 s->head = (Posf *) ZALLOC(strm, s->hash_size, sizeof(Pos));
D0007-zero-init-deflate-window.patch29 s->window = (Bytef *) ZALLOC(strm,
35 s->prev = (Posf *) ZALLOC(strm, s->w_size, sizeof(Pos));
/external/rust/crates/libz-sys/src/zlib-ng/arch/s390/
Ddfltcc_common.c62 …return ZALLOC(strm, ALIGN_UP(items * size, 8) + sizeof(struct dfltcc_state), sizeof(unsigned char)… in dfltcc_alloc_state()
78 p = ZALLOC(strm, sizeof(void *) + items * size + PAGE_ALIGN, sizeof(unsigned char)); in dfltcc_alloc_window()
/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()
/external/libwebsockets/win32port/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);
962 ds = (deflate_state *) ZALLOC(dest, 1, sizeof(deflate_state));
968 ds->window = (Bytef *) ZALLOC(dest, ds->w_size, 2*sizeof(Byte));
969 ds->prev = (Posf *) ZALLOC(dest, ds->w_size, sizeof(Pos));
970 ds->head = (Posf *) ZALLOC(dest, ds->hash_size, sizeof(Pos));
971 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));
/external/zlib/
Ddeflate.c300 s = (deflate_state *) ZALLOC(strm, 1, sizeof(deflate_state));
321 s->window = (Bytef *) ZALLOC(strm,
327 s->prev = (Posf *) ZALLOC(strm, s->w_size, sizeof(Pos));
332 s->head = (Posf *) ZALLOC(strm, s->hash_size, sizeof(Pos));
376 s->pending_buf = (uchf *) ZALLOC(strm, s->lit_bufsize, 4);
1168 ds = (deflate_state *) ZALLOC(dest, 1, sizeof(deflate_state));
1174 ds->window = (Bytef *) ZALLOC(dest, ds->w_size, 2*sizeof(Byte));
1175 ds->prev = (Posf *) ZALLOC(dest, ds->w_size, sizeof(Pos));
1176 ds->head = (Posf *) ZALLOC(dest, ds->hash_size, sizeof(Pos));
1177 ds->pending_buf = (uchf *) ZALLOC(dest, ds->lit_bufsize, 4);
Dzutil.h277 #define ZALLOC(strm, items, size) \ macro
Dinflate.c224 ZALLOC(strm, 1, sizeof(struct inflate_state));
410 ZALLOC(strm, 1U << state->wbits,
1479 ZALLOC(source, 1, sizeof(struct inflate_state));
1484 ZALLOC(source, 1U << state->wbits, sizeof(unsigned char));
/external/python/cpython2/Modules/zlib/
Ddeflate.c304 s = (deflate_state *) ZALLOC(strm, 1, sizeof(deflate_state));
321 s->window = (Bytef *) ZALLOC(strm, s->w_size, 2*sizeof(Byte));
322 s->prev = (Posf *) ZALLOC(strm, s->w_size, sizeof(Pos));
323 s->head = (Posf *) ZALLOC(strm, s->hash_size, sizeof(Pos));
329 overlay = (ushf *) ZALLOC(strm, s->lit_bufsize, sizeof(ush)+2);
1122 ds = (deflate_state *) ZALLOC(dest, 1, sizeof(deflate_state));
1128 ds->window = (Bytef *) ZALLOC(dest, ds->w_size, 2*sizeof(Byte));
1129 ds->prev = (Posf *) ZALLOC(dest, ds->w_size, sizeof(Pos));
1130 ds->head = (Posf *) ZALLOC(dest, ds->hash_size, sizeof(Pos));
1131 overlay = (ushf *) ZALLOC(dest, ds->lit_bufsize, sizeof(ush)+2);
Dzutil.h262 #define ZALLOC(strm, items, size) \ macro
/external/rust/crates/libz-sys/src/zlib/
Ddeflate.c304 s = (deflate_state *) ZALLOC(strm, 1, sizeof(deflate_state));
321 s->window = (Bytef *) ZALLOC(strm, s->w_size, 2*sizeof(Byte));
322 s->prev = (Posf *) ZALLOC(strm, s->w_size, sizeof(Pos));
323 s->head = (Posf *) ZALLOC(strm, s->hash_size, sizeof(Pos));
329 overlay = (ushf *) ZALLOC(strm, s->lit_bufsize, sizeof(ush)+2);
1122 ds = (deflate_state *) ZALLOC(dest, 1, sizeof(deflate_state));
1128 ds->window = (Bytef *) ZALLOC(dest, ds->w_size, 2*sizeof(Byte));
1129 ds->prev = (Posf *) ZALLOC(dest, ds->w_size, sizeof(Pos));
1130 ds->head = (Posf *) ZALLOC(dest, ds->hash_size, sizeof(Pos));
1131 overlay = (ushf *) ZALLOC(dest, ds->lit_bufsize, sizeof(ush)+2);
Dzutil.h262 #define ZALLOC(strm, items, size) \ macro
/external/angle/third_party/zlib/
Ddeflate.c300 s = (deflate_state *) ZALLOC(strm, 1, sizeof(deflate_state));
321 s->window = (Bytef *) ZALLOC(strm,
327 s->prev = (Posf *) ZALLOC(strm, s->w_size, sizeof(Pos));
332 s->head = (Posf *) ZALLOC(strm, s->hash_size, sizeof(Pos));
376 s->pending_buf = (uchf *) ZALLOC(strm, s->lit_bufsize, 4);
1168 ds = (deflate_state *) ZALLOC(dest, 1, sizeof(deflate_state));
1174 ds->window = (Bytef *) ZALLOC(dest, ds->w_size, 2*sizeof(Byte));
1175 ds->prev = (Posf *) ZALLOC(dest, ds->w_size, sizeof(Pos));
1176 ds->head = (Posf *) ZALLOC(dest, ds->hash_size, sizeof(Pos));
1177 ds->pending_buf = (uchf *) ZALLOC(dest, ds->lit_bufsize, 4);
Dzutil.h277 #define ZALLOC(strm, items, size) \ macro
/external/rust/crates/libz-sys/src/zlib-ng/
Ddeflate.c70 # define ZALLOC_STATE(strm, items, size) ZALLOC(strm, items, size)
74 # define ZALLOC_WINDOW(strm, items, size) ZALLOC(strm, items, size)
328 s->prev = (Pos *) ZALLOC(strm, s->w_size, sizeof(Pos)); in PREFIX()
330 s->head = (Pos *) ZALLOC(strm, HASH_SIZE, sizeof(Pos)); in PREFIX()
375 s->pending_buf = (unsigned char *) ZALLOC(strm, s->lit_bufsize, 4); in PREFIX()
1112 ds->prev = (Pos *) ZALLOC(dest, ds->w_size, sizeof(Pos)); in PREFIX()
1113 ds->head = (Pos *) ZALLOC(dest, HASH_SIZE, sizeof(Pos)); in PREFIX()
1114 ds->pending_buf = (unsigned char *) ZALLOC(dest, ds->lit_bufsize, 4); in PREFIX()
Dzutil.h169 #define ZALLOC(strm, items, size) (*((strm)->zalloc))((strm)->opaque, (items), (size)) macro
/external/angle/third_party/zlib/contrib/optimizations/
Dinflate.c225 ZALLOC(strm, 1, sizeof(struct inflate_state));
412 ZALLOC(strm, wsize + CHUNKCOPY_CHUNK_SIZE,
1499 ZALLOC(source, 1, sizeof(struct inflate_state));
1504 ZALLOC(source, 1U << state->wbits, sizeof(unsigned char));
/external/zlib/contrib/optimizations/
Dinflate.c225 ZALLOC(strm, 1, sizeof(struct inflate_state));
412 ZALLOC(strm, wsize + CHUNKCOPY_CHUNK_SIZE,
1499 ZALLOC(source, 1, sizeof(struct inflate_state));
1504 ZALLOC(source, 1U << state->wbits, sizeof(unsigned char));

12