Home
last modified time | relevance | path

Searched refs:PyUnicode_GET_SIZE (Results 1 – 25 of 59) sorted by relevance

123

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
D_codecsmodule.c221 return codec_tuple(obj, PyUnicode_GET_SIZE(obj)); in unicode_internal_decode()
650 PyUnicode_GET_SIZE(obj)); in unicode_internal_encode()
675 PyUnicode_GET_SIZE(str), in utf_7_encode()
679 PyUnicode_GET_SIZE(str)); in utf_7_encode()
699 PyUnicode_GET_SIZE(str), in utf_8_encode()
701 PyUnicode_GET_SIZE(str)); in utf_8_encode()
729 PyUnicode_GET_SIZE(str), in utf_16_encode()
732 PyUnicode_GET_SIZE(str)); in utf_16_encode()
752 PyUnicode_GET_SIZE(str), in utf_16_le_encode()
755 PyUnicode_GET_SIZE(str)); in utf_16_le_encode()
[all …]
Dunicodedata.c96 if (PyUnicode_GET_SIZE(obj) == 1) in getuchar()
99 else if ((PyUnicode_GET_SIZE(obj) == 2) && in getuchar()
508 isize = PyUnicode_GET_SIZE(input); in nfd_nfkd()
575 PyUnicode_Resize(&result, PyUnicode_GET_SIZE(result) - space); in nfd_nfkd()
580 end = i + PyUnicode_GET_SIZE(result); in nfd_nfkd()
641 end = i + PyUnicode_GET_SIZE(result); in nfc_nfkc()
747 end = i + PyUnicode_GET_SIZE(input); in is_normalized()
D_localemodule.c316 len1 = PyUnicode_GET_SIZE(os1) + 1; in PyLocale_strcoll()
325 len2 = PyUnicode_GET_SIZE(os2) + 1; in PyLocale_strcoll()
D_json.c210 input_chars = PyUnicode_GET_SIZE(pystr); in ascii_escape_unicode()
606 Py_ssize_t len = PyUnicode_GET_SIZE(pystr); in scanstring_unicode()
1014 Py_ssize_t end_idx = PyUnicode_GET_SIZE(pystr) - 1; in _parse_object_unicode()
1205 Py_ssize_t end_idx = PyUnicode_GET_SIZE(pystr) - 1; in _parse_array_unicode()
1402 Py_ssize_t end_idx = PyUnicode_GET_SIZE(pystr) - 1; in _match_number_unicode()
1580 Py_ssize_t length = PyUnicode_GET_SIZE(pystr); in scan_once_unicode()
D_testcapimodule.c1057 len != PyUnicode_GET_SIZE(obj)) in test_u_code()
1088 if (PyUnicode_GET_SIZE(wide) != PyUnicode_GET_SIZE(utf8)) { in test_widechar()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
D_codecsmodule.c221 return codec_tuple(obj, PyUnicode_GET_SIZE(obj)); in unicode_internal_decode()
650 PyUnicode_GET_SIZE(obj)); in unicode_internal_encode()
675 PyUnicode_GET_SIZE(str), in utf_7_encode()
679 PyUnicode_GET_SIZE(str)); in utf_7_encode()
699 PyUnicode_GET_SIZE(str), in utf_8_encode()
701 PyUnicode_GET_SIZE(str)); in utf_8_encode()
729 PyUnicode_GET_SIZE(str), in utf_16_encode()
732 PyUnicode_GET_SIZE(str)); in utf_16_encode()
752 PyUnicode_GET_SIZE(str), in utf_16_le_encode()
755 PyUnicode_GET_SIZE(str)); in utf_16_le_encode()
[all …]
Dunicodedata.c96 if (PyUnicode_GET_SIZE(obj) == 1) in getuchar()
99 else if ((PyUnicode_GET_SIZE(obj) == 2) && in getuchar()
508 isize = PyUnicode_GET_SIZE(input); in nfd_nfkd()
582 PyUnicode_Resize(&result, PyUnicode_GET_SIZE(result) - space); in nfd_nfkd()
587 end = i + PyUnicode_GET_SIZE(result); in nfd_nfkd()
648 end = i + PyUnicode_GET_SIZE(result); in nfc_nfkc()
754 end = i + PyUnicode_GET_SIZE(input); in is_normalized()
D_localemodule.c316 len1 = PyUnicode_GET_SIZE(os1) + 1; in PyLocale_strcoll()
325 len2 = PyUnicode_GET_SIZE(os2) + 1; in PyLocale_strcoll()
D_json.c210 input_chars = PyUnicode_GET_SIZE(pystr); in ascii_escape_unicode()
595 Py_ssize_t len = PyUnicode_GET_SIZE(pystr); in scanstring_unicode()
991 Py_ssize_t end_idx = PyUnicode_GET_SIZE(pystr) - 1; in _parse_object_unicode()
1182 Py_ssize_t end_idx = PyUnicode_GET_SIZE(pystr) - 1; in _parse_array_unicode()
1379 Py_ssize_t end_idx = PyUnicode_GET_SIZE(pystr) - 1; in _match_number_unicode()
1561 Py_ssize_t length = PyUnicode_GET_SIZE(pystr); in scan_once_unicode()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Dunicodeobject.c759 n += PyUnicode_GET_SIZE(str); in PyUnicode_FromFormatV()
768 n += PyUnicode_GET_SIZE(obj); in PyUnicode_FromFormatV()
778 n += PyUnicode_GET_SIZE(obj); in PyUnicode_FromFormatV()
791 n += PyUnicode_GET_SIZE(str); in PyUnicode_FromFormatV()
804 n += PyUnicode_GET_SIZE(repr); in PyUnicode_FromFormatV()
920 PyUnicode_GET_SIZE(*callresult)); in PyUnicode_FromFormatV()
921 s += PyUnicode_GET_SIZE(*callresult); in PyUnicode_FromFormatV()
931 Py_ssize_t size = PyUnicode_GET_SIZE(obj); in PyUnicode_FromFormatV()
941 Py_ssize_t size = PyUnicode_GET_SIZE(obj); in PyUnicode_FromFormatV()
958 usize = PyUnicode_GET_SIZE(*callresult); in PyUnicode_FromFormatV()
[all …]
Dexceptions.c1390 size = PyUnicode_GET_SIZE(obj); in PyUnicodeEncodeError_GetStart()
1459 size = PyUnicode_GET_SIZE(obj); in PyUnicodeEncodeError_GetEnd()
1656 if (uself->start < PyUnicode_GET_SIZE(uself->object) && uself->end == uself->start+1) { in UnicodeEncodeError_str()
1741 if (uself->start < PyUnicode_GET_SIZE(uself->object) && uself->end == uself->start+1) { in UnicodeDecodeError_str()
1835 if (uself->start < PyUnicode_GET_SIZE(uself->object) && uself->end == uself->start+1) { in UnicodeTranslateError_str()
Dcomplexobject.c987 s_buffer = (char *)PyMem_MALLOC(PyUnicode_GET_SIZE(v)+1); in complex_subtype_from_string()
991 PyUnicode_GET_SIZE(v), in complex_subtype_from_string()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
Dunicodeobject.c824 n += PyUnicode_GET_SIZE(str); in PyUnicode_FromFormatV()
833 n += PyUnicode_GET_SIZE(obj); in PyUnicode_FromFormatV()
843 n += PyUnicode_GET_SIZE(obj); in PyUnicode_FromFormatV()
869 n += PyUnicode_GET_SIZE(repr); in PyUnicode_FromFormatV()
986 PyUnicode_GET_SIZE(*callresult)); in PyUnicode_FromFormatV()
987 s += PyUnicode_GET_SIZE(*callresult); in PyUnicode_FromFormatV()
997 Py_ssize_t size = PyUnicode_GET_SIZE(obj); in PyUnicode_FromFormatV()
1007 Py_ssize_t size = PyUnicode_GET_SIZE(obj); in PyUnicode_FromFormatV()
1100 if (size > PyUnicode_GET_SIZE(unicode)) in PyUnicode_AsWideChar()
1101 size = PyUnicode_GET_SIZE(unicode) + 1; in PyUnicode_AsWideChar()
[all …]
Dexceptions.c1394 size = PyUnicode_GET_SIZE(obj); in PyUnicodeEncodeError_GetStart()
1463 size = PyUnicode_GET_SIZE(obj); in PyUnicodeEncodeError_GetEnd()
1664 if (uself->start < PyUnicode_GET_SIZE(uself->object) && uself->end == uself->start+1) { in UnicodeEncodeError_str()
1753 if (uself->start < PyUnicode_GET_SIZE(uself->object) && uself->end == uself->start+1) { in UnicodeDecodeError_str()
1851 if (uself->start < PyUnicode_GET_SIZE(uself->object) && uself->end == uself->start+1) { in UnicodeTranslateError_str()
Dcomplexobject.c991 s_buffer = (char *)PyMem_MALLOC(PyUnicode_GET_SIZE(v)+1); in complex_subtype_from_string()
995 PyUnicode_GET_SIZE(v), in complex_subtype_from_string()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/_io/
Dtextio.c286 output_len = PyUnicode_GET_SIZE(output); in _PyIncrementalNewlineDecoder_decode()
335 len = PyUnicode_GET_SIZE(output); in _PyIncrementalNewlineDecoder_decode()
718 PyUnicode_GET_SIZE(text), in ascii_encode()
726 PyUnicode_GET_SIZE(text), in utf16be_encode()
734 PyUnicode_GET_SIZE(text), in utf16le_encode()
750 PyUnicode_GET_SIZE(text), in utf16_encode()
758 PyUnicode_GET_SIZE(text), in utf32be_encode()
766 PyUnicode_GET_SIZE(text), in utf32le_encode()
782 PyUnicode_GET_SIZE(text), in utf32_encode()
790 PyUnicode_GET_SIZE(text), in utf8_encode()
[all …]
Dstringio.c136 len = PyUnicode_GET_SIZE(decoded); in write_str()
340 if (PyUnicode_GET_SIZE(line) == 0) { in stringio_iternext()
472 size = PyUnicode_GET_SIZE(obj); in stringio_write()
746 Py_ssize_t bufsize = PyUnicode_GET_SIZE(PyTuple_GET_ITEM(state, 0)); in stringio_setstate()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_io/
Dtextio.c277 output_len = PyUnicode_GET_SIZE(output); in _PyIncrementalNewlineDecoder_decode()
326 len = PyUnicode_GET_SIZE(output); in _PyIncrementalNewlineDecoder_decode()
702 PyUnicode_GET_SIZE(text), in ascii_encode()
710 PyUnicode_GET_SIZE(text), in utf16be_encode()
718 PyUnicode_GET_SIZE(text), in utf16le_encode()
734 PyUnicode_GET_SIZE(text), in utf16_encode()
742 PyUnicode_GET_SIZE(text), in utf32be_encode()
750 PyUnicode_GET_SIZE(text), in utf32le_encode()
766 PyUnicode_GET_SIZE(text), in utf32_encode()
774 PyUnicode_GET_SIZE(text), in utf8_encode()
[all …]
Dstringio.c136 len = PyUnicode_GET_SIZE(decoded); in write_str()
340 if (PyUnicode_GET_SIZE(line) == 0) { in stringio_iternext()
472 size = PyUnicode_GET_SIZE(obj); in stringio_write()
733 Py_ssize_t bufsize = PyUnicode_GET_SIZE(PyTuple_GET_ITEM(state, 0)); in stringio_setstate()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/stringlib/
Dunicodedefs.h22 #define STRINGLIB_LEN PyUnicode_GET_SIZE
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/stringlib/
Dunicodedefs.h22 #define STRINGLIB_LEN PyUnicode_GET_SIZE
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/cjkcodecs/
Dmultibytecodec.c197 orgsize = PyUnicode_GET_SIZE(buf->outobj); in expand_decodebuffer()
204 + PyUnicode_GET_SIZE(buf->outobj); in expand_decodebuffer()
323 PyUnicode_GET_SIZE(tobj), ERROR_STRICT, in multibytecodec_encerror()
438 retunisize = PyUnicode_GET_SIZE(retuni); in multibytecodec_decerror()
569 datalen = PyUnicode_GET_SIZE(arg); in MultibyteCodec_Encode()
632 buf.outbuf_end = buf.outbuf + PyUnicode_GET_SIZE(buf.outobj); in MultibyteCodec_Decode()
656 if (finalsize != PyUnicode_GET_SIZE(buf.outobj)) in MultibyteCodec_Decode()
752 datalen = PyUnicode_GET_SIZE(unistr); in encoder_encode_stateful()
845 PyUnicode_GET_SIZE(buf->outobj); in decoder_prepare_buffer()
1082 if (finalsize != PyUnicode_GET_SIZE(buf.outobj)) in mbidecoder_decode()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/cjkcodecs/
Dmultibytecodec.c199 orgsize = PyUnicode_GET_SIZE(buf->outobj); in expand_decodebuffer()
206 + PyUnicode_GET_SIZE(buf->outobj); in expand_decodebuffer()
325 PyUnicode_GET_SIZE(tobj), ERROR_STRICT, in multibytecodec_encerror()
441 retunisize = PyUnicode_GET_SIZE(retuni); in multibytecodec_decerror()
572 datalen = PyUnicode_GET_SIZE(arg); in MultibyteCodec_Encode()
635 buf.outbuf_end = buf.outbuf + PyUnicode_GET_SIZE(buf.outobj); in MultibyteCodec_Decode()
659 if (finalsize != PyUnicode_GET_SIZE(buf.outobj)) in MultibyteCodec_Decode()
755 datalen = PyUnicode_GET_SIZE(unistr); in encoder_encode_stateful()
848 PyUnicode_GET_SIZE(buf->outobj); in decoder_prepare_buffer()
1085 if (finalsize != PyUnicode_GET_SIZE(buf.outobj)) in mbidecoder_decode()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/
Dunicodeobject.h432 #define PyUnicode_GET_SIZE(op) \ macro
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/
Dunicodeobject.h432 #define PyUnicode_GET_SIZE(op) \ macro

123