/external/python/cpython2/Modules/cjkcodecs/ |
D | cjkcodecs.h | 94 #if Py_UNICODE_SIZE == 4 148 #if Py_UNICODE_SIZE == 2 189 #if Py_UNICODE_SIZE == 2
|
D | _codecs_cn.c | 171 #if Py_UNICODE_SIZE == 2 in ENCODER() 189 #if Py_UNICODE_SIZE == 2 in ENCODER()
|
D | multibytecodec.c | 443 retunisize * Py_UNICODE_SIZE); in multibytecodec_decerror() 767 Py_UNICODE_SIZE * ctx->pendingsize); in encoder_encode_stateful() 770 Py_UNICODE_SIZE * datalen); in encoder_encode_stateful() 787 Py_UNICODE_SIZE * origpending); in encoder_encode_stateful() 802 ctx->pendingsize * Py_UNICODE_SIZE); in encoder_encode_stateful()
|
D | _codecs_iso2022.c | 197 #if Py_UNICODE_SIZE == 2 in ENCODER()
|
/external/python/cpython3/Objects/stringlib/ |
D | unicodedefs.h | 12 #define STRINGLIB_SIZEOF_CHAR Py_UNICODE_SIZE
|
/external/python/cpython2/PC/os2vacpp/ |
D | pyconfig.h | 85 #define Py_UNICODE_SIZE SIZEOF_SHORT macro
|
/external/python/cpython2/Include/ |
D | unicodeobject.h | 74 #ifndef Py_UNICODE_SIZE 75 #error Must define Py_UNICODE_SIZE 81 #if Py_UNICODE_SIZE >= 4 94 # if defined(MS_WIN32) && Py_UNICODE_SIZE == 2
|
/external/python/cpython2/PC/os2emx/ |
D | pyconfig.h | 63 #define Py_UNICODE_SIZE SIZEOF_SHORT macro
|
/external/python/cpython2/android_arm/pyconfig/ |
D | pyconfig.h | 986 #define Py_UNICODE_SIZE 2 macro
|
/external/python/cpython2/android_arm64/pyconfig/ |
D | pyconfig.h | 986 #define Py_UNICODE_SIZE 2 macro
|
/external/python/cpython2/android_x86_64/pyconfig/ |
D | pyconfig.h | 986 #define Py_UNICODE_SIZE 2 macro
|
/external/python/cpython2/android_x86/pyconfig/ |
D | pyconfig.h | 986 #define Py_UNICODE_SIZE 2 macro
|
/external/python/cpython2/linux_x86_64/pyconfig/ |
D | pyconfig.h | 994 #define Py_UNICODE_SIZE 2 macro
|
/external/python/cpython2/darwin_x86_64/pyconfig/ |
D | pyconfig.h | 992 #define Py_UNICODE_SIZE 2 macro
|
/external/python/cpython2/PC/ |
D | pyconfig.h | 577 #define Py_UNICODE_SIZE 2 macro
|
/external/python/cpython2/RISCOS/ |
D | pyconfig.h | 178 #define Py_UNICODE_SIZE 2 macro
|
/external/python/cpython3/Include/ |
D | unicodeobject.h | 71 #define Py_UNICODE_SIZE SIZEOF_WCHAR_T macro 77 #if Py_UNICODE_SIZE >= 4 389 (PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE)
|
/external/python/cpython2/Objects/ |
D | unicodeobject.c | 582 #if (Py_UNICODE_SIZE == 2) && defined(SIZEOF_WCHAR_T) && (SIZEOF_WCHAR_T == 4) 3442 v = _PyUnicode_New((size+Py_UNICODE_SIZE-1)/ Py_UNICODE_SIZE); in _PyUnicode_DecodeUnicodeInternal() 3451 if (end-s < Py_UNICODE_SIZE) { in _PyUnicode_DecodeUnicodeInternal() 3461 endinpos = s - starts + Py_UNICODE_SIZE; in _PyUnicode_DecodeUnicodeInternal() 3467 s += Py_UNICODE_SIZE; in _PyUnicode_DecodeUnicodeInternal()
|
/external/python/cpython3/Objects/ |
D | unicodeobject.c | 2088 #if Py_UNICODE_SIZE == 2 in PyUnicode_FromWideChar() 6536 if (size / Py_UNICODE_SIZE > PY_SSIZE_T_MAX - 1) { in _PyUnicode_DecodeUnicodeInternal() 6540 writer.min_length = (size + (Py_UNICODE_SIZE - 1)) / Py_UNICODE_SIZE; in _PyUnicode_DecodeUnicodeInternal() 6546 if (end - s < Py_UNICODE_SIZE) { in _PyUnicode_DecodeUnicodeInternal() 6564 endinpos = s - starts + Py_UNICODE_SIZE; in _PyUnicode_DecodeUnicodeInternal() 6569 s += Py_UNICODE_SIZE; in _PyUnicode_DecodeUnicodeInternal() 6571 if (Py_UNICODE_IS_HIGH_SURROGATE(ch) && end - s >= Py_UNICODE_SIZE) in _PyUnicode_DecodeUnicodeInternal() 6579 s += Py_UNICODE_SIZE; in _PyUnicode_DecodeUnicodeInternal()
|
/external/python/cpython2/ |
D | pyconfig.h.in | 1017 #undef Py_UNICODE_SIZE
|
D | configure.ac | 4183 AH_TEMPLATE(Py_UNICODE_SIZE, template 4187 AC_DEFINE(Py_UNICODE_SIZE,2) definition 4190 AC_DEFINE(Py_UNICODE_SIZE,4) definition
|