handle 42 apps/HelloAndroidCamera2/jni/AndroidBufferUtilities.cpp JNIEnv *env, jobject obj, jlong handle) { handle 43 apps/HelloAndroidCamera2/jni/AndroidBufferUtilities.cpp if (handle == 0L) { handle 46 apps/HelloAndroidCamera2/jni/AndroidBufferUtilities.cpp YuvBufferT *yuvBufferT = reinterpret_cast<YuvBufferT *>(handle); handle 53 apps/HelloAndroidCamera2/jni/AndroidBufferUtilities.cpp JNIEnv *env, jobject obj, jlong handle) { handle 54 apps/HelloAndroidCamera2/jni/AndroidBufferUtilities.cpp if (handle == 0L) { handle 57 apps/HelloAndroidCamera2/jni/AndroidBufferUtilities.cpp YuvBufferT *yuvBufferT = reinterpret_cast<YuvBufferT *>(handle); handle 16 apps/HelloAndroidCamera2/jni/AndroidBufferUtilities.h JNIEnv *env, jobject obj, jlong handle); handle 33 apps/HelloAndroidCamera2/src/com/example/helloandroidcamera2/AndroidBufferUtilities.java public static native boolean freeNativeYuvBufferT(long handle); handle 40 apps/HelloAndroidCamera2/src/com/example/helloandroidcamera2/AndroidBufferUtilities.java public static native boolean rotateNativeYuvBufferT180(long handle); handle 58 apps/HelloAndroidCamera2/src/com/example/helloandroidcamera2/AndroidBufferUtilities.java public static native boolean unlockSurface(long handle); handle 22 apps/HelloAndroidCamera2/src/com/example/helloandroidcamera2/HalideFilters.java return HalideFilters.copyHalide(src.handle(), dst.handle()); handle 30 apps/HelloAndroidCamera2/src/com/example/helloandroidcamera2/HalideFilters.java return HalideFilters.edgeDetectHalide(src.handle(), dst.handle()); handle 31 apps/HelloAndroidCamera2/src/com/example/helloandroidcamera2/HalideYuvBufferT.java long handle = AndroidBufferUtilities.allocNativeYuvBufferT( handle 35 apps/HelloAndroidCamera2/src/com/example/helloandroidcamera2/HalideYuvBufferT.java return new HalideYuvBufferT(handle); handle 38 apps/HelloAndroidCamera2/src/com/example/helloandroidcamera2/HalideYuvBufferT.java public HalideYuvBufferT(long handle) { handle 39 apps/HelloAndroidCamera2/src/com/example/helloandroidcamera2/HalideYuvBufferT.java mHandle = handle; handle 17 apps/HelloAndroidCamera2/src/com/example/helloandroidcamera2/NativeSurfaceHandle.java long handle = AndroidBufferUtilities.lockSurface(surface); handle 18 apps/HelloAndroidCamera2/src/com/example/helloandroidcamera2/NativeSurfaceHandle.java if (handle == 0L) { handle 21 apps/HelloAndroidCamera2/src/com/example/helloandroidcamera2/NativeSurfaceHandle.java return new NativeSurfaceHandle(handle); handle 23 apps/HelloAndroidCamera2/src/com/example/helloandroidcamera2/NativeSurfaceHandle.java public NativeSurfaceHandle(long handle) { handle 24 apps/HelloAndroidCamera2/src/com/example/helloandroidcamera2/NativeSurfaceHandle.java mHandle = handle; handle 29 apps/cuda_mat_mul/runner.cpp cublasHandle_t handle; handle 30 apps/cuda_mat_mul/runner.cpp cublasCreate(&handle); handle 33 apps/cuda_mat_mul/runner.cpp cublasSgemm(handle, CUBLAS_OP_N, CUBLAS_OP_N, handle 40 apps/cuda_mat_mul/runner.cpp cublasDestroy(handle); handle 444 python_bindings/python/Image.cpp return p::object(p::handle<>(obj)); handle 554 python_bindings/python/Image.cpp return p::object(p::handle<>(obj)); handle 403 python_bindings/python/Param.cpp return p::object(p::handle<>(obj)); handle 210 src/AddImageChecks.cpp Expr handle = Variable::make(type_of<buffer_t *>(), name + ".buffer", handle 213 src/AddImageChecks.cpp {handle}, Call::Extern); handle 17 src/UnpackBuffers.cpp Expr handle; handle 76 src/UnpackBuffers.cpp vector<Expr> args = {info.handle}; handle 112 src/UnpackBuffers.cpp vector<Expr> args = {info.handle, i}; handle 138 src/UnpackBuffers.cpp Expr buf = p.second.handle; handle 1181 src/runtime/HalideRuntime.h void *handle; handle 578 src/runtime/hexagon_host.cpp ion_device_handle *handle = (ion_device_handle *)malloc(sizeof(ion_device_handle)); handle 579 src/runtime/hexagon_host.cpp if (!handle) { handle 582 src/runtime/hexagon_host.cpp handle->buffer = ion_buf; handle 583 src/runtime/hexagon_host.cpp handle->size = size; handle 586 src/runtime/hexagon_host.cpp buf->device = reinterpret<uint64_t>(handle); handle 595 src/runtime/hexagon_host.cpp ion_device_handle *handle = reinterpret<ion_device_handle *>(buf->device); handle 596 src/runtime/hexagon_host.cpp void *ion_buf = handle->buffer; handle 597 src/runtime/hexagon_host.cpp free(handle); handle 610 src/runtime/hexagon_host.cpp ion_device_handle *handle = reinterpret<ion_device_handle *>(buf->device); handle 611 src/runtime/hexagon_host.cpp return handle->buffer; handle 619 src/runtime/hexagon_host.cpp ion_device_handle *handle = reinterpret<ion_device_handle *>(buf->device); handle 620 src/runtime/hexagon_host.cpp return handle->size; handle 497 src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c static remote_handle handle = _const_halide_hexagon_remote_handle; handle 498 src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c if((remote_handle)-1 != handle) { handle 499 src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c return handle; handle 506 src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c if(((remote_handle)-1 != handle) || ((remote_handle)-1 != (remote_handle)_halide_hexagon_remote_atomic_CompareAndExchange((uint32_t*)&handle, (uint32_t)tmp, (uint32_t)-1))) { handle 509 src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c return handle; handle 30 src/runtime/hexagon_remote/host_malloc.cpp ion_user_handle_t handle; handle 34 src/runtime/hexagon_remote/host_malloc.cpp ion_user_handle_t handle; handle 39 src/runtime/hexagon_remote/host_malloc.cpp ion_user_handle_t handle; handle 57 src/runtime/hexagon_remote/host_malloc.cpp return alloc.handle; handle 60 src/runtime/hexagon_remote/host_malloc.cpp int ion_map(int ion_fd, ion_user_handle_t handle) { handle 62 src/runtime/hexagon_remote/host_malloc.cpp handle, handle 83 src/runtime/hexagon_remote/host_malloc.cpp ion_user_handle_t handle; handle 140 src/runtime/hexagon_remote/host_malloc.cpp ion_user_handle_t handle = ion_alloc(ion_fd, size, alignment, 1 << heap_id, ion_flags); handle 141 src/runtime/hexagon_remote/host_malloc.cpp if (handle < 0) { handle 148 src/runtime/hexagon_remote/host_malloc.cpp int buf_fd = ion_map(ion_fd, handle); handle 150 src/runtime/hexagon_remote/host_malloc.cpp __android_log_print(ANDROID_LOG_ERROR, "halide", "ion_map(%d, %d) failed", ion_fd, handle); handle 151 src/runtime/hexagon_remote/host_malloc.cpp ion_free(ion_fd, handle); handle 161 src/runtime/hexagon_remote/host_malloc.cpp ion_free(ion_fd, handle); handle 176 src/runtime/hexagon_remote/host_malloc.cpp ion_free(ion_fd, handle); handle 181 src/runtime/hexagon_remote/host_malloc.cpp rec->handle = handle; handle 229 src/runtime/hexagon_remote/host_malloc.cpp if (ion_free(ion_fd, rec->handle) < 0) { handle 230 src/runtime/hexagon_remote/host_malloc.cpp __android_log_print(ANDROID_LOG_WARN, "halide", "ion_free(%d, %d) failed", ion_fd, rec->handle); handle 19 src/runtime/hexagon_remote/thread_pool.cpp halide_thread handle; handle 34 src/runtime/hexagon_remote/thread_pool.cpp memset(&t->handle, 0, sizeof(t->handle)); handle 40 src/runtime/hexagon_remote/thread_pool.cpp qurt_thread_create(&t->handle.val, &thread_attr, &spawn_thread_helper, t); handle 47 src/runtime/hexagon_remote/thread_pool.cpp qurt_thread_join(t->handle.val, &ret); handle 985 src/runtime/opengl.cpp uint64_t handle = buf->device; handle 986 src/runtime/opengl.cpp tex = (handle == HALIDE_OPENGL_RENDER_TARGET) ? 0 : (GLuint)handle; handle 1065 src/runtime/opengl.cpp uint64_t handle = buf->device; handle 1066 src/runtime/opengl.cpp GLuint tex = (handle == HALIDE_OPENGL_RENDER_TARGET) ? 0 : (GLuint)handle; handle 1177 src/runtime/opengl.cpp uint64_t handle = buf->device; handle 1178 src/runtime/opengl.cpp if (handle == HALIDE_OPENGL_RENDER_TARGET) { handle 1183 src/runtime/opengl.cpp GLuint tex = (GLuint)handle; handle 1275 src/runtime/opengl.cpp uint64_t handle = buf->device; handle 1276 src/runtime/opengl.cpp if (handle != HALIDE_OPENGL_RENDER_TARGET) { handle 1277 src/runtime/opengl.cpp GLuint tex = (GLuint)handle; handle 1516 src/runtime/opengl.cpp uint64_t handle = *(uint64_t *)args[i]; handle 1517 src/runtime/opengl.cpp if (!handle) { handle 1521 src/runtime/opengl.cpp if (handle == HALIDE_OPENGL_RENDER_TARGET) { handle 1537 src/runtime/opengl.cpp uint64_t handle = *(uint64_t *)args[i]; handle 1538 src/runtime/opengl.cpp if (!handle) { handle 1543 src/runtime/opengl.cpp global_state.BindTexture(GL_TEXTURE_2D, handle == HALIDE_OPENGL_RENDER_TARGET ? 0 : (GLuint)handle); handle 1670 src/runtime/opengl.cpp uint64_t handle = *(uint64_t *)args[i]; handle 1671 src/runtime/opengl.cpp if (!handle) { handle 1675 src/runtime/opengl.cpp GLuint tex = (handle == HALIDE_OPENGL_RENDER_TARGET) ? 0 : (GLuint)handle; handle 2135 src/runtime/opengl.cpp uint64_t handle = buf->device; handle 2139 src/runtime/opengl.cpp GLuint tex = (handle == HALIDE_OPENGL_RENDER_TARGET) ? 0 : handle; handle 2155 src/runtime/opengl.cpp uint64_t handle = buf->device; handle 2157 src/runtime/opengl.cpp return handle == HALIDE_OPENGL_RENDER_TARGET ? 0 : (uintptr_t)handle; handle 38 src/runtime/posix_threads.cpp pthread_t handle; handle 53 src/runtime/posix_threads.cpp t->handle = 0; handle 54 src/runtime/posix_threads.cpp pthread_create(&t->handle, NULL, spawn_thread_helper, t); handle 61 src/runtime/posix_threads.cpp pthread_join(t->handle, &ret); handle 48 src/runtime/windows_threads.cpp Thread handle; handle 64 src/runtime/windows_threads.cpp t->handle = CreateThread(NULL, 0, spawn_thread_helper, t, 0, NULL); handle 70 src/runtime/windows_threads.cpp WaitForSingleObject(thread->handle, -1); handle 9 test/correctness/cast_handle.cpp Param<void *> handle; handle 11 test/correctness/cast_handle.cpp f(x) = reinterpret<uint64_t>(handle); handle 12 test/correctness/cast_handle.cpp g(x) = reinterpret<uint64_t>(handle); handle 16 test/correctness/cast_handle.cpp handle.set(&foo); handle 57 test/correctness/handle.cpp uint64_t handle = (uint64_t)(im(0)); handle 60 test/correctness/handle.cpp if (handle >> 32) { handle 65 test/correctness/handle.cpp if (handle & 0x3) { handle 66 test/correctness/handle.cpp printf("Got handle: %llx. A handle should be aligned to at least four bytes\n", (long long)handle); handle 78 test/generator/metadata_tester_aottest.cpp return e.u.handle == a.u.handle; handle 254 test/generator/metadata_tester_aottest.cpp s->u.handle = v; handle 72 test/opengl/save_state.cpp GLuint handle = glCreateProgram(); handle 73 test/opengl/save_state.cpp glAttachShader(handle, compileShader("vertex", vertexShader, GL_VERTEX_SHADER)); handle 74 test/opengl/save_state.cpp glAttachShader(handle, compileShader("fragment", fragmentShader, GL_FRAGMENT_SHADER)); handle 75 test/opengl/save_state.cpp glLinkProgram(handle); handle 78 test/opengl/save_state.cpp glGetProgramiv(handle, GL_LINK_STATUS, &linkSuccess); handle 81 test/opengl/save_state.cpp glGetProgramInfoLog(handle, sizeof(messages), 0, messages); handle 86 test/opengl/save_state.cpp return handle; handle 91 test/opengl/save_state.cpp const GLuint handle = glCreateShader(shaderType); handle 93 test/opengl/save_state.cpp glShaderSource(handle, 1, &shaderString, &len); handle 94 test/opengl/save_state.cpp glCompileShader(handle); handle 96 test/opengl/save_state.cpp glGetShaderiv(handle, GL_COMPILE_STATUS, &compileSuccess); handle 99 test/opengl/save_state.cpp glGetShaderInfoLog(handle, sizeof(messages), 0, messages); handle 103 test/opengl/save_state.cpp return handle; handle 247 test/opengl/save_state.cpp glUseProgram(initial_current_program = Program::handle());