• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libunistring-0.9.3/lib/uninorm/

Lines Matching refs:sortbuf

46   struct ucs4_with_ccc *sortbuf; /* array of size 2 * sortbuf_allocated */
67 filter->sortbuf = filter->sortbuf_preallocated;
133 /* Cache sortbuf and sortbuf_count in local register variables. */
134 struct ucs4_with_ccc * const sortbuf = filter->sortbuf;
151 gl_uninorm_decompose_merge_sort_inplace (sortbuf, sortbuf_count,
152 sortbuf + sortbuf_count);
162 non-starter, the sortbuf also starts with a
168 2. If the sortbuf has more than one character, check
173 3. If only one character is left in sortbuf, check
176 if (sortbuf_count > 0 && sortbuf[0].ccc == 0)
180 if (sortbuf[j].ccc > sortbuf[j - 1].ccc)
183 filter->composer (sortbuf[0].code, sortbuf[j].code);
188 sortbuf[0].code = combined;
189 /* sortbuf[0].ccc = 0, still valid. */
191 sortbuf[k - 1] = sortbuf[k];
201 filter->composer (sortbuf[0].code, uc);
207 characters. So don't put it into sortbuf[0] in
217 ucs4_t muc = sortbuf[j].code;
229 /* sortbuf is now empty. */
233 /* Append (uc, ccc) to sortbuf. */
244 memcpy (new_sortbuf, filter->sortbuf,
246 if (filter->sortbuf != filter->sortbuf_preallocated)
247 free (filter->sortbuf);
248 filter->sortbuf = new_sortbuf;
250 filter->sortbuf[sortbuf_count].code = uc;
251 filter->sortbuf[sortbuf_count].ccc = ccc;
270 /* Cache sortbuf and sortbuf_count in local register variables. */
271 struct ucs4_with_ccc * const sortbuf = filter->sortbuf;
278 gl_uninorm_decompose_merge_sort_inplace (sortbuf, sortbuf_count,
279 sortbuf + sortbuf_count);
289 non-starter, the sortbuf also starts with a
295 2. If the sortbuf has more than one character, check
300 3. If only one character is left in sortbuf, check
303 if (sortbuf_count > 0 && sortbuf[0].ccc == 0)
307 if (sortbuf[j].ccc > sortbuf[j - 1].ccc)
310 filter->composer (sortbuf[0].code, sortbuf[j].code);
315 sortbuf[0].code = combined;
316 /* sortbuf[0].ccc = 0, still valid. */
318 sortbuf[k - 1] = sortbuf[k];
330 ucs4_t muc = sortbuf[j].code;
342 /* sortbuf is now empty. */
362 if (filter->sortbuf != filter->sortbuf_preallocated)
363 free (filter->sortbuf);