Lines Matching defs:errors

46 // mbstowcs() and mbrtowc() errors
52 get_surrogateescape(_Py_error_handler errors, int *surrogateescape)
54 switch (errors)
317 int raw_malloc, _Py_error_handler errors)
324 if (get_surrogateescape(errors, &surrogateescape) < 0) {
391 const char **reason, _Py_error_handler errors)
399 if (get_surrogateescape(errors, &surrogateescape) < 0) {
443 const char **reason, _Py_error_handler errors)
455 if (get_surrogateescape(errors, &surrogateescape) < 0) {
561 return decode_ascii(arg, wstr, wlen, reason, errors);
584 Return -3 if the error handler 'errors' is not supported.
591 int current_locale, _Py_error_handler errors)
596 errors);
598 return decode_current_locale(arg, wstr, wlen, reason, errors);
604 errors);
612 errors);
622 return decode_ascii(arg, wstr, wlen, reason, errors);
626 return decode_current_locale(arg, wstr, wlen, reason, errors);
645 Decoding errors should never happen, unless there is a bug in the C
671 int raw_malloc, _Py_error_handler errors)
679 if (get_surrogateescape(errors, &surrogateescape) < 0) {
770 * errors: error handler like "strict" or "surrogateescape".
777 -3: the error handler 'errors' is not supported.
782 int raw_malloc, int current_locale, _Py_error_handler errors)
787 raw_malloc, errors);
790 raw_malloc, errors);
796 raw_malloc, errors);
804 raw_malloc, errors);
814 raw_malloc, errors);
819 raw_malloc, errors);
871 int current_locale, _Py_error_handler errors)
874 current_locale, errors);
2634 /* Ignore errors */
2641 /* Closes all file descriptors in [first, last], ignoring errors. */
2649 /* close_range() ignores errors when it closes file descriptors.
2658 /* Any errors encountered while closing file descriptors are ignored */
2673 /* Ignore errors */