Searched refs:force_ascii (Results 1 – 2 of 2) sorted by relevance
188 static int force_ascii = -1; variable294 if (force_ascii == -1) { in _Py_GetForceASCII()295 force_ascii = check_force_ascii(); in _Py_GetForceASCII()297 return force_ascii; in _Py_GetForceASCII()304 force_ascii = -1; in _Py_ResetForceASCII()610 if (force_ascii == -1) { in _Py_DecodeLocaleEx()611 force_ascii = check_force_ascii(); in _Py_DecodeLocaleEx()614 if (force_ascii) { in _Py_DecodeLocaleEx()802 if (force_ascii == -1) { in encode_locale_ex()803 force_ascii = check_force_ascii(); in encode_locale_ex()[all …]
548 static void force_ascii(const char* src, char* dst, size_t len) { in force_ascii() function664 force_ascii(buf, out, buflen); in Encode()