Searched refs:shape (Results 1 – 10 of 10) sorted by relevance
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/ |
D | memoryobject.c | 9 if (buf->shape != NULL) in get_shape0() 10 return buf->shape[0]; in get_shape0() 23 if (src->ndim == 1 && src->shape != NULL) { in dup_buffer() 24 dest->shape = &(dest->smalltable[0]); in dup_buffer() 25 dest->shape[0] = get_shape0(src); in dup_buffer() 115 _strided_copy_nd(char *dest, char *src, int nd, Py_ssize_t *shape, in _strided_copy_nd() argument 125 for (k = 0; k<shape[0]; k++) { in _strided_copy_nd() 140 outstride *= shape[k]; in _strided_copy_nd() 142 for (k=0; k<shape[nd-1]; k++) { in _strided_copy_nd() 143 _strided_copy_nd(dest, src, nd-1, shape, in _strided_copy_nd() [all …]
|
D | abstract.c | 381 if (view->ndim == 1) return (view->shape[0] == 1 || in _IsFortranContiguous() 384 dim = view->shape[i]; in _IsFortranContiguous() 402 if (view->ndim == 1) return (view->shape[0] == 1 || in _IsCContiguous() 405 dim = view->shape[i]; in _IsCContiguous() 446 _Py_add_one_to_index_F(int nd, Py_ssize_t *index, const Py_ssize_t *shape) in _Py_add_one_to_index_F() argument 451 if (index[k] < shape[k]-1) { in _Py_add_one_to_index_F() 462 _Py_add_one_to_index_C(int nd, Py_ssize_t *index, const Py_ssize_t *shape) in _Py_add_one_to_index_C() argument 467 if (index[k] < shape[k]-1) { in _Py_add_one_to_index_C() 527 addone(view->ndim, indices, view->shape); in PyBuffer_ToContiguous() 578 addone(view->ndim, indices, view->shape); in PyBuffer_FromContiguous() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/ |
D | memoryobject.c | 9 if (buf->shape != NULL) in get_shape0() 10 return buf->shape[0]; in get_shape0() 23 if (src->ndim == 1 && src->shape != NULL) { in dup_buffer() 24 dest->shape = &(dest->smalltable[0]); in dup_buffer() 25 dest->shape[0] = get_shape0(src); in dup_buffer() 115 _strided_copy_nd(char *dest, char *src, int nd, Py_ssize_t *shape, in _strided_copy_nd() argument 125 for (k = 0; k<shape[0]; k++) { in _strided_copy_nd() 140 outstride *= shape[k]; in _strided_copy_nd() 142 for (k=0; k<shape[nd-1]; k++) { in _strided_copy_nd() 143 _strided_copy_nd(dest, src, nd-1, shape, in _strided_copy_nd() [all …]
|
D | abstract.c | 381 if (view->ndim == 1) return (view->shape[0] == 1 || in _IsFortranContiguous() 384 dim = view->shape[i]; in _IsFortranContiguous() 402 if (view->ndim == 1) return (view->shape[0] == 1 || in _IsCContiguous() 405 dim = view->shape[i]; in _IsCContiguous() 446 _Py_add_one_to_index_F(int nd, Py_ssize_t *index, const Py_ssize_t *shape) in _Py_add_one_to_index_F() argument 451 if (index[k] < shape[k]-1) { in _Py_add_one_to_index_F() 462 _Py_add_one_to_index_C(int nd, Py_ssize_t *index, const Py_ssize_t *shape) in _Py_add_one_to_index_C() argument 467 if (index[k] < shape[k]-1) { in _Py_add_one_to_index_C() 524 addone(view->ndim, indices, view->shape); in PyBuffer_ToContiguous() 575 addone(view->ndim, indices, view->shape); in PyBuffer_FromContiguous() [all …]
|
/device/linaro/bootloader/edk2/Vlv2DeviceRefCodePkg/AcpiTablesPCAT/ |
D | PchXhci.asl | 118 …// bit[113:106]=0 no Card cage Number bit[114]=0 no reference shape Bit[118:115]=0 no r… 157 …// bit[113:106]=0 no Card cage Number bit[114]=0 no reference shape Bit[118:115]=0 no r… 200 …// bit[113:106]=0 no Card cage Number bit[114]=0 no reference shape Bit[118:115]=0 no r… 248 …// bit[113:106]=0 no Card cage Number bit[114]=0 no reference shape Bit[118:115]=0 no r… 289 …// bit[113:106]=0 no Card cage Number bit[114]=0 no reference shape Bit[118:115]=0 no r… 332 …// bit[113:106]=0 no Card cage Number bit[114]=0 no reference shape Bit[118:115]=0 no r… 373 …// bit[113:106]=0 no Card cage Number bit[114]=0 no reference shape Bit[118:115]=0 no r…
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/ |
D | abstract.h | 597 Py_ssize_t *shape, 1388 const Py_ssize_t *shape); 1390 const Py_ssize_t *shape);
|
D | object.h | 173 Py_ssize_t *shape; member
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/ |
D | abstract.h | 597 Py_ssize_t *shape, 1388 const Py_ssize_t *shape); 1390 const Py_ssize_t *shape);
|
D | object.h | 173 Py_ssize_t *shape; member
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_memoryview.py | 178 self.assertEqual(m.shape, (6,))
|