/external/python/cpython3/Objects/stringlib/ |
D | eq.h | 21 if (PyUnicode_KIND(a) != PyUnicode_KIND(b)) in unicode_eq() 24 PyUnicode_GET_LENGTH(a) * PyUnicode_KIND(a)) == 0; in unicode_eq()
|
D | localeutil.h | 78 enum PyUnicode_Kind kind = PyUnicode_KIND(writer->buffer); in InsertThousandsGrouping_fill()
|
/external/python/cffi/c/ |
D | wchar_helper_3.h | 38 assert(PyUnicode_KIND(result) == PyUnicode_4BYTE_KIND); in _my_PyUnicode_FromChar16() 95 unsigned int kind = PyUnicode_KIND(unicode); in _my_PyUnicode_SizeAsChar16() 119 unsigned int kind = PyUnicode_KIND(unicode); in _my_PyUnicode_AsChar16()
|
/external/python/cpython3/Objects/ |
D | unicodeobject.c | 683 int kind = PyUnicode_KIND(unicode); in unicode_result_ready() 744 kind = PyUnicode_KIND(unicode); in backslashreplace() 811 kind = PyUnicode_KIND(unicode); in xmlcharrefreplace() 1029 int kind = PyUnicode_KIND(unicode); in unicode_fill_invalid() 1054 char_size = PyUnicode_KIND(unicode); in resize_compact() 1103 PyUnicode_WRITE(PyUnicode_KIND(unicode), PyUnicode_DATA(unicode), in resize_compact() 1126 char_size = PyUnicode_KIND(unicode); in resize_inplace() 1158 PyUnicode_WRITE(PyUnicode_KIND(unicode), data, length, 0); in resize_inplace() 1297 switch (PyUnicode_KIND(unicode)) in unicode_kind_name() 1313 switch (PyUnicode_KIND(unicode)) { in unicode_kind_name() [all …]
|
D | listobject.c | 2057 assert(PyUnicode_KIND(v) == PyUnicode_KIND(w)); in unsafe_latin_compare() 2058 assert(PyUnicode_KIND(v) == PyUnicode_1BYTE_KIND); in unsafe_latin_compare() 2296 PyUnicode_KIND(key) != PyUnicode_1BYTE_KIND) { in list_sort_impl()
|
D | exceptions.c | 1447 kind = PyUnicode_KIND(name); in my_basename() 2979 int kind = PyUnicode_KIND(self->text); in _check_for_legacy_statements()
|
D | bytesobject.c | 2362 unsigned int kind = PyUnicode_KIND(string); in _PyBytes_FromHex() 2374 assert(PyUnicode_KIND(string) == PyUnicode_1BYTE_KIND); in _PyBytes_FromHex()
|
/external/python/cpython3/Include/cpython/ |
D | unicodeobject.h | 334 #define PyUnicode_KIND(op) \ macro 401 (PyUnicode_KIND((unicode)) == PyUnicode_1BYTE_KIND ? \ 403 (PyUnicode_KIND((unicode)) == PyUnicode_2BYTE_KIND ? \ 439 (PyUnicode_KIND(op) == PyUnicode_1BYTE_KIND ? \ 441 (PyUnicode_KIND(op) == PyUnicode_2BYTE_KIND ? \
|
/external/python/cpython3/Modules/ |
D | _json.c | 171 kind = PyUnicode_KIND(pystr); in ascii_escape_unicode() 238 kind = PyUnicode_KIND(pystr); in escape_unicode() 266 kind = PyUnicode_KIND(rval); in escape_unicode() 402 kind = PyUnicode_KIND(pystr); in scanstring_unicode() 695 kind = PyUnicode_KIND(pystr); in _parse_object_unicode() 827 kind = PyUnicode_KIND(pystr); in _parse_array_unicode() 928 kind = PyUnicode_KIND(pystr); in _match_number_unicode() 1040 kind = PyUnicode_KIND(pystr); in scan_once_unicode()
|
D | unicodedata.c | 524 kind = PyUnicode_KIND(input); in nfd_nfkd() 594 kind = PyUnicode_KIND(result); in nfd_nfkd() 658 kind = PyUnicode_KIND(result); in nfc_nfkc() 816 kind = PyUnicode_KIND(input); in is_normalized_quickcheck()
|
D | _csv.c | 826 kind = PyUnicode_KIND(lineobj); in Reader_iternext() 1115 field_kind = PyUnicode_KIND(field); in join_append() 1150 term_kind = PyUnicode_KIND(self->dialect->lineterminator); in join_append_lineterminator()
|
D | binascii.c | 239 assert(PyUnicode_KIND(arg) == PyUnicode_1BYTE_KIND); in ascii_buffer_converter()
|
D | _operator.c | 1190 kind = PyUnicode_KIND(item); in attrgetter_new()
|
/external/python/cpython3/Python/ |
D | pystrhex.c | 26 if (PyUnicode_KIND(sep) != PyUnicode_1BYTE_KIND) { in _Py_strhex_impl()
|
D | formatter_unicode.c | 64 int kind = PyUnicode_KIND(str); in get_integer() 172 int kind = PyUnicode_KIND(format_spec); in parse_internal_render_format_spec() 447 int kind = PyUnicode_KIND(s); in parse_number()
|
D | _warnings.c | 452 kind = PyUnicode_KIND(filename); in normalize_module() 534 kind = PyUnicode_KIND(sourceline); in show_warning()
|
D | codecs.c | 714 assert(PyUnicode_KIND(res) == PyUnicode_1BYTE_KIND); in PyCodec_ReplaceErrors() 739 assert(PyUnicode_KIND(res) == PyUnicode_2BYTE_KIND); in PyCodec_ReplaceErrors()
|
D | traceback.c | 464 kind = PyUnicode_KIND(lineobj); in _Py_DisplaySourceLine()
|
/external/python/markupsafe/src/markupsafe/ |
D | _speedups.c | 174 switch (PyUnicode_KIND(in)) { in escape_unicode()
|
/external/python/cpython3/Modules/_io/ |
D | textio.c | 343 kind = PyUnicode_KIND(modified); in _PyIncrementalNewlineDecoder_decode() 380 kind = PyUnicode_KIND(output); in _PyIncrementalNewlineDecoder_decode() 451 int kind = PyUnicode_KIND(output); in _PyIncrementalNewlineDecoder_decode() 843 assert(PyUnicode_KIND(self->readnl) == PyUnicode_1BYTE_KIND); in set_newline() 2092 assert(PyUnicode_KIND(readnl) == PyUnicode_1BYTE_KIND); in _PyIO_find_line_ending() 2193 kind = PyUnicode_KIND(line); in _textiowrapper_readline()
|
/external/python/cpython3/Modules/cjkcodecs/ |
D | multibytecodec.c | 236 kind = PyUnicode_KIND(replchar); in multibytecodec_encerror() 474 kind = PyUnicode_KIND(buf.inobj); in multibytecodec_encode()
|
/external/python/cpython3/Parser/pegen/ |
D | parse_string.c | 103 kind = PyUnicode_KIND(w); in decode_unicode_with_escapes()
|
/external/python/cpython3/Doc/c-api/ |
D | unicode.rst | 134 :c:func:`PyUnicode_KIND` to select the right macro. Make sure 145 Return values of the :c:func:`PyUnicode_KIND` macro. 153 .. c:function:: int PyUnicode_KIND(PyObject *o) 422 :c:func:`PyUnicode_KIND`). The *buffer* must point to an array of *size* 699 :c:func:`PyUnicode_KIND`.
|
/external/python/cpython2/Objects/ |
D | bytesobject.c | 2373 unsigned int kind = PyUnicode_KIND(string); in _PyBytes_FromHex() 2385 assert(PyUnicode_KIND(string) == PyUnicode_1BYTE_KIND); in _PyBytes_FromHex()
|
/external/python/cpython3/Modules/_sqlite/ |
D | connection.c | 1669 kind = PyUnicode_KIND(uppercase_name); in pysqlite_connection_create_collation()
|