Lines Matching defs:to
8 * By using this file, you agree to the terms and conditions set forth bellow.
27 * distribution the "Copyright Notice" refers to the following language:
30 * 4. The name of JPNIC may not be used to endorse or promote products
67 * 'idn_ucsset_addrange' are simply appended to the array.
74 unsigned long to;
82 * the first and last element of the range array corresponding to the
92 * Code point to segment index conversion.
94 * Below is the function that maps a code point to the corresponding segment.
125 unsigned long to, char *func_name);
181 unsigned long to)
185 TRACE(("idn_ucsset_addrange(from=U+%lX, to=U+%lX)\n",
186 from, to));
188 return (addrange(ctx, from, to, "idn_ucsset_addrange"));
217 /* If the set is empty, there's nothing to be done. */
226 if (ranges[i].to + 1 >= ranges[j].from) {
228 if (ranges[i].to < ranges[j].to) {
229 ranges[i].to = ranges[j].to;
243 int tidx = SEG_INDEX(ranges[i].to);
281 /* Get the segment 'v' belongs to. */
296 } else if (v > ranges[mid].to) {
308 addrange(idn_ucsset_t ctx, unsigned long from, unsigned long to,
318 } else if (to > UCS_MAX) {
320 func_name, to));
322 } else if (from > to) {
324 func_name, from, to));
330 WARNING(("%s: attempt to add to already fixed object\n",
335 /* Append the specified range to the 'ranges' array. */
348 ctx->ranges[ctx->nranges].to = to;