copy 50 apps/HelloAndroidCamera2/jni/YuvBufferT.h YuvBufferT(const YuvBufferT ©) = default; copy 185 apps/HelloAndroidCamera2/src/com/example/helloandroidcamera2/Camera2BasicFragment.java HalideFilters.copy(srcYuv, dstYuv); copy 118 apps/linear_algebra/benchmarks/cblas_benchmarks.cpp L1Benchmark(copy, "s", cblas_scopy(N, &(x[0]), 1, &(y[0]), 1)) copy 159 apps/linear_algebra/benchmarks/cblas_benchmarks.cpp L1Benchmark(copy, "d", cblas_dcopy(N, &(x[0]), 1, &(y[0]), 1)) copy 85 apps/linear_algebra/benchmarks/eigen_benchmarks.cpp L1Benchmark(copy, type_name<T>(), y = x); copy 109 apps/linear_algebra/benchmarks/halide_benchmarks.cpp L1Benchmark(copy, "s", halide_scopy(x.raw_buffer(), y.raw_buffer())) copy 144 apps/linear_algebra/benchmarks/halide_benchmarks.cpp L1Benchmark(copy, "d", halide_dcopy(x.raw_buffer(), y.raw_buffer())) copy 91 python_bindings/numpy/ndarray.hpp ndarray copy() const; copy 387 src/Buffer.h Buffer<T> copy() const { copy 388 src/Buffer.h return Buffer<T>(std::move(contents->buf.copy())); copy 107 src/Definition.cpp Definition copy; copy 108 src/Definition.cpp copy.contents->is_init = contents->is_init; copy 109 src/Definition.cpp copy.contents->predicate = contents->predicate; copy 110 src/Definition.cpp copy.contents->values = contents->values; copy 111 src/Definition.cpp copy.contents->args = contents->args; copy 112 src/Definition.cpp copy.contents->schedule = contents->schedule.deep_copy(copied_map); copy 120 src/Definition.cpp copy.contents->specializations.push_back(std::move(s_copy)); copy 122 src/Definition.cpp return copy; copy 265 src/Function.cpp ExternFuncArgument copy; copy 266 src/Function.cpp copy.arg_type = src.arg_type; copy 267 src/Function.cpp copy.buffer = src.buffer; copy 268 src/Function.cpp copy.expr = src.expr; copy 269 src/Function.cpp copy.image_param = src.image_param; copy 274 src/Function.cpp return copy; copy 282 src/Function.cpp copy.func = copied_func; copy 284 src/Function.cpp copy.func = deep_copy_function_contents_helper(src.func, copied_map); copy 285 src/Function.cpp copied_map[src.func] = copy.func; copy 287 src/Function.cpp return copy; copy 294 src/Function.cpp IntrusivePtr<FunctionContents> copy(new FunctionContents); copy 295 src/Function.cpp deep_copy_function_contents_helper(src, copy, copied_map); copy 296 src/Function.cpp return copy; copy 338 src/Function.cpp void Function::deep_copy(Function ©, copy 340 src/Function.cpp internal_assert(copy.contents.defined() && contents.defined()) copy 351 src/Function.cpp copied_funcs_map[contents] = copy.contents; copy 354 src/Function.cpp deep_copy_function_contents_helper(contents, copy.contents, copied_funcs_map); copy 107 src/Function.h EXPORT void deep_copy(Function ©, std::map<Function, Function, Compare> &copied_map) const; copy 2900 src/Generator.h std::copy(v.begin(), v.end(), std::back_inserter(r)); copy 651 src/InjectHostDevBufferCopies.cpp map<string, BufferInfo> copy = state; copy 656 src/InjectHostDevBufferCopies.cpp copy.swap(state); copy 662 src/InjectHostDevBufferCopies.cpp for (const pair<string, BufferInfo> &i : copy) { copy 282 src/Module.cpp Module copy(m.resolve_submodules()); copy 288 src/Module.cpp for (const auto &ec_sub : copy.external_code()) { copy 295 src/Module.cpp copy.append(ec); copy 299 src/Module.cpp auto buf = copy.compile_to_buffer(); copy 147 src/Reduction.cpp ReductionDomain copy(contents->domain); copy 148 src/Reduction.cpp copy.contents->predicate = contents->predicate; copy 149 src/Reduction.cpp copy.contents->frozen = contents->frozen; copy 150 src/Reduction.cpp return copy; copy 196 src/Schedule.cpp Schedule copy; copy 197 src/Schedule.cpp copy.contents->store_level = contents->store_level; copy 198 src/Schedule.cpp copy.contents->compute_level = contents->compute_level; copy 199 src/Schedule.cpp copy.contents->rvars = contents->rvars; copy 200 src/Schedule.cpp copy.contents->splits = contents->splits; copy 201 src/Schedule.cpp copy.contents->dims = contents->dims; copy 202 src/Schedule.cpp copy.contents->storage_dims = contents->storage_dims; copy 203 src/Schedule.cpp copy.contents->bounds = contents->bounds; copy 204 src/Schedule.cpp copy.contents->prefetches = contents->prefetches; copy 205 src/Schedule.cpp copy.contents->memoized = contents->memoized; copy 206 src/Schedule.cpp copy.contents->touched = contents->touched; copy 207 src/Schedule.cpp copy.contents->allow_race_conditions = contents->allow_race_conditions; copy 215 src/Schedule.cpp copy.contents->wrappers[iter.first] = copied_func; copy 217 src/Schedule.cpp copy.contents->wrappers[iter.first] = deep_copy_function_contents_helper(iter.second, copied_map); copy 218 src/Schedule.cpp copied_map[iter.second] = copy.contents->wrappers[iter.first]; copy 221 src/Schedule.cpp internal_assert(copy.contents->wrappers.size() == contents->wrappers.size()); copy 222 src/Schedule.cpp return copy; copy 154 src/Target.h Target copy = *this; copy 155 src/Target.h copy.set_feature(f); copy 156 src/Target.h return copy; copy 164 src/Target.h Target copy = *this; copy 165 src/Target.h copy.set_feature(f, false); copy 166 src/Target.h return copy; copy 955 src/runtime/HalideBuffer.h Buffer<T, D> copy(void *(*allocate_fn)(size_t) = nullptr, copy 43 src/runtime/device_buffer_utils.h WEAK void copy_memory_helper(const device_copy ©, int d, int64_t off) { copy 45 src/runtime/device_buffer_utils.h while (d >= 0 && copy.extent[d] == 1) d--; copy 48 src/runtime/device_buffer_utils.h const void *from = (void *)(copy.src + off); copy 49 src/runtime/device_buffer_utils.h void *to = (void *)(copy.dst + off); copy 50 src/runtime/device_buffer_utils.h memcpy(to, from, copy.chunk_size); copy 52 src/runtime/device_buffer_utils.h for (uint64_t i = 0; i < copy.extent[d]; i++) { copy 53 src/runtime/device_buffer_utils.h copy_memory_helper(copy, d - 1, off); copy 54 src/runtime/device_buffer_utils.h off += copy.stride_bytes[d]; copy 59 src/runtime/device_buffer_utils.h WEAK void copy_memory(const device_copy ©, void *user_context) { copy 61 src/runtime/device_buffer_utils.h if (copy.src != copy.dst) { copy 62 src/runtime/device_buffer_utils.h copy_memory_helper(copy, MAX_COPY_DIMS-1, 0); copy 49 test/correctness/halide_buffer.cpp check_equal(a, a.copy()); copy 39 test/correctness/leak_device_memory.cpp Halide::Buffer<float> copy(std::move(shallow_copy)); copy 42 test/correctness/leak_device_memory.cpp f(x, y) = copy(x, y); copy 58 test/correctness/leak_device_memory.cpp assert(copy.has_device_allocation());