Home
last modified time | relevance | path

Searched refs:bf_getsegcount (Results 1 – 7 of 7) sorted by relevance

/external/python/cpython2/Objects/
Dbufferobject.c38 if ((*bp->bf_getsegcount)(self->b_base, NULL) != 1) { in get_buf()
162 pb->bf_getsegcount == NULL ) in PyBuffer_FromObject()
178 pb->bf_getsegcount == NULL ) in PyBuffer_FromReadWriteObject()
390 pb->bf_getsegcount == NULL ) in buffer_concat()
395 if ( (*pb->bf_getsegcount)(other, NULL) != 1 ) in buffer_concat()
578 pb->bf_getsegcount == NULL ) in buffer_ass_item()
583 if ( (*pb->bf_getsegcount)(other, NULL) != 1 ) in buffer_ass_item()
621 pb->bf_getsegcount == NULL ) in buffer_ass_slice()
626 if ( (*pb->bf_getsegcount)(other, NULL) != 1 ) in buffer_ass_slice()
678 pb->bf_getsegcount == NULL ) in buffer_ass_subscript()
[all …]
Dabstract.c260 pb->bf_getsegcount == NULL) { in PyObject_AsCharBuffer()
265 if ((*pb->bf_getsegcount)(obj,NULL) != 1) { in PyObject_AsCharBuffer()
285 pb->bf_getsegcount == NULL || in PyObject_CheckReadBuffer()
286 (*pb->bf_getsegcount)(obj, NULL) != 1) in PyObject_CheckReadBuffer()
306 pb->bf_getsegcount == NULL) { in PyObject_AsReadBuffer()
311 if ((*pb->bf_getsegcount)(obj, NULL) != 1) { in PyObject_AsReadBuffer()
339 pb->bf_getsegcount == NULL) { in PyObject_AsWriteBuffer()
344 if ((*pb->bf_getsegcount)(obj, NULL) != 1) { in PyObject_AsWriteBuffer()
Dtypeobject.c3970 COPYBUF(bf_getsegcount);
/external/python/cpython2/Python/
Dgetargs.c1322 pb->bf_getsegcount == NULL) in convertsimple()
1324 if ((*pb->bf_getsegcount)(arg, NULL) != 1) in convertsimple()
1356 pb->bf_getsegcount == NULL) in convertsimple()
1361 if (pb->bf_getsegcount(arg, NULL) != 1) in convertsimple()
1397 pb->bf_getsegcount == NULL || in convertbuffer()
1402 if ((*pb->bf_getsegcount)(arg, NULL) != 1) { in convertbuffer()
/external/python/cpython2/Include/
Dobject.h298 segcountproc bf_getsegcount; member
/external/python/cpython2/Modules/
D_sre.c1722 if (!buffer || !buffer->bf_getreadbuffer || !buffer->bf_getsegcount || in getstring()
1723 buffer->bf_getsegcount(string, NULL) != 1) { in getstring()
/external/python/cpython2/Doc/c-api/
Dtypeobj.rst1389 The third slot is :attr:`bf_getsegcount`, with type :c:type:`getsegcountproc`.
1429 than the number of segments returned by the :attr:`bf_getsegcount` slot