Lines Matching refs:fromLim

367   const char * fromLim = *fromLimRef;  in _INTERNAL_trim_to_complete_utf8_characters()  local
369 for (; fromLim > from; fromLim--, walked++) { in _INTERNAL_trim_to_complete_utf8_characters()
370 const unsigned char prev = (unsigned char)fromLim[-1]; in _INTERNAL_trim_to_complete_utf8_characters()
373 fromLim += 4 - 1; in _INTERNAL_trim_to_complete_utf8_characters()
380 fromLim += 3 - 1; in _INTERNAL_trim_to_complete_utf8_characters()
387 fromLim += 2 - 1; in _INTERNAL_trim_to_complete_utf8_characters()
396 *fromLimRef = fromLim; in _INTERNAL_trim_to_complete_utf8_characters()
401 const char **fromP, const char *fromLim, in utf8_toUtf8() argument
408 const ptrdiff_t bytesAvailable = fromLim - *fromP; in utf8_toUtf8()
411 fromLim = *fromP + bytesStorable; in utf8_toUtf8()
417 const char * const fromLimBefore = fromLim; in utf8_toUtf8()
418 _INTERNAL_trim_to_complete_utf8_characters(*fromP, &fromLim); in utf8_toUtf8()
419 if (fromLim < fromLimBefore) { in utf8_toUtf8()
425 const ptrdiff_t bytesToCopy = fromLim - *fromP; in utf8_toUtf8()
441 const char **fromP, const char *fromLim, in utf8_toUtf16() argument
447 while (from < fromLim && to < toLim) { in utf8_toUtf16()
450 if (fromLim - from < 2) { in utf8_toUtf16()
458 if (fromLim - from < 3) { in utf8_toUtf16()
473 if (fromLim - from < 4) { in utf8_toUtf16()
491 if (from < fromLim) in utf8_toUtf16()
547 const char **fromP, const char *fromLim, in latin1_toUtf8() argument
552 if (*fromP == fromLim) in latin1_toUtf8()
572 const char **fromP, const char *fromLim, in latin1_toUtf16() argument
575 while (*fromP < fromLim && *toP < toLim) in latin1_toUtf16()
578 if ((*toP == toLim) && (*fromP < fromLim)) in latin1_toUtf16()
610 const char **fromP, const char *fromLim, in ascii_toUtf8() argument
613 while (*fromP < fromLim && *toP < toLim) in ascii_toUtf8()
616 if ((*toP == toLim) && (*fromP < fromLim)) in ascii_toUtf8()
668 const char **fromP, const char *fromLim, \
672 fromLim = from + (((fromLim - from) >> 1) << 1); /* shrink to even */ \
673 for (; from < fromLim; from += 2) { \
713 if (fromLim - from < 4) { \
731 if (from < fromLim) \
740 const char **fromP, const char *fromLim, \
744 fromLim = *fromP + (((fromLim - *fromP) >> 1) << 1); /* shrink to even */ \
746 if (fromLim - *fromP > ((toLim - *toP) << 1) \
747 && (GET_HI(fromLim - 2) & 0xF8) == 0xD8) { \
748 fromLim -= 2; \
751 for (; *fromP < fromLim && *toP < toLim; *fromP += 2) \
753 if ((*toP == toLim) && (*fromP < fromLim)) \
1441 const char **fromP, const char *fromLim, in unknown_toUtf8() argument
1449 if (*fromP == fromLim) in unknown_toUtf8()
1474 const char **fromP, const char *fromLim, in unknown_toUtf16() argument
1478 while (*fromP < fromLim && *toP < toLim) { in unknown_toUtf16()
1491 if ((*toP == toLim) && (*fromP < fromLim)) in unknown_toUtf16()