/external/expat/lib/ |
D | xmltok.c | 361 char **toP, const char *toLim) { in utf8_toUtf8() argument 367 const ptrdiff_t bytesStorable = toLim - *toP; in utf8_toUtf8() 385 memcpy(*toP, *fromP, bytesToCopy); in utf8_toUtf8() 387 *toP += bytesToCopy; in utf8_toUtf8() 400 unsigned short **toP, const unsigned short *toLim) { in utf8_toUtf16() argument 402 unsigned short *to = *toP; in utf8_toUtf16() 450 *toP = to; in utf8_toUtf16() 498 char **toP, const char *toLim) { in latin1_toUtf8() argument 506 if (toLim - *toP < 2) in latin1_toUtf8() 508 *(*toP)++ = (char)((c >> 6) | UTF8_cval2); in latin1_toUtf8() [all …]
|
D | xmltok.h | 186 const char *fromLim, char **toP, 191 unsigned short **toP, 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/ |
D | xmltok.c | 402 char **toP, const char *toLim) in utf8_toUtf8() argument 409 const ptrdiff_t bytesStorable = toLim - *toP; in utf8_toUtf8() 426 memcpy(*toP, *fromP, bytesToCopy); in utf8_toUtf8() 428 *toP += bytesToCopy; in utf8_toUtf8() 442 unsigned short **toP, const unsigned short *toLim) in utf8_toUtf16() argument 445 unsigned short *to = *toP; in utf8_toUtf16() 495 *toP = to; in utf8_toUtf16() 548 char **toP, const char *toLim) in latin1_toUtf8() argument 556 if (toLim - *toP < 2) in latin1_toUtf8() 558 *(*toP)++ = (char)((c >> 6) | UTF8_cval2); in latin1_toUtf8() [all …]
|
D | xmltok.h | 195 char **toP, 200 unsigned short **toP, 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/ |
D | xmltok.c | 361 char **toP, const char *toLim) { in utf8_toUtf8() argument 367 const ptrdiff_t bytesStorable = toLim - *toP; in utf8_toUtf8() 385 memcpy(*toP, *fromP, bytesToCopy); in utf8_toUtf8() 387 *toP += bytesToCopy; in utf8_toUtf8() 400 unsigned short **toP, const unsigned short *toLim) { in utf8_toUtf16() argument 402 unsigned short *to = *toP; in utf8_toUtf16() 450 *toP = to; in utf8_toUtf16() 498 char **toP, const char *toLim) { in latin1_toUtf8() argument 506 if (toLim - *toP < 2) in latin1_toUtf8() 508 *(*toP)++ = (char)((c >> 6) | UTF8_cval2); in latin1_toUtf8() [all …]
|
D | xmltok.h | 186 const char *fromLim, char **toP, 191 unsigned short **toP, 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))
|