NULL 32 apps/HelloAndroid/jni/hello_wrapper.cpp halide_start_clock(NULL); NULL 35 apps/HelloAndroid/jni/hello_wrapper.cpp unsigned char *src = (unsigned char *)env->GetByteArrayElements(jSrc, NULL); NULL 61 apps/HelloAndroid/jni/hello_wrapper.cpp if (int err = ANativeWindow_lock(win, &buf, NULL)) { NULL 114 apps/HelloAndroid/jni/hello_wrapper.cpp halide_copy_to_host(NULL, &dstBuf); NULL 14 apps/HelloAndroidCamera2/jni/LockedSurface.cpp if (int err = ANativeWindow_lock(output->window_, &(output->buffer_), NULL)) { NULL 15 apps/HelloAndroidGL/jni/android_halide_gl_native.cpp void * const user_context = NULL; NULL 32 apps/HelloAndroidGL/jni/android_halide_gl_native.cpp dstBuf.host = NULL; NULL 62 apps/HelloAndroidGL/jni/android_halide_gl_native.cpp halide_opengl_context_lost(NULL); NULL 64 apps/HelloHexagon/process.cpp halide_hexagon_set_performance_mode(NULL, halide_hexagon_power_turbo); NULL 65 apps/HelloHexagon/process.cpp halide_hexagon_power_hvx_on(NULL); NULL 79 apps/HelloHexagon/process.cpp halide_hexagon_power_hvx_off(NULL); NULL 80 apps/HelloHexagon/process.cpp halide_hexagon_set_performance_mode(NULL, halide_hexagon_power_default); NULL 92 apps/hexagon_benchmarks/process.cpp halide_hexagon_set_performance_mode(NULL, halide_hexagon_power_turbo); NULL 93 apps/hexagon_benchmarks/process.cpp halide_hexagon_power_hvx_on(NULL); NULL 105 apps/hexagon_benchmarks/process.cpp halide_hexagon_power_hvx_off(NULL); NULL 106 apps/hexagon_benchmarks/process.cpp halide_hexagon_set_performance_mode(NULL, halide_hexagon_power_default); NULL 42 apps/opengl_demo/glfw_helpers.cpp window = glfwCreateWindow(width, height, "opengl_halide_test", NULL, NULL); NULL 25 apps/opengl_demo/png_helpers.cpp auto png = png_create_read_struct(PNG_LIBPNG_VER_STRING, NULL, NULL, NULL); NULL 38 apps/openglcompute/jni/oglc_run.cpp gettimeofday(&t1, NULL); NULL 45 apps/openglcompute/jni/oglc_run.cpp gettimeofday(&t2, NULL); NULL 232 apps/openglcompute/jni/oglc_run.cpp halide_device_release(NULL, halide_openglcompute_device_interface()); NULL 239 apps/openglcompute/jni/oglc_run.cpp main(0, NULL); NULL 85 apps/openglcompute/jni/oglc_two_kernels_run.cpp halide_device_release(NULL, halide_openglcompute_device_interface()); NULL 92 apps/openglcompute/jni/oglc_two_kernels_run.cpp main(0, NULL); NULL 37 apps/simd_op_check/driver.cpp T *mem = NULL; NULL 41 apps/simd_op_check/driver.cpp if (result != 0 || mem == NULL) { NULL 46 apps/simd_op_check/driver.cpp if (mem == NULL) { NULL 105 apps/templates/tests/example_test.cpp void *uc = NULL; NULL 96 python_bindings/numpy/dtype.cpp PyArray_Descr *obj = NULL; NULL 119 python_bindings/numpy/ndarray.cpp NULL))); NULL 143 python_bindings/numpy/ndarray.cpp if (get_struct()->base == NULL) return object(); NULL 153 python_bindings/numpy/ndarray.cpp get_struct()->base = NULL; NULL 162 python_bindings/numpy/ndarray.cpp return ndarray(python::detail::new_reference(PyArray_Transpose(reinterpret_cast<PyArrayObject *>(this->ptr()), NULL))); NULL 203 python_bindings/numpy/ndarray.cpp return ndarray(python::detail::new_reference(PyArray_FromAny(obj.ptr(), NULL, 0, 0, NPY_ENSUREARRAY, NULL))); NULL 207 python_bindings/numpy/ndarray.cpp return ndarray(python::detail::new_reference(PyArray_FromAny(obj.ptr(), detail::incref_dtype(dt), 0, 0, NPY_ENSUREARRAY, NULL))); NULL 216 python_bindings/numpy/ndarray.cpp NULL))); NULL 222 python_bindings/numpy/ndarray.cpp NULL, NULL 225 python_bindings/numpy/ndarray.cpp NULL))); NULL 182 python_bindings/numpy/ndarray.hpp typename boost::enable_if<boost::is_integral<typename Container::value_type>>::type *enabled = NULL) { NULL 241 src/CodeGen_C.cpp if (type.handle_type == NULL || NULL 124 src/Profiling.cpp internal_assert(int_size != NULL); // Stack size is always a const int NULL 499 src/runtime/HalideRuntime.h extern const __declspec(selectany) void *halide_dummy_device_free = NULL; NULL 511 src/runtime/HalideRuntime.h return NULL; NULL 81 src/runtime/buffer_t.cpp return buf->host == NULL && buf->device == 0; NULL 120 src/runtime/cache.cpp next = NULL; NULL 121 src/runtime/cache.cpp more_recent = NULL; NULL 122 src/runtime/cache.cpp less_recent = NULL; NULL 145 src/runtime/cache.cpp metadata_storage = (uint8_t *)halide_malloc(NULL, storage_bytes); NULL 178 src/runtime/cache.cpp halide_device_free(NULL, &buf[i]); NULL 179 src/runtime/cache.cpp halide_free(NULL, get_pointer_to_header(buf[i].host)); NULL 181 src/runtime/cache.cpp halide_free(NULL, metadata_storage); NULL 198 src/runtime/cache.cpp WEAK CacheEntry *most_recently_used = NULL; NULL 199 src/runtime/cache.cpp WEAK CacheEntry *least_recently_used = NULL; NULL 207 src/runtime/cache.cpp print(NULL) << "validating cache, " NULL 213 src/runtime/cache.cpp while (entry != NULL) { NULL 215 src/runtime/cache.cpp if (entry->more_recent == NULL && entry != most_recently_used) { NULL 216 src/runtime/cache.cpp halide_print(NULL, "cache invalid case 1\n"); NULL 219 src/runtime/cache.cpp if (entry->less_recent == NULL && entry != least_recently_used) { NULL 220 src/runtime/cache.cpp halide_print(NULL, "cache invalid case 2\n"); NULL 228 src/runtime/cache.cpp while (mru_chain != NULL) { NULL 234 src/runtime/cache.cpp while (lru_chain != NULL) { NULL 238 src/runtime/cache.cpp print(NULL) << "hash entries " << entries_in_hash_table NULL 242 src/runtime/cache.cpp halide_print(NULL, "cache invalid case 3\n"); NULL 246 src/runtime/cache.cpp halide_print(NULL, "cache invalid case 4\n"); NULL 250 src/runtime/cache.cpp halide_print(NULL, "cache size is negative\n"); NULL 262 src/runtime/cache.cpp prune_candidate != NULL) { NULL 274 src/runtime/cache.cpp while (prev_hash_entry != NULL && prev_hash_entry->next != prune_candidate) { NULL 277 src/runtime/cache.cpp halide_assert(NULL, prev_hash_entry != NULL); NULL 285 src/runtime/cache.cpp if (more_recent != NULL) { NULL 293 src/runtime/cache.cpp if (prune_candidate->less_recent != NULL) { NULL 304 src/runtime/cache.cpp halide_free(NULL, prune_candidate); NULL 350 src/runtime/cache.cpp while (entry != NULL) { NULL 364 src/runtime/cache.cpp halide_assert(user_context, entry->more_recent != NULL); NULL 365 src/runtime/cache.cpp if (entry->less_recent != NULL) { NULL 371 src/runtime/cache.cpp halide_assert(user_context, entry->more_recent != NULL); NULL 374 src/runtime/cache.cpp entry->more_recent = NULL; NULL 376 src/runtime/cache.cpp if (most_recently_used != NULL) { NULL 400 src/runtime/cache.cpp if (buf->host == NULL) { NULL 403 src/runtime/cache.cpp tuple_buffers[j - 1]->host = NULL; NULL 410 src/runtime/cache.cpp header->entry = NULL; NULL 445 src/runtime/cache.cpp while (entry != NULL) { NULL 467 src/runtime/cache.cpp get_pointer_to_header(tuple_buffers[i]->host)->entry = NULL; NULL 486 src/runtime/cache.cpp CacheEntry *new_entry = (CacheEntry *)halide_malloc(NULL, sizeof(CacheEntry)); NULL 497 src/runtime/cache.cpp get_pointer_to_header(tuple_buffers[i]->host)->entry = NULL; NULL 508 src/runtime/cache.cpp if (most_recently_used != NULL) { NULL 512 src/runtime/cache.cpp if (least_recently_used == NULL) { NULL 536 src/runtime/cache.cpp if (entry == NULL) { NULL 552 src/runtime/cache.cpp debug(NULL) << "halide_memoization_cache_cleanup\n"; NULL 555 src/runtime/cache.cpp cache_entries[i] = NULL; NULL 556 src/runtime/cache.cpp while (entry != NULL) { NULL 559 src/runtime/cache.cpp halide_free(NULL, entry); NULL 564 src/runtime/cache.cpp most_recently_used = NULL; NULL 565 src/runtime/cache.cpp least_recently_used = NULL; NULL 19 src/runtime/cuda.cpp WEAK void *lib_cuda = NULL; NULL 62 src/runtime/cuda.cpp halide_assert(user_context, cuInit == NULL); NULL 98 src/runtime/cuda.cpp halide_assert(user_context, ctx != NULL); NULL 100 src/runtime/cuda.cpp halide_assert(user_context, &thread_lock != NULL); NULL 104 src/runtime/cuda.cpp halide_assert(user_context, &context != NULL); NULL 105 src/runtime/cuda.cpp if (context == NULL && create) { NULL 136 src/runtime/cuda.cpp context(NULL), NULL 138 src/runtime/cuda.cpp if (cuInit == NULL) { NULL 146 src/runtime/cuda.cpp halide_assert(user_context, context != NULL); NULL 170 src/runtime/cuda.cpp WEAK module_state *state_list = NULL; NULL 275 src/runtime/cuda.cpp {NULL, CU_DEVICE_ATTRIBUTE_MAX}}; NULL 388 src/runtime/cuda.cpp (*state)->module = NULL; NULL 457 src/runtime/cuda.cpp buf->device_interface = NULL; NULL 518 src/runtime/cuda.cpp context = NULL; NULL 781 src/runtime/cuda.cpp NULL, // stream NULL 783 src/runtime/cuda.cpp NULL); NULL 825 src/runtime/cuda.cpp buf->device_interface = NULL; NULL 833 src/runtime/cuda.cpp if (buf->device == NULL) { NULL 840 src/runtime/cuda.cpp buf->device_interface = NULL; NULL 845 src/runtime/cuda.cpp if (buf->device == NULL) { NULL 859 src/runtime/cuda.cpp halide_cuda_device_release(NULL); NULL 9 src/runtime/destructors.cpp *object = NULL; NULL 114 src/runtime/device_buffer_utils.h debug(NULL) << "c.extent[" << insert << "] = " << (int)(c.extent[insert]) << "\n"; NULL 40 src/runtime/device_interface.cpp if (interface == NULL) { NULL 71 src/runtime/device_interface.cpp debug(NULL) << "halide_copy_to_host " << buf << "\n"; NULL 92 src/runtime/device_interface.cpp if (device_interface == NULL) { NULL 94 src/runtime/device_interface.cpp if (buf->device_interface == NULL) { NULL 103 src/runtime/device_interface.cpp if (buf->device_interface != NULL && buf->device_dirty()) { NULL 151 src/runtime/device_interface.cpp const halide_device_interface_t *device_interface = NULL; NULL 155 src/runtime/device_interface.cpp if (device_interface == NULL) { NULL 180 src/runtime/device_interface.cpp if (current_interface != NULL && current_interface != device_interface) { NULL 203 src/runtime/device_interface.cpp if (buf != NULL) { NULL 205 src/runtime/device_interface.cpp if (device_interface != NULL) { NULL 250 src/runtime/device_interface.cpp if (current_interface != NULL && current_interface != device_interface) { NULL 274 src/runtime/device_interface.cpp if (buf != NULL) { NULL 276 src/runtime/device_interface.cpp if (device_interface != NULL) { NULL 293 src/runtime/device_interface.cpp buf->host = NULL; NULL 304 src/runtime/device_interface.cpp if (buf->host == NULL) { NULL 310 src/runtime/device_interface.cpp buf->host = NULL; NULL 320 src/runtime/device_interface.cpp buf->host = NULL; NULL 35 src/runtime/fake_thread_pool.cpp halide_error(NULL, "halide_spawn_thread not implemented on this platform."); NULL 36 src/runtime/fake_thread_pool.cpp return NULL; NULL 53 src/runtime/fake_thread_pool.cpp halide_error(NULL, "halide_set_num_threads: must be >= 0."); NULL 157 src/runtime/gcd_thread_pool.cpp halide_error(NULL, "halide_set_num_threads: must be >= 0."); NULL 45 src/runtime/hexagon_host.cpp WEAK remote_initialize_kernels_fn remote_initialize_kernels = NULL; NULL 46 src/runtime/hexagon_host.cpp WEAK remote_get_symbol_fn remote_get_symbol = NULL; NULL 47 src/runtime/hexagon_host.cpp WEAK remote_run_fn remote_run = NULL; NULL 48 src/runtime/hexagon_host.cpp WEAK remote_release_kernels_fn remote_release_kernels = NULL; NULL 49 src/runtime/hexagon_host.cpp WEAK remote_poll_log_fn remote_poll_log = NULL; NULL 50 src/runtime/hexagon_host.cpp WEAK remote_poll_profiler_state_fn remote_poll_profiler_state = NULL; NULL 51 src/runtime/hexagon_host.cpp WEAK remote_power_fn remote_power_hvx_on = NULL; NULL 52 src/runtime/hexagon_host.cpp WEAK remote_power_fn remote_power_hvx_off = NULL; NULL 53 src/runtime/hexagon_host.cpp WEAK remote_power_perf_fn remote_set_performance = NULL; NULL 54 src/runtime/hexagon_host.cpp WEAK remote_power_mode_fn remote_set_performance_mode = NULL; NULL 56 src/runtime/hexagon_host.cpp WEAK host_malloc_init_fn host_malloc_init = NULL; NULL 57 src/runtime/hexagon_host.cpp WEAK host_malloc_init_fn host_malloc_deinit = NULL; NULL 58 src/runtime/hexagon_host.cpp WEAK host_malloc_fn host_malloc = NULL; NULL 59 src/runtime/hexagon_host.cpp WEAK host_free_fn host_free = NULL; NULL 88 src/runtime/hexagon_host.cpp error(NULL) << "Hexagon: remote_poll_profiler_func not found\n"; NULL 168 src/runtime/hexagon_host.cpp WEAK module_state *state_list = NULL; NULL 191 src/runtime/hexagon_host.cpp halide_assert(user_context, state_ptr != NULL); NULL 281 src/runtime/hexagon_host.cpp halide_assert(user_context, state_ptr != NULL); NULL 282 src/runtime/hexagon_host.cpp halide_assert(user_context, function != NULL); NULL 357 src/runtime/hexagon_host.cpp halide_profiler_get_state()->get_remote_profiler_state = NULL; NULL 387 src/runtime/hexagon_host.cpp state_list = NULL; NULL 497 src/runtime/hexagon_host.cpp buf->host = NULL; NULL 592 src/runtime/hexagon_host.cpp return NULL; NULL 601 src/runtime/hexagon_host.cpp buf->device_interface = NULL; NULL 607 src/runtime/hexagon_host.cpp return NULL; NULL 635 src/runtime/hexagon_host.cpp buf->host = NULL; NULL 762 src/runtime/hexagon_host.cpp halide_hexagon_device_release(NULL); NULL 198 src/runtime/hexagon_remote/dlib.cpp const char *S = NULL; NULL 237 src/runtime/hexagon_remote/dlib.cpp strtab = NULL; NULL 238 src/runtime/hexagon_remote/dlib.cpp symtab = NULL; NULL 239 src/runtime/hexagon_remote/dlib.cpp hash.table = NULL; NULL 241 src/runtime/hexagon_remote/dlib.cpp const Rela *jmprel = NULL; NULL 243 src/runtime/hexagon_remote/dlib.cpp const Rela *rel = NULL; NULL 349 src/runtime/hexagon_remote/dlib.cpp program = (char *)mmap(NULL, aligned_size, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANON, -1, 0); NULL 355 src/runtime/hexagon_remote/dlib.cpp base_vaddr = NULL; NULL 360 src/runtime/hexagon_remote/dlib.cpp const Dyn *dynamic = NULL; NULL 426 src/runtime/hexagon_remote/dlib.cpp if (!assert_in_bounds(addr, sym->st_size)) return NULL; NULL 437 src/runtime/hexagon_remote/dlib.cpp if (!assert_in_bounds(sym)) return NULL; NULL 439 src/runtime/hexagon_remote/dlib.cpp if (!assert_in_bounds(sym_name)) return NULL; NULL 445 src/runtime/hexagon_remote/dlib.cpp return NULL; NULL 452 src/runtime/hexagon_remote/dlib.cpp return NULL; NULL 457 src/runtime/hexagon_remote/dlib.cpp return NULL; NULL 466 src/runtime/hexagon_remote/dlib.cpp if (!from) return NULL; NULL 470 src/runtime/hexagon_remote/dlib.cpp if (!sym) return NULL; NULL 471 src/runtime/hexagon_remote/dlib.cpp if (!dlib->symbol_is_defined(sym)) return NULL; NULL 118 src/runtime/hexagon_remote/halide_remote.cpp return dlopenbuf != NULL; NULL 122 src/runtime/hexagon_remote/halide_remote.cpp void *lib = NULL; NULL 195 src/runtime/hexagon_remote/halide_remote.cpp int result = HAP_power_set(NULL, &request); NULL 212 src/runtime/hexagon_remote/halide_remote.cpp int result = HAP_power_set(NULL, &request); NULL 235 src/runtime/hexagon_remote/halide_remote.cpp int retval = HAP_power_set(NULL, &request); NULL 250 src/runtime/hexagon_remote/halide_remote.cpp retval = HAP_power_set(NULL, &request); NULL 274 src/runtime/hexagon_remote/halide_remote.cpp int retval = HAP_power_get(NULL, &power_info); NULL 288 src/runtime/hexagon_remote/halide_remote.cpp retval = HAP_power_get(NULL, &power_info); NULL 91 src/runtime/hexagon_remote/host_malloc.cpp allocation_record allocations = { NULL, }; NULL 106 src/runtime/hexagon_remote/host_malloc.cpp pthread_mutex_init(&allocations_mutex, NULL); NULL 144 src/runtime/hexagon_remote/host_malloc.cpp return NULL; NULL 152 src/runtime/hexagon_remote/host_malloc.cpp return NULL; NULL 156 src/runtime/hexagon_remote/host_malloc.cpp void *buf = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, buf_fd, 0); NULL 162 src/runtime/hexagon_remote/host_malloc.cpp return NULL; NULL 177 src/runtime/hexagon_remote/host_malloc.cpp return NULL; NULL 180 src/runtime/hexagon_remote/host_malloc.cpp rec->next = NULL; NULL 19 src/runtime/hexagon_remote/log.cpp Log(int size) : buffer(NULL), size(size), read_cursor(0), write_cursor(0) { NULL 33 src/runtime/hexagon_remote/pipeline_context.h function = NULL; NULL 46 src/runtime/hexagon_remote/pipeline_context.h : stack(NULL), function(NULL), args(NULL), running(true) { NULL 88 src/runtime/hexagon_remote/pipeline_context.h while (this->function != NULL) { NULL 461 src/runtime/hexagon_remote/sim_host.cpp if (orig == NULL) { NULL 462 src/runtime/hexagon_remote/sim_host.cpp return NULL; NULL 235 src/runtime/hexagon_remote/sim_remote.cpp {NULL, NULL} // Null terminator. NULL 273 src/runtime/hexagon_remote/sim_remote.cpp void *lib = NULL; NULL 291 src/runtime/hexagon_remote/sim_remote.cpp halide_print(NULL, "dlopenbuf failed\n"); NULL 292 src/runtime/hexagon_remote/sim_remote.cpp halide_print(NULL, dlerror()); NULL 298 src/runtime/hexagon_remote/sim_remote.cpp halide_print(NULL, "mmap_dlopen failed\n"); NULL 319 src/runtime/hexagon_remote/sim_remote.cpp halide_print(NULL, "halide_noos_set_runtime not found in shared object\n"); NULL 337 src/runtime/hexagon_remote/sim_remote.cpp halide_print(NULL, "set_runtime failed\n"); NULL 44 src/runtime/linux_opengl_context.cpp if (strchr(extension, ' ') != NULL || *extension == '\0') NULL 79 src/runtime/linux_opengl_context.cpp void *dpy = XOpenDisplay(NULL); NULL 86 src/runtime/linux_opengl_context.cpp if (!glXQueryExtension(dpy, NULL, NULL)) { NULL 110 src/runtime/linux_opengl_context.cpp void *share_list = NULL; NULL 112 src/runtime/linux_opengl_context.cpp void *context = NULL; NULL 144 src/runtime/matlab.cpp if (required && s == NULL) { NULL 146 src/runtime/matlab.cpp return NULL; NULL 229 src/runtime/matlab.cpp if (mexWarnMsgTxt != NULL) { NULL 8 src/runtime/metadata.cpp WEAK const halide_filter_metadata_t *unused_function_to_get_halide_filter_metadata_t_declared() { return NULL; } NULL 69 src/runtime/metal.cpp if (result == NULL) { NULL 138 src/runtime/metal.cpp if (result == NULL) { NULL 196 src/runtime/metal.cpp WEAK module_state *state_list = NULL; NULL 216 src/runtime/metal.cpp halide_assert(user_context, &thread_lock != NULL); NULL 307 src/runtime/metal.cpp if (buffer_error != NULL) { NULL 388 src/runtime/metal.cpp buf->device_interface = NULL; NULL 406 src/runtime/metal.cpp (*state)->library = NULL; NULL 450 src/runtime/metal.cpp if (buffer != NULL) { NULL 496 src/runtime/metal.cpp halide_metal_device_sync_internal(queue, NULL); NULL 508 src/runtime/metal.cpp state->library = NULL; NULL 517 src/runtime/metal.cpp queue = NULL; NULL 521 src/runtime/metal.cpp device = NULL; NULL 745 src/runtime/metal.cpp buffer->host = NULL; NULL 770 src/runtime/metal.cpp buf->device_interface = NULL; NULL 776 src/runtime/metal.cpp if (buf->device == NULL) { NULL 790 src/runtime/metal.cpp halide_metal_device_release(NULL); NULL 21 src/runtime/module_jit_ref_count.cpp WEAK void *halide_jit_module_argument = NULL; NULL 22 src/runtime/module_jit_ref_count.cpp WEAK void (*halide_jit_module_adjust_ref_count)(void *arg, int32_t count) = NULL; NULL 29 src/runtime/module_jit_ref_count.cpp if (halide_jit_module_adjust_ref_count == NULL) { NULL 37 src/runtime/module_jit_ref_count.cpp if (halide_jit_module_adjust_ref_count == NULL) { NULL 39 src/runtime/msan.cpp if (b == NULL) { NULL 7 src/runtime/noos.cpp WEAK halide_print_t custom_print = NULL; NULL 8 src/runtime/noos.cpp WEAK halide_error_handler_t error_handler = NULL; NULL 9 src/runtime/noos.cpp WEAK halide_malloc_t custom_malloc = NULL; NULL 10 src/runtime/noos.cpp WEAK halide_free_t custom_free = NULL; NULL 11 src/runtime/noos.cpp WEAK halide_get_symbol_t custom_get_symbol = NULL; NULL 12 src/runtime/noos.cpp WEAK halide_load_library_t custom_load_library = NULL; NULL 13 src/runtime/noos.cpp WEAK halide_get_library_symbol_t custom_get_library_symbol = NULL; NULL 14 src/runtime/noos.cpp WEAK halide_do_task_t custom_do_task = NULL; NULL 15 src/runtime/noos.cpp WEAK halide_do_par_for_t custom_do_par_for = NULL; NULL 53 src/runtime/old_buffer_t.cpp new_buf->device_interface = NULL; NULL 21 src/runtime/opencl.cpp WEAK void *lib_opencl = NULL; NULL 62 src/runtime/opencl.cpp halide_assert(user_context, clCreateContext == NULL); NULL 145 src/runtime/opencl.cpp halide_assert(user_context, ctx != NULL); NULL 146 src/runtime/opencl.cpp halide_assert(user_context, q != NULL); NULL 148 src/runtime/opencl.cpp halide_assert(user_context, &thread_lock != NULL); NULL 152 src/runtime/opencl.cpp halide_assert(user_context, &context != NULL); NULL 153 src/runtime/opencl.cpp halide_assert(user_context, &command_queue != NULL); NULL 187 src/runtime/opencl.cpp context(NULL), NULL 188 src/runtime/opencl.cpp cmd_queue(NULL), NULL 190 src/runtime/opencl.cpp if (clCreateContext == NULL) { NULL 199 src/runtime/opencl.cpp halide_assert(user_context, context != NULL && cmd_queue != NULL); NULL 215 src/runtime/opencl.cpp WEAK module_state *state_list = NULL; NULL 225 src/runtime/opencl.cpp cl_int result = clGetMemObjectInfo(dev_ptr, CL_MEM_SIZE, sizeof(size_t), &real_size, NULL); NULL 249 src/runtime/opencl.cpp halide_assert(user_context, ctx != NULL && *ctx == NULL); NULL 250 src/runtime/opencl.cpp halide_assert(user_context, q != NULL && *q == NULL); NULL 265 src/runtime/opencl.cpp cl_platform_id platform = NULL; NULL 269 src/runtime/opencl.cpp if (name != NULL) { NULL 273 src/runtime/opencl.cpp err = clGetPlatformInfo(platforms[i], CL_PLATFORM_NAME, max_platform_name, platform_name, NULL ); NULL 285 src/runtime/opencl.cpp if (platform == NULL){ NULL 293 src/runtime/opencl.cpp err = clGetPlatformInfo(platform, CL_PLATFORM_NAME, max_platform_name, platform_name, NULL ); NULL 310 src/runtime/opencl.cpp if (dev_type != NULL && *dev_type != '\0') { NULL 351 src/runtime/opencl.cpp err = clGetDeviceInfo(dev, CL_DEVICE_MAX_COMPUTE_UNITS, sizeof(cl_uint), &core_count, NULL); NULL 401 src/runtime/opencl.cpp {NULL}}; NULL 405 src/runtime/opencl.cpp err = clGetDeviceInfo(dev, infos[i].param, infos[i].sz, infos[i].dst, NULL); NULL 433 src/runtime/opencl.cpp *ctx = clCreateContext(properties, 1, &dev, NULL, NULL, &err); NULL 491 src/runtime/opencl.cpp buf->device_interface = NULL; NULL 530 src/runtime/opencl.cpp (*state)->program = NULL; NULL 542 src/runtime/opencl.cpp err = clGetContextInfo(ctx.context, CL_CONTEXT_DEVICES, sizeof(dev), &dev, NULL); NULL 553 src/runtime/opencl.cpp err = clGetDeviceInfo(dev, CL_DEVICE_MAX_CONSTANT_BUFFER_SIZE, sizeof(max_constant_buffer_size), &max_constant_buffer_size, NULL); NULL 561 src/runtime/opencl.cpp err = clGetDeviceInfo(dev, CL_DEVICE_MAX_CONSTANT_ARGS, sizeof(max_constant_args), &max_constant_args, NULL); NULL 575 src/runtime/opencl.cpp cl_program program = clCreateProgramWithSource(ctx.context, 1, &sources[0], NULL, &err ); NULL 588 src/runtime/opencl.cpp err = clBuildProgram(program, 1, devices, options.str(), NULL, NULL ); NULL 598 src/runtime/opencl.cpp NULL) == CL_SUCCESS) { NULL 674 src/runtime/opencl.cpp state->program = NULL; NULL 684 src/runtime/opencl.cpp command_queue = NULL; NULL 689 src/runtime/opencl.cpp context = NULL; NULL 728 src/runtime/opencl.cpp cl_mem dev_ptr = clCreateBuffer(ctx.context, CL_MEM_READ_WRITE, size, NULL, &err); NULL 769 src/runtime/opencl.cpp 0, NULL, NULL); NULL 773 src/runtime/opencl.cpp 0, NULL, NULL); NULL 801 src/runtime/opencl.cpp 0, NULL, NULL); NULL 809 src/runtime/opencl.cpp 0, NULL, NULL); NULL 999 src/runtime/opencl.cpp err = clSetKernelArg(f, i, (shared_mem_bytes > 0) ? shared_mem_bytes : 1, NULL); NULL 1013 src/runtime/opencl.cpp 3, NULL, global_dim, local_dim, NULL 1015 src/runtime/opencl.cpp 0, NULL, NULL); NULL 1059 src/runtime/opencl.cpp buf->device_interface = NULL; NULL 1067 src/runtime/opencl.cpp if (buf->device == NULL) { NULL 1074 src/runtime/opencl.cpp buf->device_interface = NULL; NULL 1079 src/runtime/opencl.cpp if (buf->device == NULL) { NULL 1093 src/runtime/opencl.cpp halide_opencl_device_release(NULL); NULL 284 src/runtime/opengl.cpp debug(NULL) << "Saved OpenGL state\n"; NULL 291 src/runtime/opengl.cpp debug(NULL) << "Restoring OpenGL state\n"; NULL 377 src/runtime/opengl.cpp global_state.ShaderSource(shader, 1, (const GLchar **)&default_shader, NULL); NULL 398 src/runtime/opengl.cpp global_state.GetShaderInfoLog(shader, log_len, NULL, log); NULL 413 src/runtime/opengl.cpp return NULL; NULL 440 src/runtime/opengl.cpp return NULL; NULL 456 src/runtime/opengl.cpp kernel->arguments = NULL; NULL 520 src/runtime/opengl.cpp kernel->arguments = NULL; NULL 532 src/runtime/opengl.cpp return NULL; NULL 570 src/runtime/opengl.cpp textures = NULL; NULL 575 src/runtime/opengl.cpp #define GLFUNC(type, name) name = NULL; NULL 656 src/runtime/opengl.cpp return NULL; NULL 661 src/runtime/opengl.cpp if (str == NULL || *str != '.') { NULL 662 src/runtime/opengl.cpp return NULL; NULL 761 src/runtime/opengl.cpp mod->kernel = NULL; NULL 938 src/runtime/opengl.cpp for (; texinfo != NULL; ptr = &texinfo->next, texinfo = *ptr) { NULL 941 src/runtime/opengl.cpp texinfo->next = NULL; NULL 945 src/runtime/opengl.cpp return NULL; NULL 1025 src/runtime/opengl.cpp global_state.TexImage2D(GL_TEXTURE_2D, 0, internal_format, width, height, 0, format, type, NULL); NULL 1087 src/runtime/opengl.cpp buf->device_interface = NULL; NULL 1401 src/runtime/opengl.cpp while (state_ptr != NULL) { NULL 1409 src/runtime/opengl.cpp return NULL; NULL 1874 src/runtime/opengl.cpp global_state.DrawElements(GL_TRIANGLES, element_buffer_size, GL_UNSIGNED_INT, NULL); NULL 1936 src/runtime/opengl.cpp module->kernel = NULL; NULL 2006 src/runtime/opengl.cpp GL_VERTEX_SHADER, vertex_src.buf, NULL); NULL 2014 src/runtime/opengl.cpp kernel->source, NULL); NULL 2033 src/runtime/opengl.cpp global_state.GetProgramInfoLog(program, log_len, NULL, log); NULL 2138 src/runtime/opengl.cpp buf->device_interface = NULL; NULL 2163 src/runtime/opengl.cpp halide_opengl_device_release(NULL); NULL 146 src/runtime/openglcompute.cpp #define GLFUNC(type, name) name = NULL; NULL 211 src/runtime/openglcompute.cpp mod->kernel = NULL; NULL 285 src/runtime/openglcompute.cpp global_state.BufferData(GL_ARRAY_BUFFER, size_in_bytes, NULL, GL_DYNAMIC_COPY); NULL 327 src/runtime/openglcompute.cpp buf->device_interface = NULL; NULL 556 src/runtime/openglcompute.cpp module->kernel = NULL; NULL 612 src/runtime/openglcompute.cpp global_state.GetShaderInfoLog(shader, log_len, NULL, log); NULL 637 src/runtime/openglcompute.cpp global_state.GetProgramInfoLog(program, log_len, NULL, log); NULL 28 src/runtime/osx_get_symbol.cpp if (lib == NULL) { NULL 32 src/runtime/osx_opengl_context.cpp static void *dylib = NULL; NULL 36 src/runtime/osx_opengl_context.cpp if (!dylib) return NULL; NULL 44 src/runtime/osx_opengl_context.cpp void *ctx = NULL; NULL 47 src/runtime/osx_opengl_context.cpp void *pf = aglChoosePixelFormat(NULL, 0, attrib); NULL 52 src/runtime/osx_opengl_context.cpp ctx = aglCreateContext(pf, NULL); NULL 68 src/runtime/osx_opengl_context.cpp (int (*)(int *, void **, int *))halide_opengl_get_proc_address(user_context, "CGLChoosePixelFormat")) == NULL) { NULL 72 src/runtime/osx_opengl_context.cpp (int (*)(void *, void *, void**))halide_opengl_get_proc_address(user_context, "CGLCreateContext")) == NULL) { NULL 76 src/runtime/osx_opengl_context.cpp (int (*)(void *))halide_opengl_get_proc_address(user_context, "CGLDestroyPixelFormat")) == NULL) { NULL 80 src/runtime/osx_opengl_context.cpp (int (*)(void *))halide_opengl_get_proc_address(user_context, "CGLSetCurrentContext")) == NULL) { NULL 87 src/runtime/osx_opengl_context.cpp void *ctx = NULL; NULL 101 src/runtime/osx_opengl_context.cpp if (CGLCreateContext(fmt, NULL, &ctx) != 0) { NULL 16 src/runtime/posix_allocator.cpp if (orig == NULL) { NULL 18 src/runtime/posix_allocator.cpp return NULL; NULL 30 src/runtime/posix_clock.cpp gettimeofday(&halide_reference_clock, NULL); NULL 41 src/runtime/posix_clock.cpp gettimeofday(&now, NULL); NULL 17 src/runtime/posix_get_symbol.cpp return dlsym(NULL, name); NULL 23 src/runtime/posix_get_symbol.cpp debug(NULL) << "dlerror: " << dlerror() << "\n"; NULL 43 src/runtime/posix_threads.cpp return NULL; NULL 54 src/runtime/posix_threads.cpp pthread_create(&t->handle, NULL, spawn_thread_helper, t); NULL 60 src/runtime/posix_threads.cpp void *ret = NULL; NULL 79 src/runtime/posix_threads.cpp pthread_cond_init(cond, NULL); NULL 34 src/runtime/printer.h Printer(void *ctx, char *mem = NULL) : user_context(ctx), own_mem(mem == NULL) { NULL 12 src/runtime/profiler.cpp static halide_profiler_state s = {{{0}}, NULL, 1, 0, 0, 0, NULL, false}; NULL 34 src/runtime/profiler.cpp if (!p) return NULL; NULL 51 src/runtime/profiler.cpp return NULL; NULL 70 src/runtime/profiler.cpp halide_profiler_pipeline_stats *p_prev = NULL; NULL 103 src/runtime/profiler.cpp uint64_t t1 = halide_current_time_ns(NULL); NULL 115 src/runtime/profiler.cpp uint64_t t_now = halide_current_time_ns(NULL); NULL 128 src/runtime/profiler.cpp halide_sleep_ms(NULL, sleep_ms); NULL 171 src/runtime/profiler.cpp return NULL; NULL 185 src/runtime/profiler.cpp halide_spawn_thread(sampling_profiler_thread, NULL); NULL 204 src/runtime/profiler.cpp halide_assert(user_context, p_stats != NULL); NULL 231 src/runtime/profiler.cpp halide_assert(user_context, p_stats != NULL); NULL 267 src/runtime/profiler.cpp halide_assert(user_context, p_stats != NULL); NULL 427 src/runtime/profiler.cpp halide_profiler_report_unlocked(NULL, s); NULL 21 src/runtime/qurt_allocator.cpp if (orig == NULL) { NULL 23 src/runtime/qurt_allocator.cpp return NULL; NULL 13 src/runtime/ssp.cpp halide_error(NULL, "Memory error: stack smashing protector changed!\n"); NULL 96 src/runtime/thread_pool_common.h while (owned_job != NULL ? owned_job->running() NULL 99 src/runtime/thread_pool_common.h if (work_queue.jobs == NULL) { NULL 160 src/runtime/thread_pool_common.h worker_thread_already_locked(NULL); NULL 175 src/runtime/thread_pool_common.h work_queue.jobs = NULL; NULL 196 src/runtime/thread_pool_common.h halide_spawn_thread(worker_thread, NULL); NULL 254 src/runtime/thread_pool_common.h halide_error(NULL, "halide_set_num_threads: must be >= 0."); NULL 247 src/runtime/to_string.cpp const char *code_name = NULL; NULL 275 src/runtime/to_string.cpp if (buf == NULL) { NULL 16 src/runtime/tracing.cpp WEAK void *halide_trace_file_internally_opened = NULL; NULL 210 src/runtime/tracing.cpp halide_trace_file_internally_opened = NULL; NULL 22 src/runtime/windows_get_symbol.cpp return GetProcAddress(NULL, name); NULL 53 src/runtime/windows_threads.cpp return NULL; NULL 64 src/runtime/windows_threads.cpp t->handle = CreateThread(NULL, 0, spawn_thread_helper, t, 0, NULL); NULL 84 src/runtime/windows_threads.cpp InitOnceExecuteOnce(&mutex->once, init_mutex, mutex, NULL); NULL 47 test/generator/cxx_mangling_aottest.cpp assert(m != NULL); NULL 86 test/generator/memory_profiler_mandelbrot_aottest.cpp assert(state != NULL); NULL 62 test/generator/old_buffer_t_aottest.cpp buffer_t correct_in1 = {0, NULL, {62, 44, 0, 0}, {1, 62, 0, 0}, {-1, -1, 0, 0}, 4, false, false, {0}}; NULL 63 test/generator/old_buffer_t_aottest.cpp buffer_t correct_in2 = {0, NULL, {60, 47, 0, 0}, {1, 60, 0, 0}, {0, 0, 0, 0}, 4, false, false, {0}}; NULL 29 test/generator/variable_num_threads_aottest.cpp halide_thread *t = halide_spawn_thread(&mess_with_num_threads, NULL); NULL 203 test/opengl/save_state.cpp return NULL; NULL 208 test/opengl/save_state.cpp if (str == NULL || *str != '.') { NULL 209 test/opengl/save_state.cpp return NULL; NULL 21 tools/build_halide_h.cpp if (f == NULL) { NULL 164 tools/halide_image_io.h png_ptr = png_create_read_struct(PNG_LIBPNG_VER_STRING, NULL, NULL, NULL); NULL 233 tools/halide_image_io.h png_destroy_read_struct(&png_ptr, &info_ptr, NULL); NULL 266 tools/halide_image_io.h png_ptr = png_create_write_struct(PNG_LIBPNG_VER_STRING, NULL, NULL, NULL); NULL 335 tools/halide_image_io.h png_write_end(png_ptr, NULL); NULL 56 tools/halide_malloc_trace.h if (orig == NULL) { NULL 58 tools/halide_malloc_trace.h return NULL; NULL 22 tutorial/clock.h gettimeofday(&reference_time, NULL); NULL 26 tutorial/clock.h gettimeofday(&t, NULL); NULL 296 tutorial/lesson_12_using_the_gpu.cpp return LoadLibrary("OpenCL.dll") != NULL; NULL 298 tutorial/lesson_12_using_the_gpu.cpp return dlopen("/System/Library/Frameworks/Metal.framework/Versions/Current/Metal", RTLD_LAZY) != NULL; NULL 300 tutorial/lesson_12_using_the_gpu.cpp return dlopen("libOpenCL.so", RTLD_LAZY) != NULL; NULL 63 tutorial/lesson_16_rgb_run.cpp tick(NULL);