/hardware/google/gfxstream/guest/mesa/src/util/ |
D | ralloc.c | 122 if (unlikely(block == NULL)) in ralloc_size() 193 if (unlikely(ptr == NULL)) in reralloc_size() 203 if (unlikely(ptr == NULL)) in rerzalloc_size() 307 if (unlikely(ptr == NULL)) in ralloc_steal() 323 if (unlikely(old_ctx == NULL)) in ralloc_adopt() 330 if (unlikely(old_info->child == NULL)) in ralloc_adopt() 352 if (unlikely(ptr == NULL)) in ralloc_parent() 372 if (unlikely(str == NULL)) in ralloc_strdup() 388 if (unlikely(str == NULL)) in ralloc_strndup() 408 if (unlikely(both == NULL)) in cat() [all …]
|
D | u_call_once.h | 40 if (unlikely(!p_atomic_read_relaxed(&flag->called))) { in util_call_once() 61 if (unlikely(!p_atomic_read_relaxed(&flag->called))) { in util_call_once_data()
|
D | u_debug.h | 388 if (unlikely(!p_atomic_read_relaxed(&initialized))) { \ 412 if (unlikely(!p_atomic_read_relaxed(&initialized))) { \ 427 if (unlikely(!p_atomic_read_relaxed(&initialized))) { \ 442 if (unlikely(!p_atomic_read_relaxed(&initialized))) { \
|
D | u_cpu_detect.h | 186 if (unlikely(!p_atomic_read(&_util_cpu_caps_state.detect_done))) in util_get_cpu_caps()
|
D | u_dynarray.h | 125 if (unlikely(nelts > UINT_MAX / eltsize)) in util_dynarray_resize_bytes() 152 if (unlikely(ngrow > (UINT_MAX / eltsize) || in util_dynarray_grow_bytes()
|
D | sparse_array.c | 136 if (unlikely(!root)) { in util_sparse_array_get() 180 if (unlikely(!child)) { in util_sparse_array_get()
|
D | string_buffer.c | 122 if (unlikely(len < 0 || str->length + len + 1 < str->length)) in _mesa_string_buffer_vprintf()
|
D | u_queue.h | 161 if (unlikely(!util_queue_fence_is_signalled(fence))) in util_queue_fence_wait()
|
D | macros.h | 66 # define unlikely(x) __builtin_expect(!!(x), 0) macro 69 # define unlikely(x) (x) macro
|
/hardware/google/gfxstream/guest/mesa/src/vulkan/runtime/ |
D | vk_queue.c | 224 if (unlikely(submit->_wait_points[i] != NULL)) { in vk_queue_submit_cleanup() 233 if (unlikely(submit->_signal_points[i] != NULL)) { in vk_queue_submit_cleanup() 329 if (unlikely(result != VK_SUCCESS)) { in vk_queue_submit_final() 379 if (unlikely(result != VK_SUCCESS)) in vk_queue_submit_final() 433 if (unlikely(result != VK_SUCCESS)) { in vk_queue_flush() 486 if (unlikely(result != VK_SUCCESS)) { in vk_queue_submit_thread_func() 492 if (unlikely(result != VK_SUCCESS)) { in vk_queue_submit_thread_func() 633 if (unlikely(submit == NULL)) in vk_queue_submit() 786 if (unlikely(result != VK_SUCCESS)) in vk_queue_submit() 806 if (unlikely(result != VK_SUCCESS)) in vk_queue_submit() [all …]
|
D | vk_semaphore.c | 401 if (unlikely(pSignalInfo->value == 0)) { in vk_common_SignalSemaphore() 407 if (unlikely(result != VK_SUCCESS)) in vk_common_SignalSemaphore() 412 if (unlikely(result != VK_SUCCESS)) in vk_common_SignalSemaphore() 447 if (unlikely(semaphore->type == VK_SEMAPHORE_TYPE_TIMELINE)) { in vk_common_ImportSemaphoreWin32HandleKHR() 562 if (unlikely(semaphore->type == VK_SEMAPHORE_TYPE_TIMELINE)) { in vk_common_ImportSemaphoreFdKHR() 657 if (unlikely(semaphore->type != VK_SEMAPHORE_TYPE_BINARY)) { in vk_common_GetSemaphoreFdKHR() 680 if (unlikely(result != VK_SUCCESS)) in vk_common_GetSemaphoreFdKHR() 685 if (unlikely(result != VK_SUCCESS)) in vk_common_GetSemaphoreFdKHR() 702 if (unlikely(result != VK_SUCCESS)) in vk_common_GetSemaphoreFdKHR()
|
D | vk_sync.c | 251 if (unlikely(result == VK_TIMEOUT)) in vk_sync_wait() 339 if (unlikely(result == VK_TIMEOUT)) in vk_sync_wait_many() 354 if (unlikely(result != VK_SUCCESS)) in vk_sync_import_opaque_fd() 371 if (unlikely(result != VK_SUCCESS)) in vk_sync_export_opaque_fd() 411 if (unlikely(result != VK_SUCCESS)) in vk_sync_import_win32_handle() 428 if (unlikely(result != VK_SUCCESS)) in vk_sync_export_win32_handle()
|
D | vk_meta_draw_rects.c | 236 if (unlikely(result != VK_SUCCESS)) in create_vertex_buffer() 241 if (unlikely(result != VK_SUCCESS)) in create_vertex_buffer() 284 if (unlikely(result != VK_SUCCESS)) { in vk_meta_draw_volume() 324 if (unlikely(result != VK_SUCCESS)) { in vk_meta_draw_rects()
|
D | vk_fence.c | 435 if (unlikely(result != VK_SUCCESS)) in vk_common_GetFenceFdKHR() 448 if (unlikely(result != VK_SUCCESS)) in vk_common_GetFenceFdKHR() 453 if (unlikely(result != VK_SUCCESS)) in vk_common_GetFenceFdKHR() 470 if (unlikely(result != VK_SUCCESS)) in vk_common_GetFenceFdKHR()
|
D | vk_sync_timeline.c | 137 if (unlikely(result != VK_SUCCESS)) in vk_sync_timeline_alloc_point_locked() 157 if (unlikely(result != VK_SUCCESS)) { in vk_sync_timeline_alloc_point_locked() 167 if (unlikely(result != VK_SUCCESS)) in vk_sync_timeline_alloc_point_locked() 372 if (unlikely(result != VK_SUCCESS)) in vk_sync_timeline_signal_locked() 375 if (unlikely(value <= timeline->highest_past)) { in vk_sync_timeline_signal_locked()
|
D | vk_log.c | 93 if (unlikely(objects[i] == NULL)) { in __vk_log_impl() 98 if (unlikely(!objects[i]->client_visible)) { in __vk_log_impl() 115 if (unlikely(!instance) || in __vk_log_impl()
|
D | vk_object.c | 178 if (unlikely(device->swapchain_private == NULL)) { in get_swapchain_private_data_locked() 191 if (unlikely(entry == NULL)) { in get_swapchain_private_data_locked() 256 if (unlikely(result != VK_SUCCESS)) in vk_object_base_set_private_data()
|
D | vk_command_pool.c | 105 if (unlikely(result != VK_SUCCESS)) { in vk_common_CreateCommandPool() 207 if (unlikely(result != VK_SUCCESS)) in vk_common_AllocateCommandBuffers()
|
D | vk_command_buffer.h | 234 unlikely((command_buffer)->record_result != VK_SUCCESS)
|
D | vk_device.h | 347 if (unlikely(lost && !device->_lost.reported)) in vk_device_is_lost()
|
D | vk_meta.c | 496 if (unlikely(result != VK_SUCCESS)) in vk_meta_create_graphics_pipeline() 564 if (unlikely(result != VK_SUCCESS)) in vk_meta_create_buffer() 584 if (unlikely(result != VK_SUCCESS)) in vk_meta_create_image_view()
|
D | vk_meta_clear.c | 244 if (unlikely(result != VK_SUCCESS)) { in vk_meta_clear_attachments() 251 if (unlikely(result != VK_SUCCESS)) { in vk_meta_clear_attachments() 458 if (unlikely(result != VK_SUCCESS)) { in clear_image_level_layers()
|
/hardware/google/gfxstream/guest/mesa/src/util/perf/ |
D | cpu_trace.h | 21 if (unlikely(util_perfetto_is_category_enabled(category))) \ 27 if (unlikely(util_perfetto_is_category_enabled(category))) \
|
/hardware/google/graphics/common/hwc3/ |
D | Util.h | 56 if (err) [[unlikely]] return err; \
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/appendices/ |
D | VK_KHR_descriptor_update_template.adoc | 25 For those cases it is also not unlikely that all information required to
|