Lines Matching refs:wchar_t
54 const wchar_t *string;
60 wchar_t reverse[0];
151 newstring (struct Ebl_WStrtab *st, const wchar_t *str, size_t len) in newstring()
164 if (st->left < align + sizeof (struct Ebl_WStrent) + len * sizeof (wchar_t)) in newstring()
167 sizeof (struct Ebl_WStrent) + len * sizeof (wchar_t))) in newstring()
184 st->backp += align + sizeof (struct Ebl_WStrent) + len * sizeof (wchar_t); in newstring()
185 st->left -= align + sizeof (struct Ebl_WStrent) + len * sizeof (wchar_t); in newstring()
221 ebl_wstrtabadd (struct Ebl_WStrtab *st, const wchar_t *str, size_t len) in ebl_wstrtabadd()
299 copystrings (struct Ebl_WStrent *nodep, wchar_t **freep, size_t *offsetp) in copystrings()
309 *offsetp += nodep->len * sizeof (wchar_t); in copystrings()
327 wchar_t *endp; in ebl_wstrtabfinalize()
331 data->d_buf = malloc ((st->total + nulllen) * sizeof (wchar_t)); in ebl_wstrtabfinalize()
338 *((wchar_t *) data->d_buf) = L'\0'; 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()