Lines Matching refs:fromLim

370   const char * fromLim = *fromLimRef;  in _INTERNAL_trim_to_complete_utf8_characters()  local
372 for (; fromLim > from; fromLim--, walked++) { in _INTERNAL_trim_to_complete_utf8_characters()
373 const unsigned char prev = (unsigned char)fromLim[-1]; in _INTERNAL_trim_to_complete_utf8_characters()
376 fromLim += 4 - 1; in _INTERNAL_trim_to_complete_utf8_characters()
383 fromLim += 3 - 1; in _INTERNAL_trim_to_complete_utf8_characters()
390 fromLim += 2 - 1; in _INTERNAL_trim_to_complete_utf8_characters()
399 *fromLimRef = fromLim; in _INTERNAL_trim_to_complete_utf8_characters()
404 const char **fromP, const char *fromLim, in utf8_toUtf8() argument
411 const ptrdiff_t bytesAvailable = fromLim - *fromP; in utf8_toUtf8()
414 fromLim = *fromP + bytesStorable; in utf8_toUtf8()
420 const char * const fromLimBefore = fromLim; in utf8_toUtf8()
421 _INTERNAL_trim_to_complete_utf8_characters(*fromP, &fromLim); in utf8_toUtf8()
422 if (fromLim < fromLimBefore) { in utf8_toUtf8()
428 const ptrdiff_t bytesToCopy = fromLim - *fromP; in utf8_toUtf8()
444 const char **fromP, const char *fromLim, in utf8_toUtf16() argument
450 while (from < fromLim && to < toLim) { in utf8_toUtf16()
453 if (fromLim - from < 2) { in utf8_toUtf16()
461 if (fromLim - from < 3) { in utf8_toUtf16()
476 if (fromLim - from < 4) { in utf8_toUtf16()
494 if (from < fromLim) in utf8_toUtf16()
550 const char **fromP, const char *fromLim, in latin1_toUtf8() argument
555 if (*fromP == fromLim) in latin1_toUtf8()
575 const char **fromP, const char *fromLim, in latin1_toUtf16() argument
578 while (*fromP < fromLim && *toP < toLim) in latin1_toUtf16()
581 if ((*toP == toLim) && (*fromP < fromLim)) in latin1_toUtf16()
613 const char **fromP, const char *fromLim, in ascii_toUtf8() argument
616 while (*fromP < fromLim && *toP < toLim) in ascii_toUtf8()
619 if ((*toP == toLim) && (*fromP < fromLim)) in ascii_toUtf8()
671 const char **fromP, const char *fromLim, \
675 fromLim = from + (((fromLim - from) >> 1) << 1); /* shrink to even */ \
676 for (; from < fromLim; from += 2) { \
716 if (fromLim - from < 4) { \
734 if (from < fromLim) \
743 const char **fromP, const char *fromLim, \
747 fromLim = *fromP + (((fromLim - *fromP) >> 1) << 1); /* shrink to even */ \
749 if (fromLim - *fromP > ((toLim - *toP) << 1) \
750 && (GET_HI(fromLim - 2) & 0xF8) == 0xD8) { \
751 fromLim -= 2; \
754 for (; *fromP < fromLim && *toP < toLim; *fromP += 2) \
756 if ((*toP == toLim) && (*fromP < fromLim)) \
1444 const char **fromP, const char *fromLim, in unknown_toUtf8() argument
1452 if (*fromP == fromLim) in unknown_toUtf8()
1477 const char **fromP, const char *fromLim, in unknown_toUtf16() argument
1481 while (*fromP < fromLim && *toP < toLim) { in unknown_toUtf16()
1494 if ((*toP == toLim) && (*fromP < fromLim)) in unknown_toUtf16()