Searched refs:toLim (Results 1 – 4 of 4) sorted by relevance
/external/expat/lib/ |
D | xmltok.c | 370 char **toP, const char *toLim) in utf8_toUtf8() argument 375 if (fromLim - *fromP > toLim - *toP) { in utf8_toUtf8() 378 fromLim = *fromP + (toLim - *toP); in utf8_toUtf8() 381 for (to = *toP, from = *fromP; (from < fromLim) && (to < toLim); from++, to++) in utf8_toUtf8() 386 if ((to == toLim) && (from < fromLim)) in utf8_toUtf8() 395 unsigned short **toP, const unsigned short *toLim) in utf8_toUtf16() argument 400 while (from < fromLim && to < toLim) { in utf8_toUtf16() 422 if (toLim - to < 2) { in utf8_toUtf16() 499 char **toP, const char *toLim) in latin1_toUtf8() argument 507 if (toLim - *toP < 2) in latin1_toUtf8() [all …]
|
D | xmltok.h | 171 const char *toLim); 176 const unsigned short *toLim); 261 #define XmlUtf8Convert(enc, fromP, fromLim, toP, toLim) \ argument 262 (((enc)->utf8Convert)(enc, fromP, fromLim, toP, toLim)) 264 #define XmlUtf16Convert(enc, fromP, fromLim, toP, toLim) \ argument 265 (((enc)->utf16Convert)(enc, fromP, fromLim, toP, toLim))
|
/external/python/cpython2/Modules/expat/ |
D | xmltok.c | 324 char **toP, const char *toLim) in utf8_toUtf8() argument 328 if (fromLim - *fromP > toLim - *toP) { in utf8_toUtf8() 330 for (fromLim = *fromP + (toLim - *toP); fromLim > *fromP; fromLim--) in utf8_toUtf8() 343 unsigned short **toP, const unsigned short *toLim) in utf8_toUtf16() argument 347 while (from != fromLim && to != toLim) { in utf8_toUtf16() 361 if (to + 1 == toLim) in utf8_toUtf16() 431 char **toP, const char *toLim) in latin1_toUtf8() argument 439 if (toLim - *toP < 2) in latin1_toUtf8() 446 if (*toP == toLim) in latin1_toUtf8() 456 unsigned short **toP, const unsigned short *toLim) in latin1_toUtf16() argument [all …]
|
D | xmltok.h | 165 const char *toLim); 170 const unsigned short *toLim); 255 #define XmlUtf8Convert(enc, fromP, fromLim, toP, toLim) \ argument 256 (((enc)->utf8Convert)(enc, fromP, fromLim, toP, toLim)) 258 #define XmlUtf16Convert(enc, fromP, fromLim, toP, toLim) \ argument 259 (((enc)->utf16Convert)(enc, fromP, fromLim, toP, toLim))
|