shape             161 apps/HelloAndroidCamera2/jni/YuvBufferT.cpp     halide_dimension_t shape[] = {
shape             165 apps/HelloAndroidCamera2/jni/YuvBufferT.cpp     return Halide::Runtime::Buffer<uint8_t>(&buf(buf.width()-1, buf.height()-1), 2, shape);
shape              22 apps/linear_algebra/src/halide_blas.cpp     halide_dimension_t shape = {0, N, incx};
shape              23 apps/linear_algebra/src/halide_blas.cpp     return Buffer<T>(x, 1, &shape);
shape              28 apps/linear_algebra/src/halide_blas.cpp     halide_dimension_t shape[] = {{0, M, 1}, {0, N, lda}};
shape              29 apps/linear_algebra/src/halide_blas.cpp     return Buffer<T>(A, 2, shape);
shape              40 python_bindings/numpy/ndarray.cpp bool is_c_contiguous(std::vector<Py_intptr_t> const &shape,
shape              45 python_bindings/numpy/ndarray.cpp     for (std::vector<Py_intptr_t>::const_reverse_iterator i = shape.rbegin(); i != shape.rend(); ++i, ++j) {
shape              52 python_bindings/numpy/ndarray.cpp bool is_f_contiguous(std::vector<Py_intptr_t> const &shape,
shape              57 python_bindings/numpy/ndarray.cpp     for (std::vector<Py_intptr_t>::const_iterator i = shape.begin(); i != shape.end(); ++i, ++j) {
shape              79 python_bindings/numpy/ndarray.cpp                        python::object const &shape,
shape              83 python_bindings/numpy/ndarray.cpp     std::vector<Py_intptr_t> shape_(len(shape));
shape              90 python_bindings/numpy/ndarray.cpp         shape_[i] = python::extract<Py_intptr_t>(shape[i]);
shape              98 python_bindings/numpy/ndarray.cpp                        std::vector<Py_intptr_t> const &shape,
shape             102 python_bindings/numpy/ndarray.cpp     if (shape.size() != strides.size()) {
shape             109 python_bindings/numpy/ndarray.cpp     if (is_c_contiguous(shape, strides, itemsize)) flags |= NPY_C_CONTIGUOUS;
shape             110 python_bindings/numpy/ndarray.cpp     if (is_f_contiguous(shape, strides, itemsize)) flags |= NPY_F_CONTIGUOUS;
shape             114 python_bindings/numpy/ndarray.cpp                                                                  shape.size(),
shape             115 python_bindings/numpy/ndarray.cpp                                                                  const_cast<Py_intptr_t *>(&shape.front()),
shape             169 python_bindings/numpy/ndarray.cpp ndarray ndarray::reshape(python::tuple const &shape) const {
shape             170 python_bindings/numpy/ndarray.cpp     return ndarray(python::detail::new_reference(PyArray_Reshape(reinterpret_cast<PyArrayObject *>(this->ptr()), shape.ptr())));
shape             178 python_bindings/numpy/ndarray.cpp ndarray zeros(python::tuple const &shape, dtype const &dt) {
shape             179 python_bindings/numpy/ndarray.cpp     int nd = len(shape);
shape             182 python_bindings/numpy/ndarray.cpp         dims[n] = python::extract<Py_intptr_t>(shape[n]);
shape             186 python_bindings/numpy/ndarray.cpp ndarray zeros(int nd, Py_intptr_t const *shape, dtype const &dt) {
shape             187 python_bindings/numpy/ndarray.cpp     return ndarray(python::detail::new_reference(PyArray_Zeros(nd, const_cast<Py_intptr_t *>(shape), detail::incref_dtype(dt), 0)));
shape             190 python_bindings/numpy/ndarray.cpp ndarray empty(python::tuple const &shape, dtype const &dt) {
shape             191 python_bindings/numpy/ndarray.cpp     int nd = len(shape);
shape             194 python_bindings/numpy/ndarray.cpp         dims[n] = python::extract<Py_intptr_t>(shape[n]);
shape             198 python_bindings/numpy/ndarray.cpp ndarray empty(int nd, Py_intptr_t const *shape, dtype const &dt) {
shape             199 python_bindings/numpy/ndarray.cpp     return ndarray(python::detail::new_reference(PyArray_Empty(nd, const_cast<Py_intptr_t *>(shape), detail::incref_dtype(dt), 0)));
shape              41 python_bindings/numpy/ndarray.hpp         Py_intptr_t *shape;
shape             117 python_bindings/numpy/ndarray.hpp     Py_intptr_t const *get_shape() const { return get_struct()->shape; }
shape             135 python_bindings/numpy/ndarray.hpp     ndarray reshape(python::tuple const &shape) const;
shape             149 python_bindings/numpy/ndarray.hpp ndarray zeros(python::tuple const &shape, dtype const &dt);
shape             150 python_bindings/numpy/ndarray.hpp ndarray zeros(int nd, Py_intptr_t const *shape, dtype const &dt);
shape             155 python_bindings/numpy/ndarray.hpp ndarray empty(python::tuple const &shape, dtype const &dt);
shape             156 python_bindings/numpy/ndarray.hpp ndarray empty(int nd, Py_intptr_t const *shape, dtype const &dt);
shape             170 python_bindings/numpy/ndarray.hpp                        std::vector<Py_intptr_t> const &shape,
shape             178 python_bindings/numpy/ndarray.hpp                        Container shape,
shape             183 python_bindings/numpy/ndarray.hpp     std::vector<Py_intptr_t> shape_(shape.begin(), shape.end());
shape             190 python_bindings/numpy/ndarray.hpp                        python::object const &shape,
shape             213 python_bindings/numpy/ndarray.hpp                          Container shape,
shape             216 python_bindings/numpy/ndarray.hpp     return numpy::detail::from_data_impl(data, dt, shape, strides, owner, true);
shape             237 python_bindings/numpy/ndarray.hpp                          Container shape,
shape             240 python_bindings/numpy/ndarray.hpp     return numpy::detail::from_data_impl(const_cast<void *>(data), dt, shape, strides, owner, false);
shape             512 python_bindings/python/Image.cpp     halide_dimension_t *shape =
shape             515 python_bindings/python/Image.cpp         shape[i].min = 0;
shape             516 python_bindings/python/Image.cpp         shape[i].extent = array.shape(i);
shape             517 python_bindings/python/Image.cpp         shape[i].stride = array.strides(i) / t.bytes();
shape             520 python_bindings/python/Image.cpp     return buffer_to_python_object(h::Buffer<>(t, host, dims, shape));
shape             205 src/Buffer.h                       const halide_dimension_t *shape,
shape             207 src/Buffer.h           Buffer(Runtime::Buffer<T>(t, data, d, shape), name) {}
shape             211 src/Buffer.h                       const halide_dimension_t *shape,
shape             213 src/Buffer.h           Buffer(Runtime::Buffer<T>(data, d, shape), name) {}
shape             800 src/CodeGen_LLVM.cpp     Constant *shape = nullptr;
shape             804 src/CodeGen_LLVM.cpp         shape = create_binary_blob(shape_blob, buf.name() + ".shape");
shape             805 src/CodeGen_LLVM.cpp         shape = ConstantExpr::getPointerCast(shape, dimension_t_type->getPointerTo());
shape             807 src/CodeGen_LLVM.cpp         shape = ConstantPointerNull::get(dimension_t_type->getPointerTo());
shape             825 src/CodeGen_LLVM.cpp         shape,                                                   // dim
shape             659 src/IROperator.cpp     std::vector<Expr> shape;
shape             662 src/IROperator.cpp             shape.push_back(mins[i]);
shape             664 src/IROperator.cpp             shape.push_back(0);
shape             667 src/IROperator.cpp             shape.push_back(extents[i]);
shape             669 src/IROperator.cpp             shape.push_back(0);
shape             672 src/IROperator.cpp             shape.push_back(strides[i]);
shape             674 src/IROperator.cpp             shape.push_back(0);
shape             677 src/IROperator.cpp         shape.push_back(0);
shape             679 src/IROperator.cpp     for (const Expr &e : shape) {
shape             683 src/IROperator.cpp     Expr shape_arg = Call::make(type_of<halide_dimension_t *>(), Call::make_struct, shape, Call::Intrinsic);
shape             462 src/ScheduleFunctions.cpp                 Expr shape = Call::make(type_of<halide_dimension_t *>(), Call::buffer_get_shape, {buffer}, Call::Extern);
shape             466 src/ScheduleFunctions.cpp                                               {shape, shape_size}, Call::Extern));
shape             104 src/runtime/HalideBuffer.h     halide_dimension_t shape[D];
shape             207 src/runtime/HalideBuffer.h         if (buf.dim != shape) {
shape             215 src/runtime/HalideBuffer.h             buf.dim = shape;
shape             231 src/runtime/HalideBuffer.h         if (other.shape == other.buf.dim) {
shape             838 src/runtime/HalideBuffer.h     explicit Buffer(halide_type_t t, add_const_if_T_is_const<void> *data, int d, const halide_dimension_t *shape) {
shape             847 src/runtime/HalideBuffer.h             buf.dim[i] = shape[i];
shape             854 src/runtime/HalideBuffer.h     explicit Buffer(T *data, int d, const halide_dimension_t *shape) {
shape             860 src/runtime/HalideBuffer.h             buf.dim[i] = shape[i];
shape            1192 src/runtime/HalideBuffer.h         if (buf.dim != shape) {
shape            1204 src/runtime/HalideBuffer.h                 buf.dim[i] = shape[i];
shape            1363 src/runtime/HalideBuffer.h         halide_dimension_t *shape = src.buf.dim;
shape            1366 src/runtime/HalideBuffer.h                 shape[i].stride = 1;
shape            1368 src/runtime/HalideBuffer.h                 shape[i].stride = shape[i-1].extent * shape[i-1].stride;
shape            1375 src/runtime/HalideBuffer.h             std::swap(shape[j-1], shape[j]);
shape            1379 src/runtime/HalideBuffer.h         Buffer<T, D> dst(nullptr, src.dimensions(), shape);
shape             106 src/runtime/buffer_t.cpp                                      halide_dimension_t *shape,
shape             116 src/runtime/buffer_t.cpp     if (shape != dst->dim) {
shape             118 src/runtime/buffer_t.cpp             dst->dim[i] = shape[i];
shape              68 src/runtime/cache.cpp WEAK bool buffer_has_shape(const halide_buffer_t *buf, const halide_dimension_t *shape) {
shape              70 src/runtime/cache.cpp         if (buf->dim[i] != shape[i]) return false;
shape             107 src/runtime/old_buffer_t.cpp     halide_dimension_t shape[4];
shape             108 src/runtime/old_buffer_t.cpp     new_buf.dim = shape;
shape             119 src/runtime/old_buffer_t.cpp     halide_dimension_t shape[4];
shape             120 src/runtime/old_buffer_t.cpp     new_buf.dim = shape;
shape             130 src/runtime/old_buffer_t.cpp     halide_dimension_t shape[4];
shape             131 src/runtime/old_buffer_t.cpp     new_buf.dim = shape;
shape             142 src/runtime/old_buffer_t.cpp     halide_dimension_t shape[4];
shape             143 src/runtime/old_buffer_t.cpp     new_buf.dim = shape;
shape             153 src/runtime/old_buffer_t.cpp     halide_dimension_t shape[4];
shape             154 src/runtime/old_buffer_t.cpp     new_buf.dim = shape;
shape             116 src/runtime/write_debug_image.cpp     halide_dimension_t shape[4];
shape             118 src/runtime/write_debug_image.cpp         shape[i] = buf->dim[i];
shape             119 src/runtime/write_debug_image.cpp         elts *= shape[i].extent;
shape             122 src/runtime/write_debug_image.cpp         shape[i].min = 0;
shape             123 src/runtime/write_debug_image.cpp         shape[i].extent = 1;
shape             124 src/runtime/write_debug_image.cpp         shape[i].stride = 0;
shape             130 src/runtime/write_debug_image.cpp         int32_t width = shape[0].extent;
shape             131 src/runtime/write_debug_image.cpp         int32_t height = shape[1].extent;
shape             134 src/runtime/write_debug_image.cpp         if ((shape[3].extent == 0 || shape[3].extent == 1) && (shape[2].extent < 5)) {
shape             135 src/runtime/write_debug_image.cpp             channels = shape[2].extent;
shape             138 src/runtime/write_debug_image.cpp             channels = shape[3].extent;
shape             139 src/runtime/write_debug_image.cpp             depth = shape[2].extent;
shape             161 src/runtime/write_debug_image.cpp         tag++->assign32(278, 1, shape[1].extent);                // Rows per strip
shape             196 src/runtime/write_debug_image.cpp                 offset += shape[0].extent * shape[1].extent * depth * bytes_per_element;
shape             198 src/runtime/write_debug_image.cpp             int32_t count = shape[0].extent * shape[1].extent * depth;
shape             207 src/runtime/write_debug_image.cpp         int32_t header[] = {shape[0].extent,
shape             208 src/runtime/write_debug_image.cpp                             shape[1].extent,
shape             209 src/runtime/write_debug_image.cpp                             shape[2].extent,
shape             210 src/runtime/write_debug_image.cpp                             shape[3].extent,
shape             224 src/runtime/write_debug_image.cpp     for (int32_t dim3 = shape[3].min; dim3 < shape[3].extent + shape[3].min; ++dim3) {
shape             225 src/runtime/write_debug_image.cpp         for (int32_t dim2 = shape[2].min; dim2 < shape[2].extent + shape[2].min; ++dim2) {
shape             226 src/runtime/write_debug_image.cpp             for (int32_t dim1 = shape[1].min; dim1 < shape[1].extent + shape[1].min; ++dim1) {
shape             227 src/runtime/write_debug_image.cpp                 for (int32_t dim0 = shape[0].min; dim0 < shape[0].extent + shape[0].min; ++dim0) {
shape              17 test/correctness/input_larger_than_two_gigs.cpp     halide_dimension_t shape[] = {{0, 4096, 1},
shape              20 test/correctness/input_larger_than_two_gigs.cpp     Halide::Buffer<uint8_t> buf(c, 3, shape);
shape              21 test/correctness/output_larger_than_two_gigs.cpp     halide_dimension_t shape[] = {{0, 4096, 1},
shape              24 test/correctness/output_larger_than_two_gigs.cpp     Buffer<uint8_t> output(c, 3, shape);
shape               8 test/correctness/shifted_image.cpp     halide_dimension_t shape[] = {{100, 10, 1},
shape              12 test/correctness/shifted_image.cpp     Buffer<int> buf(nullptr, 4, shape);
shape              25 test/generator/error_codes_aottest.cpp     halide_dimension_t shape[] = {{0, 64, 1},
shape              30 test/generator/error_codes_aottest.cpp     in.dim = shape;
shape              35 test/generator/error_codes_aottest.cpp     out.dim = shape;
shape              56 test/generator/error_codes_aottest.cpp     in.dim = shape;
shape              78 test/generator/error_codes_aottest.cpp     in.dim = shape;
shape              87 test/generator/error_codes_aottest.cpp     in.dim = shape;
shape             102 test/generator/error_codes_aottest.cpp     in.dim = shape;
shape             109 test/generator/error_codes_aottest.cpp     shape[0].extent = 108;
shape             113 test/generator/error_codes_aottest.cpp     shape[0].extent = 64;
shape             184 test/generator/msan_aottest.cpp         halide_dimension_t shape[3] = {
shape             190 test/generator/msan_aottest.cpp         auto out = Buffer<int32_t>(data.data(), 3, shape);
shape             219 test/generator/msan_aottest.cpp         halide_dimension_t shape[3] = {
shape             225 test/generator/msan_aottest.cpp         auto out = Buffer<int32_t>(data.data(), 3, shape);