| /external/python/cpython3/Objects/ |
| D | bytearrayobject.c | 102 result = PyByteArray_FromStringAndSize(NULL, view.len); in _PyByteArray_FromBufferObject() 114 PyByteArray_FromStringAndSize(const char *bytes, Py_ssize_t size) in PyByteArray_FromStringAndSize() function 275 PyByteArray_FromStringAndSize(NULL, va.len + vb.len); in PyByteArray_Concat() 339 result = (PyByteArrayObject *)PyByteArray_FromStringAndSize(NULL, size); in bytearray_repeat() 419 return PyByteArray_FromStringAndSize("", 0); in bytearray_subscript() 421 return PyByteArray_FromStringAndSize( in bytearray_subscript() 429 result = PyByteArray_FromStringAndSize(NULL, slicelength); in bytearray_subscript() 546 values = PyByteArray_FromStringAndSize(PyByteArray_AS_STRING(values), in bytearray_setslice() 1093 #define STRINGLIB_NEW PyByteArray_FromStringAndSize 1146 return PyByteArray_FromStringAndSize(PyByteArray_AS_STRING((PyObject *)self), in bytearray_copy_impl() [all …]
|
| D | bytesobject.c | 3346 writer->buffer = PyByteArray_FromStringAndSize(NULL, allocated); in _PyBytesWriter_Resize() 3456 result = PyByteArray_FromStringAndSize(writer->small_buffer, size); in _PyBytesWriter_Finish()
|
| /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/Include/ |
| D | bytearrayobject.h | 32 PyAPI_FUNC(PyObject *) PyByteArray_FromStringAndSize(const char *, Py_ssize_t);
|
| /external/python/cpython2/Include/ |
| D | bytearrayobject.h | 41 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/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/python/cpython3/Modules/_io/ |
| D | iobase.c | 547 buffer = PyByteArray_FromStringAndSize(NULL, 0); in _io__IOBase_readline_impl() 927 b = PyByteArray_FromStringAndSize(NULL, n); in _io__RawIOBase_read_impl()
|
| /external/dtc/pylibfdt/ |
| D | libfdt.i | 1033 buff = PyByteArray_FromStringAndSize(
|
| /external/python/cpython3/PC/ |
| D | python3.def | 19 PyByteArray_FromStringAndSize=python39.PyByteArray_FromStringAndSize
|
| /external/python/cpython3/Modules/_sqlite/ |
| D | cursor.c | 315 converted = PyByteArray_FromStringAndSize(val_str, nbytes); in _pysqlite_fetch_one_row()
|
| /external/libnl/python/netlink/ |
| D | capi.i | 810 $result = PyByteArray_FromStringAndSize($1, nla_len(arg1));
|
| /external/llvm-project/lldb/unittests/ScriptInterpreter/Python/ |
| D | PythonDataObjectsTests.cpp | 245 PyByteArray_FromStringAndSize(test_bytes, orig_bytes.size()); in TEST_F()
|
| /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/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/ |
| D | PythonDataObjects.cpp | 336 *this = Take<PythonByteArray>(PyByteArray_FromStringAndSize(str, length)); in PythonByteArray()
|
| /external/python/cpython3/Parser/ |
| D | tokenizer.c | 381 tok->decoding_buffer = PyByteArray_FromStringAndSize(buf+size, in fp_readl()
|
| /external/python/cpython3/Modules/ |
| D | _pickle.c | 5566 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`,
|