Lines Matching refs:nbytes
69 alloc(size_t nbytes) in alloc() argument
71 size_t rbytes = round(nbytes + ALIGNSIZ, ALIGNSIZ); in alloc()
313 realloc(pp, nbytes) in realloc() argument
315 size_t nbytes;
318 realloc(pp, nbytes)
320 size_t nbytes;
327 return (alloc(nbytes));
328 if ((nbytes == 0) && (pp != NULL))
333 if (blen < nbytes) { /* need to grow */
334 q = alloc(nbytes);
338 } else if (blen == nbytes) { /* do nothing */
341 q = alloc(nbytes);
342 memcpy(q, pp, nbytes);
357 if (sizeof (p) < nbytes) { /* need to grow */
358 q = alloc(nbytes);
362 } else if (sizeof (p) == nbytes) { /* do nothing */
365 q = alloc(nbytes);
366 memcpy(q, pp, nbytes);