Home
last modified time | relevance | path

Searched refs:ND_FORTRAN (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_buffer.py866 flags=ND_FORTRAN)
905 y = ndarray(initlst, shape=shape, flags=ro|ND_FORTRAN,
917 f = ND_FORTRAN if is_contiguous(result, 'F') else 0
1028 0, ND_WRITABLE, ND_FORTRAN, ND_FORTRAN|ND_WRITABLE,
1042 if strides and (flags&ND_FORTRAN):
1090 for order in 0, ND_FORTRAN:
1119 flags=ND_FORTRAN)
1359 flags=flags|ND_FORTRAN)
1557 flags=flags|ND_FORTRAN)
2080 nd = ndarray(list(range(12)), shape=[3,4], flags=ND_FORTRAN)
[all …]
/external/python/cpython3/Modules/
D_testbuffer.c54 #define ND_FORTRAN 0x004 /* Fortran contiguous layout */ macro
70 #define ND_FORTRAN_CONTIGUOUS(flags) (!!(flags&(ND_SCALAR|ND_FORTRAN)))
71 #define ND_ANY_CONTIGUOUS(flags) (!!(flags&(ND_SCALAR|ND_C|ND_FORTRAN)))
274 ndbuf->flags |= ND_FORTRAN; in init_flags()
898 if (flags & ND_FORTRAN) { in strides_from_shape()
1103 ndbuf->flags &= ~(ND_C|ND_FORTRAN); in init_suboffsets()
1132 ndbuf->flags |= (ND_SCALAR|ND_C|ND_FORTRAN); in init_structure()
1164 ndbuf->flags |= ND_FORTRAN; in init_structure()
1199 else if (flags & ND_FORTRAN) { in init_ndbuf()
2222 nd->head->flags &= ~(ND_C|ND_FORTRAN); in ndarray_add_suboffsets()
[all …]
/external/python/cpython3/Lib/ctypes/test/
Dtest_frombuffer.py56 flags = _testbuffer.ND_WRITABLE | _testbuffer.ND_FORTRAN