Searched refs:items (Results 1 - 11 of 11) sorted by relevance

/darwin-on-arm/xnu/libkern/zlib/
H A Dzutil.c244 voidpf zcalloc (voidpf opaque, unsigned items, unsigned size) argument
247 ulg bsize = (ulg)items*size;
303 voidpf zcalloc (voidpf opaque, unsigned items, unsigned size) argument
306 return _halloc((long)items, size);
324 extern voidp calloc OF((uInt items, uInt size));
328 voidpf zcalloc (opaque, items, size)
330 unsigned items;
333 if (opaque) items += size - size; /* make compiler happy */
334 return sizeof(uInt) > 2 ? (voidpf)malloc(items * size) :
335 (voidpf)calloc(items, siz
[all...]
H A Dzutil.h304 voidpf zcalloc OF((voidpf opaque, unsigned items, unsigned size));
308 #define ZALLOC(strm, items, size) \
309 (*((strm)->zalloc))((strm)->opaque, (items), (size))
/darwin-on-arm/xnu/bsd/hfs/
H A Dhfs_vfsutils.c2598 int items, really_do_it=1; local
2684 items = QF_USERS_PER_GB * (fs_size / GIGABYTE);
2685 if (items < QF_MIN_USERS)
2686 items = QF_MIN_USERS;
2687 else if (items > QF_MAX_USERS)
2688 items = QF_MAX_USERS;
2689 if (!powerof2(items)) {
2690 int x = items;
2691 items = 4;
2694 items
[all...]
H A Dhfs_catalog.h331 int * items,
H A Dhfs_vnops.c4054 * If the parent directories are not the same, AND the two items
4515 int items; local
4521 items = 0;
4687 * items, mark the eofflag, and bail out. Because we won't have done any work, the
4703 error = cat_getdirentries(hfsmp, cp->c_entries, dirhint, uio, ap->a_flags, &items, &eofflag);
4716 index += items;
4718 if (items >= (int)cp->c_entries) {
4733 items += 2;
4734 *ap->a_numdirent = items;
H A Dhfs_catalog.c724 * other items. Also set linkCount to 1 for regular files.
3196 uio_t uio, int flags, int * items, int * eofflag)
3366 *items = state.cbs_index - index;
3195 cat_getdirentries(struct hfsmount *hfsmp, u_int32_t entrycnt, directoryhint_t *dirhint, uio_t uio, int flags, int * items, int * eofflag) argument
/darwin-on-arm/xnu/bsd/netinet6/
H A Dipcomp_core.c151 u_int items,
155 ptr = _MALLOC(items * siz, M_TEMP, M_NOWAIT);
149 deflate_alloc( __unused void *aux, u_int items, u_int siz) argument
/darwin-on-arm/xnu/bsd/net/
H A Dppp_deflate.c97 static void *z_alloc(void *, u_int items, u_int size);
156 z_alloc(notused, items, size)
158 u_int items, size;
162 MALLOC(ptr, void *, items * size, M_DEVBUF, M_NOWAIT);
/darwin-on-arm/xnu/libkern/libkern/
H A Dzlib.h104 typedef voidpf (*alloc_func) OF((voidpf opaque, uInt items, uInt size));
/darwin-on-arm/xnu/bsd/netkey/
H A Dkey.c1998 int ndeep, int nitem, int *items)
2009 idx = items[i];
1997 key_gather_mbuf(struct mbuf *m, const struct sadb_msghdr *mhp, int ndeep, int nitem, int *items) argument
/darwin-on-arm/xnu/libkern/c++/
H A DOSKext.cpp2940 static void * z_alloc(void *, u_int items, u_int size);

Completed in 135 milliseconds