Lines Matching refs:PyByteArray_FromStringAndSize

168 PyByteArray_FromStringAndSize(const char *bytes, Py_ssize_t size)
175 "Negative size passed to PyByteArray_FromStringAndSize");
294 PyByteArray_FromStringAndSize(NULL, va.len + vb.len);
362 result = (PyByteArrayObject *)PyByteArray_FromStringAndSize(NULL, size);
445 return PyByteArray_FromStringAndSize("", 0);
447 return PyByteArray_FromStringAndSize(self->ob_bytes + start,
462 result = PyByteArray_FromStringAndSize(result_buf, slicelength);
1120 #define STRINGLIB_NEW PyByteArray_FromStringAndSize
1487 result = PyByteArray_FromStringAndSize((char *)NULL, inlen);
1542 return (PyByteArrayObject *)PyByteArray_FromStringAndSize(
1600 PyByteArray_FromStringAndSize(NULL, result_len)) )
1649 PyByteArray_FromStringAndSize(NULL, result_len)) == NULL)
1697 PyByteArray_FromStringAndSize(NULL, result_len)) == NULL )
1743 result = (PyByteArrayObject *) PyByteArray_FromStringAndSize(NULL, self_len);
1792 result = (PyByteArrayObject *) PyByteArray_FromStringAndSize(NULL, self_len);
1853 PyByteArray_FromStringAndSize(NULL, result_len)) == NULL)
1923 PyByteArray_FromStringAndSize(NULL, result_len)) == NULL)
2307 bytearray_obj = PyByteArray_FromStringAndSize(NULL, buf_size);
2483 return PyByteArray_FromStringAndSize(self->ob_bytes + left, right - left);
2516 return PyByteArray_FromStringAndSize(self->ob_bytes + left, right - left);
2549 return PyByteArray_FromStringAndSize(self->ob_bytes + left, right - left);
2638 result = PyByteArray_FromStringAndSize(NULL, totalsize);
2722 newbytes = PyByteArray_FromStringAndSize(NULL, byteslen);