Lines Matching defs:array
450 /* Initialize strides for a C-contiguous array. */
463 /* Initialize strides for a Fortran-contiguous array. */
500 array is unaltered. */
979 Py_ssize_t array[1];
1002 fb = PyMem_Malloc(sizeof *fb + 3 * src->ndim * (sizeof *fb->array));
1008 fb->view.shape = fb->array;
1009 fb->view.strides = fb->array + src->ndim;
1010 fb->view.suboffsets = fb->array + 2 * src->ndim;
1189 /* Cast a memoryview's data type to 'format'. The input array must be
1191 byte size. The output array is 1-D, with the same byte length as the
1192 input array. Thus, view->len must be a multiple of the new itemsize. */
1292 /* Cast a 1-D array to a new shape. The result array will be C-contiguous.
1293 If the result array does not have exactly the same byte length as the
1294 input array, raise ValueError. */
1302 assert(Py_SIZE(mv) == 3*(ndim==0?1:ndim)); /* ndim of result array */
2092 /* Unpack a multi-dimensional array into a nested list.
2171 original array is converted to C or Fortran order. For contiguous views,
2777 /* Base case for recursive array comparisons. Assumption: ndim == 1. */
3115 "The amount of space in bytes that the array would use in\n"
3126 " array the memory represents.");
3129 " as an N-dimensional array.");
3132 " each element for each dimension of the array.");