Lines Matching refs:ucs4
57 #include <idn/ucs4.h>
74 unsigned long *ucs4; /* UCS-4 characters */
221 r = idn__unicode_decompose(wb->version, compat, wb->ucs4 + wb->last,
250 wb->ucs4[i]);
262 c = wb->ucs4[i];
266 wb->ucs4[i] = wb->ucs4[i - 1];
269 wb->ucs4[i] = c;
277 unsigned long *ucs4;
287 ucs4 = wb->ucs4;
295 if (!idn__unicode_iscompositecandidate(ver, ucs4[0]))
305 idn__unicode_compose(ver, ucs4[0], ucs4[i],
310 ucs4[0] = c;
330 memcpy(*top, wb->ucs4, sizeof(**top) * wb->cur);
343 wb->ucs4 = wb->ucs4_buf;
349 if (wb->ucs4 != wb->ucs4_buf) {
350 free(wb->ucs4);
359 if (wb->ucs4 == wb->ucs4_buf) {
360 wb->ucs4 = malloc(sizeof(wb->ucs4[0]) * newsize);
363 wb->ucs4 = realloc(wb->ucs4, sizeof(wb->ucs4[0]) * newsize);
366 if (wb->ucs4 == NULL || wb->class == NULL)
378 wb->ucs4[wb->last++] = c;
389 (void)memmove(&wb->ucs4[0], &wb->ucs4[shift],
390 nmove * sizeof(wb->ucs4[0]));
405 wb->ucs4[j] = wb->ucs4[i];