Lines Matching refs:fromP

323             const char **fromP, const char *fromLim,  in utf8_toUtf8()  argument
328 if (fromLim - *fromP > toLim - *toP) { in utf8_toUtf8()
330 for (fromLim = *fromP + (toLim - *toP); fromLim > *fromP; fromLim--) in utf8_toUtf8()
334 for (to = *toP, from = *fromP; from != fromLim; from++, to++) in utf8_toUtf8()
336 *fromP = from; in utf8_toUtf8()
342 const char **fromP, const char *fromLim, in utf8_toUtf16() argument
346 const char *from = *fromP; in utf8_toUtf16()
378 *fromP = from; in utf8_toUtf16()
430 const char **fromP, const char *fromLim, in latin1_toUtf8() argument
435 if (*fromP == fromLim) in latin1_toUtf8()
437 c = (unsigned char)**fromP; in latin1_toUtf8()
443 (*fromP)++; in latin1_toUtf8()
448 *(*toP)++ = *(*fromP)++; in latin1_toUtf8()
455 const char **fromP, const char *fromLim, in latin1_toUtf16() argument
458 while (*fromP != fromLim && *toP != toLim) in latin1_toUtf16()
459 *(*toP)++ = (unsigned char)*(*fromP)++; in latin1_toUtf16()
488 const char **fromP, const char *fromLim, in ascii_toUtf8() argument
491 while (*fromP != fromLim && *toP != toLim) in ascii_toUtf8()
492 *(*toP)++ = *(*fromP)++; in ascii_toUtf8()
541 const char **fromP, const char *fromLim, \
545 for (from = *fromP; from != fromLim; from += 2) { \
554 *fromP = from; \
564 *fromP = from; \
572 *fromP = from; \
582 *fromP = from; \
598 *fromP = from; \
604 const char **fromP, const char *fromLim, \
608 if (fromLim - *fromP > ((toLim - *toP) << 1) \
611 for (; *fromP != fromLim && *toP != toLim; *fromP += 2) \
612 *(*toP)++ = (GET_HI(*fromP) << 8) | GET_LO(*fromP); \
1293 const char **fromP, const char *fromLim, in unknown_toUtf8() argument
1301 if (*fromP == fromLim) in unknown_toUtf8()
1303 utf8 = uenc->utf8[(unsigned char)**fromP]; in unknown_toUtf8()
1306 int c = uenc->convert(uenc->userData, *fromP); in unknown_toUtf8()
1311 *fromP += (AS_NORMAL_ENCODING(enc)->type[(unsigned char)**fromP] in unknown_toUtf8()
1317 (*fromP)++; in unknown_toUtf8()
1327 const char **fromP, const char *fromLim, in unknown_toUtf16() argument
1331 while (*fromP != fromLim && *toP != toLim) { in unknown_toUtf16()
1332 unsigned short c = uenc->utf16[(unsigned char)**fromP]; in unknown_toUtf16()
1335 uenc->convert(uenc->userData, *fromP); in unknown_toUtf16()
1336 *fromP += (AS_NORMAL_ENCODING(enc)->type[(unsigned char)**fromP] in unknown_toUtf16()
1340 (*fromP)++; in unknown_toUtf16()