Home
last modified time | relevance | path

Searched refs:bf_getreadbuffer (Results 1 – 11 of 11) sorted by relevance

/external/python/cpython2/Objects/
Dbufferobject.c45 proc = bp->bf_getreadbuffer; in get_buf()
161 pb->bf_getreadbuffer == NULL || in PyBuffer_FromObject()
389 pb->bf_getreadbuffer == NULL || in buffer_concat()
413 if ( (count = (*pb->bf_getreadbuffer)(other, 0, &ptr2)) < 0 ) in buffer_concat()
576 pb->bf_getreadbuffer == NULL || in buffer_ass_item_impl()
590 if ( (count = (*pb->bf_getreadbuffer)(other, 0, &ptr2)) < 0 ) in buffer_ass_item_impl()
636 pb->bf_getreadbuffer == NULL || in buffer_ass_slice()
651 if ( (count = (*pb->bf_getreadbuffer)(other, 0, &ptr2)) < 0 ) in buffer_ass_slice()
693 pb->bf_getreadbuffer == NULL || in buffer_ass_subscript()
726 if ((othersize = (*pb->bf_getreadbuffer)(value, 0, &ptr2)) < 0) in buffer_ass_subscript()
Dabstract.c284 pb->bf_getreadbuffer == NULL || in PyObject_CheckReadBuffer()
305 pb->bf_getreadbuffer == NULL || in PyObject_AsReadBuffer()
316 len = (*pb->bf_getreadbuffer)(obj, 0, &pp); in PyObject_AsReadBuffer()
Dtypeobject.c4031 COPYBUF(bf_getreadbuffer);
/external/python/cpython2/Include/
Dcode.h87 ((*Py_TYPE((co)->co_code)->tp_as_buffer->bf_getreadbuffer) \
Dobject.h296 readbufferproc bf_getreadbuffer; member
/external/python/cpython2/PC/
D_winreg.c892 if (pb == NULL || pb->bf_getreadbuffer == NULL) { in Py2Reg()
899 *retDataSize = (*pb->bf_getreadbuffer)(value, 0, &src_buf); in Py2Reg()
/external/python/cpython2/Python/
Dgetargs.c1396 pb->bf_getreadbuffer == NULL || in convertbuffer()
1406 if ((count = (*pb->bf_getreadbuffer)(arg, 0, p)) < 0) { in convertbuffer()
Dmarshal.c451 n = (*pb->bf_getreadbuffer)(v, 0, (void **)&s); in w_object()
/external/python/cpython2/Modules/
D_sre.c1722 if (!buffer || !buffer->bf_getreadbuffer || !buffer->bf_getsegcount || in getstring()
1729 bytes = buffer->bf_getreadbuffer(string, 0, &ptr); in getstring()
/external/python/cpython2/Modules/_ctypes/
D_ctypes.c1220 size = Py_TYPE(value)->tp_as_buffer->bf_getreadbuffer(value, 0, (void *)&ptr); in CharArray_set_raw()
/external/python/cpython2/Doc/c-api/
Dtypeobj.rst1365 The first slot is :attr:`bf_getreadbuffer`, of type :c:type:`readbufferproc`.