• Home
  • Raw
  • Download

Lines Matching refs:error_pos

203              size_t *error_pos, const char **reason,  in encode_ascii()  argument
242 if (error_pos != NULL) { in encode_ascii()
243 *error_pos = i; in encode_ascii()
551 size_t *error_pos, const char **reason, in encode_current_locale() argument
628 if (error_pos != NULL) { in encode_current_locale()
629 *error_pos = i; in encode_current_locale()
638 encode_locale_ex(const wchar_t *text, char **str, size_t *error_pos, in encode_locale_ex() argument
644 return _Py_EncodeUTF8Ex(text, str, error_pos, reason, in encode_locale_ex()
647 return encode_current_locale(text, str, error_pos, reason, in encode_locale_ex()
653 return _Py_EncodeUTF8Ex(text, str, error_pos, reason, in encode_locale_ex()
657 return _Py_EncodeUTF8Ex(text, str, error_pos, reason, in encode_locale_ex()
667 return encode_ascii(text, str, error_pos, reason, in encode_locale_ex()
672 return encode_current_locale(text, str, error_pos, reason, in encode_locale_ex()
678 encode_locale(const wchar_t *text, size_t *error_pos, in encode_locale() argument
682 int res = encode_locale_ex(text, &str, error_pos, NULL, in encode_locale()
684 if (res != -2 && error_pos) { in encode_locale()
685 *error_pos = (size_t)-1; in encode_locale()
706 Py_EncodeLocale(const wchar_t *text, size_t *error_pos) in Py_EncodeLocale() argument
708 return encode_locale(text, error_pos, 0, 0); in Py_EncodeLocale()
715 _Py_EncodeLocaleRaw(const wchar_t *text, size_t *error_pos) in _Py_EncodeLocaleRaw() argument
717 return encode_locale(text, error_pos, 1, 0); in _Py_EncodeLocaleRaw()
723 size_t *error_pos, const char **reason, in _Py_EncodeLocaleEx() argument
726 return encode_locale_ex(text, str, error_pos, reason, 1, in _Py_EncodeLocaleEx()