/external/python/cpython3/Modules/ |
D | zlibmodule.c | 165 if (_PyBytes_Resize(buffer, new_length) < 0) in arrange_output_buffer_with_maximum() 266 if (_PyBytes_Resize(&RetVal, zst.next_out - in zlib_compress_impl() 410 if (_PyBytes_Resize(&RetVal, zst.next_out - in zlib_decompress_impl() 681 if (_PyBytes_Resize(&RetVal, self->zst.next_out - in zlib_Compress_compress_impl() 837 if (_PyBytes_Resize(&RetVal, self->zst.next_out - in zlib_Decompress_decompress_impl() 921 if (_PyBytes_Resize(&RetVal, self->zst.next_out - in zlib_Compress_flush_impl() 1123 if (_PyBytes_Resize(&RetVal, self->zst.next_out - in zlib_Decompress_flush_impl()
|
D | _bz2module.c | 129 return _PyBytes_Resize(buf, new_size); in grow_buffer() 193 if (_PyBytes_Resize(&result, data_size) < 0) in compress() 456 if (_PyBytes_Resize(&result, data_size) == -1) in decompress_buf()
|
D | _lzmamodule.c | 139 return _PyBytes_Resize(buf, newsize); in grow_buffer() 529 if (_PyBytes_Resize(&result, data_size) == -1) in compress() 923 if (_PyBytes_Resize(&result, data_size) == -1) in decompress_buf()
|
D | _winapi.c | 230 _PyBytes_Resize(&self->read_buffer, transferred)) in _winapi_Overlapped_GetOverlappedResult_impl() 1355 if (_PyBytes_Resize(&buf, nread)) in _winapi_PeekNamedPipe_impl() 1425 if (_PyBytes_Resize(&buf, nread)) in _winapi_ReadFile_impl()
|
D | _codecsmodule.c | 244 if (_PyBytes_Resize(&v, (p - PyBytes_AS_STRING(v)))) { in _codecs_escape_encode_impl()
|
D | ossaudiodev.c | 425 _PyBytes_Resize(&rv, count); in oss_read()
|
/external/python/cpython2/Include/ |
D | bytesobject.h | 20 #define _PyBytes_Resize _PyString_Resize macro
|
/external/python/cpython3/Modules/_io/ |
D | fileio.c | 733 if (_PyBytes_Resize(&result, bufsize) < 0) 760 if (_PyBytes_Resize(&result, bytes_read) < 0) 816 if (_PyBytes_Resize(&bytes, n) < 0) {
|
D | bytesio.c | 145 if (_PyBytes_Resize(&self->buf, alloc) < 0) in resize_buffer() 317 if (_PyBytes_Resize(&self->buf, self->string_size) < 0) in _io_BytesIO_getvalue_impl()
|
D | winconsoleio.c | 890 if (_PyBytes_Resize(&bytes, n * sizeof(wchar_t)) < 0) { in _io__WindowsConsoleIO_readall_impl() 940 if (_PyBytes_Resize(&bytes, bytes_size) < 0) { in _io__WindowsConsoleIO_read_impl()
|
D | bufferedio.c | 966 _PyBytes_Resize(&res, r); in _io__Buffered_read1_impl() 1673 if (_PyBytes_Resize(&res, written)) in _bufferedreader_read_generic() 1697 if (_PyBytes_Resize(&res, written)) in _bufferedreader_read_generic()
|
/external/python/cpython3/Include/ |
D | bytesobject.h | 64 PyAPI_FUNC(int) _PyBytes_Resize(PyObject **, Py_ssize_t);
|
/external/python/cpython2/Modules/_io/ |
D | fileio.c | 601 if (_PyBytes_Resize(&result, newsize) < 0) in fileio_readall() 643 if (_PyBytes_Resize(&result, total) < 0) { in fileio_readall() 701 if (_PyBytes_Resize(&bytes, n) < 0) in fileio_read()
|
D | bufferedio.c | 1475 if (_PyBytes_Resize(&res, written)) in _bufferedreader_read_generic() 1500 if (_PyBytes_Resize(&res, written)) in _bufferedreader_read_generic()
|
/external/python/cpython3/Modules/_multiprocessing/ |
D | multiprocessing.c | 93 _PyBytes_Resize(&buf, nread); in multiprocessing_recv()
|
/external/python/cpython3/Objects/ |
D | fileobject.c | 86 _PyBytes_Resize(&result, len-1); in PyFile_GetLine()
|
D | bytesobject.c | 2205 _PyBytes_Resize(&result, output - output_start); in bytes_translate_impl() 2943 if (_PyBytes_Resize(pv, oldsize + wb.len) < 0) in PyBytes_Concat() 2987 _PyBytes_Resize(PyObject **pv, Py_ssize_t newsize) in _PyBytes_Resize() function 3317 if (_PyBytes_Resize(&writer->buffer, allocated)) in _PyBytesWriter_Resize() 3453 if (_PyBytes_Resize(&result, size)) { in _PyBytesWriter_Finish()
|
D | unicodeobject.c | 4697 if (_PyBytes_Resize(&v, out - start) < 0) in _PyUnicode_EncodeUTF7() 5500 if (_PyBytes_Resize(&v, PyBytes_GET_SIZE(v) + 4 * (moreunits - 1)) < 0) in _PyUnicode_EncodeUTF32() 5522 _PyBytes_Resize(&v, nsize); in _PyUnicode_EncodeUTF32() 5852 if (_PyBytes_Resize(&v, PyBytes_GET_SIZE(v) + 2 * (moreunits - 1)) < 0) in _PyUnicode_EncodeUTF16() 5874 _PyBytes_Resize(&v, nsize); in _PyUnicode_EncodeUTF16() 6273 if (_PyBytes_Resize(&repr, p - PyBytes_AS_STRING(repr)) < 0) { in PyUnicode_AsUnicodeEscapeString() 6488 if (_PyBytes_Resize(&repr, p - PyBytes_AS_STRING(repr)) < 0) { in PyUnicode_AsRawUnicodeEscapeString() 7487 if (_PyBytes_Resize(outbytes, n + outsize) < 0) { in encode_code_page_strict() 7588 if (_PyBytes_Resize(outbytes, n + outsize) < 0) in encode_code_page_errors() 7640 if (_PyBytes_Resize(outbytes, newoutsize) < 0) { in encode_code_page_errors() [all …]
|
/external/python/cpython2/Objects/ |
D | bytesobject.c | 2212 _PyBytes_Resize(&result, output - output_start); in bytes_translate_impl() 2911 if (_PyBytes_Resize(pv, oldsize + wb.len) < 0) in PyBytes_Concat() 2955 _PyBytes_Resize(PyObject **pv, Py_ssize_t newsize) in _PyBytes_Resize() function 3272 if (_PyBytes_Resize(&writer->buffer, allocated)) in _PyBytesWriter_Resize() 3408 if (_PyBytes_Resize(&result, size)) { in _PyBytesWriter_Finish()
|
/external/python/cpython2/Modules/ |
D | zlibmodule.c | 169 if (_PyBytes_Resize(buffer, new_length) < 0) in arrange_output_buffer_with_maximum() 267 if (_PyBytes_Resize(&RetVal, zst.next_out - in PyZlib_compress()
|
/external/python/cpython3/Doc/c-api/ |
D | bytes.rst | 194 .. c:function:: int _PyBytes_Resize(PyObject **bytes, Py_ssize_t newsize)
|
/external/python/cpython3/Python/ |
D | marshal.c | 128 if (_PyBytes_Resize(&p->str, size) != 0) { in w_reserve() 1639 if (_PyBytes_Resize(&wf.str, (Py_ssize_t)(wf.ptr - base)) < 0) in PyMarshal_WriteObjectToString()
|
D | compile.c | 5155 if (_PyBytes_Resize(&a->a_lnotab, len) < 0) in assemble_lnotab() 5193 if (_PyBytes_Resize(&a->a_lnotab, len) < 0) in assemble_lnotab() 5211 if (_PyBytes_Resize(&a->a_lnotab, len * 2) < 0) in assemble_lnotab() 5250 if (_PyBytes_Resize(&a->a_bytecode, len * 2) < 0) in assemble_emit() 5527 if (_PyBytes_Resize(&a.a_lnotab, a.a_lnotab_off) < 0) in assemble() 5529 if (_PyBytes_Resize(&a.a_bytecode, a.a_offset * sizeof(_Py_CODEUNIT)) < 0) in assemble()
|
/external/python/cpython3/Modules/cjkcodecs/ |
D | multibytecodec.c | 181 if (_PyBytes_Resize(&buf->outobj, orgsize + incsize) == -1) in expand_encodebuffer() 533 if (_PyBytes_Resize(&buf.outobj, finalsize) == -1) in multibytecodec_encode()
|
/external/python/cpython3/Doc/data/ |
D | refcounts.dat | 3022 _PyBytes_Resize:int::: 3023 _PyBytes_Resize:PyObject**:bytes:0: 3024 _PyBytes_Resize:Py_ssize_t:newsize::
|