env                28 apps/HelloAndroid/jni/hello_wrapper.cpp     JNIEnv *env, jobject obj, jbyteArray jSrc, jint j_w, jint j_h, jint j_orientation, jobject surf) {
env                35 apps/HelloAndroid/jni/hello_wrapper.cpp     unsigned char *src = (unsigned char *)env->GetByteArrayElements(jSrc, NULL);
env                42 apps/HelloAndroid/jni/hello_wrapper.cpp     LOGD("[src array length] jSrc.length = %d", env->GetArrayLength(jSrc));
env                44 apps/HelloAndroid/jni/hello_wrapper.cpp     ANativeWindow *win = ANativeWindow_fromSurface(env, surf);
env               132 apps/HelloAndroid/jni/hello_wrapper.cpp     env->ReleaseByteArrayElements(jSrc, (jbyte *)src, 0);
env                17 apps/HelloAndroidCamera2/jni/AndroidBufferUtilities.cpp     JNIEnv *env, jobject, jint srcWidth, jint srcHeight,
env                22 apps/HelloAndroidCamera2/jni/AndroidBufferUtilities.cpp             env->GetDirectBufferAddress(srcLumaByteBuffer));
env                24 apps/HelloAndroidCamera2/jni/AndroidBufferUtilities.cpp         env->GetDirectBufferAddress(srcChromaUByteBuffer));
env                26 apps/HelloAndroidCamera2/jni/AndroidBufferUtilities.cpp         env->GetDirectBufferAddress(srcChromaVByteBuffer));
env                42 apps/HelloAndroidCamera2/jni/AndroidBufferUtilities.cpp     JNIEnv *env, jobject obj, jlong handle) {
env                53 apps/HelloAndroidCamera2/jni/AndroidBufferUtilities.cpp     JNIEnv *env, jobject obj, jlong handle) {
env                63 apps/HelloAndroidCamera2/jni/AndroidBufferUtilities.cpp     JNIEnv *env, jobject obj, jobject surface) {
env                64 apps/HelloAndroidCamera2/jni/AndroidBufferUtilities.cpp     return reinterpret_cast<jlong>(LockedSurface::lock(env, surface));
env                68 apps/HelloAndroidCamera2/jni/AndroidBufferUtilities.cpp     JNIEnv *env, jobject obj, jlong lockedSurfaceHandle) {
env                82 apps/HelloAndroidCamera2/jni/AndroidBufferUtilities.cpp     JNIEnv *env, jobject obj, jlong lockedSurfaceHandle) {
env                10 apps/HelloAndroidCamera2/jni/AndroidBufferUtilities.h     JNIEnv *env, jobject, jint srcWidth, jint srcHeight,
env                16 apps/HelloAndroidCamera2/jni/AndroidBufferUtilities.h     JNIEnv *env, jobject obj, jlong handle);
env                19 apps/HelloAndroidCamera2/jni/AndroidBufferUtilities.h     JNIEnv *env, jobject obj, jobject surface);
env                22 apps/HelloAndroidCamera2/jni/AndroidBufferUtilities.h     JNIEnv *env, jobject obj, jlong surfaceWrapperHandle);
env                25 apps/HelloAndroidCamera2/jni/AndroidBufferUtilities.h     JNIEnv *env, jobject obj, jlong surfaceWrapperHandle);
env                61 apps/HelloAndroidCamera2/jni/HalideFilters.cpp     JNIEnv *env, jobject obj, jlong srcYuvBufferTHandle, jlong dstYuvBufferTHandle) {
env               116 apps/HelloAndroidCamera2/jni/HalideFilters.cpp     JNIEnv *env, jobject obj, jlong srcYuvBufferTHandle, jlong dstYuvBufferTHandle) {
env                10 apps/HelloAndroidCamera2/jni/LockedSurface.cpp LockedSurface *LockedSurface::lock(JNIEnv *env, jobject surface) {
env                13 apps/HelloAndroidCamera2/jni/LockedSurface.cpp     output->window_ = ANativeWindow_fromSurface(env, surface);
env                15 apps/HelloAndroidCamera2/jni/LockedSurface.h     static LockedSurface *lock(JNIEnv *env, jobject surface);
env                19 apps/HelloAndroidGL/jni/android_halide_gl_native.cpp     JNIEnv *env, jobject obj, jint dst, jint width, jint height) {
env                60 apps/HelloAndroidGL/jni/android_halide_gl_native.cpp     JNIEnv * env, jobject obj) {
env               238 apps/openglcompute/jni/oglc_run.cpp JNIEXPORT void JNICALL Java_com_example_hellohalideopenglcompute_HalideOpenGLComputeActivity_runTest(JNIEnv *env, jobject obj) {
env                91 apps/openglcompute/jni/oglc_two_kernels_run.cpp JNIEXPORT void JNICALL Java_com_example_hellohalideopenglcompute_HalideOpenGLComputeActivity_runTwoKernelsTest(JNIEnv *env, jobject obj) {
env                65 src/AddImageChecks.cpp                       const map<string, Function> &env,
env               176 src/AddImageChecks.cpp                 Function f = env.find(order[i])->second;
env                29 src/AddImageChecks.h                       const std::map<std::string, Function> &env,
env                23 src/AllocationBoundsInference.cpp     const map<string, Function> &env;
env                28 src/AllocationBoundsInference.cpp         map<string, Function>::const_iterator iter = env.find(op->name);
env                29 src/AllocationBoundsInference.cpp         internal_assert(iter != env.end());
env               127 src/AllocationBoundsInference.cpp         env(e), func_bounds(fb) {
env               146 src/AllocationBoundsInference.cpp                                  const map<string, Function> &env,
env               148 src/AllocationBoundsInference.cpp     AllocationInference inf(env, fb);
env                17 src/AllocationBoundsInference.h                                  const std::map<std::string, Function> &env,
env              1419 src/Bounds.cpp                                               const map<string, Function> &env) {
env              1423 src/Bounds.cpp         Function f = env.find(order[i])->second;
env               145 src/Bounds.h                                                 const std::map<std::string, Function> &env);
env               995 src/BoundsInference.cpp                       const map<string, Function> &env,
env              1001 src/BoundsInference.cpp         funcs[i] = env.find(order[i])->second;
env                18 src/DebugToFile.cpp     const map<string, Function> &env;
env                23 src/DebugToFile.cpp         map<string, Function>::const_iterator iter = env.find(op->name);
env                24 src/DebugToFile.cpp         if (iter != env.end() && !iter->second.debug_file().empty()) {
env                91 src/DebugToFile.cpp     DebugToFile(const map<string, Function> &e) : env(e) {}
env               113 src/DebugToFile.cpp Stmt debug_to_file(Stmt s, const vector<Function> &outputs, const map<string, Function> &env) {
env               125 src/DebugToFile.cpp     s = DebugToFile(env).mutate(s);
env                21 src/DebugToFile.h                    const std::map<std::string, Function> &env);
env                12 src/DeepCopy.cpp             const vector<Function> &outputs, const map<string, Function> &env) {
env                18 src/DeepCopy.cpp     for (const auto &iter : env) {
env                23 src/DeepCopy.cpp     for (const auto &iter : env) {
env                19 src/DeepCopy.h     const std::vector<Function> &outputs, const std::map<std::string, Function> &env);
env                41 src/FindCalls.cpp void populate_environment(Function f, map<string, Function> &env, bool recursive = true) {
env                42 src/FindCalls.cpp     map<string, Function>::const_iterator iter = env.find(f.name());
env                43 src/FindCalls.cpp     if (iter != env.end()) {
env                62 src/FindCalls.cpp         env.insert(calls.calls.begin(), calls.calls.end());
env                64 src/FindCalls.cpp         env[f.name()] = f;
env                67 src/FindCalls.cpp             populate_environment(i.second, env);
env                21 src/InjectImageIntrinsics.cpp     const map<string, Function> &env;
env                65 src/InjectImageIntrinsics.cpp         auto it = env.find(name);
env                67 src/InjectImageIntrinsics.cpp             it != env.end() &&
env               165 src/InjectImageIntrinsics.cpp Stmt inject_image_intrinsics(Stmt s, const map<string, Function> &env) {
env               170 src/InjectImageIntrinsics.cpp     InjectImageIntrinsics gl(env);
env                18 src/InjectImageIntrinsics.h Stmt inject_image_intrinsics(Stmt s, const std::map<std::string, Function> &env);
env                84 src/Lower.cpp      map<string, Function> env;
env                87 src/Lower.cpp          env.insert(more_funcs.begin(), more_funcs.end());
env                92 src/Lower.cpp      std::tie(outputs, env) = deep_copy(output_funcs, env);
env               100 src/Lower.cpp      for (auto &f : env) {
env               105 src/Lower.cpp      env = wrap_func_calls(env);
env               108 src/Lower.cpp      vector<string> order = realization_order(outputs, env);
env               112 src/Lower.cpp      simplify_specializations(env);
env               117 src/Lower.cpp      Stmt s = schedule_functions(outputs, order, env, t, any_memoized);
env               126 src/Lower.cpp          s = inject_memoization(s, env, pipeline_name, outputs);
env               133 src/Lower.cpp      s = inject_tracing(s, pipeline_name, env, outputs, t);
env               143 src/Lower.cpp      FuncValueBounds func_bounds = compute_function_value_bounds(order, env);
env               148 src/Lower.cpp      s = add_image_checks(s, outputs, t, order, env, func_bounds);
env               155 src/Lower.cpp      s = bounds_inference(s, outputs, order, env, func_bounds, t);
env               159 src/Lower.cpp      s = sliding_window(s, env);
env               163 src/Lower.cpp      s = allocation_bounds_inference(s, env, func_bounds);
env               178 src/Lower.cpp      s = storage_folding(s, env);
env               182 src/Lower.cpp      s = debug_to_file(s, outputs, env);
env               190 src/Lower.cpp      s = inject_prefetch(s, env);
env               198 src/Lower.cpp      s = split_tuples(s, env);
env               203 src/Lower.cpp          s = inject_image_intrinsics(s, env);
env               208 src/Lower.cpp      s = storage_flattening(s, outputs, env, t);
env               217 src/Lower.cpp          s = rewrite_memoized_allocations(s, env);
env               310 src/Memoization.cpp     const std::map<std::string, Function> &env;
env               316 src/Memoization.cpp     env(e), top_level_name(name), outputs(outputs) {}
env               322 src/Memoization.cpp         std::map<std::string, Function>::const_iterator iter = env.find(op->name);
env               323 src/Memoization.cpp         if (iter != env.end() &&
env               393 src/Memoization.cpp         std::map<std::string, Function>::const_iterator iter = env.find(op->name);
env               394 src/Memoization.cpp         if (iter != env.end() &&
env               427 src/Memoization.cpp Stmt inject_memoization(Stmt s, const std::map<std::string, Function> &env,
env               430 src/Memoization.cpp     InjectMemoization injector(env, name, outputs);
env               438 src/Memoization.cpp         : env(e) {}
env               441 src/Memoization.cpp     const std::map<std::string, Function> &env;
env               464 src/Memoization.cpp         std::map<std::string, Function>::const_iterator iter = env.find(realization_name);
env               466 src/Memoization.cpp         if (iter != env.end() && iter->second.schedule().memoized()) {
env               527 src/Memoization.cpp Stmt rewrite_memoized_allocations(Stmt s, const std::map<std::string, Function> &env) {
env               528 src/Memoization.cpp     RewriteMemoizedAllocations rewriter(env);
env                23 src/Memoization.h Stmt inject_memoization(Stmt s, const std::map<std::string, Function> &env,
env                33 src/Memoization.h Stmt rewrite_memoized_allocations(Stmt s, const std::map<std::string, Function> &env);
env                33 src/Prefetch.cpp         : env(e), current_func(nullptr), stage(-1) { }
env                36 src/Prefetch.cpp     const map<string, Function> &env;
env                62 src/Prefetch.cpp             const auto &it = env.find(func_name);
env                63 src/Prefetch.cpp             internal_assert(it != env.end());
env                81 src/Prefetch.cpp         user_assert(env.find(name) == env.end())
env               178 src/Prefetch.cpp             const auto &it = env.find(buf_name);
env               179 src/Prefetch.cpp             internal_assert(it != env.end());
env               378 src/Prefetch.cpp Stmt inject_prefetch(Stmt s, const map<string, Function> &env) {
env               379 src/Prefetch.cpp     return InjectPrefetch(env).mutate(s);
env                17 src/Prefetch.h Stmt inject_prefetch(Stmt s, const std::map<std::string, Function> &env);
env                26 src/PrintLoopNest.cpp         out(output), env(e), indent(0) {}
env                29 src/PrintLoopNest.cpp     const map<string, Function> &env;
env               113 src/PrintLoopNest.cpp         auto it = env.find(op->name);
env               114 src/PrintLoopNest.cpp         if (it != env.end() &&
env               159 src/PrintLoopNest.cpp     map<string, Function> env;
env               162 src/PrintLoopNest.cpp         env.insert(more_funcs.begin(), more_funcs.end());
env               167 src/PrintLoopNest.cpp     std::tie(outputs, env) = deep_copy(output_funcs, env);
env               175 src/PrintLoopNest.cpp     env = wrap_func_calls(env);
env               178 src/PrintLoopNest.cpp     vector<string> order = realization_order(outputs, env);
env               182 src/PrintLoopNest.cpp     simplify_specializations(env);
env               193 src/PrintLoopNest.cpp     Stmt s = schedule_functions(outputs, order, env, target, any_memoized);
env               197 src/PrintLoopNest.cpp     PrintLoopNest pln(sstr, env);
env                40 src/RealizationOrder.cpp                                  const map<string, Function> &env) {
env                46 src/RealizationOrder.cpp     for (const pair<string, Function> &caller : env) {
env                25 src/RealizationOrder.h                                            const std::map<std::string, Function> &env);
env               787 src/ScheduleFunctions.cpp     ComputeLegalSchedules(Function f, const map<string, Function> &env) : found(false), func(f), env(env) {}
env               795 src/ScheduleFunctions.cpp     const map<string, Function> &env;
env               810 src/ScheduleFunctions.cpp             auto it = env.find(func);
env               811 src/ScheduleFunctions.cpp             internal_assert(it != env.end()) << "Unable to find Function " << func << " in env (Var = " << var << ")\n";
env               978 src/ScheduleFunctions.cpp bool validate_schedule(Function f, Stmt s, const Target &target, bool is_output, const map<string, Function> &env) {
env              1055 src/ScheduleFunctions.cpp     ComputeLegalSchedules legal(f, env);
env              1147 src/ScheduleFunctions.cpp                         const map<string, Function> &env,
env              1157 src/ScheduleFunctions.cpp         Function f = env.find(order[i-1])->second;
env              1164 src/ScheduleFunctions.cpp         bool necessary = validate_schedule(f, s, target, is_output, env);
env                27 src/ScheduleFunctions.h                         const std::map<std::string, Function> &env,
env               161 src/SimplifySpecializations.cpp void simplify_specializations(map<string, Function> &env) {
env               162 src/SimplifySpecializations.cpp     for (auto &iter : env) {
env                19 src/SimplifySpecializations.h EXPORT void simplify_specializations(std::map<std::string, Function> &env);
env               358 src/SlidingWindow.cpp     const map<string, Function> &env;
env               364 src/SlidingWindow.cpp         map<string, Function>::const_iterator iter = env.find(op->name);
env               368 src/SlidingWindow.cpp         if (iter == env.end()) {
env               396 src/SlidingWindow.cpp     SlidingWindow(const map<string, Function> &e) : env(e) {}
env               400 src/SlidingWindow.cpp Stmt sliding_window(Stmt s, const map<string, Function> &env) {
env               401 src/SlidingWindow.cpp     return SlidingWindow(env).mutate(s);
env                21 src/SlidingWindow.h Stmt sliding_window(Stmt s, const std::map<std::string, Function> &env);
env               107 src/SplitTuples.cpp             auto it = env.find(op->name);
env               108 src/SplitTuples.cpp             internal_assert(it != env.end());
env               161 src/SplitTuples.cpp         auto it = env.find(op->name);
env               162 src/SplitTuples.cpp         internal_assert(it != env.end());
env               192 src/SplitTuples.cpp     const map<string, Function> &env;
env               197 src/SplitTuples.cpp     SplitTuples(const map<string, Function> &e) : env(e) {}
env               202 src/SplitTuples.cpp Stmt split_tuples(Stmt s, const map<string, Function> &env) {
env               203 src/SplitTuples.cpp     return SplitTuples(env).mutate(s);
env                20 src/SplitTuples.h Stmt split_tuples(Stmt s, const std::map<std::string, Function> &env);
env                27 src/StorageFlattening.cpp         : env(e), target(t) {
env                34 src/StorageFlattening.cpp     const map<string, pair<Function, int>> &env;
env               114 src/StorageFlattening.cpp             auto iter = env.find(op->name);
env               115 src/StorageFlattening.cpp             internal_assert(iter != env.end()) << "Realize node refers to function not in environment.\n";
env               194 src/StorageFlattening.cpp         auto it = env.find(op->name);
env               195 src/StorageFlattening.cpp         if (it != env.end()) {
env               243 src/StorageFlattening.cpp         auto iter = env.find(op->name);
env               244 src/StorageFlattening.cpp         if (iter != env.end()) {
env               342 src/StorageFlattening.cpp                         const map<string, Function> &env,
env               348 src/StorageFlattening.cpp     for (auto p : env) {
env                22 src/StorageFlattening.h                         const std::map<std::string, Function> &env,
env               288 src/StorageFolding.cpp     const map<string, Function> &env;
env               300 src/StorageFolding.cpp         auto func_it = env.find(op->name);
env               301 src/StorageFolding.cpp         Function func = func_it != env.end() ? func_it->second : Function();
env               346 src/StorageFolding.cpp     StorageFolding(const map<string, Function> &env) : env(env) {}
env               383 src/StorageFolding.cpp Stmt storage_folding(Stmt s, const std::map<std::string, Function> &env) {
env               385 src/StorageFolding.cpp     s = StorageFolding(env).mutate(s);
env                27 src/StorageFolding.h Stmt storage_folding(Stmt s, const std::map<std::string, Function> &env);
env                43 src/Tracing.cpp     const map<string, Function> &env;
env                47 src/Tracing.cpp         : env(e) {
env                76 src/Tracing.cpp             Function f = env.find(op->name)->second;
env               111 src/Tracing.cpp         map<string, Function>::const_iterator iter = env.find(op->name);
env               112 src/Tracing.cpp         if (iter == env.end()) return;
env               167 src/Tracing.cpp         map<string, Function>::const_iterator iter = env.find(op->name);
env               168 src/Tracing.cpp         if (iter == env.end()) return;
env               204 src/Tracing.cpp         map<string, Function>::const_iterator iter = env.find(op->name);
env               205 src/Tracing.cpp         if (iter == env.end()) return;
env               261 src/Tracing.cpp                     const map<string, Function> &env, const vector<Function> &outputs,
env               264 src/Tracing.cpp     InjectTracing tracing(env, t);
env                21 src/Tracing.h                      const std::map<std::string, Function> &env,
env                48 src/WrapCalls.cpp map<string, Function> wrap_func_calls(const map<string, Function> &env) {
env                53 src/WrapCalls.cpp     for (const auto &iter : env) {
env                58 src/WrapCalls.cpp     for (const auto &it : env) {
env                18 src/WrapCalls.h std::map<std::string, Function> wrap_func_calls(const std::map<std::string, Function> &env);
env               541 test/correctness/specialize.cpp         std::map<std::string, Internal::Function> env;
env               542 test/correctness/specialize.cpp         env.insert({f.function().name(), f.function()});
env               543 test/correctness/specialize.cpp         simplify_specializations(env);
env               587 test/correctness/specialize.cpp         std::map<std::string, Internal::Function> env;
env               588 test/correctness/specialize.cpp         env.insert({f.function().name(), f.function()});
env               589 test/correctness/specialize.cpp         simplify_specializations(env);