Home
last modified time | relevance | path

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

/external/python/cpython3/Objects/
Dunicodeobject.c226 case PyUnicode_1BYTE_KIND: { \
420 assert(kind == PyUnicode_1BYTE_KIND); in _PyUnicode_CheckConsistency()
429 assert(kind == PyUnicode_1BYTE_KIND in _PyUnicode_CheckConsistency()
452 assert(kind == PyUnicode_1BYTE_KIND in _PyUnicode_CheckConsistency()
501 if (kind == PyUnicode_1BYTE_KIND) { in _PyUnicode_CheckConsistency()
794 case PyUnicode_1BYTE_KIND: in make_bloom_mask()
878 case PyUnicode_1BYTE_KIND: in findchar()
1178 case PyUnicode_1BYTE_KIND: in unicode_kind_name()
1193 case PyUnicode_1BYTE_KIND: in unicode_kind_name()
1282 kind = PyUnicode_1BYTE_KIND; in PyUnicode_New()
[all …]
Dlistobject.c2038 assert(PyUnicode_KIND(v) == PyUnicode_1BYTE_KIND); in unsafe_latin_compare()
2262 PyUnicode_KIND(key) != PyUnicode_1BYTE_KIND) in list_sort_impl()
Dlongobject.c1732 else if (kind == PyUnicode_1BYTE_KIND) { in long_to_decimal_string_internal()
1909 else if (kind == PyUnicode_1BYTE_KIND) { in long_format_binary()
Dbytesobject.c2378 assert(PyUnicode_KIND(string) == PyUnicode_1BYTE_KIND); in _PyBytes_FromHex()
/external/python/cpython3/Include/
Dunicodeobject.h441 PyUnicode_1BYTE_KIND = 1, enumerator
488 case PyUnicode_1BYTE_KIND: { \
507 ((kind) == PyUnicode_1BYTE_KIND ? \
523 (PyUnicode_KIND((unicode)) == PyUnicode_1BYTE_KIND ? \
561 (PyUnicode_KIND(op) == PyUnicode_1BYTE_KIND ? \
/external/python/cpython3/Modules/_io/
Dtextio.c396 if (kind == PyUnicode_1BYTE_KIND) in _PyIncrementalNewlineDecoder_decode()
832 assert(PyUnicode_KIND(self->readnl) == PyUnicode_1BYTE_KIND); in set_newline()
1912 if (kind == PyUnicode_1BYTE_KIND) { in find_control_char()
1976 assert(PyUnicode_KIND(readnl) == PyUnicode_1BYTE_KIND); in _PyIO_find_line_ending()
/external/python/cpython3/Modules/
Dbinascii.c222 assert(PyUnicode_KIND(arg) == PyUnicode_1BYTE_KIND); in ascii_buffer_converter()
D_json.c307 if (kind == PyUnicode_1BYTE_KIND) { in escape_unicode()
/external/python/cpython3/Python/
Dmarshal.c1169 v = PyUnicode_FromKindAndData(PyUnicode_1BYTE_KIND, ptr, n); in r_object()
/external/python/cpython3/Doc/c-api/
Dunicode.rst133 PyUnicode_1BYTE_KIND
405 :c:macro:`PyUnicode_1BYTE_KIND` etc., as returned by
/external/python/cpython2/Objects/
Dbytesobject.c2385 assert(PyUnicode_KIND(string) == PyUnicode_1BYTE_KIND); in _PyBytes_FromHex()
/external/python/cpython3/Doc/whatsnew/
D3.3.rst2198 :c:data:`PyUnicode_WCHAR_KIND`, :c:data:`PyUnicode_1BYTE_KIND`,