Searched refs:nmemb (Results 1 - 3 of 3) sorted by relevance
/opensolaris-onvv-gate/usr/src/cmd/ssh/libssh/common/ |
H A D | xmalloc.c | 37 xcalloc(size_t nmemb, size_t size) argument 41 if (size == 0 || nmemb == 0) 43 if (SIZE_T_MAX / nmemb < size) 44 fatal("xcalloc: nmemb * size > SIZE_T_MAX"); 45 ptr = calloc(nmemb, size); 48 (u_long)(size * nmemb));
|
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/ |
H A D | pp_sort.c | 181 dynprep(pTHX_ gptr *list1, gptr *list2, size_t nmemb, SVCOMPARE_t cmp) argument 190 last = PINDEX(b, nmemb); 339 S_mergesortsv(pTHX_ gptr *base, size_t nmemb, SVCOMPARE_t cmp) argument 351 if (nmemb <= 1) return; /* sorted trivially */ 352 if (nmemb <= SMALLSORT) aux = small; /* use stack for aux array */ 353 else { New(799,aux,nmemb,gptr); } /* allocate auxilliary array */ 356 stackp->runs = dynprep(aTHX_ base, aux, nmemb, cmp); 1304 S_qsortsv(pTHX_ gptr *list1, size_t nmemb, SVCOMPARE_t cmp) argument 1313 if (nmemb <= 1) return; /* sorted trivially */ 1316 if (nmemb < 1389 Perl_sortsv(pTHX_ SV **array, size_t nmemb, SVCOMPARE_t cmp) argument [all...] |
/opensolaris-onvv-gate/usr/src/uts/common/io/drm/ |
H A D | drm_memory.c | 71 drm_calloc(size_t nmemb, size_t size, int area) argument 73 return (kmem_zalloc(size * nmemb, KM_NOSLEEP));
|
Completed in 122 milliseconds