Searched refs:sortbuf_allocated (Results 1 - 2 of 2) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libunistring-0.9.3/lib/uninorm/
H A Du-normalize-internal.h32 struct ucs4_with_ccc *sortbuf; /* array of size 2 * sortbuf_allocated */
33 size_t sortbuf_allocated; local
51 sortbuf_allocated = SORTBUF_PREALLOCATED;
304 if (sortbuf_count == sortbuf_allocated)
308 sortbuf_allocated = 2 * sortbuf_allocated;
309 if (sortbuf_allocated < sortbuf_count) /* integer overflow? */
312 (struct ucs4_with_ccc *) malloc (2 * sortbuf_allocated * sizeof (struct ucs4_with_ccc));
H A Duninorm-filter.c46 struct ucs4_with_ccc *sortbuf; /* array of size 2 * sortbuf_allocated */
47 size_t sortbuf_allocated; member in struct:uninorm_filter
68 filter->sortbuf_allocated = SORTBUF_PREALLOCATED;
234 if (sortbuf_count == filter->sortbuf_allocated)
238 filter->sortbuf_allocated = 2 * filter->sortbuf_allocated;
239 if (filter->sortbuf_allocated < sortbuf_count) /* integer overflow? */
243 malloc (2 * filter->sortbuf_allocated * sizeof (struct ucs4_with_ccc));

Completed in 106 milliseconds