Home
last modified time | relevance | path

Searched refs:new_datalen (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/common/ilstr/
H A Dilstr.c172 size_t new_datalen = ils->ils_datalen; in ilstr_have_space() local
186 while (new_datalen < new_strlen + 1) { in ilstr_have_space()
187 if (chunksz >= SIZE_MAX - new_datalen) { in ilstr_have_space()
191 new_datalen += chunksz; in ilstr_have_space()
195 new_data = kmem_alloc(new_datalen, ils->ils_kmflag); in ilstr_have_space()
197 new_data = malloc(new_datalen); in ilstr_have_space()
214 ils->ils_datalen = new_datalen; in ilstr_have_space()
/illumos-gate/usr/src/cmd/sendmail/db/hash/
H A Dhash_dup.c423 u_int32_t new_datalen, old_len, rectype; local
444 new_datalen = old_len - HKEYDATA_SIZE(0) + add_len;
454 if (ISBIG(hcp, new_datalen) && (old_len > HOFFDUP_SIZE ||
458 if (!ISBIG(hcp, new_datalen) &&
467 new_datalen = ISBIG(hcp, new_datalen) ?
468 HOFFDUP_SIZE : HKEYDATA_SIZE(new_datalen);
481 if (P_FREESPACE(next_pagep) >= new_datalen)
491 if (P_FREESPACE(next_pagep) < new_datalen && (ret =
/illumos-gate/usr/src/lib/libcustr/common/
H A Dcustr.c201 size_t new_datalen = cus->cus_datalen + chunksz; in custr_append_vprintf() local
211 if ((new_data = CUSTR_ALLOC(cus, new_datalen)) == NULL) { in custr_append_vprintf()
229 cus->cus_datalen = new_datalen; in custr_append_vprintf()