Home
last modified time | relevance | path

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

/external/python/cpython3/Modules/expat/
Dxmltok.c370 const char * fromLim = *fromLimRef; in _INTERNAL_trim_to_complete_utf8_characters() local
372 for (; fromLim > from; fromLim--, walked++) { in _INTERNAL_trim_to_complete_utf8_characters()
373 const unsigned char prev = (unsigned char)fromLim[-1]; in _INTERNAL_trim_to_complete_utf8_characters()
376 fromLim += 4 - 1; in _INTERNAL_trim_to_complete_utf8_characters()
383 fromLim += 3 - 1; in _INTERNAL_trim_to_complete_utf8_characters()
390 fromLim += 2 - 1; in _INTERNAL_trim_to_complete_utf8_characters()
399 *fromLimRef = fromLim; in _INTERNAL_trim_to_complete_utf8_characters()
404 const char **fromP, const char *fromLim, in utf8_toUtf8() argument
411 const ptrdiff_t bytesAvailable = fromLim - *fromP; in utf8_toUtf8()
414 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/expat/lib/
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/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/expat/tests/
Druntests.c819 const char * fromLim = cases[i].input + strlen(cases[i].input); in START_TEST() local
820 const char * const fromLimInitially = fromLim; in START_TEST()
823 _INTERNAL_trim_to_complete_utf8_characters(cases[i].input, &fromLim); in START_TEST()
825 actualMovementInChars = (fromLim - fromLimInitially); in START_TEST()