dimensions        487 apps/fft/fft.cpp     if (x.dimensions() > 2) {
dimensions         13 apps/templates/tests/example_generator.cpp         input = ImageParam(type, input.dimensions(), input.name());
dimensions         58 python_bindings/python/Argument.cpp         .def_readonly("dimensions", &Argument::dimensions,
dimensions        488 python_bindings/python/Func.cpp     func_class.def("dimensions", &Func::dimensions, p::arg("self"),
dimensions        202 python_bindings/python/Image.cpp     return im.dimensions();
dimensions        530 python_bindings/python/Image.cpp     std::vector<int32_t> extent(im.dimensions()), stride(im.dimensions());
dimensions        531 python_bindings/python/Image.cpp     for (int i = 0; i < im.dimensions(); i++) {
dimensions         84 python_bindings/python/Param.cpp             .def("dimensions", &ImageParam::dimensions, p::arg("self"),
dimensions        196 python_bindings/python/RDom.cpp                           .def("dimensions", &RDom::dimensions, p::arg("self"),
dimensions         23 src/AddImageChecks.cpp         int dimensions;
dimensions         24 src/AddImageChecks.cpp         Result() : dimensions(0) {}
dimensions         37 src/AddImageChecks.cpp             r.dimensions = (int)op->args.size();
dimensions         43 src/AddImageChecks.cpp             r.dimensions = (int)op->args.size();
dimensions         55 src/AddImageChecks.cpp             r.dimensions = op->param.dimensions();
dimensions         82 src/AddImageChecks.cpp             output_buffer.dimensions = f.dimensions();
dimensions        120 src/AddImageChecks.cpp         for (int i = 0; i < buf.second.dimensions; i++) {
dimensions        145 src/AddImageChecks.cpp         int dimensions = buf.second.dimensions;
dimensions        167 src/AddImageChecks.cpp         internal_assert(touched.empty() || (int)(touched.size()) == dimensions);
dimensions        196 src/AddImageChecks.cpp                 for (int j = 0; j < dimensions; j++) {
dimensions        247 src/AddImageChecks.cpp         for (int j = 0; j < dimensions; j++) {
dimensions        357 src/AddImageChecks.cpp         builder.dimensions = dimensions;
dimensions        358 src/AddImageChecks.cpp         for (int i = 0; i < dimensions; i++) {
dimensions        371 src/AddImageChecks.cpp         for (int i = 0; i < dimensions; i++) {
dimensions        405 src/AddImageChecks.cpp                 } else if (image.defined() && (int)i < image.dimensions()) {
dimensions        422 src/AddImageChecks.cpp             } else if (image.defined() && (int)i < image.dimensions()) {
dimensions         46 src/Argument.h     uint8_t dimensions;
dimensions         60 src/Argument.h     Argument() : kind(InputScalar), dimensions(0) {}
dimensions         65 src/Argument.h         name(_name), kind(_kind), dimensions((uint8_t) _dimensions), type(_type), def(_def), min(_min), max(_max) {
dimensions         67 src/Argument.h         user_assert(!(is_scalar() && dimensions != 0))
dimensions         81 src/Argument.h         dimensions(im.dimensions()),
dimensions         93 src/Argument.h                dimensions == rhs.dimensions &&
dimensions         92 src/BoundaryConditions.h     for (int i = 0; i < func_like.dimensions(); i++) {
dimensions        138 src/BoundaryConditions.h     for (int i = 0; i < func_like.dimensions(); i++) {
dimensions        174 src/BoundaryConditions.h     for (int i = 0; i < func_like.dimensions(); i++) {
dimensions        209 src/BoundaryConditions.h     for (int i = 0; i < func_like.dimensions(); i++) {
dimensions        247 src/BoundaryConditions.h     for (int i = 0; i < func_like.dimensions(); i++) {
dimensions        345 src/BoundsInference.cpp                     for (int i = 0; i < func.dimensions(); i++) {
dimensions        383 src/BoundsInference.cpp                     for (int i = 0; i < func.dimensions(); i++) {
dimensions        500 src/BoundsInference.cpp                         builder.dimensions = input.dimensions();
dimensions        511 src/BoundsInference.cpp                     int dims = args[j].is_image_param() ? p.dimensions() : b.dimensions();
dimensions        542 src/BoundsInference.cpp                 builder.dimensions = func.dimensions();
dimensions        737 src/BoundsInference.cpp                         Box b(f.dimensions());
dimensions        738 src/BoundsInference.cpp                         for (int d = 0; d < f.dimensions(); d++) {
dimensions        814 src/BoundsInference.cpp             for (int d = 0; d < output.dimensions(); d++) {
dimensions        884 src/BoundsInference.cpp             internal_assert((int)box.size() == f.dimensions());
dimensions         26 src/Buffer.cpp             int missing_dimensions = buf.dimensions() - (int)args.size() + 1;
dimensions        323 src/Buffer.h       HALIDE_BUFFER_FORWARD_CONST(dimensions)
dimensions         53 src/Closure.cpp             ref.dimensions = image.dimensions();
dimensions         45 src/Closure.h          uint8_t dimensions;
dimensions         56 src/Closure.h          Buffer() : dimensions(0), read(false), write(false), size(0) { }
dimensions        651 src/CodeGen_C.cpp     for (int i = 0; i < buffer.dimensions(); i++) {
dimensions        655 src/CodeGen_C.cpp         if (i < buffer.dimensions() - 1) {
dimensions        670 src/CodeGen_C.cpp            << buffer.dimensions() << ", "
dimensions        801 src/CodeGen_LLVM.cpp     if (buf.dimensions()) {
dimensions        802 src/CodeGen_LLVM.cpp         size_t shape_size = buf.dimensions() * sizeof(halide_dimension_t);
dimensions        814 src/CodeGen_LLVM.cpp     bool constant = buf.dimensions() != 0;
dimensions        824 src/CodeGen_LLVM.cpp         ConstantInt::get(i32_t, buf.dimensions()),               // dimensions
dimensions        932 src/CodeGen_LLVM.cpp             ConstantInt::get(i32_t, args[arg].dimensions),
dimensions        117 src/DebugToFile.cpp         for (int i = 0; i < out.dimensions(); i++) {
dimensions         26 src/DeviceArgument.cpp         DeviceArgument arg(b.first, true, b.second.type, b.second.dimensions, b.second.size);
dimensions         39 src/DeviceArgument.h     uint8_t dimensions;
dimensions         64 src/DeviceArgument.h         dimensions(0),
dimensions         77 src/DeviceArgument.h         dimensions(_dimensions),
dimensions        190 src/Func.cpp       return func.dimensions();
dimensions        217 src/Func.cpp           while ((int)args.size() < dimensions()) {
dimensions        225 src/Func.cpp       if (func.has_pure_definition() && args.size() != (size_t)dimensions()) {
dimensions        227 src/Func.cpp                      << args.size() << " arguments, but was defined with " << dimensions() << "\n";
dimensions        247 src/Func.cpp           while ((int)args.size() < dimensions()) {
dimensions        255 src/Func.cpp       if (func.has_pure_definition() && args.size() != (size_t)dimensions()) {
dimensions        257 src/Func.cpp                      << args.size() << " arguments, but was defined with " << dimensions() << "\n";
dimensions        853 src/Func.cpp       for (int i = 0; i < f_rdom.dimensions(); ++i) {
dimensions       2768 src/Func.cpp               im.crop(im.dimensions()-1, 0, s);
dimensions        965 src/Func.h         EXPORT int dimensions() const;
dimensions        494 src/Function.cpp     user_assert((int)_args.size() == dimensions())
dimensions        142 src/Function.h     EXPORT int dimensions() const;
dimensions        145 src/FuseGPUThreadLoops.cpp         while (max_depth < block_size.dimensions()) {
dimensions        201 src/FuseGPUThreadLoops.cpp             internal_assert(dim >= 0 && dim < block_size.dimensions());
dimensions        612 src/FuseGPUThreadLoops.cpp             for (int i = 0; i < block_size.dimensions(); i++) {
dimensions        617 src/FuseGPUThreadLoops.cpp             if (block_size.dimensions() == 0) {
dimensions        108 src/Generator.cpp         param.type(), param.dimensions(), def, min, max);
dimensions        164 src/Generator.cpp     for (int i = 0; i < p.dimensions(); ++i) {
dimensions        237 src/Generator.cpp         for (int i = 0; i < p.dimensions(); ++i) {
dimensions       1387 src/Generator.cpp                     user_assert(f.dimensions() == output->dimensions()) << "Output \"" << f.name() 
dimensions       1388 src/Generator.cpp                         << "\" requires dimensions=" << output->dimensions() 
dimensions       1389 src/Generator.cpp                         << " but was defined as dimensions=" << f.dimensions() << ".\n";
dimensions       1479 src/Generator.cpp                  int dimensions) 
dimensions       1480 src/Generator.cpp     : array_size_(array_size), name_(name), kind_(kind), types_(types), dimensions_(dimensions) {
dimensions       1549 src/Generator.cpp             user_assert(f.dimensions() == dimensions()) 
dimensions       1550 src/Generator.cpp                 << "Expected dimensions " << dimensions() 
dimensions       1551 src/Generator.cpp                 << " but got " << f.dimensions()
dimensions       1599 src/Generator.cpp         user_assert(dimensions() == d) << "Dimensions mismatch for " << name() << ": expected " << dimensions() << " saw " << d;
dimensions       1642 src/Generator.cpp         parameters_.emplace_back(type(), kind() != IOKind::Scalar, dimensions(), array_name(i), true, false);
dimensions       1666 src/Generator.cpp             internal_assert(dimensions() == parameters_[i].dimensions());
dimensions       1688 src/Generator.cpp             check_matching_type_and_dim(f.output_types(), f.dimensions());
dimensions       1690 src/Generator.cpp             parameters_.emplace_back(f.output_types().at(0), true, f.dimensions(), array_name(i), true, false);
dimensions       1693 src/Generator.cpp             check_matching_type_and_dim({p.type()}, p.dimensions());
dimensions        932 src/Generator.h         Buffer<> other(p.type(), nullptr, std::vector<int>(p.dimensions(), 1));
dimensions        939 src/Generator.h         Parameter p(b.type(), true, b.dimensions());
dimensions       1102 src/Generator.h     EXPORT int dimensions() const;
dimensions       1112 src/Generator.h                    int dimensions);
dimensions       1850 src/Generator.h             user_assert(buffer.dimensions() == this->dimensions())
dimensions       1851 src/Generator.h                 << "Output should have dim=" << this->dimensions() << " but saw dim=" << buffer.dimensions() << "\n";
dimensions       1875 src/Generator.h         Buffer<> other(output_types.at(0), nullptr, std::vector<int>(f.dimensions(), 1));
dimensions       1885 src/Generator.h             user_assert(f.dimensions() == this->dimensions())
dimensions       1886 src/Generator.h                 << "Output should have dim=" << this->dimensions() << " but saw dim=" << f.dimensions() << "\n";
dimensions        685 src/HexagonOffload.cpp                 output_buffers.push_back(LoweredArgument(i.first, kind, i.second.type, i.second.dimensions));
dimensions        688 src/HexagonOffload.cpp                 input_buffers.push_back(LoweredArgument(i.first, kind, i.second.type, i.second.dimensions));
dimensions        692 src/HexagonOffload.cpp             Parameter p(i.second.type, true, i.second.dimensions);
dimensions        631 src/IROperator.cpp     } else if (dimensions == 0) {
dimensions        657 src/IROperator.cpp     args[7] = dimensions;
dimensions        660 src/IROperator.cpp     for (size_t i = 0; i < (size_t)dimensions; i++) {
dimensions        686 src/IROperator.cpp     } else if (dimensions == 0) {
dimensions        707 src/IROperator.cpp     if (!shape_memory.defined() && dimensions != 0) {
dimensions        185 src/IROperator.h     int dimensions = 0;
dimensions         24 src/ImageParam.cpp     for (int i = 0; i < dimensions(); ++i) {
dimensions        101 src/InferArguments.cpp                      p.type(), p.dimensions(), def, min, max),
dimensions        112 src/InferArguments.cpp             for (int i = 0; i < p.dimensions(); i++) {
dimensions        125 src/InferArguments.cpp             Argument(b.name(), Argument::InputBuffer, b.type(), b.dimensions()),
dimensions        178 src/InlineReductions.cpp     Tuple initial_tup(vector<Expr>(v.rdom.dimensions()+1));
dimensions        179 src/InlineReductions.cpp     Tuple update_tup(vector<Expr>(v.rdom.dimensions()+1));
dimensions        180 src/InlineReductions.cpp     for (int i = 0; i < v.rdom.dimensions(); i++) {
dimensions        207 src/InlineReductions.cpp     Tuple initial_tup(vector<Expr>(v.rdom.dimensions()+1));
dimensions        208 src/InlineReductions.cpp     Tuple update_tup(vector<Expr>(v.rdom.dimensions()+1));
dimensions        209 src/InlineReductions.cpp     for (int i = 0; i < v.rdom.dimensions(); i++) {
dimensions        334 src/Lower.cpp                                             buf.type(), buf.dimensions()));
dimensions         32 src/Memoization.cpp                                                        extern_args[i].buffer.dimensions(),
dimensions        368 src/Memoization.cpp             builder.dimensions = f.dimensions();
dimensions         42 src/OutputImageParam.cpp     return param.dimensions();
dimensions         46 src/OutputImageParam.cpp     user_assert(dimensions() > 0) << "Can't ask for the left of a zero-dimensional image\n";
dimensions         51 src/OutputImageParam.cpp     user_assert(dimensions() > 0) << "Can't ask for the right of a zero-dimensional image\n";
dimensions         56 src/OutputImageParam.cpp     user_assert(dimensions() > 1) << "Can't ask for the top of a zero- or one-dimensional image\n";
dimensions         61 src/OutputImageParam.cpp     user_assert(dimensions() > 1) << "Can't ask for the bottom of a zero- or one-dimensional image\n";
dimensions         66 src/OutputImageParam.cpp     user_assert(dimensions() > 0) << "Can't ask for the width of a zero-dimensional image\n";
dimensions         71 src/OutputImageParam.cpp     user_assert(dimensions() > 1) << "Can't ask for the height of a zero or one-dimensional image\n";
dimensions         76 src/OutputImageParam.cpp     user_assert(dimensions() > 2) << "Can't ask for the channels of an image with fewer than three dimensions\n";
dimensions         85 src/OutputImageParam.cpp     return Argument(name(), kind, type(), dimensions());
dimensions         81 src/OutputImageParam.h     EXPORT int dimensions() const;
dimensions         13 src/Parameter.cpp     const int dimensions;
dimensions         28 src/Parameter.cpp         : type(t), dimensions(d), name(n), buffer(Buffer<>()), data(0),
dimensions         32 src/Parameter.cpp         min_constraint.resize(dimensions);
dimensions         33 src/Parameter.cpp         extent_constraint.resize(dimensions);
dimensions         34 src/Parameter.cpp         stride_constraint.resize(dimensions);
dimensions         38 src/Parameter.cpp         if (dimensions > 0) {
dimensions         65 src/Parameter.cpp     user_assert(dim >= 0 && dim < dimensions())
dimensions         66 src/Parameter.cpp         << "Dimension " << dim << " is not in the range [0, " << dimensions() - 1 << "]\n";
dimensions        127 src/Parameter.cpp     return contents->dimensions;
dimensions        297 src/Parameter.cpp     user_assert(d >= 0 && d < param.dimensions())
dimensions        299 src/Parameter.cpp         << " of a " << param.dimensions() << "-dimensional Parameter\n";
dimensions         39 src/Parameter.h     EXPORT Parameter(Type t, bool is_buffer, int dimensions);
dimensions         50 src/Parameter.h     EXPORT Parameter(Type t, bool is_buffer, int dimensions,
dimensions         63 src/Parameter.h     EXPORT int dimensions() const;
dimensions        672 src/Pipeline.cpp             OutputBufferType obt = {f, t, f.dimensions()};
dimensions        687 src/Pipeline.cpp         user_assert(dst[i].dimensions() == dims)
dimensions        690 src/Pipeline.cpp             << " because Buffer is " << dst[i].dimensions()
dimensions        918 src/Pipeline.cpp             vector<int> initial_shape(ia.param.dimensions(), 0);
dimensions        950 src/Pipeline.cpp             for (int i = 0; i < tb.query.dimensions(); i++) {
dimensions        148 src/RDom.cpp       for (int i = 0; i < b.dimensions(); i++) {
dimensions        164 src/RDom.cpp       for (int i = 0; i < p.dimensions(); i++) {
dimensions        187 src/RDom.cpp       if (i < dimensions()) {
dimensions        195 src/RDom.cpp       if (dimensions() != 1) {
dimensions        204 src/RDom.cpp       if (dimensions() != 1) {
dimensions        229 src/RDom.cpp       for (int i = 0; i < dom.dimensions(); i++) {
dimensions        235 src/RDom.h         EXPORT int dimensions() const;
dimensions        357 src/ScheduleFunctions.cpp                     buffers_to_annotate.push_back({buffer, input.dimensions()});
dimensions        362 src/ScheduleFunctions.cpp                 Parameter p(b.type(), true, b.dimensions(), b.name());
dimensions        366 src/ScheduleFunctions.cpp                 buffers_to_annotate.push_back({buf, b.dimensions()});
dimensions        398 src/ScheduleFunctions.cpp                 buffers_to_annotate.push_back({buffer, f.dimensions()});
dimensions        424 src/ScheduleFunctions.cpp                                      {(int)sizeof(halide_dimension_t) * f.dimensions()}, Call::Intrinsic);
dimensions        428 src/ScheduleFunctions.cpp                 internal_assert(f.dimensions() == (int)f.args().size());
dimensions        445 src/ScheduleFunctions.cpp                 buffers_to_annotate.push_back({extern_call_args.back(), f.dimensions()});
dimensions        455 src/ScheduleFunctions.cpp                 int dimensions = p.second;
dimensions        463 src/ScheduleFunctions.cpp                 Expr shape_size = Expr((uint64_t)(sizeof(halide_dimension_t) * dimensions));
dimensions        657 src/ScheduleFunctions.cpp             for (int i = 0; i < func.dimensions(); i++) {
dimensions        242 src/Simplify.cpp     void found_buffer_reference(const string &name, size_t dimensions = 0) {
dimensions        243 src/Simplify.cpp         for (size_t i = 0; i < dimensions; i++) {
dimensions        129 src/SlidingWindow.cpp             for (int i = 0; i < func.dimensions(); i++) {
dimensions        158 src/StorageFlattening.cpp         builder.dimensions = dims;
dimensions         20 src/Tracing.cpp     Expr parent_id, value_index, dimensions;
dimensions        215 src/Tracing.cpp             for (int i = 0; i < f.dimensions(); i++) {
dimensions        271 src/Tracing.cpp         for (int i = 0; i < output.dimensions(); i++) {
dimensions         18 src/UnpackBuffers.cpp     int dimensions;
dimensions         30 src/UnpackBuffers.cpp                             param.dimensions()};
dimensions         40 src/UnpackBuffers.cpp                             buffer.dimensions()};
dimensions        111 src/UnpackBuffers.cpp         for (int i = 0; i < info.dimensions; i++) {
dimensions         49 src/WrapExternStages.cpp                                       b.type(), b.dimensions());
dimensions         53 src/WrapExternStages.cpp                                   arg.buffer.type(), arg.buffer.dimensions());
dimensions         59 src/WrapExternStages.cpp                                   arg.image_param.type(), arg.image_param.dimensions());
dimensions         63 src/WrapExternStages.cpp             args.emplace_back(b.name(), Argument::OutputBuffer, b.type(), b.dimensions());
dimensions        185 src/WrapExternStages.cpp             builder.dimensions = arg.dimensions;
dimensions        214 src/runtime/HalideBuffer.h         if (buf.dimensions <= D) {
dimensions        217 src/runtime/HalideBuffer.h             buf.dim = new halide_dimension_t[buf.dimensions];
dimensions        224 src/runtime/HalideBuffer.h         for (int i = 0; i < buf.dimensions; i++) {
dimensions        400 src/runtime/HalideBuffer.h         for (int i = 0; i < dimensions(); i++) {
dimensions        407 src/runtime/HalideBuffer.h     int dimensions() const {
dimensions        408 src/runtime/HalideBuffer.h         return buf.dimensions;
dimensions        420 src/runtime/HalideBuffer.h         for (int i = 0; i < dimensions(); i++) {
dimensions        431 src/runtime/HalideBuffer.h         for (int i = 0; i < dimensions(); i++) {
dimensions        464 src/runtime/HalideBuffer.h         buf.dimensions = d;
dimensions        482 src/runtime/HalideBuffer.h         assert(dimensions() <= 4 && "Cannot construct a legacy buffer_t from a Halide::Runtime::Buffer with more than four dimensions.");
dimensions        483 src/runtime/HalideBuffer.h         for (int i = 0; i < dimensions(); i++) {
dimensions        629 src/runtime/HalideBuffer.h         for (int i = 0; i < dimensions(); i++) {
dimensions        634 src/runtime/HalideBuffer.h         for (int i = 0; i < dimensions(); i++) {
dimensions        695 src/runtime/HalideBuffer.h         buf.dimensions = 1 + (int)(sizeof...(rest));
dimensions        715 src/runtime/HalideBuffer.h         buf.dimensions = 1;
dimensions        730 src/runtime/HalideBuffer.h         buf.dimensions = 2 + (int)(sizeof...(rest));
dimensions        746 src/runtime/HalideBuffer.h         buf.dimensions = (int)sizes.size();
dimensions        758 src/runtime/HalideBuffer.h         buf.dimensions = (int)sizes.size();
dimensions        771 src/runtime/HalideBuffer.h         buf.dimensions = dimensionality_of_array(vals);
dimensions        775 src/runtime/HalideBuffer.h         initialize_shape_from_array_shape(buf.dimensions - 1, vals);
dimensions        789 src/runtime/HalideBuffer.h         buf.dimensions = 1 + (int)(sizeof...(rest));
dimensions        802 src/runtime/HalideBuffer.h         buf.dimensions = 1 + (int)(sizeof...(rest));
dimensions        814 src/runtime/HalideBuffer.h         buf.dimensions = (int)sizes.size();
dimensions        829 src/runtime/HalideBuffer.h         buf.dimensions = (int)sizes.size();
dimensions        843 src/runtime/HalideBuffer.h         buf.dimensions = d;
dimensions        856 src/runtime/HalideBuffer.h         buf.dimensions = d;
dimensions        922 src/runtime/HalideBuffer.h         return (dimensions() > 0) ? dim(0).extent() : 1;
dimensions        925 src/runtime/HalideBuffer.h         return (dimensions() > 1) ? dim(1).extent() : 1;
dimensions        928 src/runtime/HalideBuffer.h         return (dimensions() > 2) ? dim(2).extent() : 1;
dimensions        976 src/runtime/HalideBuffer.h         assert(src.dimensions() == dst.dimensions());
dimensions        979 src/runtime/HalideBuffer.h         for (int i = 0; i < dimensions(); i++) {
dimensions       1097 src/runtime/HalideBuffer.h         assert(sizeof...(args) <= (size_t)dimensions());
dimensions       1108 src/runtime/HalideBuffer.h         assert(sizeof...(args) <= (size_t)dimensions());
dimensions       1143 src/runtime/HalideBuffer.h         buf.dimensions--;
dimensions       1147 src/runtime/HalideBuffer.h         for (int i = d; i < dimensions(); i++) {
dimensions       1150 src/runtime/HalideBuffer.h         buf.dim[buf.dimensions] = {0, 0, 0};
dimensions       1164 src/runtime/HalideBuffer.h         assert(d >= 0 && d <= dimensions());
dimensions       1167 src/runtime/HalideBuffer.h         im.translate(im.dimensions() - 1, pos);
dimensions       1168 src/runtime/HalideBuffer.h         for (int i = im.dimensions(); i > d; i--) {
dimensions       1177 src/runtime/HalideBuffer.h         assert(d >= 0 && d <= dimensions());
dimensions       1179 src/runtime/HalideBuffer.h         translate(dimensions() - 1, pos);
dimensions       1180 src/runtime/HalideBuffer.h         for (int i = dimensions() - 1; i > d; i--) {
dimensions       1190 src/runtime/HalideBuffer.h         const int dims = buf.dimensions;
dimensions       1191 src/runtime/HalideBuffer.h         buf.dimensions++;
dimensions       1194 src/runtime/HalideBuffer.h             halide_dimension_t *new_shape = new halide_dimension_t[buf.dimensions];
dimensions       1222 src/runtime/HalideBuffer.h         buf.dim[buf.dimensions-1].stride = s;
dimensions       1352 src/runtime/HalideBuffer.h         for (int i = src.dimensions()-1; i > 0; i--) {
dimensions       1364 src/runtime/HalideBuffer.h         for (int i = 0; i < src.dimensions(); i++) {
dimensions       1379 src/runtime/HalideBuffer.h         Buffer<T, D> dst(nullptr, src.dimensions(), shape);
dimensions       1411 src/runtime/HalideBuffer.h         for (int i = this->dimensions() - 1; i >= 0; i--) {
dimensions       1539 src/runtime/HalideBuffer.h         assert(first->dimensions() == dimensions());
dimensions       1600 src/runtime/HalideBuffer.h             (for_each_value_task_dim<N> *)HALIDE_ALLOCA((dimensions()+1) * sizeof(for_each_value_task_dim<N>));
dimensions       1601 src/runtime/HalideBuffer.h         for (int i = 0; i <= dimensions(); i++) {
dimensions       1608 src/runtime/HalideBuffer.h         for (int i = 0; i < dimensions(); i++) {
dimensions       1619 src/runtime/HalideBuffer.h         int d = dimensions();
dimensions       1627 src/runtime/HalideBuffer.h                 for (int j = i; j < dimensions(); j++) {
dimensions       1636 src/runtime/HalideBuffer.h         if (dimensions() > 0) {
dimensions       1644 src/runtime/HalideBuffer.h             for_each_value_helper<true>(f, dimensions() - 1, t, begin(), (other_buffers.begin())...);
dimensions       1646 src/runtime/HalideBuffer.h             for_each_value_helper<false>(f, dimensions() - 1, t, begin(), (other_buffers.begin())...);
dimensions       1833 src/runtime/HalideBuffer.h             (for_each_element_task_dim *)HALIDE_ALLOCA(dimensions() * sizeof(for_each_element_task_dim));
dimensions       1834 src/runtime/HalideBuffer.h         for (int i = 0; i < dimensions(); i++) {
dimensions       1838 src/runtime/HalideBuffer.h         for_each_element(0, dimensions(), t, std::forward<Fn>(f));
dimensions        347 src/runtime/HalideRuntime.h     int32_t dimensions;
dimensions        407 src/runtime/HalideRuntime.h     int32_t dimensions;
dimensions        426 src/runtime/HalideRuntime.h         return (const void *)(coordinates() + dimensions);
dimensions       1016 src/runtime/HalideRuntime.h     int32_t dimensions;
dimensions       1061 src/runtime/HalideRuntime.h         for (int i = 0; i < dimensions; i++) {
dimensions       1071 src/runtime/HalideRuntime.h         for (int i = 0; i < dimensions; i++) {
dimensions       1082 src/runtime/HalideRuntime.h         for (int i = 0; i < dimensions; i++) {
dimensions       1099 src/runtime/HalideRuntime.h         for (int i = 0; i < dimensions; i++) {
dimensions       1209 src/runtime/HalideRuntime.h     int32_t dimensions;     // always zero for scalar arguments
dimensions        105 src/runtime/buffer_t.cpp                                      int dimensions,
dimensions        114 src/runtime/buffer_t.cpp     dst->dimensions = dimensions;
dimensions        117 src/runtime/buffer_t.cpp         for (int i = 0; i < dimensions; i++) {
dimensions        133 src/runtime/buffer_t.cpp     dst->dimensions = src->dimensions;
dimensions        136 src/runtime/buffer_t.cpp     for (int i = 0; i < dst->dimensions; i++) {
dimensions        150 src/runtime/buffer_t.cpp     for (int i = 0; i < dst->dimensions; i++) {
dimensions         19 src/runtime/cache.cpp     debug(user_context) << buf_name << ": elem_size " << buf.type.bytes() << " dimensions " << buf.dimensions << ", ";
dimensions         20 src/runtime/cache.cpp     for (int i = 0; i < buf.dimensions; i++) {
dimensions         69 src/runtime/cache.cpp     for (int i = 0; i < buf->dimensions; i++) {
dimensions         94 src/runtime/cache.cpp     int32_t dimensions;
dimensions        127 src/runtime/cache.cpp     dimensions = computed_bounds_buf->dimensions;
dimensions        138 src/runtime/cache.cpp     storage_bytes += sizeof(halide_dimension_t) * dimensions * (tuple_count + 1);
dimensions        161 src/runtime/cache.cpp     for (int i = 0; i < dimensions; i++) {
dimensions        168 src/runtime/cache.cpp         buf[i].dim = computed_bounds + (i+1)*dimensions;
dimensions        169 src/runtime/cache.cpp         for (int j = 0; j < dimensions; j++) {
dimensions        546 src/runtime/cuda.cpp     for (int i = 0; i < buf->dimensions; i++) {
dimensions        632 src/runtime/cuda.cpp     int err = do_multidimensional_copy(user_context, c, c.dst, c.src, buf->dimensions, false);
dimensions        664 src/runtime/cuda.cpp     int err = do_multidimensional_copy(user_context, c, c.dst, c.src, buf->dimensions, true);
dimensions         79 src/runtime/device_buffer_utils.h     if (buf->dimensions > MAX_COPY_DIMS) {
dimensions         96 src/runtime/device_buffer_utils.h     for (int i = 0; i < buf->dimensions; i++) {
dimensions        422 src/runtime/hexagon_host.cpp     for (int i = 0; i < buf->dimensions; i++) {
dimensions        196 src/runtime/matlab.cpp             desc << arg->dimensions << "d ";
dimensions        265 src/runtime/matlab.cpp     int expected_dims = arg->dimensions;
dimensions        293 src/runtime/matlab.cpp     buf->dimensions = arg->dimensions;
dimensions        420 src/runtime/matlab.cpp             buf->dim = (halide_dimension_t *)__builtin_alloca(sizeof(halide_dimension_t) * arg_metadata->dimensions);
dimensions        421 src/runtime/matlab.cpp             memset(buf->dim, 0, sizeof(halide_dimension_t) * arg_metadata->dimensions);
dimensions        340 src/runtime/metal.cpp     for (int i = 0; i < buf->dimensions; i++) {
dimensions        584 src/runtime/metal.cpp     halide_assert(user_context, buffer->dimensions <= MAX_COPY_DIMS);
dimensions        585 src/runtime/metal.cpp     if (buffer->dimensions > MAX_COPY_DIMS) {
dimensions         12 src/runtime/old_buffer_t.cpp     new_buf->dimensions = 4;
dimensions         15 src/runtime/old_buffer_t.cpp             new_buf->dimensions = i;
dimensions         55 src/runtime/old_buffer_t.cpp     for (int i = 0; i < new_buf->dimensions; i++) {
dimensions         69 src/runtime/old_buffer_t.cpp     if (new_buf->dimensions > 4) {
dimensions         74 src/runtime/old_buffer_t.cpp     for (int i = 0; i < new_buf->dimensions; i++) {
dimensions        715 src/runtime/opencl.cpp     for (int i = 0; i < buf->dimensions; i++) {
dimensions        859 src/runtime/opencl.cpp     do_multidimensional_copy(user_context, ctx, c, 0, buf->dimensions, false);
dimensions        896 src/runtime/opencl.cpp     do_multidimensional_copy(user_context, ctx, c, 0, buf->dimensions, true);
dimensions        817 src/runtime/opengl.cpp     const int channels = (buf->dimensions > 2) ? buf->dim[2].extent : 0;
dimensions        888 src/runtime/opengl.cpp     if (buf->dimensions > 3) {
dimensions        902 src/runtime/opengl.cpp     *height = (buf->dimensions > 1) ? buf->dim[1].extent : 1;
dimensions        903 src/runtime/opengl.cpp     *channels = (buf->dimensions > 2) ? buf->dim[2].extent : 1;
dimensions        922 src/runtime/opengl.cpp         texinfo->min[i] = (buf->dimensions > i) ? buf->dim[i].min : 0;
dimensions        923 src/runtime/opengl.cpp         texinfo->extent[i] = (buf->dimensions > i) ? buf->dim[i].extent : 0;
dimensions        988 src/runtime/opengl.cpp         if (buf->dimensions > 3) {
dimensions       1107 src/runtime/opengl.cpp     int width = (src_buf->dimensions > 0) ? src_buf->dim[0].extent : 1;
dimensions       1108 src/runtime/opengl.cpp     int height = (src_buf->dimensions > 1) ? src_buf->dim[1].extent : 1;
dimensions       1109 src/runtime/opengl.cpp     int channels = (src_buf->dimensions > 2) ? src_buf->dim[2].extent : 1;
dimensions       1110 src/runtime/opengl.cpp     int x_stride = (src_buf->dimensions > 0) ? src_buf->dim[0].stride : 0;
dimensions       1111 src/runtime/opengl.cpp     int y_stride = (src_buf->dimensions > 1) ? src_buf->dim[1].stride : 0;
dimensions       1112 src/runtime/opengl.cpp     int c_stride = (src_buf->dimensions > 2) ? src_buf->dim[2].stride : 0;
dimensions       1134 src/runtime/opengl.cpp     int width = (dst_buf->dimensions > 0) ? dst_buf->dim[0].extent : 1;
dimensions       1135 src/runtime/opengl.cpp     int height = (dst_buf->dimensions > 1) ? dst_buf->dim[1].extent : 1;
dimensions       1136 src/runtime/opengl.cpp     int dst_channels = (dst_buf->dimensions > 2) ? dst_buf->dim[2].extent : 1;
dimensions       1137 src/runtime/opengl.cpp     int x_stride = (dst_buf->dimensions > 0) ? dst_buf->dim[0].stride : 0;
dimensions       1138 src/runtime/opengl.cpp     int y_stride = (dst_buf->dimensions > 1) ? dst_buf->dim[1].stride : 0;
dimensions       1139 src/runtime/opengl.cpp     int c_stride = (dst_buf->dimensions > 2) ? dst_buf->dim[2].stride : 0;
dimensions        254 src/runtime/openglcompute.cpp     for (int i = 0; i < buf->dimensions; i++) {
dimensions        166 src/runtime/runtime_internal.h                              int parent_id, int value_index, int dimensions);
dimensions        288 src/runtime/to_string.cpp     for (int i = 0; i < buf->dimensions; i++) {
dimensions         29 src/runtime/tracing.cpp         uint32_t coords_bytes = e->dimensions * (uint32_t)sizeof(int32_t);
dimensions         43 src/runtime/tracing.cpp         header.dimensions = e->dimensions;
dimensions         89 src/runtime/tracing.cpp         for (int i = 0; i < e->dimensions; i++) {
dimensions        231 src/runtime/tracing.cpp                              int parent_id, int value_index, int dimensions) {
dimensions        243 src/runtime/tracing.cpp         dimensions *= event.type.lanes;
dimensions        245 src/runtime/tracing.cpp     event.dimensions = dimensions;
dimensions        105 src/runtime/write_debug_image.cpp     if (buf->dimensions > 4) {
dimensions        117 src/runtime/write_debug_image.cpp     for (int i = 0; i < buf->dimensions && i < 4; i++) {
dimensions        121 src/runtime/write_debug_image.cpp     for (int i = buf->dimensions; i < 4; i++) {
dimensions         23 test/correctness/buffer_t.cpp     CHECK(dimensions, 28, 36);
dimensions         45 test/correctness/extern_producer.cpp     assert(out->dimensions == 2);
dimensions         67 test/correctness/extern_producer.cpp     assert(out1->dimensions == 2 && out2->dimensions == 2);
dimensions         26 test/correctness/float16_t_image_type.cpp     h_assert(simple.dimensions() == 2, "invalid number of dimensions");
dimensions         32 test/correctness/float16_t_implicit_upcast.cpp     h_assert(simple.dimensions() == 2, "invalid number of dimensions");
dimensions          8 test/correctness/halide_buffer.cpp     if (a.dimensions() != b.dimensions()) abort();
dimensions          9 test/correctness/halide_buffer.cpp     for (int i = 0; i < a.dimensions(); i++) {
dimensions         28 test/correctness/image_io.cpp     if (buf.dimensions() == 2) {
dimensions         11 test/correctness/implicit_args.cpp     assert(im1.dimensions() == 3);
dimensions         18 test/correctness/implicit_args.cpp     assert(im2.dimensions() == 2);
dimensions         45 test/correctness/implicit_args.cpp     assert(f.dimensions() == 4);
dimensions         54 test/correctness/implicit_args.cpp     assert(g.dimensions() == 2);
dimensions         94 test/correctness/infer_arguments.cpp         EXPECT(3, input1_arg.dimensions);
dimensions         95 test/correctness/infer_arguments.cpp         EXPECT(2, input2_arg.dimensions);
dimensions         96 test/correctness/infer_arguments.cpp         EXPECT(0, frac_arg.dimensions);
dimensions         97 test/correctness/infer_arguments.cpp         EXPECT(0, height_arg.dimensions);
dimensions         98 test/correctness/infer_arguments.cpp         EXPECT(0, thresh_arg.dimensions);
dimensions         99 test/correctness/infer_arguments.cpp         EXPECT(0, width_arg.dimensions);
dimensions        100 test/correctness/infer_arguments.cpp         EXPECT(0, z_unsigned_arg.dimensions);
dimensions        135 test/correctness/infer_arguments.cpp         EXPECT(3, input1_arg.dimensions);
dimensions        136 test/correctness/infer_arguments.cpp         EXPECT(0, frac_arg.dimensions);
dimensions        137 test/correctness/infer_arguments.cpp         EXPECT(0, thresh_arg.dimensions);
dimensions         11 test/correctness/many_small_extern_stages.cpp     for (int i = 0; i < b->dimensions; i++) {
dimensions         51 test/correctness/memoize.cpp         for (int i = 0; i < out->dimensions; i++) {
dimensions         11 test/correctness/obscure_image_references.cpp     assert(im1.dimensions() == 1);
dimensions         12 test/correctness/obscure_image_references.cpp     assert(im2.dimensions() == 1);
dimensions         13 test/correctness/obscure_image_references.cpp     assert(im3.dimensions() == 1);
dimensions         83 test/correctness/tracing.cpp     assert(ev->dimensions <= 4 && ev->type.lanes <= 4);
dimensions         94 test/correctness/tracing.cpp     e.num_int_args = ev->dimensions;
dimensions         95 test/correctness/tracing.cpp     for (int i = 0; i < ev->dimensions; i++) {
dimensions         32 test/error/float16_t_implicit_downcast.cpp     h_assert(simple.dimensions() == 2, "invalid number of dimensions");
dimensions         31 test/generator/error_codes_aottest.cpp     in.dimensions = 2;
dimensions         36 test/generator/error_codes_aottest.cpp     out.dimensions = 2;
dimensions         89 test/generator/image_from_array_aottest.cpp     cout << "Extent of dimension " << dimension << " of " << img.dimensions()
dimensions        105 test/generator/metadata_tester_aottest.cpp     EXPECT_EQ(e.dimensions, a.dimensions);
dimensions        109 test/generator/metadata_tester_aottest.cpp     EXPECT_EQ(e.dimensions, a.dimensions);
dimensions        135 test/generator/metadata_tester_aottest.cpp     if (output_scalar.dimensions() != 0) {
dimensions         28 test/generator/tiled_blur_aottest.cpp         assert(ev->dimensions == 6);
dimensions         68 test/performance/sort.cpp         assert(input.dimensions() == 1);
dimensions        102 test/performance/sort.cpp         assert(result.dimensions() == 2);
dimensions         78 tools/halide_image_info.h     int dim = img.dimensions();
dimensions        175 tools/halide_image_info.h     int dim = img.dimensions();
dimensions        239 tools/halide_image_info.h     int dim = img.dimensions();
dimensions        602 tools/halide_image_io.h     if (im.dimensions() == 3) {
dimensions        606 tools/halide_image_io.h     if (!check((im.dimensions() == 2 ||
dimensions        607 tools/halide_image_io.h                 im.dimensions() == 3) &&
dimensions        648 tools/halide_image_io.h         if (im.dimensions() == 2) {
dimensions        219 util/HalideTraceViz.cpp             for (int i = 0; i < std::min(16, p.dimensions / p.type.lanes); i++) {
dimensions        443 util/HalideTraceViz.cpp     assert(p.dimensions >= 2 * fi.config.dims);
dimensions        444 util/HalideTraceViz.cpp     if (2 * current_dimension == p.dimensions) {
dimensions        784 util/HalideTraceViz.cpp             assert(p.dimensions >= p.type.lanes * fi.config.dims);
dimensions        785 util/HalideTraceViz.cpp             if (p.dimensions >= p.type.lanes * fi.config.dims) {