/illumos-gate/usr/src/cmd/pools/poolstat/ |
H A D | poolstat_utils.h | 37 #define ZALLOC(nbytes) Zalloc((nbytes)) macro 40 #define NEW0(p) ((p) = ZALLOC((long)sizeof (*(p))))
|
H A D | sa_kstat.c | 153 dst->ks_data = ZALLOC(src->ks_data_size); in kstat_clone() 291 sdp->sd_udata = ZALLOC(sizeof (pset_ud_t)); in update_cpu_list()
|
H A D | poolstat.c | 205 pset_sbag_s.bag = ZALLOC(sizeof (pset_statistic_bag_t)); in main() 644 line = ZALLOC(len); in prt_stat_line() 697 line = ZALLOC(len); in prt_stat_hd() 933 pools = ZALLOC(sizeof (pool_t *) * (i + 1)); in prt_pool_stats()
|
/illumos-gate/usr/src/contrib/zlib/ |
H A D | deflate.c | 300 s = (deflate_state *) ZALLOC(strm, 1, sizeof(deflate_state)); 317 s->window = (Bytef *) ZALLOC(strm, s->w_size, 2*sizeof(Byte)); 318 s->prev = (Posf *) ZALLOC(strm, s->w_size, sizeof(Pos)); 319 s->head = (Posf *) ZALLOC(strm, s->hash_size, sizeof(Pos)); 364 s->pending_buf = (uchf *) ZALLOC(strm, s->lit_bufsize, 4); 1162 ds = (deflate_state *) ZALLOC(dest, 1, sizeof(deflate_state)); 1168 ds->window = (Bytef *) ZALLOC(dest, ds->w_size, 2*sizeof(Byte)); 1169 ds->prev = (Posf *) ZALLOC(dest, ds->w_size, sizeof(Pos)); 1170 ds->head = (Posf *) ZALLOC(dest, ds->hash_size, sizeof(Pos)); 1171 ds->pending_buf = (uchf *) ZALLOC(dest, ds->lit_bufsize, 4);
|
H A D | zutil.h | 263 #define ZALLOC(strm, items, size) \ macro
|
H A D | inflate.c | 217 ZALLOC(strm, 1, sizeof(struct inflate_state)); in inflateInit2_() 392 ZALLOC(strm, 1U << state->wbits, in updatewindow() 1476 ZALLOC(source, 1, sizeof(struct inflate_state)); in inflateCopy() 1481 ZALLOC(source, 1U << state->wbits, sizeof(unsigned char)); in inflateCopy()
|
H A D | infback.c | 54 state = (struct inflate_state FAR *)ZALLOC(strm, 1, in inflateBackInit_()
|
H A D | ChangeLog | 1206 . Replace ZALLOC's in huft_build() with single ZALLOC in inflate_blocks_new() 1207 . ZALLOC the length list in inflate_trees_fixed() instead of using stack 1208 . ZALLOC the value area for huft_build() instead of using stack
|
/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/ |
H A D | zlib.c | 266 #define ZALLOC(strm, items, size) \ macro 900 s = (deflate_state *) ZALLOC(strm, 1, sizeof (deflate_state)); 916 s->window = (Bytef *) ZALLOC(strm, s->w_size, 2*sizeof (Byte)); 917 s->prev = (Posf *) ZALLOC(strm, s->w_size, sizeof (Pos)); 918 s->head = (Posf *) ZALLOC(strm, s->hash_size, sizeof (Pos)); 922 overlay = (ushf *) ZALLOC(strm, s->lit_bufsize, sizeof (ush)+2); 1321 ds = (deflate_state *) ZALLOC(dest, 1, sizeof (deflate_state)); 1328 ds->window = (Bytef *) ZALLOC(dest, ds->w_size, 2*sizeof (Byte)); 1329 ds->prev = (Posf *) ZALLOC(dest, ds->w_size, sizeof (Pos)); 1330 ds->head = (Posf *) ZALLOC(dest, ds->hash_size, sizeof (Pos)); [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/ |
H A D | zlib.c | 126 #define ZALLOC(strm, items, size) \ macro 618 s = (deflate_state *) ZALLOC(strm, 1, sizeof(deflate_state)); 633 s->window = (Bytef *) ZALLOC(strm, s->w_size, 2*sizeof(Byte)); 634 s->prev = (Posf *) ZALLOC(strm, s->w_size, sizeof(Pos)); 635 s->head = (Posf *) ZALLOC(strm, s->hash_size, sizeof(Pos)); 639 s->pending_buf = (uchf *) ZALLOC(strm, s->lit_bufsize, 2*sizeof(ush)); 2812 ZALLOC(z,1,sizeof(struct internal_state))) == Z_NULL) 3247 if ((s = (inflate_blocks_statef *)ZALLOC 3250 if ((s->window = (Bytef *)ZALLOC(z, 1, w)) == Z_NULL) 3377 if ((s->sub.trees.blens = (uIntf*)ZALLOC(z, t, sizeof(uInt))) == Z_NULL) [all …]
|
/illumos-gate/usr/src/contrib/ast/src/cmd/INIT/ |
H A D | ratz.c | 804 #define ZALLOC(strm, items, size) \ macro 2389 ZALLOC(strm, 1, sizeof(struct inflate_state)); 2554 ZALLOC(strm, ((unsigned int)1) << state->wbits, 3561 ZALLOC(source, 1, sizeof(struct inflate_state)); 3566 ZALLOC(source, ((unsigned int)1) << state->wbits, sizeof(unsigned char));
|