Lines Matching refs:ressize
762 Py_ssize_t ressize; in PyCodec_XMLCharRefReplaceErrors() local
772 for (i = start, ressize = 0; i < end; ++i) { in PyCodec_XMLCharRefReplaceErrors()
776 ressize += 2+1+1; in PyCodec_XMLCharRefReplaceErrors()
778 ressize += 2+2+1; in PyCodec_XMLCharRefReplaceErrors()
780 ressize += 2+3+1; in PyCodec_XMLCharRefReplaceErrors()
782 ressize += 2+4+1; in PyCodec_XMLCharRefReplaceErrors()
784 ressize += 2+5+1; in PyCodec_XMLCharRefReplaceErrors()
786 ressize += 2+6+1; in PyCodec_XMLCharRefReplaceErrors()
788 ressize += 2+7+1; in PyCodec_XMLCharRefReplaceErrors()
791 res = PyUnicode_New(ressize, 127); in PyCodec_XMLCharRefReplaceErrors()
858 int ressize; in PyCodec_BackslashReplaceErrors() local
911 for (i = start, ressize = 0; i < end; ++i) { in PyCodec_BackslashReplaceErrors()
915 ressize += 1+1+8; in PyCodec_BackslashReplaceErrors()
918 ressize += 1+1+4; in PyCodec_BackslashReplaceErrors()
921 ressize += 1+1+2; in PyCodec_BackslashReplaceErrors()
923 res = PyUnicode_New(ressize, 127); in PyCodec_BackslashReplaceErrors()
969 Py_ssize_t ressize; in PyCodec_NameReplaceErrors() local
987 for (i = start, ressize = 0; i < end; ++i) { in PyCodec_NameReplaceErrors()
1001 if (ressize > PY_SSIZE_T_MAX - replsize) in PyCodec_NameReplaceErrors()
1003 ressize += replsize; in PyCodec_NameReplaceErrors()
1006 res = PyUnicode_New(ressize, 127); in PyCodec_NameReplaceErrors()
1041 assert(outp == PyUnicode_1BYTE_DATA(res) + ressize); in PyCodec_NameReplaceErrors()