Home
last modified time | relevance | path

Searched refs:error_pos (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython3/Python/
Dfileutils.c203 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()
[all …]
/external/python/cpython3/Include/
Dfileutils.h15 size_t *error_pos);
19 size_t *error_pos);
34 size_t *error_pos,
54 size_t *error_pos,
/external/python/cpython3/Doc/c-api/
Dsys.rst144 .. c:function:: char* Py_EncodeLocale(const wchar_t *text, size_t *error_pos)
166 If error_pos is not ``NULL``, ``*error_pos`` is set to ``(size_t)-1`` on
/external/python/cpython3/Objects/
Dunicodeobject.c3407 size_t error_pos; in unicode_encode_locale() local
3409 int res = _Py_EncodeLocaleEx(wstr, &str, &error_pos, &reason, in unicode_encode_locale()
3418 (Py_ssize_t)error_pos, in unicode_encode_locale()
3419 (Py_ssize_t)(error_pos+1), in unicode_encode_locale()
5070 _Py_EncodeUTF8Ex(const wchar_t *text, char **str, size_t *error_pos, in _Py_EncodeUTF8Ex() argument
5110 if (error_pos != NULL) { in _Py_EncodeUTF8Ex()
5111 *error_pos = (size_t)i; in _Py_EncodeUTF8Ex()
5151 if (error_pos != NULL) { in _Py_EncodeUTF8Ex()
5152 *error_pos = (size_t)-1; in _Py_EncodeUTF8Ex()