• Home
  • Raw
  • Download

Lines Matching refs:PyByteArray_FromStringAndSize

176     result = PyByteArray_FromStringAndSize(NULL, view.len);  in _PyByteArray_FromBufferObject()
188 PyByteArray_FromStringAndSize(const char *bytes, Py_ssize_t size) in PyByteArray_FromStringAndSize() function
314 PyByteArray_FromStringAndSize(NULL, va.len + vb.len); in PyByteArray_Concat()
382 result = (PyByteArrayObject *)PyByteArray_FromStringAndSize(NULL, size); in bytearray_repeat()
465 return PyByteArray_FromStringAndSize("", 0); in bytearray_subscript()
467 return PyByteArray_FromStringAndSize(self->ob_bytes + start, in bytearray_subscript()
482 result = PyByteArray_FromStringAndSize(result_buf, slicelength); in bytearray_subscript()
506 values = PyByteArray_FromStringAndSize(PyByteArray_AS_STRING(values), in bytearray_setslice()
1141 #define STRINGLIB_NEW PyByteArray_FromStringAndSize
1508 result = PyByteArray_FromStringAndSize((char *)NULL, inlen); in bytearray_translate()
1563 return (PyByteArrayObject *)PyByteArray_FromStringAndSize( in return_self()
1620 PyByteArray_FromStringAndSize(NULL, result_len)) ) in replace_interleave()
1669 PyByteArray_FromStringAndSize(NULL, result_len)) == NULL) in replace_delete_single_character()
1717 PyByteArray_FromStringAndSize(NULL, result_len)) == NULL ) in replace_delete_substring()
1763 result = (PyByteArrayObject *) PyByteArray_FromStringAndSize(NULL, self_len); in replace_single_character_in_place()
1812 result = (PyByteArrayObject *) PyByteArray_FromStringAndSize(NULL, self_len); in replace_substring_in_place()
1869 PyByteArray_FromStringAndSize(NULL, result_len)) == NULL) in replace_single_character()
1935 PyByteArray_FromStringAndSize(NULL, result_len)) == NULL) in replace_substring()
2319 bytearray_obj = PyByteArray_FromStringAndSize(NULL, buf_size); in bytearray_extend()
2495 return PyByteArray_FromStringAndSize(self->ob_bytes + left, right - left); in bytearray_strip()
2528 return PyByteArray_FromStringAndSize(self->ob_bytes + left, right - left); in bytearray_lstrip()
2561 return PyByteArray_FromStringAndSize(self->ob_bytes + left, right - left); in bytearray_rstrip()
2650 result = PyByteArray_FromStringAndSize(NULL, totalsize); in bytearray_join()
2734 newbytes = PyByteArray_FromStringAndSize(NULL, byteslen); in bytearray_fromhex()