Home | History | Annotate | Download | only in zlib

Lines Matching refs:items

220 voidpf ZLIB_INTERNAL zcalloc (voidpf opaque, unsigned items, unsigned size)
223 ulg bsize = (ulg)items*size;
279 voidpf ZLIB_INTERNAL zcalloc (voidpf opaque, uInt items, uInt size)
282 return _halloc((long)items, size);
300 extern voidp calloc OF((uInt items, uInt size));
304 voidpf ZLIB_INTERNAL zcalloc (opaque, items, size)
306 unsigned items;
309 if (opaque) items += size - size; /* make compiler happy */
310 return sizeof(uInt) > 2 ? (voidpf)malloc(items * size) :
311 (voidpf)calloc(items, size);