Lines Matching refs:wchar_t
39 const wchar_t *string;
45 wchar_t reverse[0];
136 newstring (struct Ebl_WStrtab *st, const wchar_t *str, size_t len) in newstring()
149 if (st->left < align + sizeof (struct Ebl_WStrent) + len * sizeof (wchar_t)) in newstring()
152 sizeof (struct Ebl_WStrent) + len * sizeof (wchar_t))) in newstring()
169 st->backp += align + sizeof (struct Ebl_WStrent) + len * sizeof (wchar_t); in newstring()
170 st->left -= align + sizeof (struct Ebl_WStrent) + len * sizeof (wchar_t); in newstring()
206 ebl_wstrtabadd (struct Ebl_WStrtab *st, const wchar_t *str, size_t len) in ebl_wstrtabadd()
284 copystrings (struct Ebl_WStrent *nodep, wchar_t **freep, size_t *offsetp) in copystrings()
294 *offsetp += nodep->len * sizeof (wchar_t); in copystrings()
312 wchar_t *endp; in ebl_wstrtabfinalize()
316 data->d_buf = malloc ((st->total + nulllen) * sizeof (wchar_t)); in ebl_wstrtabfinalize()
323 *((wchar_t *) data->d_buf) = L'\0'; 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()