Lines Matching refs:toLim
370 char **toP, const char *toLim) in utf8_toUtf8() argument
375 if (fromLim - *fromP > toLim - *toP) { in utf8_toUtf8()
378 fromLim = *fromP + (toLim - *toP); in utf8_toUtf8()
381 for (to = *toP, from = *fromP; (from < fromLim) && (to < toLim); from++, to++) in utf8_toUtf8()
386 if ((to == toLim) && (from < fromLim)) in utf8_toUtf8()
395 unsigned short **toP, const unsigned short *toLim) in utf8_toUtf16() argument
400 while (from < fromLim && to < toLim) { in utf8_toUtf16()
422 if (toLim - to < 2) { in utf8_toUtf16()
499 char **toP, const char *toLim) in latin1_toUtf8() argument
507 if (toLim - *toP < 2) in latin1_toUtf8()
514 if (*toP == toLim) in latin1_toUtf8()
524 unsigned short **toP, const unsigned short *toLim) in latin1_toUtf16() argument
526 while (*fromP < fromLim && *toP < toLim) in latin1_toUtf16()
529 if ((*toP == toLim) && (*fromP < fromLim)) in latin1_toUtf16()
562 char **toP, const char *toLim) in ascii_toUtf8() argument
564 while (*fromP < fromLim && *toP < toLim) in ascii_toUtf8()
567 if ((*toP == toLim) && (*fromP < fromLim)) in ascii_toUtf8()
620 char **toP, const char *toLim) \
632 if (*toP == toLim) { \
642 if (toLim - *toP < 2) { \
650 if (toLim - *toP < 3) { \
660 if (toLim - *toP < 4) { \
692 unsigned short **toP, const unsigned short *toLim) \
697 if (fromLim - *fromP > ((toLim - *toP) << 1) \
702 for (; *fromP < fromLim && *toP < toLim; *fromP += 2) \
704 if ((*toP == toLim) && (*fromP < fromLim)) \
1389 char **toP, const char *toLim) in unknown_toUtf8() argument
1403 if (n > toLim - *toP) in unknown_toUtf8()
1410 if (n > toLim - *toP) in unknown_toUtf8()
1423 unsigned short **toP, const unsigned short *toLim) in unknown_toUtf16() argument
1426 while (*fromP < fromLim && *toP < toLim) { in unknown_toUtf16()
1439 if ((*toP == toLim) && (*fromP < fromLim)) in unknown_toUtf16()