Home
last modified time | relevance | path

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

/external/elfutils/libebl/
Deblstrtab.c333 size_t nulllen = st->nullstr ? 1 : 0; in ebl_strtabfinalize() local
336 data->d_buf = malloc (st->total + nulllen); in ebl_strtabfinalize()
346 data->d_size = st->total + nulllen; in ebl_strtabfinalize()
353 char *endp = (char *) data->d_buf + nulllen; in ebl_strtabfinalize()
354 size_t copylen = nulllen; in ebl_strtabfinalize()
356 assert (copylen == st->total + nulllen); in ebl_strtabfinalize()
Deblwstrtab.c349 size_t nulllen = st->nullstr ? 1 : 0; in ebl_wstrtabfinalize() local
352 data->d_buf = malloc ((st->total + nulllen) * sizeof (wchar_t)); in ebl_wstrtabfinalize()
362 data->d_size = st->total + nulllen; in ebl_wstrtabfinalize()
369 endp = (wchar_t *) data->d_buf + nulllen; in ebl_wstrtabfinalize()
370 copylen = sizeof (wchar_t) * nulllen; in ebl_wstrtabfinalize()
372 assert (copylen == (st->total + nulllen) * sizeof (wchar_t)); in ebl_wstrtabfinalize()
Deblgstrtab.c355 size_t nulllen = st->nullstr ? st->width : 0; in ebl_gstrtabfinalize() local
358 data->d_buf = malloc (st->total + nulllen); in ebl_gstrtabfinalize()
368 data->d_size = st->total + nulllen; in ebl_gstrtabfinalize()
375 endp = (char *) data->d_buf + nulllen; in ebl_gstrtabfinalize()
376 copylen = nulllen; in ebl_gstrtabfinalize()
378 assert (copylen == st->total * st->width + nulllen); in ebl_gstrtabfinalize()