Searched refs:fromLim (Results 1 – 3 of 3) sorted by relevance
| /freebsd-14.2/contrib/expat/lib/ |
| H A D | xmltok.c | 332 for (; fromLim > from; fromLim--, walked++) { in _INTERNAL_trim_to_complete_utf8_characters() 337 fromLim += 4 - 1; in _INTERNAL_trim_to_complete_utf8_characters() 345 fromLim += 3 - 1; in _INTERNAL_trim_to_complete_utf8_characters() 353 fromLim += 2 - 1; in _INTERNAL_trim_to_complete_utf8_characters() 363 *fromLimRef = fromLim; in _INTERNAL_trim_to_complete_utf8_characters() 414 if (fromLim - from < 2) { in utf8_toUtf16() 453 if (from < fromLim) in utf8_toUtf16() 509 if (*fromP == fromLim) in latin1_toUtf8() 628 fromLim = from + (((fromLim - from) >> 1) << 1); /* shrink to even */ \ 705 fromLim = *fromP + (((fromLim - *fromP) >> 1) << 1); /* shrink to even */ \ [all …]
|
| H A D | xmltok.h | 190 const char *fromLim, char **toP, 194 const char *fromLim, 275 #define XmlUtf8Convert(enc, fromP, fromLim, toP, toLim) \ argument 276 (((enc)->utf8Convert)(enc, fromP, fromLim, toP, toLim)) 278 #define XmlUtf16Convert(enc, fromP, fromLim, toP, toLim) \ argument 279 (((enc)->utf16Convert)(enc, fromP, fromLim, toP, toLim))
|
| /freebsd-14.2/contrib/expat/tests/ |
| H A D | basic_tests.c | 349 const char *fromLim = cases[i].input + strlen(cases[i].input); in START_TEST() local 350 const char *const fromLimInitially = fromLim; in START_TEST() 353 _INTERNAL_trim_to_complete_utf8_characters(cases[i].input, &fromLim); in START_TEST() 355 actualMovementInChars = (fromLim - fromLimInitially); in START_TEST()
|