Lines Matching refs:PyBytes_AS_STRING
498 *p = PyBytes_AS_STRING(arg)[0]; in byte_converter()
548 *pbuf = PyBytes_AS_STRING(v); in format_obj()
573 *pbuf = PyBytes_AS_STRING(result); in format_obj()
583 *pbuf = PyBytes_AS_STRING(result); in format_obj()
931 pbuf = PyBytes_AS_STRING(temp); in _PyBytes_FormatEx()
1118 PyBytes_AS_STRING(w), in _PyBytes_DecodeEscapeRecode()
1315 *s = PyBytes_AS_STRING(obj); in PyBytes_AsStringAndSize()
1472 memcpy(PyBytes_AS_STRING(result), va.buf, va.len); in bytes_concat()
1473 memcpy(PyBytes_AS_STRING(result) + va.len, vb.buf, vb.len); in bytes_concat()
1539 return _Py_bytes_contains(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self), arg); in bytes_contains()
1698 PyBytes_AS_STRING(self) + start, in bytes_subscript()
1702 source_buf = PyBytes_AS_STRING(self); in bytes_subscript()
1707 result_buf = PyBytes_AS_STRING(result); in bytes_subscript()
1777 const char *s = PyBytes_AS_STRING(self), *sub; in bytes_split_impl()
1817 PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self), in bytes_partition_impl()
1844 PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self), in bytes_rpartition_impl()
1862 const char *s = PyBytes_AS_STRING(self), *sub; in bytes_rsplit_impl()
1914 return _Py_bytes_find(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self), args); in bytes_find()
1920 return _Py_bytes_index(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self), args); in bytes_index()
1927 return _Py_bytes_rfind(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self), args); in bytes_rfind()
1934 return _Py_bytes_rindex(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self), args); in bytes_rindex()
1942 char *s = PyBytes_AS_STRING(self); in do_xstrip()
1982 char *s = PyBytes_AS_STRING(self); in do_strip()
2076 return _Py_bytes_count(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self), args); in bytes_count()
2111 table_chars = PyBytes_AS_STRING(table); in bytes_translate_impl()
2134 del_table_chars = PyBytes_AS_STRING(deletechars); in bytes_translate_impl()
2158 output_start = output = PyBytes_AS_STRING(result); in bytes_translate_impl()
2159 input = PyBytes_AS_STRING(input_obj); in bytes_translate_impl()
2267 return _Py_bytes_startswith(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self), args); in bytes_startswith()
2273 return _Py_bytes_endswith(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self), args); in bytes_endswith()
2317 (PyObject*) self, PyBytes_AS_STRING(self), in bytes_splitlines_impl()
2433 char* argbuf = PyBytes_AS_STRING(self); in bytes_hex()
2513 return _PyBytes_FormatEx(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self), in bytes_mod()
2847 memcpy(PyBytes_AS_STRING(pnew), in bytes_subtype_new()
2848 PyBytes_AS_STRING(tmp), n+1); in bytes_subtype_new()
2946 memcpy(PyBytes_AS_STRING(*pv) + oldsize, wb.buf, wb.len); in PyBytes_Concat()
3240 return PyBytes_AS_STRING(writer->buffer); in _PyBytesWriter_AsString()
3337 dest = PyBytes_AS_STRING(writer->buffer); in _PyBytesWriter_Resize()