Home | History | Annotate | Download | only in libebl

Lines Matching full:wchar_t

75   const wchar_t *string;
81 wchar_t reverse[0];
172 newstring (struct Ebl_WStrtab *st, const wchar_t *str, size_t len)
185 if (st->left < align + sizeof (struct Ebl_WStrent) + len * sizeof (wchar_t))
188 sizeof (struct Ebl_WStrent) + len * sizeof (wchar_t)))
205 st->backp += align + sizeof (struct Ebl_WStrent) + len * sizeof (wchar_t);
206 st->left -= align + sizeof (struct Ebl_WStrent) + len * sizeof (wchar_t);
242 ebl_wstrtabadd (struct Ebl_WStrtab *st, const wchar_t *str, size_t len)
320 copystrings (struct Ebl_WStrent *nodep, wchar_t **freep, size_t *offsetp)
330 *offsetp += nodep->len * sizeof (wchar_t);
348 wchar_t *endp;
352 data->d_buf = malloc ((st->total + nulllen) * sizeof (wchar_t));
359 *((wchar_t *) data->d_buf) = L'\0';
369 endp = (wchar_t *) data->d_buf + nulllen;
370 copylen = sizeof (wchar_t) * nulllen;
372 assert (copylen == (st->total + nulllen) * sizeof (wchar_t));