/third_party/python/Include/cpython/ |
D | bytesobject.h | 17 PyAPI_FUNC(int) _PyBytes_Resize(PyObject **, Py_ssize_t);
|
/third_party/python/Modules/_multiprocessing/ |
D | multiprocessing.c | 118 _PyBytes_Resize(&buf, nread); in _multiprocessing_recv_impl()
|
/third_party/python/Modules/_io/ |
D | fileio.c | 745 if (_PyBytes_Resize(&result, bufsize) < 0) 772 if (_PyBytes_Resize(&result, bytes_read) < 0) 828 if (_PyBytes_Resize(&bytes, n) < 0) {
|
D | bytesio.c | 163 if (_PyBytes_Resize(&self->buf, alloc) < 0) in resize_buffer() 355 if (_PyBytes_Resize(&self->buf, self->string_size) < 0) in _io_BytesIO_getvalue_impl()
|
D | winconsoleio.c | 883 if (_PyBytes_Resize(&bytes, n * sizeof(wchar_t)) < 0) { in _io__WindowsConsoleIO_readall_impl() 933 if (_PyBytes_Resize(&bytes, bytes_size) < 0) { in _io__WindowsConsoleIO_read_impl()
|
D | bufferedio.c | 956 _PyBytes_Resize(&res, r); in _io__Buffered_read1_impl() 1679 if (_PyBytes_Resize(&res, written)) in _bufferedreader_read_generic() 1703 if (_PyBytes_Resize(&res, written)) in _bufferedreader_read_generic()
|
/third_party/python/Objects/ |
D | fileobject.c | 89 _PyBytes_Resize(&result, len-1); in PyFile_GetLine()
|
D | bytesobject.c | 2142 _PyBytes_Resize(&result, output - output_start); in bytes_translate_impl() 2966 if (_PyBytes_Resize(pv, oldsize + wb.len) < 0) in PyBytes_Concat() 3010 _PyBytes_Resize(PyObject **pv, Py_ssize_t newsize) in _PyBytes_Resize() function 3356 if (_PyBytes_Resize(&writer->buffer, allocated)) in _PyBytesWriter_Resize() 3493 if (_PyBytes_Resize(&result, size)) { in _PyBytesWriter_Finish()
|
D | codeobject.c | 408 if (_PyBytes_Resize(bytes, len * 2) < 0) in emit_pair() 470 _PyBytes_Resize(&bytes, table_offset); in code_getlnotab()
|
D | unicodeobject.c | 5063 if (_PyBytes_Resize(&v, out - start) < 0) in _PyUnicode_EncodeUTF7() 6014 if (_PyBytes_Resize(&v, PyBytes_GET_SIZE(v) + 4 * (moreunits - 1)) < 0) in _PyUnicode_EncodeUTF32() 6036 _PyBytes_Resize(&v, nsize); in _PyUnicode_EncodeUTF32() 6366 if (_PyBytes_Resize(&v, PyBytes_GET_SIZE(v) + 2 * (moreunits - 1)) < 0) in _PyUnicode_EncodeUTF16() 6388 _PyBytes_Resize(&v, nsize); in _PyUnicode_EncodeUTF16() 6810 if (_PyBytes_Resize(&repr, p - PyBytes_AS_STRING(repr)) < 0) { in PyUnicode_AsUnicodeEscapeString() 7051 if (_PyBytes_Resize(&repr, p - PyBytes_AS_STRING(repr)) < 0) { in PyUnicode_AsRawUnicodeEscapeString() 7952 if (_PyBytes_Resize(outbytes, n + outsize) < 0) { in encode_code_page_strict() 8062 if (_PyBytes_Resize(outbytes, n + outsize) < 0) in encode_code_page_errors() 8114 if (_PyBytes_Resize(outbytes, newoutsize) < 0) { in encode_code_page_errors() [all …]
|
/third_party/python/Modules/ |
D | _winapi.c | 272 _PyBytes_Resize(&self->read_buffer, transferred)) in _winapi_Overlapped_GetOverlappedResult_impl() 1500 if (_PyBytes_Resize(&buf, nread)) in _winapi_PeekNamedPipe_impl() 1570 if (_PyBytes_Resize(&buf, nread)) in _winapi_ReadFile_impl()
|
D | _codecsmodule.c | 245 if (_PyBytes_Resize(&v, (p - PyBytes_AS_STRING(v)))) { in _codecs_escape_encode_impl()
|
D | overlapped.c | 884 _PyBytes_Resize(&self->allocated_buffer, transferred)) in _overlapped_Overlapped_getresult_impl() 894 _PyBytes_Resize(&self->read_from.allocated_buffer, transferred)) in _overlapped_Overlapped_getresult_impl()
|
D | ossaudiodev.c | 423 _PyBytes_Resize(&rv, count); in oss_read()
|
D | socketmodule.c | 3083 _PyBytes_Resize(&buf, buflen); in sock_getsockopt() 3524 _PyBytes_Resize(&buf, outlen); in sock_recv() 3707 if (_PyBytes_Resize(&buf, outlen) < 0) in sock_recvfrom() 3949 _PyBytes_Resize(buf, received); in makeval_recvmsg()
|
D | posixmodule.c | 9471 _PyBytes_Resize(&buffer, n); in os_read_impl() 9637 _PyBytes_Resize(&buffer, n); in os_pread_impl() 12763 _PyBytes_Resize(&buffer, result); in os_getxattr_impl() 14468 _PyBytes_Resize(&bytes, n); in os_getrandom_impl()
|
D | _ssl.c | 2545 _PyBytes_Resize(&dest, count); in _ssl__SSLSocket_read_impl() 4786 _PyBytes_Resize(&result, nbytes); in _ssl_MemoryBIO_read_impl()
|
D | _datetimemodule.c | 1610 if (_PyBytes_Resize(&newfmt, totalnew) < 0) in wrap_strftime() 1620 if (_PyBytes_Resize(&newfmt, usednew) < 0) in wrap_strftime()
|
D | _pickle.c | 1001 if (_PyBytes_Resize(&output_buffer, self->output_len) < 0) in _Pickler_GetString() 1078 if (_PyBytes_Resize(&self->output_buffer, self->max_output_len) < 0) in _Pickler_Write()
|
D | _elementtree.c | 2765 if (_PyBytes_Resize(&self->data, size + 1) < 0) in treebuilder_handle_data()
|
/third_party/python/Doc/c-api/ |
D | bytes.rst | 194 .. c:function:: int _PyBytes_Resize(PyObject **bytes, Py_ssize_t newsize)
|
/third_party/python/Python/ |
D | marshal.c | 128 if (_PyBytes_Resize(&p->str, size) != 0) { in w_reserve() 1593 if (_PyBytes_Resize(&wf.str, (Py_ssize_t)(wf.ptr - base)) < 0) in PyMarshal_WriteObjectToString()
|
D | compile.c | 6606 if (_PyBytes_Resize(&a->a_lnotab, len * 2) < 0) in assemble_emit_linetable_pair() 6695 if (_PyBytes_Resize(&a->a_bytecode, len * 2) < 0) in assemble_emit() 7153 if (_PyBytes_Resize(&a.a_lnotab, a.a_lnotab_off) < 0) { in assemble() 7159 if (_PyBytes_Resize(&a.a_bytecode, a.a_offset * sizeof(_Py_CODEUNIT)) < 0) { in assemble()
|
/third_party/python/Modules/cjkcodecs/ |
D | multibytecodec.c | 204 if (_PyBytes_Resize(&buf->outobj, orgsize + incsize) == -1) in expand_encodebuffer() 556 if (_PyBytes_Resize(&buf.outobj, finalsize) == -1) in multibytecodec_encode()
|
/third_party/python/Doc/data/ |
D | refcounts.dat | 3044 _PyBytes_Resize:int::: 3045 _PyBytes_Resize:PyObject**:bytes:0: 3046 _PyBytes_Resize:Py_ssize_t:newsize::
|