Searched defs:shape (Results 1 - 6 of 6) sorted by relevance
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/ |
H A D | memoryobject.c | 9 if (buf->shape != NULL)
10 return buf->shape[0];
14 "exported buffer does not have any shape information associated "
23 if (src->ndim == 1 && src->shape != NULL) {
24 dest->shape = &(dest->smalltable[0]);
25 dest->shape[0] = get_shape0(src);
115 _strided_copy_nd(char *dest, char *src, int nd, Py_ssize_t *shape,
argument 125 for (k = 0; k<shape[0]; k++) {
140 outstride *= shape[k];
142 for (k=0; k<shape[n [all...] |
H A D | abstract.c | 381 if (view->ndim == 1) return (view->shape[0] == 1 ||
384 dim = view->shape[i];
402 if (view->ndim == 1) return (view->shape[0] == 1 ||
405 dim = view->shape[i];
446 _Py_add_one_to_index_F(int nd, Py_ssize_t *index, const Py_ssize_t *shape)
argument 451 if (index[k] < shape[k]-1) {
462 _Py_add_one_to_index_C(int nd, Py_ssize_t *index, const Py_ssize_t *shape)
argument 467 if (index[k] < shape[k]-1) {
527 addone(view->ndim, indices, view->shape);
578 addone(view->ndim, indices, view->shape);
656 PyBuffer_FillContiguousStrides(int nd, Py_ssize_t *shape, Py_ssize_t *strides, int itemsize, char fort) argument [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/ |
H A D | memoryobject.c | 9 if (buf->shape != NULL)
10 return buf->shape[0];
14 "exported buffer does not have any shape information associated "
23 if (src->ndim == 1 && src->shape != NULL) {
24 dest->shape = &(dest->smalltable[0]);
25 dest->shape[0] = get_shape0(src);
115 _strided_copy_nd(char *dest, char *src, int nd, Py_ssize_t *shape,
argument 125 for (k = 0; k<shape[0]; k++) {
140 outstride *= shape[k];
142 for (k=0; k<shape[n [all...] |
H A D | abstract.c | 381 if (view->ndim == 1) return (view->shape[0] == 1 ||
384 dim = view->shape[i];
402 if (view->ndim == 1) return (view->shape[0] == 1 ||
405 dim = view->shape[i];
446 _Py_add_one_to_index_F(int nd, Py_ssize_t *index, const Py_ssize_t *shape)
argument 451 if (index[k] < shape[k]-1) {
462 _Py_add_one_to_index_C(int nd, Py_ssize_t *index, const Py_ssize_t *shape)
argument 467 if (index[k] < shape[k]-1) {
524 addone(view->ndim, indices, view->shape);
575 addone(view->ndim, indices, view->shape);
656 PyBuffer_FillContiguousStrides(int nd, Py_ssize_t *shape, Py_ssize_t *strides, int itemsize, char fort) argument [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/ |
H A D | object.h | 173 Py_ssize_t *shape;
member in struct:bufferinfo 176 Py_ssize_t smalltable[2]; /* static store for shape and strides of
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/ |
H A D | object.h | 173 Py_ssize_t *shape;
member in struct:bufferinfo 176 Py_ssize_t smalltable[2]; /* static store for shape and strides of
|
Completed in 98 milliseconds