Home
last modified time | relevance | path

Searched refs:PyUnicode_1BYTE_DATA (Results 1 – 20 of 20) sorted by relevance

/third_party/python/Objects/stringlib/
Deq.h23 return memcmp(PyUnicode_1BYTE_DATA(a), PyUnicode_1BYTE_DATA(b), in unicode_eq()
Ducs1lib.h18 #define STRINGLIB_STR PyUnicode_1BYTE_DATA
Dasciilib.h18 #define STRINGLIB_STR PyUnicode_1BYTE_DATA
/third_party/markupsafe/
D_speedups.c94 Py_UCS1 *inp = PyUnicode_1BYTE_DATA(in); in escape_unicode_kind1()
111 inp = PyUnicode_1BYTE_DATA(in); in escape_unicode_kind1()
112 outp = PyUnicode_1BYTE_DATA(out); in escape_unicode_kind1()
/third_party/python/Modules/_sqlite/
Drow.c114 const Py_UCS1 *p1 = PyUnicode_1BYTE_DATA(left); in equal_ignore_case()
115 const Py_UCS1 *p2 = PyUnicode_1BYTE_DATA(right); in equal_ignore_case()
/third_party/python/Python/
Dcodecs.c715 outp = PyUnicode_1BYTE_DATA(res); in PyCodec_ReplaceErrors()
796 outp = PyUnicode_1BYTE_DATA(res); in PyCodec_XMLCharRefReplaceErrors()
875 outp = PyUnicode_1BYTE_DATA(res); in PyCodec_BackslashReplaceErrors()
928 outp = PyUnicode_1BYTE_DATA(res); in PyCodec_BackslashReplaceErrors()
1009 for (i = start, outp = PyUnicode_1BYTE_DATA(res); in PyCodec_NameReplaceErrors()
1041 assert(outp == PyUnicode_1BYTE_DATA(res) + ressize); in PyCodec_NameReplaceErrors()
Dpystrhex.c80 retbuf = PyUnicode_1BYTE_DATA(retval); in _Py_strhex_impl()
Dmarshal.c432 w_short_pstring(PyUnicode_1BYTE_DATA(v), in w_complex_object()
440 w_pstring(PyUnicode_1BYTE_DATA(v), in w_complex_object()
/third_party/python/Objects/
Dunicodeobject.c677 const Py_UCS1 *data = PyUnicode_1BYTE_DATA(unicode); in unicode_result_ready()
1030 Py_UCS1 *data = PyUnicode_1BYTE_DATA(unicode); in unicode_fill_invalid()
1393 PyUnicode_1BYTE_DATA(empty)[0] = 0; in unicode_create_empty_string_singleton()
1629 PyUnicode_1BYTE_DATA(from) + from_start, in _copy_characters()
1630 PyUnicode_1BYTE_DATA(from) + from_start + how_many, in _copy_characters()
1639 PyUnicode_1BYTE_DATA(from) + from_start, in _copy_characters()
1640 PyUnicode_1BYTE_DATA(from) + from_start + how_many, in _copy_characters()
1665 PyUnicode_1BYTE_DATA(to) + to_start in _copy_characters()
1675 PyUnicode_1BYTE_DATA(to) + to_start in _copy_characters()
1852 PyUnicode_1BYTE_DATA(unicode)); in _PyUnicode_Ready()
[all …]
Dbytesobject.c853 pbuf = (const char *)PyUnicode_1BYTE_DATA(temp); in _PyBytes_FormatEx()
915 pbuf = (const char *)PyUnicode_1BYTE_DATA(temp); in _PyBytes_FormatEx()
1334 p = PyUnicode_1BYTE_DATA(v); in PyBytes_Repr()
2390 str = PyUnicode_1BYTE_DATA(string); in _PyBytes_FromHex()
2410 invalid_char = str - PyUnicode_1BYTE_DATA(string); in _PyBytes_FromHex()
2417 invalid_char = str - PyUnicode_1BYTE_DATA(string); in _PyBytes_FromHex()
Dcodeobject.c33 s = PyUnicode_1BYTE_DATA(o); in all_name_chars()
Dtypeobject.c3876 const Py_UCS1 *characters = PyUnicode_1BYTE_DATA(name); in is_dunder_name()
/third_party/python/Include/cpython/
Dunicodeobject.h329 #define PyUnicode_1BYTE_DATA(op) ((Py_UCS1*)PyUnicode_DATA(op)) macro
/third_party/python/Modules/
D_json.c199 output = PyUnicode_1BYTE_DATA(rval); in ascii_escape_unicode()
297 Py_UCS1 *output = PyUnicode_1BYTE_DATA(rval); in escape_unicode()
Dbinascii.c240 buf->buf = (void *) PyUnicode_1BYTE_DATA(arg); in ascii_buffer_converter()
/third_party/python/Modules/_io/
Dtextio.c845 self->writenl = (const char *)PyUnicode_1BYTE_DATA(self->readnl); in set_newline()
2100 const Py_UCS1 *nl = PyUnicode_1BYTE_DATA(readnl); in _PyIO_find_line_ending()
/third_party/python/Doc/data/
Drefcounts.dat2331 PyUnicode_1BYTE_DATA:Py_UCS1*:::
2332 PyUnicode_1BYTE_DATA:PyObject*:o:0:
/third_party/python/Modules/_decimal/
D_decimal.c3092 memcpy(PyUnicode_1BYTE_DATA(res), s, size); in unicode_fromascii()
/third_party/python/Doc/c-api/
Dunicode.rst126 .. c:function:: Py_UCS1* PyUnicode_1BYTE_DATA(PyObject *o)
/third_party/python/Doc/whatsnew/
D3.3.rst2195 * :c:macro:`PyUnicode_DATA`, :c:macro:`PyUnicode_1BYTE_DATA`,