Home
last modified time | relevance | path

Searched refs:fromLim (Results 1 – 3 of 3) sorted by relevance

/freebsd-14.2/contrib/expat/lib/
H A Dxmltok.c332 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 Dxmltok.h190 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 Dbasic_tests.c349 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()