Lines Matching defs:end

556                        "Signal the end from iterator.__anext__().");
618 "Signal the end from iterator.__next__()."
1339 the exception group to be raised at the end of a
2155 "Read beyond end of file.");
2496 PyDoc_STR("exception end lineno")},
2498 PyDoc_STR("exception end offset")},
2718 PyUnicodeEncodeError_GetEnd(PyObject *exc, Py_ssize_t *end)
2725 *end = ((PyUnicodeErrorObject *)exc)->end;
2727 if (*end<1)
2728 *end = 1;
2729 if (*end>size)
2730 *end = size;
2737 PyUnicodeDecodeError_GetEnd(PyObject *exc, Py_ssize_t *end)
2744 *end = ((PyUnicodeErrorObject *)exc)->end;
2745 if (*end<1)
2746 *end = 1;
2747 if (*end>size)
2748 *end = size;
2755 PyUnicodeTranslateError_GetEnd(PyObject *exc, Py_ssize_t *end)
2757 return PyUnicodeEncodeError_GetEnd(exc, end);
2762 PyUnicodeEncodeError_SetEnd(PyObject *exc, Py_ssize_t end)
2764 ((PyUnicodeErrorObject *)exc)->end = end;
2770 PyUnicodeDecodeError_SetEnd(PyObject *exc, Py_ssize_t end)
2772 ((PyUnicodeErrorObject *)exc)->end = end;
2778 PyUnicodeTranslateError_SetEnd(PyObject *exc, Py_ssize_t end)
2780 ((PyUnicodeErrorObject *)exc)->end = end;
2862 {"end", T_PYSSIZET, offsetof(PyUnicodeErrorObject, end), 0,
2863 PyDoc_STR("exception end")},
2890 &err->start, &err->end, &err->reason)) {
2923 if (uself->start < PyUnicode_GET_LENGTH(uself->object) && uself->end == uself->start+1) {
2944 uself->end-1,
2988 &ude->start, &ude->end, &ude->reason)) {
3036 if (uself->start < PyBytes_GET_SIZE(uself->object) && uself->end == uself->start+1) {
3050 uself->end-1,
3077 Py_ssize_t start, Py_ssize_t end, const char *reason)
3080 encoding, object, length, start, end, reason);
3100 &self->start, &self->end, &self->reason)) {
3129 if (uself->start < PyUnicode_GET_LENGTH(uself->object) && uself->end == uself->start+1) {
3148 uself->end-1,
3174 Py_ssize_t start, Py_ssize_t end, const char *reason)
3177 object, start, end, reason);