Home
last modified time | relevance | path

Searched refs:PyByteArray_FromStringAndSize (Results 1 – 6 of 6) sorted by relevance

/external/python/cpython2/Objects/
Dbytearrayobject.c168 PyByteArray_FromStringAndSize(const char *bytes, Py_ssize_t size) in PyByteArray_FromStringAndSize() function
294 PyByteArray_FromStringAndSize(NULL, va.len + vb.len); in PyByteArray_Concat()
362 result = (PyByteArrayObject *)PyByteArray_FromStringAndSize(NULL, size); in bytearray_repeat()
445 return PyByteArray_FromStringAndSize("", 0); in bytearray_subscript()
447 return PyByteArray_FromStringAndSize(self->ob_bytes + start, in bytearray_subscript()
462 result = PyByteArray_FromStringAndSize(result_buf, slicelength); in bytearray_subscript()
1120 #define STRINGLIB_NEW PyByteArray_FromStringAndSize
1487 result = PyByteArray_FromStringAndSize((char *)NULL, inlen); in bytearray_translate()
1542 return (PyByteArrayObject *)PyByteArray_FromStringAndSize( in return_self()
1600 PyByteArray_FromStringAndSize(NULL, result_len)) ) in replace_interleave()
[all …]
/external/python/cpython2/Include/
Dbytearrayobject.h41 PyAPI_FUNC(PyObject *) PyByteArray_FromStringAndSize(const char *, Py_ssize_t);
/external/python/cpython2/Doc/c-api/
Dbytearray.rst49 .. c:function:: PyObject* PyByteArray_FromStringAndSize(const char *string, Py_ssize_t len)
/external/python/cpython2/Modules/_io/
Diobase.c463 buffer = PyByteArray_FromStringAndSize(NULL, 0); in iobase_readline()
794 b = PyByteArray_FromStringAndSize(NULL, n); in rawiobase_read()
/external/libnl/python/netlink/
Dcapi.i805 $result = PyByteArray_FromStringAndSize($1, nla_len(arg1));
/external/python/cpython2/Doc/whatsnew/
D2.6.rst1012 :c:func:`PyByteArray_FromStringAndSize`,