Home
last modified time | relevance | path

Searched refs:ND_GETBUF_FAIL (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython3/Modules/
D_testbuffer.c58 #define ND_GETBUF_FAIL 0x040 /* trigger getbuffer failure */ macro
1447 if (baseflags & ND_GETBUF_FAIL) { in ndarray_getbuf()
2865 PyModule_AddIntMacro(m, ND_GETBUF_FAIL); in PyInit__testbuffer()
/external/python/cpython3/Lib/test/
Dtest_buffer.py1099 ex = ndarray(items, shape=[12], flags=ND_GETBUF_FAIL)
4417 nd = ndarray([1,2,3], [3], flags=ND_GETBUF_FAIL|ND_GETBUF_UNDEFINED)
4421 x = ndarray([1,2,3], shape=[3], flags=ND_GETBUF_FAIL)