Home
last modified time | relevance | path

Searched refs:fromP (Results 1 – 6 of 6) sorted by relevance

/external/python/cpython3/Modules/expat/
Dxmltok.c404 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()
421 _INTERNAL_trim_to_complete_utf8_characters(*fromP, &fromLim); in utf8_toUtf8()
428 const ptrdiff_t bytesToCopy = fromLim - *fromP; in utf8_toUtf8()
429 memcpy(*toP, *fromP, bytesToCopy); in utf8_toUtf8()
430 *fromP += bytesToCopy; in utf8_toUtf8()
444 const char **fromP, const char *fromLim, in utf8_toUtf16() argument
449 const char *from = *fromP; in utf8_toUtf16()
497 *fromP = from; in utf8_toUtf16()
[all …]
Dxmltok.h193 const char **fromP,
198 const char **fromP,
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.c401 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()
418 _INTERNAL_trim_to_complete_utf8_characters(*fromP, &fromLim); in utf8_toUtf8()
425 const ptrdiff_t bytesToCopy = fromLim - *fromP; in utf8_toUtf8()
426 memcpy(*toP, *fromP, bytesToCopy); in utf8_toUtf8()
427 *fromP += bytesToCopy; in utf8_toUtf8()
441 const char **fromP, const char *fromLim, in utf8_toUtf16() argument
446 const char *from = *fromP; in utf8_toUtf16()
494 *fromP = from; in utf8_toUtf16()
[all …]
Dxmltok.h193 const char **fromP,
198 const char **fromP,
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.c401 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()
418 _INTERNAL_trim_to_complete_utf8_characters(*fromP, &fromLim); in utf8_toUtf8()
425 const ptrdiff_t bytesToCopy = fromLim - *fromP; in utf8_toUtf8()
426 memcpy(*toP, *fromP, bytesToCopy); in utf8_toUtf8()
427 *fromP += bytesToCopy; in utf8_toUtf8()
441 const char **fromP, const char *fromLim, in utf8_toUtf16() argument
446 const char *from = *fromP; in utf8_toUtf16()
494 *fromP = from; in utf8_toUtf16()
[all …]
Dxmltok.h193 const char **fromP,
198 const char **fromP,
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))