Home
last modified time | relevance | path

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

/external/python/cpython2/Objects/
Dunicodeobject.c4030 int mbcssize = 0; in encode_mbcs() local
4037 mbcssize = WideCharToMultiByte(CP_ACP, 0, p, size, NULL, 0, NULL, NULL); in encode_mbcs()
4038 if (mbcssize == 0) { in encode_mbcs()
4046 *repr = PyString_FromStringAndSize(NULL, mbcssize); in encode_mbcs()
4053 if (_PyString_Resize(repr, n + mbcssize) < 0) in encode_mbcs()
4060 if (0 == WideCharToMultiByte(CP_ACP, 0, p, size, s, mbcssize, NULL, NULL)) { in encode_mbcs()