Searched refs:repsize (Results 1 – 2 of 2) sorted by relevance
1413 Py_ssize_t repsize; in unicode_decode_call_errorhandler() local1458 repsize = PyUnicode_GET_SIZE(repunicode); in unicode_decode_call_errorhandler()1459 requiredsize = *outpos + repsize + insize-newpos; in unicode_decode_call_errorhandler()1469 Py_UNICODE_COPY(*outptr, repptr, repsize); in unicode_decode_call_errorhandler()1470 *outptr += repsize; in unicode_decode_call_errorhandler()1471 *outpos += repsize; in unicode_decode_call_errorhandler()3612 Py_ssize_t repsize; in unicode_encode_ucs1() local3648 for (p = collstart, repsize = 0; p < collend; ++p) { in unicode_encode_ucs1()3650 repsize += 2+1+1; in unicode_encode_ucs1()3652 repsize += 2+2+1; in unicode_encode_ucs1()[all …]
1471 Py_ssize_t repsize; in unicode_decode_call_errorhandler() local1516 repsize = PyUnicode_GET_SIZE(repunicode); in unicode_decode_call_errorhandler()1518 if (requiredsize > PY_SSIZE_T_MAX - repsize) in unicode_decode_call_errorhandler()1520 requiredsize += repsize; in unicode_decode_call_errorhandler()1533 Py_UNICODE_COPY(*outptr, repptr, repsize); in unicode_decode_call_errorhandler()1534 *outptr += repsize; in unicode_decode_call_errorhandler()1535 *outpos += repsize; in unicode_decode_call_errorhandler()3656 Py_ssize_t repsize; in unicode_encode_ucs1() local3742 repsize = PyUnicode_GET_SIZE(repunicode); in unicode_encode_ucs1()3743 if (respos > PY_SSIZE_T_MAX - repsize) in unicode_encode_ucs1()[all …]