Home
last modified time | relevance | path

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

/external/elfutils/src/libebl/
Deblwstrtab.c328 size_t nulllen = st->nullstr ? 1 : 0; in ebl_wstrtabfinalize() local
331 data->d_buf = malloc ((st->total + nulllen) * sizeof (wchar_t)); in ebl_wstrtabfinalize()
341 data->d_size = st->total + nulllen; in ebl_wstrtabfinalize()
348 endp = (wchar_t *) data->d_buf + nulllen; in ebl_wstrtabfinalize()
349 copylen = sizeof (wchar_t) * nulllen; in ebl_wstrtabfinalize()
351 assert (copylen == (st->total + nulllen) * sizeof (wchar_t)); in ebl_wstrtabfinalize()
Deblstrtab.c317 size_t nulllen = st->nullstr ? 1 : 0; in ebl_strtabfinalize() local
320 data->d_buf = malloc (st->total + nulllen); in ebl_strtabfinalize()
330 data->d_size = st->total + nulllen; in ebl_strtabfinalize()
337 char *endp = (char *) data->d_buf + nulllen; in ebl_strtabfinalize()
338 size_t copylen = nulllen; in ebl_strtabfinalize()
341 assert (copylen == st->total + nulllen); in ebl_strtabfinalize()
Deblgstrtab.c334 size_t nulllen = st->nullstr ? st->width : 0; in ebl_gstrtabfinalize() local
337 data->d_buf = malloc (st->total + nulllen); in ebl_gstrtabfinalize()
347 data->d_size = st->total + nulllen; in ebl_gstrtabfinalize()
354 endp = (char *) data->d_buf + nulllen; in ebl_gstrtabfinalize()
355 copylen = nulllen; in ebl_gstrtabfinalize()
357 assert (copylen == st->total * st->width + nulllen); in ebl_gstrtabfinalize()