Lines Matching refs:ND_PIL

1056             ND_PIL, ND_PIL|ND_WRITABLE
1071 if not shape and (flags&ND_PIL):
1148 # ND_PIL flag is only valid with ndim > 0.
1149 self.assertRaises(TypeError, c, [1], shape=[], flags=ND_PIL)
1316 for flags in (0, ND_PIL):
1336 for flags in (0, ND_PIL):
1359 for flags in (0, ND_PIL):
1360 if ndim == 0 and flags == ND_PIL:
1570 for flags in (0, ND_PIL):
1695 x = ndarray(items, shape=[8], format="b", flags=ND_PIL)
1731 for flags in (0, ND_PIL):
1793 for flags in (0, ND_PIL):
1851 for flags in (0, ND_PIL):
1897 y = ndarray_from_structure(items, fmt, t, flags=ND_PIL)
1973 yl = ndarray_from_structure(litems, fmt, tl, flags=ND_PIL)
1974 yr = ndarray_from_structure(ritems, fmt, tr, flags=ND_PIL)
2010 nd = ndarray(items, shape=[3,4], flags=ND_PIL)
2013 self.assertTrue(ex.flags & ND_PIL)
2022 for flags in (0, ND_PIL):
2041 for flags in (0, ND_PIL):
2054 for flags in (0, ND_PIL):
2060 for flags in (0, ND_PIL):
2116 nd = ndarray(list(range(12)), shape=[2,2,3], flags=ND_PIL)
2342 nd = ndarray(list(range(12)), shape=[3, 4], flags=ND_WRITABLE|ND_PIL)
2443 ex = ndarray(items, shape=shape, flags=ND_PIL)
3090 for flags in (0, ND_PIL):
3257 nd = ndarray(list(range(12)), shape=[12], flags=ND_WRITABLE|ND_PIL)
3258 ex = ndarray(list(range(12)), shape=[12], flags=ND_WRITABLE|ND_PIL)
3344 flags=ND_PIL)
3356 flags=ND_PIL)
3423 for flags in (0, ND_PIL):
3436 for flags in (0, ND_PIL):
3734 ex2 = ndarray(list(range(40)), shape=[5, 8], format='I', flags=ND_PIL)
3752 flags=ND_PIL|ND_WRITABLE)
3767 flags=ND_PIL)
3782 flags=ND_PIL|ND_WRITABLE)
3798 ex1 = ndarray(list(range(30)), shape=[5, 3, 2], format='i', flags=ND_PIL)
3800 ex2 = ndarray(list(range(30)), shape=[5, 3, 2], format='@I', flags=ND_PIL)
3813 flags=ND_PIL|ND_WRITABLE)
3818 flags=ND_PIL|ND_WRITABLE)
3834 nd1 = ndarray(lst1, shape=[3, 2, 5], format='@l', flags=ND_PIL)
3835 nd2 = ndarray(lst2, shape=[3, 2, 5], format='l', flags=ND_FORTRAN|ND_PIL)
3848 nd1 = ndarray(lst1, shape=[3, 2, 5], format='< 10p 9p d', flags=ND_PIL)
3850 flags=ND_FORTRAN|ND_PIL)
4067 nd = ndarray(list(range(12)), shape=[3, 4], flags=ND_WRITABLE|ND_PIL)
4137 nd = ndarray(list(range(30)), shape=[2,5,3], flags=ND_PIL)