/third_party/expat/lib/ |
D | xmltok.c | 365 utf8_toUtf8(const ENCODING *enc, const char **fromP, const char *fromLim, in utf8_toUtf8() argument 371 const ptrdiff_t bytesAvailable = fromLim - *fromP; in utf8_toUtf8() 375 fromLim = *fromP + bytesStorable; in utf8_toUtf8() 382 _INTERNAL_trim_to_complete_utf8_characters(*fromP, &fromLim); in utf8_toUtf8() 389 const ptrdiff_t bytesToCopy = fromLim - *fromP; in utf8_toUtf8() 390 memcpy(*toP, *fromP, bytesToCopy); in utf8_toUtf8() 391 *fromP += bytesToCopy; in utf8_toUtf8() 404 utf8_toUtf16(const ENCODING *enc, const char **fromP, const char *fromLim, in utf8_toUtf16() argument 408 const char *from = *fromP; in utf8_toUtf16() 454 *fromP = from; in utf8_toUtf16() [all …]
|
D | xmltok.h | 189 const char **fromP, 193 const char **fromP, 275 #define XmlUtf8Convert(enc, fromP, fromLim, toP, toLim) \ argument 276 (((enc)->utf8Convert)(enc, fromP, fromLim, toP, toLim)) 278 #define XmlUtf16Convert(enc, fromP, fromLim, toP, toLim) \ argument 279 (((enc)->utf16Convert)(enc, fromP, fromLim, toP, toLim))
|
/third_party/python/Modules/expat/ |
D | xmltok.c | 368 utf8_toUtf8(const ENCODING *enc, const char **fromP, const char *fromLim, in utf8_toUtf8() argument 374 const ptrdiff_t bytesAvailable = fromLim - *fromP; in utf8_toUtf8() 378 fromLim = *fromP + bytesStorable; in utf8_toUtf8() 385 _INTERNAL_trim_to_complete_utf8_characters(*fromP, &fromLim); in utf8_toUtf8() 392 const ptrdiff_t bytesToCopy = fromLim - *fromP; in utf8_toUtf8() 393 memcpy(*toP, *fromP, bytesToCopy); in utf8_toUtf8() 394 *fromP += bytesToCopy; in utf8_toUtf8() 407 utf8_toUtf16(const ENCODING *enc, const char **fromP, const char *fromLim, in utf8_toUtf16() argument 411 const char *from = *fromP; in utf8_toUtf16() 457 *fromP = from; in utf8_toUtf16() [all …]
|
D | xmltok.h | 189 const char **fromP, 193 const char **fromP, 275 #define XmlUtf8Convert(enc, fromP, fromLim, toP, toLim) \ argument 276 (((enc)->utf8Convert)(enc, fromP, fromLim, toP, toLim)) 278 #define XmlUtf16Convert(enc, fromP, fromLim, toP, toLim) \ argument 279 (((enc)->utf16Convert)(enc, fromP, fromLim, toP, toLim))
|
/third_party/skia/third_party/externals/expat/expat/lib/ |
D | xmltok.c | 368 utf8_toUtf8(const ENCODING *enc, const char **fromP, const char *fromLim, in utf8_toUtf8() argument 374 const ptrdiff_t bytesAvailable = fromLim - *fromP; in utf8_toUtf8() 378 fromLim = *fromP + bytesStorable; in utf8_toUtf8() 385 _INTERNAL_trim_to_complete_utf8_characters(*fromP, &fromLim); in utf8_toUtf8() 392 const ptrdiff_t bytesToCopy = fromLim - *fromP; in utf8_toUtf8() 393 memcpy(*toP, *fromP, bytesToCopy); in utf8_toUtf8() 394 *fromP += bytesToCopy; in utf8_toUtf8() 407 utf8_toUtf16(const ENCODING *enc, const char **fromP, const char *fromLim, in utf8_toUtf16() argument 411 const char *from = *fromP; in utf8_toUtf16() 457 *fromP = from; in utf8_toUtf16() [all …]
|
D | xmltok.h | 189 const char **fromP, 193 const char **fromP, 275 #define XmlUtf8Convert(enc, fromP, fromLim, toP, toLim) \ argument 276 (((enc)->utf8Convert)(enc, fromP, fromLim, toP, toLim)) 278 #define XmlUtf16Convert(enc, fromP, fromLim, toP, toLim) \ argument 279 (((enc)->utf16Convert)(enc, fromP, fromLim, toP, toLim))
|