• Home
  • Raw
  • Download

Lines Matching refs:fromLim

335   const char * fromLim = *fromLimRef;  in align_limit_to_full_utf8_characters()  local
337 for (; fromLim > from; fromLim--, walked++) { in align_limit_to_full_utf8_characters()
338 const unsigned char prev = (unsigned char)fromLim[-1]; in align_limit_to_full_utf8_characters()
341 fromLim += 4 - 1; in align_limit_to_full_utf8_characters()
348 fromLim += 3 - 1; in align_limit_to_full_utf8_characters()
355 fromLim += 2 - 1; in align_limit_to_full_utf8_characters()
364 *fromLimRef = fromLim; in align_limit_to_full_utf8_characters()
369 const char **fromP, const char *fromLim, in utf8_toUtf8() argument
375 if (fromLim - *fromP > toLim - *toP) { in utf8_toUtf8()
378 fromLim = *fromP + (toLim - *toP); in utf8_toUtf8()
379 align_limit_to_full_utf8_characters(*fromP, &fromLim); 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()
394 const char **fromP, const char *fromLim, in utf8_toUtf16() argument
400 while (from < fromLim && to < toLim) { in utf8_toUtf16()
403 if (fromLim - from < 2) { in utf8_toUtf16()
411 if (fromLim - from < 3) { in utf8_toUtf16()
426 if (fromLim - from < 4) { in utf8_toUtf16()
498 const char **fromP, const char *fromLim, in latin1_toUtf8() argument
503 if (*fromP == fromLim) in latin1_toUtf8()
523 const char **fromP, const char *fromLim, in latin1_toUtf16() argument
526 while (*fromP < fromLim && *toP < toLim) in latin1_toUtf16()
529 if ((*toP == toLim) && (*fromP < fromLim)) in latin1_toUtf16()
561 const char **fromP, const char *fromLim, in ascii_toUtf8() argument
564 while (*fromP < fromLim && *toP < toLim) in ascii_toUtf8()
567 if ((*toP == toLim) && (*fromP < fromLim)) in ascii_toUtf8()
619 const char **fromP, const char *fromLim, \
623 fromLim = from + (((fromLim - from) >> 1) << 1); /* shrink to even */ \
624 for (; from < fromLim; from += 2) { \
664 if (fromLim - from < 4) { \
682 if (from < fromLim) \
691 const char **fromP, const char *fromLim, \
695 fromLim = *fromP + (((fromLim - *fromP) >> 1) << 1); /* shrink to even */ \
697 if (fromLim - *fromP > ((toLim - *toP) << 1) \
698 && (GET_HI(fromLim - 2) & 0xF8) == 0xD8) { \
699 fromLim -= 2; \
702 for (; *fromP < fromLim && *toP < toLim; *fromP += 2) \
704 if ((*toP == toLim) && (*fromP < fromLim)) \
1388 const char **fromP, const char *fromLim, in unknown_toUtf8() argument
1396 if (*fromP == fromLim) in unknown_toUtf8()
1422 const char **fromP, const char *fromLim, in unknown_toUtf16() argument
1426 while (*fromP < fromLim && *toP < toLim) { in unknown_toUtf16()
1439 if ((*toP == toLim) && (*fromP < fromLim)) in unknown_toUtf16()