Searched refs:PyByteArray_FromStringAndSize (Results 1 – 20 of 20) sorted by relevance
/external/python/cpython2/Objects/ |
D | bytearrayobject.c | 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() [all …]
|
D | bytesobject.c | 3281 writer->buffer = PyByteArray_FromStringAndSize(NULL, allocated); in _PyBytesWriter_Resize() 3390 result = PyByteArray_FromStringAndSize(writer->small_buffer, size); in _PyBytesWriter_Finish()
|
/external/python/cpython3/Objects/ |
D | bytearrayobject.c | 105 result = PyByteArray_FromStringAndSize(NULL, view.len); in _PyByteArray_FromBufferObject() 117 PyByteArray_FromStringAndSize(const char *bytes, Py_ssize_t size) in PyByteArray_FromStringAndSize() function 278 PyByteArray_FromStringAndSize(NULL, va.len + vb.len); in PyByteArray_Concat() 340 result = (PyByteArrayObject *)PyByteArray_FromStringAndSize(NULL, size); in bytearray_repeat() 422 return PyByteArray_FromStringAndSize("", 0); in bytearray_subscript() 424 return PyByteArray_FromStringAndSize( in bytearray_subscript() 432 result = PyByteArray_FromStringAndSize(NULL, slicelength); in bytearray_subscript() 549 values = PyByteArray_FromStringAndSize(PyByteArray_AS_STRING(values), in bytearray_setslice() 1098 #define STRINGLIB_NEW PyByteArray_FromStringAndSize 1151 return PyByteArray_FromStringAndSize(PyByteArray_AS_STRING((PyObject *)self), in bytearray_copy_impl() [all …]
|
D | bytesobject.c | 3337 writer->buffer = PyByteArray_FromStringAndSize(NULL, allocated); in _PyBytesWriter_Resize() 3447 result = PyByteArray_FromStringAndSize(writer->small_buffer, size); in _PyBytesWriter_Finish()
|
/external/python/cpython2/Include/ |
D | bytearrayobject.h | 41 PyAPI_FUNC(PyObject *) PyByteArray_FromStringAndSize(const char *, Py_ssize_t);
|
/external/python/cpython3/Include/ |
D | bytearrayobject.h | 44 PyAPI_FUNC(PyObject *) PyByteArray_FromStringAndSize(const char *, Py_ssize_t);
|
/external/python/cpython2/Doc/c-api/ |
D | bytearray.rst | 49 .. c:function:: PyObject* PyByteArray_FromStringAndSize(const char *string, Py_ssize_t len)
|
/external/python/cpython3/Doc/c-api/ |
D | bytearray.rst | 48 .. c:function:: PyObject* PyByteArray_FromStringAndSize(const char *string, Py_ssize_t len)
|
/external/python/cpython3/Modules/_io/ |
D | iobase.c | 549 buffer = PyByteArray_FromStringAndSize(NULL, 0); in _io__IOBase_readline_impl() 929 b = PyByteArray_FromStringAndSize(NULL, n); in _io__RawIOBase_read_impl()
|
/external/python/cpython2/Modules/_io/ |
D | iobase.c | 471 buffer = PyByteArray_FromStringAndSize(NULL, 0); in iobase_readline() 816 b = PyByteArray_FromStringAndSize(NULL, n); in rawiobase_read()
|
/external/dtc/pylibfdt/ |
D | libfdt.i | 402 buff = PyByteArray_FromStringAndSize(
|
/external/python/cpython3/PC/ |
D | python3.def | 19 PyByteArray_FromStringAndSize=python38.PyByteArray_FromStringAndSize
|
/external/python/cpython3/Modules/_sqlite/ |
D | cursor.c | 307 converted = PyByteArray_FromStringAndSize(val_str, nbytes); in _pysqlite_fetch_one_row()
|
/external/libnl/python/netlink/ |
D | capi.i | 805 $result = PyByteArray_FromStringAndSize($1, nla_len(arg1));
|
/external/python/cpython3/Doc/data/ |
D | refcounts.dat | 93 PyByteArray_FromStringAndSize:PyObject*::+1: 94 PyByteArray_FromStringAndSize:const char*:string:: 95 PyByteArray_FromStringAndSize:Py_ssize_t:len::
|
/external/python/cpython3/Parser/ |
D | tokenizer.c | 380 tok->decoding_buffer = PyByteArray_FromStringAndSize(buf+size, in fp_readl()
|
/external/u-boot/scripts/dtc/pylibfdt/ |
D | libfdt.i_shipped | 1033 buff = PyByteArray_FromStringAndSize(
|
/external/python/cpython3/Modules/ |
D | _pickle.c | 5520 bytearray = PyByteArray_FromStringAndSize(NULL, size); in load_counted_bytearray()
|
/external/python/cpython2/Doc/whatsnew/ |
D | 2.6.rst | 1012 :c:func:`PyByteArray_FromStringAndSize`,
|
/external/python/cpython3/Doc/whatsnew/ |
D | 2.6.rst | 1016 :c:func:`PyByteArray_FromStringAndSize`,
|