Searched refs:nulllen (Results 1 – 3 of 3) sorted by relevance
313 size_t nulllen = st->nullstr ? 1 : 0; in ebl_strtabfinalize() local316 data->d_buf = malloc (st->total + nulllen); in ebl_strtabfinalize()326 data->d_size = st->total + nulllen; in ebl_strtabfinalize()333 endp = (char *) data->d_buf + nulllen; in ebl_strtabfinalize()334 copylen = nulllen; in ebl_strtabfinalize()336 assert (copylen == st->total + nulllen); in ebl_strtabfinalize()
313 size_t nulllen = st->nullstr ? 1 : 0; in ebl_wstrtabfinalize() local316 data->d_buf = malloc ((st->total + nulllen) * sizeof (wchar_t)); in ebl_wstrtabfinalize()326 data->d_size = st->total + nulllen; in ebl_wstrtabfinalize()333 endp = (wchar_t *) data->d_buf + nulllen; in ebl_wstrtabfinalize()334 copylen = sizeof (wchar_t) * nulllen; in ebl_wstrtabfinalize()336 assert (copylen == (st->total + nulllen) * sizeof (wchar_t)); in ebl_wstrtabfinalize()
324 size_t nulllen = st->nullstr ? st->width : 0; in ebl_gstrtabfinalize() local327 data->d_buf = malloc (st->total + nulllen); in ebl_gstrtabfinalize()337 data->d_size = st->total + nulllen; in ebl_gstrtabfinalize()344 endp = (char *) data->d_buf + nulllen; in ebl_gstrtabfinalize()345 copylen = nulllen; in ebl_gstrtabfinalize()347 assert (copylen == st->total * st->width + nulllen); in ebl_gstrtabfinalize()