/external/python/cpython3/Modules/expat/ |
D | xmltok.c | 405 char **toP, const char *toLim) in utf8_toUtf8() argument 412 const ptrdiff_t bytesStorable = toLim - *toP; in utf8_toUtf8() 445 unsigned short **toP, const unsigned short *toLim) in utf8_toUtf16() argument 450 while (from < fromLim && to < toLim) { in utf8_toUtf16() 472 if (toLim - to < 2) { in utf8_toUtf16() 551 char **toP, const char *toLim) in latin1_toUtf8() argument 559 if (toLim - *toP < 2) in latin1_toUtf8() 566 if (*toP == toLim) in latin1_toUtf8() 576 unsigned short **toP, const unsigned short *toLim) in latin1_toUtf16() argument 578 while (*fromP < fromLim && *toP < toLim) in latin1_toUtf16() [all …]
|
D | xmltok.h | 196 const char *toLim); 201 const unsigned short *toLim); 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/ |
D | xmltok.c | 402 char **toP, const char *toLim) in utf8_toUtf8() argument 409 const ptrdiff_t bytesStorable = toLim - *toP; in utf8_toUtf8() 442 unsigned short **toP, const unsigned short *toLim) in utf8_toUtf16() argument 447 while (from < fromLim && to < toLim) { in utf8_toUtf16() 469 if (toLim - to < 2) { in utf8_toUtf16() 548 char **toP, const char *toLim) in latin1_toUtf8() argument 556 if (toLim - *toP < 2) in latin1_toUtf8() 563 if (*toP == toLim) in latin1_toUtf8() 573 unsigned short **toP, const unsigned short *toLim) in latin1_toUtf16() argument 575 while (*fromP < fromLim && *toP < toLim) in latin1_toUtf16() [all …]
|
D | xmltok.h | 196 const char *toLim); 201 const unsigned short *toLim); 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/ |
D | xmltok.c | 402 char **toP, const char *toLim) in utf8_toUtf8() argument 409 const ptrdiff_t bytesStorable = toLim - *toP; in utf8_toUtf8() 442 unsigned short **toP, const unsigned short *toLim) in utf8_toUtf16() argument 447 while (from < fromLim && to < toLim) { in utf8_toUtf16() 469 if (toLim - to < 2) { in utf8_toUtf16() 548 char **toP, const char *toLim) in latin1_toUtf8() argument 556 if (toLim - *toP < 2) in latin1_toUtf8() 563 if (*toP == toLim) in latin1_toUtf8() 573 unsigned short **toP, const unsigned short *toLim) in latin1_toUtf16() argument 575 while (*fromP < fromLim && *toP < toLim) in latin1_toUtf16() [all …]
|
D | xmltok.h | 196 const char *toLim); 201 const unsigned short *toLim); 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))
|