Lines Matching refs:PyBytes_AS_STRING

492         *p = PyBytes_AS_STRING(arg)[0];  in byte_converter()
542 *pbuf = PyBytes_AS_STRING(v); in format_obj()
567 *pbuf = PyBytes_AS_STRING(result); in format_obj()
577 *pbuf = PyBytes_AS_STRING(result); in format_obj()
925 pbuf = PyBytes_AS_STRING(temp); in _PyBytes_FormatEx()
1112 PyBytes_AS_STRING(w), in _PyBytes_DecodeEscapeRecode()
1309 *s = PyBytes_AS_STRING(obj); in PyBytes_AsStringAndSize()
1466 memcpy(PyBytes_AS_STRING(result), va.buf, va.len); in bytes_concat()
1467 memcpy(PyBytes_AS_STRING(result) + va.len, vb.buf, vb.len); in bytes_concat()
1533 return _Py_bytes_contains(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self), arg); in bytes_contains()
1705 PyBytes_AS_STRING(self) + start, in bytes_subscript()
1709 source_buf = PyBytes_AS_STRING(self); in bytes_subscript()
1714 result_buf = PyBytes_AS_STRING(result); in bytes_subscript()
1784 const char *s = PyBytes_AS_STRING(self), *sub; in bytes_split_impl()
1824 PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self), in bytes_partition_impl()
1851 PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self), in bytes_rpartition_impl()
1869 const char *s = PyBytes_AS_STRING(self), *sub; in bytes_rsplit_impl()
1921 return _Py_bytes_find(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self), args); in bytes_find()
1927 return _Py_bytes_index(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self), args); in bytes_index()
1934 return _Py_bytes_rfind(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self), args); in bytes_rfind()
1941 return _Py_bytes_rindex(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self), args); in bytes_rindex()
1949 char *s = PyBytes_AS_STRING(self); in do_xstrip()
1989 char *s = PyBytes_AS_STRING(self); in do_strip()
2083 return _Py_bytes_count(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self), args); in bytes_count()
2118 table_chars = PyBytes_AS_STRING(table); in bytes_translate_impl()
2141 del_table_chars = PyBytes_AS_STRING(deletechars); in bytes_translate_impl()
2165 output_start = output = PyBytes_AS_STRING(result); in bytes_translate_impl()
2166 input = PyBytes_AS_STRING(input_obj); in bytes_translate_impl()
2274 return _Py_bytes_startswith(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self), args); in bytes_startswith()
2280 return _Py_bytes_endswith(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self), args); in bytes_endswith()
2324 (PyObject*) self, PyBytes_AS_STRING(self), in bytes_splitlines_impl()
2440 char* argbuf = PyBytes_AS_STRING(self); in bytes_hex()
2518 return _PyBytes_FormatEx(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self), in bytes_mod()
2815 memcpy(PyBytes_AS_STRING(pnew), in bytes_subtype_new()
2816 PyBytes_AS_STRING(tmp), n+1); in bytes_subtype_new()
2914 memcpy(PyBytes_AS_STRING(*pv) + oldsize, wb.buf, wb.len); in PyBytes_Concat()
3195 return PyBytes_AS_STRING(writer->buffer); in _PyBytesWriter_AsString()
3292 dest = PyBytes_AS_STRING(writer->buffer); in _PyBytesWriter_Resize()