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.py872 flags=ND_FORTRAN)
920 y = ndarray(initlst, shape=shape, flags=ro|ND_FORTRAN,
935 f = ND_FORTRAN if is_contiguous(result, 'F') else 0
1054 0, ND_WRITABLE, ND_FORTRAN, ND_FORTRAN|ND_WRITABLE,
1068 if strides and (flags&ND_FORTRAN):
1116 for order in 0, ND_FORTRAN:
1145 flags=ND_FORTRAN)
1385 flags=flags|ND_FORTRAN)
1583 flags=flags|ND_FORTRAN)
2106 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