Searched refs:nulllen (Results 1 – 3 of 3) sorted by relevance
328 size_t nulllen = st->nullstr ? 1 : 0; in ebl_wstrtabfinalize() local331 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()
317 size_t nulllen = st->nullstr ? 1 : 0; in ebl_strtabfinalize() local320 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()
334 size_t nulllen = st->nullstr ? st->width : 0; in ebl_gstrtabfinalize() local337 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()