Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_sys.py746 usize = len(u'\0'.encode('unicode-internal'))
751 check(s, size(h + 'PPlP') + usize * (len(s) + 1))
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Dunicodeobject.c953 Py_ssize_t usize; in PyUnicode_FromFormatV() local
958 usize = PyUnicode_GET_SIZE(*callresult); in PyUnicode_FromFormatV()
959 for (upos = 0; upos<usize;) in PyUnicode_FromFormatV()
3871 int usize = 0; in decode_mbcs() local
3881 usize = MultiByteToWideChar(CP_ACP, 0, s, size, NULL, 0); in decode_mbcs()
3882 if (usize == 0) { in decode_mbcs()
3890 *v = _PyUnicode_New(usize); in decode_mbcs()
3897 if (_PyUnicode_Resize(v, n + usize) < 0) in decode_mbcs()
3904 if (0 == MultiByteToWideChar(CP_ACP, 0, s, size, p, usize)) { in decode_mbcs()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
Dunicodeobject.c3928 int usize = 0; in decode_mbcs() local
3938 usize = MultiByteToWideChar(CP_ACP, 0, s, size, NULL, 0); in decode_mbcs()
3939 if (usize == 0) { in decode_mbcs()
3947 *v = _PyUnicode_New(usize); in decode_mbcs()
3954 if (_PyUnicode_Resize(v, n + usize) < 0) in decode_mbcs()
3961 if (0 == MultiByteToWideChar(CP_ACP, 0, s, size, p, usize)) { in decode_mbcs()