• Home
  • Raw
  • Download

Lines Matching refs:PyBytes_AS_STRING

499         *p = PyBytes_AS_STRING(arg)[0];  in byte_converter()
549 *pbuf = PyBytes_AS_STRING(v); in format_obj()
574 *pbuf = PyBytes_AS_STRING(result); in format_obj()
584 *pbuf = PyBytes_AS_STRING(result); in format_obj()
929 pbuf = PyBytes_AS_STRING(temp); in _PyBytes_FormatEx()
1108 PyBytes_AS_STRING(w), in _PyBytes_DecodeEscapeRecode()
1305 *s = PyBytes_AS_STRING(obj); in PyBytes_AsStringAndSize()
1464 memcpy(PyBytes_AS_STRING(result), va.buf, va.len); in bytes_concat()
1465 memcpy(PyBytes_AS_STRING(result) + va.len, vb.buf, vb.len); in bytes_concat()
1531 return _Py_bytes_contains(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self), arg); in bytes_contains()
1690 PyBytes_AS_STRING(self) + start, in bytes_subscript()
1694 source_buf = PyBytes_AS_STRING(self); in bytes_subscript()
1699 result_buf = PyBytes_AS_STRING(result); in bytes_subscript()
1769 const char *s = PyBytes_AS_STRING(self), *sub; in bytes_split_impl()
1809 PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self), in bytes_partition_impl()
1836 PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self), in bytes_rpartition_impl()
1854 const char *s = PyBytes_AS_STRING(self), *sub; in bytes_rsplit_impl()
1906 return _Py_bytes_find(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self), args); in bytes_find()
1912 return _Py_bytes_index(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self), args); in bytes_index()
1919 return _Py_bytes_rfind(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self), args); in bytes_rfind()
1926 return _Py_bytes_rindex(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self), args); in bytes_rindex()
1934 char *s = PyBytes_AS_STRING(self); in do_xstrip()
1974 char *s = PyBytes_AS_STRING(self); in do_strip()
2068 return _Py_bytes_count(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self), args); in bytes_count()
2103 table_chars = PyBytes_AS_STRING(table); in bytes_translate_impl()
2126 del_table_chars = PyBytes_AS_STRING(deletechars); in bytes_translate_impl()
2150 output_start = output = PyBytes_AS_STRING(result); in bytes_translate_impl()
2151 input = PyBytes_AS_STRING(input_obj); in bytes_translate_impl()
2259 return _Py_bytes_startswith(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self), args); in bytes_startswith()
2265 return _Py_bytes_endswith(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self), args); in bytes_endswith()
2309 (PyObject*) self, PyBytes_AS_STRING(self), in bytes_splitlines_impl()
2443 char* argbuf = PyBytes_AS_STRING(self); in bytes_hex_impl()
2521 return _PyBytes_FormatEx(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self), in bytes_mod()
2856 memcpy(PyBytes_AS_STRING(pnew), in bytes_subtype_new()
2857 PyBytes_AS_STRING(tmp), n+1); in bytes_subtype_new()
2954 memcpy(PyBytes_AS_STRING(*pv) + oldsize, wb.buf, wb.len); in PyBytes_Concat()
3250 return PyBytes_AS_STRING(writer->buffer); in _PyBytesWriter_AsString()
3348 dest = PyBytes_AS_STRING(writer->buffer); in _PyBytesWriter_Resize()