Searched refs:fromLim (Results 1 – 3 of 3) sorted by relevance
| /freebsd-12.1/contrib/expat/lib/ |
| H A D | xmltok.c | 337 for (; fromLim > from; fromLim--, walked++) { in align_limit_to_full_utf8_characters() 341 fromLim += 4 - 1; in align_limit_to_full_utf8_characters() 348 fromLim += 3 - 1; in align_limit_to_full_utf8_characters() 355 fromLim += 2 - 1; in align_limit_to_full_utf8_characters() 364 *fromLimRef = fromLim; in align_limit_to_full_utf8_characters() 503 if (*fromP == fromLim) in latin1_toUtf8() 623 fromLim = from + (((fromLim - from) >> 1) << 1); /* shrink to even */ \ 682 if (from < fromLim) \ 695 fromLim = *fromP + (((fromLim - *fromP) >> 1) << 1); /* shrink to even */ \ 699 fromLim -= 2; \ [all …]
|
| H A D | xmltok.h | 169 const char *fromLim, 174 const char *fromLim, 261 #define XmlUtf8Convert(enc, fromP, fromLim, toP, toLim) \ argument 262 (((enc)->utf8Convert)(enc, fromP, fromLim, toP, toLim)) 264 #define XmlUtf16Convert(enc, fromP, fromLim, toP, toLim) \ argument 265 (((enc)->utf16Convert)(enc, fromP, fromLim, toP, toLim))
|
| /freebsd-12.1/contrib/expat/tests/ |
| H A D | runtests.c | 410 const char * fromLim = cases[i].input + strlen(cases[i].input); in START_TEST() local 411 const char * const fromLimInitially = fromLim; in START_TEST() 414 align_limit_to_full_utf8_characters(cases[i].input, &fromLim); in START_TEST() 416 actualMovementInChars = (fromLim - fromLimInitially); in START_TEST()
|