Home
last modified time | relevance | path

Searched refs:fromLim (Results 1 – 7 of 7) sorted by relevance

/external/expat/lib/
Dxmltok.c323 const char *fromLim = *fromLimRef; in _INTERNAL_trim_to_complete_utf8_characters() local
325 for (; fromLim > from; fromLim--, walked++) { in _INTERNAL_trim_to_complete_utf8_characters()
326 const unsigned char prev = (unsigned char)fromLim[-1]; in _INTERNAL_trim_to_complete_utf8_characters()
330 fromLim += 4 - 1; in _INTERNAL_trim_to_complete_utf8_characters()
338 fromLim += 3 - 1; in _INTERNAL_trim_to_complete_utf8_characters()
346 fromLim += 2 - 1; in _INTERNAL_trim_to_complete_utf8_characters()
356 *fromLimRef = fromLim; in _INTERNAL_trim_to_complete_utf8_characters()
360 utf8_toUtf8(const ENCODING *enc, const char **fromP, const char *fromLim, in utf8_toUtf8() argument
366 const ptrdiff_t bytesAvailable = fromLim - *fromP; in utf8_toUtf8()
370 fromLim = *fromP + bytesStorable; in utf8_toUtf8()
[all …]
Dxmltok.h186 const char *fromLim, char **toP,
190 const char *fromLim,
271 #define XmlUtf8Convert(enc, fromP, fromLim, toP, toLim) \ argument
272 (((enc)->utf8Convert)(enc, fromP, fromLim, toP, toLim))
274 #define XmlUtf16Convert(enc, fromP, fromLim, toP, toLim) \ argument
275 (((enc)->utf16Convert)(enc, fromP, fromLim, toP, toLim))
/external/python/cpython2/Modules/expat/
Dxmltok.c367 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()
[all …]
Dxmltok.h194 const char *fromLim,
199 const char *fromLim,
284 #define XmlUtf8Convert(enc, fromP, fromLim, toP, toLim) \ argument
285 (((enc)->utf8Convert)(enc, fromP, fromLim, toP, toLim))
287 #define XmlUtf16Convert(enc, fromP, fromLim, toP, toLim) \ argument
288 (((enc)->utf16Convert)(enc, fromP, fromLim, toP, toLim))
/external/python/cpython3/Modules/expat/
Dxmltok.c323 const char *fromLim = *fromLimRef; in _INTERNAL_trim_to_complete_utf8_characters() local
325 for (; fromLim > from; fromLim--, walked++) { in _INTERNAL_trim_to_complete_utf8_characters()
326 const unsigned char prev = (unsigned char)fromLim[-1]; in _INTERNAL_trim_to_complete_utf8_characters()
330 fromLim += 4 - 1; in _INTERNAL_trim_to_complete_utf8_characters()
338 fromLim += 3 - 1; in _INTERNAL_trim_to_complete_utf8_characters()
346 fromLim += 2 - 1; in _INTERNAL_trim_to_complete_utf8_characters()
356 *fromLimRef = fromLim; in _INTERNAL_trim_to_complete_utf8_characters()
360 utf8_toUtf8(const ENCODING *enc, const char **fromP, const char *fromLim, in utf8_toUtf8() argument
366 const ptrdiff_t bytesAvailable = fromLim - *fromP; in utf8_toUtf8()
370 fromLim = *fromP + bytesStorable; in utf8_toUtf8()
[all …]
Dxmltok.h186 const char *fromLim, char **toP,
190 const char *fromLim,
271 #define XmlUtf8Convert(enc, fromP, fromLim, toP, toLim) \ argument
272 (((enc)->utf8Convert)(enc, fromP, fromLim, toP, toLim))
274 #define XmlUtf16Convert(enc, fromP, fromLim, toP, toLim) \ argument
275 (((enc)->utf16Convert)(enc, fromP, fromLim, toP, toLim))
/external/expat/tests/
Druntests.c799 const char *fromLim = cases[i].input + strlen(cases[i].input); in START_TEST() local
800 const char *const fromLimInitially = fromLim; in START_TEST()
803 _INTERNAL_trim_to_complete_utf8_characters(cases[i].input, &fromLim); in START_TEST()
805 actualMovementInChars = (fromLim - fromLimInitially); in START_TEST()