• Home
  • Raw
  • Download

Lines Matching refs:error_pos

310              size_t *error_pos, const char **reason,  in encode_ascii()  argument
354 if (error_pos != NULL) { in encode_ascii()
355 *error_pos = i; in encode_ascii()
664 size_t *error_pos, const char **reason, in encode_current_locale() argument
746 if (error_pos != NULL) { in encode_current_locale()
747 *error_pos = i; in encode_current_locale()
774 encode_locale_ex(const wchar_t *text, char **str, size_t *error_pos, in encode_locale_ex() argument
780 return _Py_EncodeUTF8Ex(text, str, error_pos, reason, in encode_locale_ex()
783 return encode_current_locale(text, str, error_pos, reason, in encode_locale_ex()
789 return _Py_EncodeUTF8Ex(text, str, error_pos, reason, in encode_locale_ex()
797 return _Py_EncodeUTF8Ex(text, str, error_pos, reason, in encode_locale_ex()
807 return encode_ascii(text, str, error_pos, reason, in encode_locale_ex()
812 return encode_current_locale(text, str, error_pos, reason, in encode_locale_ex()
818 encode_locale(const wchar_t *text, size_t *error_pos, in encode_locale() argument
822 int res = encode_locale_ex(text, &str, error_pos, NULL, in encode_locale()
825 if (res != -2 && error_pos) { in encode_locale()
826 *error_pos = (size_t)-1; in encode_locale()
847 Py_EncodeLocale(const wchar_t *text, size_t *error_pos) in Py_EncodeLocale() argument
849 return encode_locale(text, error_pos, 0, 0); in Py_EncodeLocale()
856 _Py_EncodeLocaleRaw(const wchar_t *text, size_t *error_pos) in _Py_EncodeLocaleRaw() argument
858 return encode_locale(text, error_pos, 1, 0); in _Py_EncodeLocaleRaw()
864 size_t *error_pos, const char **reason, in _Py_EncodeLocaleEx() argument
867 return encode_locale_ex(text, str, error_pos, reason, 1, in _Py_EncodeLocaleEx()