/third_party/python/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()
|
/third_party/python/Objects/ |
D | unicodeobject.c | 675 int kind = PyUnicode_KIND(unicode); in unicode_result_ready() 740 kind = PyUnicode_KIND(unicode); in backslashreplace() 807 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() 1296 switch (PyUnicode_KIND(unicode)) in unicode_kind_name() 1312 switch (PyUnicode_KIND(unicode)) { in unicode_kind_name() [all …]
|
D | listobject.c | 2076 assert(PyUnicode_KIND(v) == PyUnicode_KIND(w)); in unsafe_latin_compare() 2077 assert(PyUnicode_KIND(v) == PyUnicode_1BYTE_KIND); in unsafe_latin_compare() 2315 PyUnicode_KIND(key) != PyUnicode_1BYTE_KIND) { in list_sort_impl()
|
D | bytesobject.c | 2377 unsigned int kind = PyUnicode_KIND(string); in _PyBytes_FromHex() 2389 assert(PyUnicode_KIND(string) == PyUnicode_1BYTE_KIND); in _PyBytes_FromHex()
|
/third_party/python/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 ? \
|
/third_party/python/Modules/ |
D | _json.c | 170 kind = PyUnicode_KIND(pystr); in ascii_escape_unicode() 237 kind = PyUnicode_KIND(pystr); in escape_unicode() 265 kind = PyUnicode_KIND(rval); in escape_unicode() 405 kind = PyUnicode_KIND(pystr); in scanstring_unicode() 698 kind = PyUnicode_KIND(pystr); in _parse_object_unicode() 830 kind = PyUnicode_KIND(pystr); in _parse_array_unicode() 931 kind = PyUnicode_KIND(pystr); in _match_number_unicode() 1043 kind = PyUnicode_KIND(pystr); in scan_once_unicode()
|
D | unicodedata.c | 530 kind = PyUnicode_KIND(input); in nfd_nfkd() 600 kind = PyUnicode_KIND(result); in nfd_nfkd() 664 kind = PyUnicode_KIND(result); in nfc_nfkc() 822 kind = PyUnicode_KIND(input); in is_normalized_quickcheck()
|
D | _csv.c | 906 kind = PyUnicode_KIND(lineobj); in Reader_iternext() 1190 field_kind = PyUnicode_KIND(field); in join_append() 1225 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 | 1189 kind = PyUnicode_KIND(item); in attrgetter_new()
|
D | pyexpat.c | 1112 kind = PyUnicode_KIND(u); in PyUnknownEncodingHandler()
|
/third_party/python/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 | 446 kind = PyUnicode_KIND(filename); in normalize_module() 528 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 | 465 kind = PyUnicode_KIND(lineobj); in _Py_DisplaySourceLine()
|
D | pystate.c | 1850 shared->kind = PyUnicode_KIND(obj); in _str_shared()
|
/third_party/markupsafe/ |
D | _speedups.c | 174 switch (PyUnicode_KIND(in)) { in escape_unicode()
|
/third_party/python/Modules/_io/ |
D | textio.c | 344 kind = PyUnicode_KIND(modified); in _PyIncrementalNewlineDecoder_decode() 381 kind = PyUnicode_KIND(output); in _PyIncrementalNewlineDecoder_decode() 452 int kind = PyUnicode_KIND(output); in _PyIncrementalNewlineDecoder_decode() 844 assert(PyUnicode_KIND(self->readnl) == PyUnicode_1BYTE_KIND); in set_newline() 2102 assert(PyUnicode_KIND(readnl) == PyUnicode_1BYTE_KIND); in _PyIO_find_line_ending() 2203 kind = PyUnicode_KIND(line); in _textiowrapper_readline()
|
/third_party/python/Modules/cjkcodecs/ |
D | multibytecodec.c | 269 kind = PyUnicode_KIND(replchar); in multibytecodec_encerror() 507 kind = PyUnicode_KIND(buf.inobj); in multibytecodec_encode()
|
/third_party/python/Parser/ |
D | string_parser.c | 98 kind = PyUnicode_KIND(w); in decode_unicode_with_escapes()
|
/third_party/python/Doc/c-api/ |
D | unicode.rst | 133 :c:func:`PyUnicode_KIND` to select the right macro. Make sure 144 Return values of the :c:func:`PyUnicode_KIND` macro. 152 .. c:function:: unsigned int PyUnicode_KIND(PyObject *o) 421 :c:func:`PyUnicode_KIND`). The *buffer* must point to an array of *size* 698 :c:func:`PyUnicode_KIND`.
|
/third_party/python/Modules/_sqlite/ |
D | connection.c | 1790 kind = PyUnicode_KIND(uppercase_name); in pysqlite_connection_create_collation_impl()
|
/third_party/python/Doc/data/ |
D | refcounts.dat | 2352 PyUnicode_KIND:int::: 2353 PyUnicode_KIND:PyObject*:o:0:
|