Home
last modified time | relevance | path

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

/third_party/python/Include/cpython/
Dunicodeobject.h319 PyUnicode_1BYTE_KIND = 1, enumerator
366 case PyUnicode_1BYTE_KIND: { \
385 ((kind) == PyUnicode_1BYTE_KIND ? \
401 (PyUnicode_KIND((unicode)) == PyUnicode_1BYTE_KIND ? \
439 (PyUnicode_KIND(op) == PyUnicode_1BYTE_KIND ? \
/third_party/python/Objects/
Dunicodeobject.c270 case PyUnicode_1BYTE_KIND: { in unicode_fill()
520 CHECK(kind == PyUnicode_1BYTE_KIND); in _PyUnicode_CheckConsistency()
529 CHECK(kind == PyUnicode_1BYTE_KIND in _PyUnicode_CheckConsistency()
552 CHECK(kind == PyUnicode_1BYTE_KIND in _PyUnicode_CheckConsistency()
601 if (kind == PyUnicode_1BYTE_KIND) { in _PyUnicode_CheckConsistency()
676 if (kind == PyUnicode_1BYTE_KIND) { in unicode_result_ready()
904 case PyUnicode_1BYTE_KIND: in make_bloom_mask()
995 case PyUnicode_1BYTE_KIND: in findchar()
1298 case PyUnicode_1BYTE_KIND: in unicode_kind_name()
1313 case PyUnicode_1BYTE_KIND: in unicode_kind_name()
[all …]
Dlistobject.c2077 assert(PyUnicode_KIND(v) == PyUnicode_1BYTE_KIND); in unsafe_latin_compare()
2315 PyUnicode_KIND(key) != PyUnicode_1BYTE_KIND) { in list_sort_impl()
Dlongobject.c1745 else if (kind == PyUnicode_1BYTE_KIND) { in long_to_decimal_string_internal()
1922 else if (kind == PyUnicode_1BYTE_KIND) { in long_format_binary()
Dbytesobject.c2389 assert(PyUnicode_KIND(string) == PyUnicode_1BYTE_KIND); in _PyBytes_FromHex()
Dtypeobject.c3875 if (length > 4 && kind == PyUnicode_1BYTE_KIND) { in is_dunder_name()
/third_party/python/Python/
Dpystrhex.c26 if (PyUnicode_KIND(sep) != PyUnicode_1BYTE_KIND) { in _Py_strhex_impl()
Dtraceback.c722 assert(kind == PyUnicode_1BYTE_KIND); in _Py_DumpASCII()
Dcodecs.c714 assert(PyUnicode_KIND(res) == PyUnicode_1BYTE_KIND); in PyCodec_ReplaceErrors()
Dmarshal.c1112 v = PyUnicode_FromKindAndData(PyUnicode_1BYTE_KIND, ptr, n); in r_object()
/third_party/markupsafe/
D_speedups.c175 case PyUnicode_1BYTE_KIND: in escape_unicode()
/third_party/python/Modules/_io/
Dtextio.c399 if (kind == PyUnicode_1BYTE_KIND) in _PyIncrementalNewlineDecoder_decode()
844 assert(PyUnicode_KIND(self->readnl) == PyUnicode_1BYTE_KIND); in set_newline()
2038 if (kind == PyUnicode_1BYTE_KIND) { in find_control_char()
2102 assert(PyUnicode_KIND(readnl) == PyUnicode_1BYTE_KIND); in _PyIO_find_line_ending()
/third_party/python/Modules/
Dbinascii.c239 assert(PyUnicode_KIND(arg) == PyUnicode_1BYTE_KIND); in ascii_buffer_converter()
D_json.c296 if (kind == PyUnicode_1BYTE_KIND) { in escape_unicode()
D_tkinter.c428 if (r == NULL || PyUnicode_KIND(r) == PyUnicode_1BYTE_KIND) { in unicodeFromTclStringAndSize()
/third_party/python/Doc/c-api/
Dunicode.rst140 PyUnicode_1BYTE_KIND
420 :c:macro:`PyUnicode_1BYTE_KIND` etc., as returned by
/third_party/python/Doc/whatsnew/
D3.3.rst2198 :c:data:`PyUnicode_WCHAR_KIND`, :c:data:`PyUnicode_1BYTE_KIND`,