Home
last modified time | relevance | path

Searched refs:bf_getsegcount (Results 1 – 8 of 8) 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()
577 pb->bf_getsegcount == NULL ) in buffer_ass_item_impl()
582 if ( (*pb->bf_getsegcount)(other, NULL) != 1 ) in buffer_ass_item_impl()
637 pb->bf_getsegcount == NULL ) in buffer_ass_slice()
642 if ( (*pb->bf_getsegcount)(other, NULL) != 1 ) in buffer_ass_slice()
694 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.c4033 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/cffi/c/
D_cffi_backend.c6785 if (proc && pb->bf_getsegcount) {
6786 if ((*pb->bf_getsegcount)(x, NULL) != 1) {
7287 obj->tp_as_buffer->bf_getsegcount = &_test_segcountproc;
/external/python/cpython2/Doc/c-api/
Dtypeobj.rst1374 The third slot is :attr:`bf_getsegcount`, with type :c:type:`segcountproc`.
1414 than the number of segments returned by the :attr:`bf_getsegcount` slot