Searched refs:fromLim (Results 1 – 3 of 3) sorted by relevance
/external/expat/lib/ |
D | xmltok.c | 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() [all …]
|
D | xmltok.h | 169 const char *fromLim, 174 const char *fromLim, 261 #define XmlUtf8Convert(enc, fromP, fromLim, toP, toLim) \ argument 262 (((enc)->utf8Convert)(enc, fromP, fromLim, toP, toLim)) 264 #define XmlUtf16Convert(enc, fromP, fromLim, toP, toLim) \ argument 265 (((enc)->utf16Convert)(enc, fromP, fromLim, toP, toLim))
|
/external/expat/tests/ |
D | runtests.c | 410 const char * fromLim = cases[i].input + strlen(cases[i].input); in START_TEST() local 411 const char * const fromLimInitially = fromLim; in START_TEST() 414 align_limit_to_full_utf8_characters(cases[i].input, &fromLim); in START_TEST() 416 actualMovementInChars = (fromLim - fromLimInitially); in START_TEST()
|