/external/python/cpython3/Objects/stringlib/ |
D | eq.h | 20 if (PyUnicode_KIND(a) != PyUnicode_KIND(b)) in unicode_eq() 23 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/cpython3/Objects/ |
D | unicodeobject.c | 574 int kind = PyUnicode_KIND(unicode); in unicode_result_ready() 634 kind = PyUnicode_KIND(unicode); in backslashreplace() 701 kind = PyUnicode_KIND(unicode); in xmlcharrefreplace() 912 int kind = PyUnicode_KIND(unicode); in unicode_fill_invalid() 937 char_size = PyUnicode_KIND(unicode); in resize_compact() 982 PyUnicode_WRITE(PyUnicode_KIND(unicode), PyUnicode_DATA(unicode), in resize_compact() 1005 char_size = PyUnicode_KIND(unicode); in resize_inplace() 1037 PyUnicode_WRITE(PyUnicode_KIND(unicode), data, length, 0); in resize_inplace() 1176 switch (PyUnicode_KIND(unicode)) in unicode_kind_name() 1192 switch (PyUnicode_KIND(unicode)) { in unicode_kind_name() [all …]
|
D | listobject.c | 2037 assert(PyUnicode_KIND(v) == PyUnicode_KIND(w)); in unsafe_latin_compare() 2038 assert(PyUnicode_KIND(v) == PyUnicode_1BYTE_KIND); in unsafe_latin_compare() 2262 PyUnicode_KIND(key) != PyUnicode_1BYTE_KIND) in list_sort_impl()
|
D | exceptions.c | 1418 kind = PyUnicode_KIND(name); in my_basename() 2907 int kind = PyUnicode_KIND(self->text); in _check_for_legacy_statements()
|
D | bytesobject.c | 2366 unsigned int kind = PyUnicode_KIND(string); in _PyBytes_FromHex() 2378 assert(PyUnicode_KIND(string) == PyUnicode_1BYTE_KIND); in _PyBytes_FromHex()
|
/external/python/cpython3/Modules/ |
D | _json.c | 181 kind = PyUnicode_KIND(pystr); in ascii_escape_unicode() 248 kind = PyUnicode_KIND(pystr); in escape_unicode() 276 kind = PyUnicode_KIND(rval); in escape_unicode() 425 kind = PyUnicode_KIND(pystr); in scanstring_unicode() 723 kind = PyUnicode_KIND(pystr); in _parse_object_unicode() 858 kind = PyUnicode_KIND(pystr); in _parse_array_unicode() 959 kind = PyUnicode_KIND(pystr); in _match_number_unicode() 1071 kind = PyUnicode_KIND(pystr); in scan_once_unicode()
|
D | unicodedata.c | 517 kind = PyUnicode_KIND(input); in nfd_nfkd() 587 kind = PyUnicode_KIND(result); in nfd_nfkd() 651 kind = PyUnicode_KIND(result); in nfc_nfkc() 792 kind = PyUnicode_KIND(input); in is_normalized()
|
D | _csv.c | 819 kind = PyUnicode_KIND(lineobj); in Reader_iternext() 1110 field_kind = PyUnicode_KIND(field); in join_append() 1145 term_kind = PyUnicode_KIND(self->dialect->lineterminator); in join_append_lineterminator()
|
D | binascii.c | 222 assert(PyUnicode_KIND(arg) == PyUnicode_1BYTE_KIND); in ascii_buffer_converter()
|
D | _operator.c | 1159 kind = PyUnicode_KIND(item); in attrgetter_new()
|
D | zipimport.c | 1479 stripped = PyUnicode_FromKindAndData(PyUnicode_KIND(path), in get_mtime_of_source()
|
D | pyexpat.c | 1145 kind = PyUnicode_KIND(u); in PyUnknownEncodingHandler()
|
D | _sre.c | 376 *p_charsize = PyUnicode_KIND(string); in getstring()
|
/external/python/cpython3/Include/ |
D | unicodeobject.h | 456 #define PyUnicode_KIND(op) \ macro 523 (PyUnicode_KIND((unicode)) == PyUnicode_1BYTE_KIND ? \ 525 (PyUnicode_KIND((unicode)) == PyUnicode_2BYTE_KIND ? \ 561 (PyUnicode_KIND(op) == PyUnicode_1BYTE_KIND ? \ 563 (PyUnicode_KIND(op) == PyUnicode_2BYTE_KIND ? \
|
/external/python/cpython3/Python/ |
D | _warnings.c | 305 kind = PyUnicode_KIND(filename); in normalize_module() 387 kind = PyUnicode_KIND(sourceline); in show_warning() 744 kind = PyUnicode_KIND(*filename); in setup_context()
|
D | formatter_unicode.c | 63 int kind = PyUnicode_KIND(str); in get_integer() 171 int kind = PyUnicode_KIND(format_spec); in parse_internal_render_format_spec() 444 int kind = PyUnicode_KIND(s); in parse_number()
|
D | codecs.c | 718 kind = PyUnicode_KIND(res); in PyCodec_ReplaceErrors() 744 kind = PyUnicode_KIND(res); in PyCodec_ReplaceErrors()
|
D | traceback.c | 454 kind = PyUnicode_KIND(lineobj); in _Py_DisplaySourceLine()
|
/external/python/cpython3/Modules/_io/ |
D | textio.c | 341 kind = PyUnicode_KIND(modified); in _PyIncrementalNewlineDecoder_decode() 378 kind = PyUnicode_KIND(output); in _PyIncrementalNewlineDecoder_decode() 449 int kind = PyUnicode_KIND(output); in _PyIncrementalNewlineDecoder_decode() 832 assert(PyUnicode_KIND(self->readnl) == PyUnicode_1BYTE_KIND); in set_newline() 1976 assert(PyUnicode_KIND(readnl) == PyUnicode_1BYTE_KIND); in _PyIO_find_line_ending() 2077 kind = PyUnicode_KIND(line); in _textiowrapper_readline()
|
/external/python/cpython3/Modules/cjkcodecs/ |
D | multibytecodec.c | 246 kind = PyUnicode_KIND(replchar); in multibytecodec_encerror() 484 kind = PyUnicode_KIND(buf.inobj); in multibytecodec_encode()
|
/external/python/cpython3/Doc/c-api/ |
D | unicode.rst | 126 :c:func:`PyUnicode_KIND` to select the right macro. Make sure 137 Return values of the :c:func:`PyUnicode_KIND` macro. 142 .. c:function:: int PyUnicode_KIND(PyObject *o) 406 :c:func:`PyUnicode_KIND`). The *buffer* must point to an array of *size* 683 :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 | 1624 kind = PyUnicode_KIND(uppercase_name); in pysqlite_connection_create_collation()
|
/external/python/cpython3/Doc/data/ |
D | refcounts.dat | 2331 PyUnicode_KIND:int::: 2332 PyUnicode_KIND:PyObject*:o:0:
|