/third_party/libdrm/ |
D | util_double_list.h | 110 #ifndef container_of 111 #define container_of(ptr, sample, member) \ macro 117 for (pos = container_of((head)->next, pos, member); \ 119 pos = container_of(pos->member.next, pos, member)) 122 for (pos = container_of((head)->next, pos, member), \ 123 storage = container_of(pos->member.next, pos, member); \ 125 pos = storage, storage = container_of(storage->member.next, storage, member)) 128 for (pos = container_of((head)->prev, pos, member), \ 129 storage = container_of(pos->member.prev, pos, member); \ 131 pos = storage, storage = container_of(storage->member.prev, storage, member)) [all …]
|
/third_party/mesa3d/src/microsoft/vulkan/ |
D | dzn_sync.c | 43 struct dzn_sync *dsync = container_of(sync, struct dzn_sync, vk); in dzn_sync_init() 44 struct dzn_device *ddev = container_of(device, struct dzn_device, vk); in dzn_sync_init() 61 struct dzn_sync *dsync = container_of(sync, struct dzn_sync, vk); in dzn_sync_finish() 71 struct dzn_sync *dsync = container_of(sync, struct dzn_sync, vk); in dzn_sync_signal() 87 struct dzn_sync *dsync = container_of(sync, struct dzn_sync, vk); in dzn_sync_get_value() 97 struct dzn_sync *dsync = container_of(sync, struct dzn_sync, vk); in dzn_sync_reset() 110 struct dzn_device *ddev = container_of(device, struct dzn_device, vk); in dzn_sync_move() 111 struct dzn_sync *ddst = container_of(dst, struct dzn_sync, vk); in dzn_sync_move() 112 struct dzn_sync *dsrc = container_of(src, struct dzn_sync, vk); in dzn_sync_move() 134 struct dzn_device *ddev = container_of(device, struct dzn_device, vk); in dzn_sync_wait() [all …]
|
/third_party/libuv/test/ |
D | benchmark-multi-accept.c | 115 sc = container_of(ipc_pipe, struct ipc_server_ctx, ipc_pipe); in ipc_connection_cb() 141 ctx = container_of(req, struct ipc_peer_ctx, write_req); in ipc_write_cb() 148 ctx = container_of(handle, struct ipc_peer_ctx, peer_handle); in ipc_close_cb() 155 ctx = container_of(req, struct ipc_client_ctx, connect_req); in ipc_connect_cb() 167 ctx = container_of(handle, struct ipc_client_ctx, ipc_pipe); in ipc_alloc_cb() 182 ctx = container_of(ipc_pipe, struct ipc_client_ctx, ipc_pipe); in ipc_read_cb() 284 ctx = container_of(handle, struct server_ctx, async_handle); in sv_async_cb() 294 ctx = container_of(server_handle, struct server_ctx, server_handle); in sv_connection_cb() 331 struct client_ctx* ctx = container_of(req, struct client_ctx, connect_req); in cl_connect_cb() 338 struct client_ctx* ctx = container_of(handle, struct client_ctx, idle_handle); in cl_idle_cb() [all …]
|
D | blackhole-server.c | 81 conn = container_of(stream, conn_rec, handle); in read_cb() 89 conn_rec* conn = container_of(req, conn_rec, shutdown_req); in shutdown_cb() 95 conn_rec* conn = container_of(handle, conn_rec, handle); in close_cb()
|
/third_party/mesa3d/src/util/ |
D | u_worklist.h | 96 container_of(u_worklist_pop_head_index(w), entry_t, index) 99 container_of(u_worklist_pop_tail_index(w), entry_t, index) 102 container_of(u_worklist_peek_head_index(w), entry_t, index) 105 container_of(u_worklist_peek_tail_index(w), entry_t, index)
|
/third_party/NuttX/drivers/usbdev/gadget/fconfig/src/ |
D | f_config.c | 80 struct gadget_info *gi = container_of(obj, struct gadget_info, obj); in gadget_match() 87 struct composite_softc *com_s = container_of(com_dev, struct composite_softc, dev); in fconfig_find_gadget() 94 return container_of(obj, struct gadget_info, obj); in fconfig_find_gadget() 126 struct gadget_strings *strings = container_of(obj, struct gadget_strings, obj); in gadget_strings_match() 167 dev_strings = container_of(obj, struct gadget_strings, obj); in fconfig_mkstrdesc() 230 struct gadget_config *cfg = container_of(obj, struct gadget_config, obj); in usb_config_match() 238 struct composite_softc *com_s = container_of(com_dev, struct composite_softc, dev); in fconfig_find_cfg() 251 gi = container_of(obj, struct gadget_info, obj); in fconfig_find_cfg() 260 cfg = container_of(obj, struct gadget_config, obj); in fconfig_find_cfg()
|
/third_party/libinput/src/ |
D | util-list.h | 112 #define container_of(ptr, type, member) \ macro 139 container_of((head)->next, __typeof__(*pointer_of_type), member) 159 container_of((head)->next, container_type, member)
|
/third_party/libuv/src/ |
D | timer.c | 43 a = container_of(ha, uv_timer_t, heap_node); in timer_less_than() 44 b = container_of(hb, uv_timer_t, heap_node); in timer_less_than() 151 handle = container_of(heap_node, uv_timer_t, heap_node); in uv__next_timeout() 172 handle = container_of(heap_node, uv_timer_t, heap_node); in uv__run_timers()
|
D | random.c | 76 req = container_of(w, uv_random_t, work_req); in uv__random_work() 84 req = container_of(w, uv_random_t, work_req); in uv__random_done()
|
/third_party/node/deps/uv/src/ |
D | timer.c | 43 a = container_of(ha, uv_timer_t, heap_node); in timer_less_than() 44 b = container_of(hb, uv_timer_t, heap_node); in timer_less_than() 151 handle = container_of(heap_node, uv_timer_t, heap_node); in uv__next_timeout() 172 handle = container_of(heap_node, uv_timer_t, heap_node); in uv__run_timers()
|
D | threadpool.c | 307 loop = container_of(handle, uv_loop_t, wq_async); in uv__work_done() 316 w = container_of(q, struct uv__work, wq); in uv__work_done() 324 uv_work_t* req = container_of(w, uv_work_t, work_req); in uv__queue_work() 333 req = container_of(w, uv_work_t, work_req); in uv__queue_done()
|
D | random.c | 76 req = container_of(w, uv_random_t, work_req); in uv__random_work() 84 req = container_of(w, uv_random_t, work_req); in uv__random_done()
|
/third_party/mesa3d/src/intel/vulkan/ |
D | anv_bo_sync.c | 32 return container_of(sync, struct anv_bo_sync, sync); in to_anv_bo_sync() 40 struct anv_device *device = container_of(vk_device, struct anv_device, vk); in anv_bo_sync_init() 57 struct anv_device *device = container_of(vk_device, struct anv_device, vk); in anv_bo_sync_finish() 106 struct anv_device *device = container_of(vk_device, struct anv_device, vk); in anv_bo_sync_wait()
|
D | anv_utrace.c | 54 container_of(utctx, struct anv_device, ds.trace_context); in anv_utrace_delete_flush_data() 79 container_of(utctx, struct anv_device, ds.trace_context); in anv_device_utrace_emit_copy_ts_buffer() 198 container_of(utctx, struct anv_device, ds.trace_context); in anv_utrace_create_ts_buffer() 214 container_of(utctx, struct anv_device, ds.trace_context); in anv_utrace_destroy_ts_buffer() 226 container_of(ut, struct anv_cmd_buffer, trace); in anv_utrace_record_ts() 242 container_of(utctx, struct anv_device, ds.trace_context); in anv_utrace_read_ts()
|
D | anv_pipeline_cache.c | 47 container_of(object->device, struct anv_device, vk); in anv_shader_bin_destroy() 49 container_of(object, struct anv_shader_bin, base); in anv_shader_bin_destroy() 188 container_of(object, struct anv_shader_bin, base); in anv_shader_bin_serialize() 240 container_of(vk_device, struct anv_device, vk); in anv_shader_bin_deserialize() 318 return container_of(object, struct anv_shader_bin, base); in anv_device_search_for_kernel() 351 return container_of(cached, struct anv_shader_bin, base); in anv_device_upload_kernel()
|
/third_party/mesa3d/src/gallium/frontends/lavapipe/ |
D | lvp_pipe_sync.c | 53 struct lvp_device *device = container_of(vk_device, struct lvp_device, vk); in lvp_pipe_sync_finish() 81 struct lvp_device *device = container_of(vk_device, struct lvp_device, vk); in lvp_pipe_sync_signal() 99 struct lvp_device *device = container_of(vk_device, struct lvp_device, vk); in lvp_pipe_sync_reset() 118 struct lvp_device *device = container_of(vk_device, struct lvp_device, vk); in lvp_pipe_sync_move() 229 struct lvp_device *device = container_of(vk_device, struct lvp_device, vk); in lvp_pipe_sync_wait()
|
/third_party/mesa3d/src/mesa/vbo/ |
D | vbo_private.h | 61 return container_of(exec, struct gl_context, vbo_context.exec); in gl_context_from_vbo_exec() 68 return container_of(exec, struct gl_context, vbo_context.exec); in gl_context_from_vbo_exec_const() 75 return container_of(save, struct gl_context, vbo_context.save); in gl_context_from_vbo_save()
|
/third_party/libbpf/include/linux/ |
D | kernel.h | 10 #ifndef container_of 11 #define container_of(ptr, type, member) ({ \ macro
|
/third_party/mesa3d/src/imagination/vulkan/winsys/pvrsrvkm/ |
D | pvr_srv.h | 115 #define to_pvr_srv_winsys(ws) container_of((ws), struct pvr_srv_winsys, base) 117 container_of((heap), struct pvr_srv_winsys_heap, base)
|
/third_party/libdrm/tests/tegra/ |
D | vic40.c | 51 struct vic40 *vic = container_of(v, struct vic40, base); in vic40_fill() 91 struct vic40 *vic = container_of(v, struct vic40, base); in vic40_blit() 160 struct vic40 *vic = container_of(v, struct vic40, base); in vic40_flip() 231 struct vic40 *vic = container_of(v, struct vic40, base); in vic40_execute() 252 struct vic40 *vic = container_of(v, struct vic40, base); in vic40_free()
|
D | vic41.c | 51 struct vic41 *vic = container_of(v, struct vic41, base); in vic41_fill() 91 struct vic41 *vic = container_of(v, struct vic41, base); in vic41_blit() 160 struct vic41 *vic = container_of(v, struct vic41, base); in vic41_flip() 231 struct vic41 *vic = container_of(v, struct vic41, base); in vic41_execute() 256 struct vic41 *vic = container_of(v, struct vic41, base); in vic41_free()
|
D | vic42.c | 51 struct vic42 *vic = container_of(v, struct vic42, base); in vic42_fill() 91 struct vic42 *vic = container_of(v, struct vic42, base); in vic42_blit() 160 struct vic42 *vic = container_of(v, struct vic42, base); in vic42_flip() 231 struct vic42 *vic = container_of(v, struct vic42, base); in vic42_execute() 256 struct vic42 *vic = container_of(v, struct vic42, base); in vic42_free()
|
/third_party/libuv/src/unix/ |
D | getnameinfo.c | 36 req = container_of(w, uv_getnameinfo_t, work_req); in uv__getnameinfo_work() 60 req = container_of(w, uv_getnameinfo_t, work_req); in uv__getnameinfo_done()
|
/third_party/node/deps/uv/src/unix/ |
D | getnameinfo.c | 36 req = container_of(w, uv_getnameinfo_t, work_req); in uv__getnameinfo_work() 60 req = container_of(w, uv_getnameinfo_t, work_req); in uv__getnameinfo_done()
|
/third_party/node/deps/uv/src/win/ |
D | getnameinfo.c | 47 req = container_of(w, uv_getnameinfo_t, work_req); in uv__getnameinfo_work() 95 req = container_of(w, uv_getnameinfo_t, work_req); in uv__getnameinfo_done()
|