/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/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()
|
D | benchmark-async.c | 44 struct ctx* ctx = container_of(handle, struct ctx, worker_async); in worker_async_cb() 56 struct ctx* ctx = container_of(handle, struct ctx, main_async); in main_async_cb()
|
/third_party/weston/kiosk-shell/ |
D | kiosk-shell-grab.c | 75 container_of(pointer_grab, struct kiosk_shell_grab, pointer_grab); in pointer_move_grab_motion() 102 container_of(pointer_grab, struct kiosk_shell_grab, pointer_grab); in pointer_move_grab_button() 115 container_of(pointer_grab, struct kiosk_shell_grab, pointer_grab); in pointer_move_grab_cancel() 146 container_of(touch_grab, struct kiosk_shell_grab, touch_grab); in touch_move_grab_up() 161 container_of(touch_grab, struct kiosk_shell_grab, touch_grab); in touch_move_grab_motion() 189 container_of(touch_grab, struct kiosk_shell_grab, touch_grab); in touch_move_grab_cancel() 210 container_of(listener, struct kiosk_shell_grab, in kiosk_shell_grab_handle_shsurf_destroy()
|
D | kiosk-shell.c | 62 return container_of(listener, in get_kiosk_shell_seat() 81 container_of(listener, in kiosk_shell_surface_notify_parent_destroy() 91 container_of(listener, in kiosk_shell_surface_notify_output_destroy() 348 container_of(listener, in kiosk_shell_seat_handle_destroy() 363 shseat = container_of(listener, struct kiosk_shell_seat, in kiosk_shell_seat_handle_caps_changed() 508 container_of(listener, in kiosk_shell_output_notify_output_destroy() 928 container_of(listener, struct kiosk_shell, output_created_listener); in kiosk_shell_handle_output_created() 938 container_of(listener, struct kiosk_shell, output_resized_listener); in kiosk_shell_handle_output_resized() 962 container_of(listener, struct kiosk_shell, output_moved_listener); in kiosk_shell_handle_output_moved() 996 container_of(listener, struct kiosk_shell, destroy_listener); in kiosk_shell_destroy()
|
/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()
|
D | obj_res.c | 70 struct obj_res *objRes = container_of(res, struct obj_res, data); in objres_free() 77 struct obj_res *objRes = container_of(res, struct obj_res, data); in objres_add()
|
D | usbd_config.c | 118 struct gadget_info *gi = container_of(obj, struct gadget_info, obj); in gadget_match() 139 gi = container_of(obj, struct gadget_info, obj); in gadget_find_by_name() 398 cfg = container_of(obj, struct gadget_config, obj); in fconfig_remove_gadget_cfg() 510 struct function_instance *func_inst = container_of(obj, struct function_instance, obj); in function_instance_release() 649 cfg = container_of(obj, struct gadget_config, obj); in fconfig_get_function_info() 718 struct gadget_config *cfg = container_of(obj, struct gadget_config, obj); in usb_config_match() 726 struct function_instance *func = container_of(obj, struct function_instance, obj); in func_inst_init() 776 cfg = container_of(obj, struct gadget_config, obj); in fconfig_composite_initialize() 1036 dev_strings = container_of(obj, struct gadget_strings, obj); in fconfig_change_dev_desc_string()
|
/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 | 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/e2fsprogs/lib/ext2fs/ |
D | compiler.h | 8 #define container_of(ptr, type, member) ({ \ macro 12 #define container_of(ptr, type, member) \ macro
|
/third_party/weston/shared/ |
D | helpers.h | 97 #ifndef container_of 98 #define container_of(ptr, type, member) ({ \ macro
|
/third_party/weston/fullscreen-shell/ |
D | fullscreen-shell.c | 118 surf = container_of(listener, struct fs_client_surface, surface_destroyed); in default_surface_destroy_listener() 130 prev = container_of(shell->default_surface_list.prev, in replace_default_surface() 167 listener = container_of(l, struct pointer_focus_listener, seat_caps); in seat_caps_changed() 196 listener = container_of(l, struct pointer_focus_listener, in seat_destroyed() 212 listener->shell = container_of(l, struct fullscreen_shell, in seat_created() 286 struct fs_output *output = container_of(listener, in output_destroyed() 295 struct fs_output *fsout = container_of(listener, in surface_destroyed() 307 struct fs_output *fsout = container_of(listener, in pending_surface_destroyed() 346 surf = container_of(shell->default_surface_list.prev, in fs_output_create() 366 return container_of(listener, struct fs_output, output_destroyed); in fs_output_for_output() [all …]
|
/third_party/weston/libweston/ |
D | data-device.c | 300 offer = container_of(listener, struct weston_data_offer, in destroy_offer_data_source() 494 container_of(listener, struct weston_drag, focus_listener); in destroy_drag_focus() 574 container_of(grab, struct weston_pointer_drag, grab); in drag_grab_focus() 592 container_of(grab, struct weston_pointer_drag, grab); in drag_grab_motion() 653 container_of(grab, struct weston_pointer_drag, grab); in drag_grab_button() 710 container_of(grab, struct weston_pointer_drag, grab); in drag_grab_cancel() 752 container_of(grab, struct weston_touch_drag, grab); in drag_grab_touch_up() 786 container_of(grab, struct weston_touch_drag, grab); in drag_grab_touch_motion() 822 container_of(grab, struct weston_touch_drag, grab); in drag_grab_touch_cancel() 851 container_of(grab, struct weston_drag, keyboard_grab); in drag_grab_keyboard_modifiers() [all …]
|
/third_party/weston/compositor/ |
D | weston-screenshooter.c | 119 container_of(process, struct screenshooter, process); in screenshooter_sigchld() 162 output = container_of(ec->output_list.next, in recorder_binding() 173 container_of(listener, struct screenshooter, destroy_listener); in screenshooter_destroy()
|
D | cms-static.c | 75 container_of(listener, struct cms_static, output_created_listener); in cms_notifier_output_created() 88 struct cms_static *cms = container_of(listener, struct cms_static, destroy_listener); in cms_notifier_destroy()
|
/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/libinput/src/ |
D | util-list.h | 49 #define container_of(ptr, type, member) \ macro 54 container_of((head)->next, __typeof__(*pos), member)
|
/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/weston/desktop-shell/ |
D | exposay.c | 203 struct exposay_surface *esurface = container_of(listener, in handle_view_destroy() 399 container_of(grab, struct desktop_shell, exposay.grab_ptr); in exposay_motion() 413 container_of(grab, struct desktop_shell, exposay.grab_ptr); in exposay_button() 454 container_of(grab, struct desktop_shell, exposay.grab_ptr); in exposay_pointer_grab_cancel() 492 container_of(grab, struct desktop_shell, exposay.grab_kbd); in exposay_key() 547 container_of(grab, struct desktop_shell, exposay.grab_kbd); in exposay_modifier() 575 container_of(grab, struct desktop_shell, exposay.grab_kbd); in exposay_cancel()
|
D | input-panel.c | 106 container_of(listener, struct desktop_shell, in show_input_panels() 134 container_of(listener, struct desktop_shell, in hide_input_panels() 156 container_of(listener, struct desktop_shell, in update_input_panels() 224 struct input_panel_surface *ipsurface = container_of(listener, in input_panel_handle_surface_destroy()
|
D | shell.c | 241 grab = container_of(listener, struct shell_grab, in destroy_shell_grab_shsurf() 264 return container_of(surface->views.next, struct weston_view, surface_link); in get_default_view() 519 return container_of(compositor->output_list.next, in get_default_output() 630 struct focus_state *state = container_of(listener, in focus_state_seat_destroy() 641 struct focus_state *state = container_of(listener, in focus_state_surface_destroy() 905 struct workspace *ws = container_of(listener, in seat_destroyed() 1109 container_of(animation, struct desktop_shell, in animate_workspace_change_frame() 1178 output = container_of(shell->compositor->output_list.next, in animate_workspace_change() 1265 return container_of(e, struct weston_view, layer_link.link)->surface == surface; in workspace_has_only() 1362 (struct weston_touch_move_grab *) container_of( in touch_move_grab_up() [all …]
|
/third_party/libuv/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()
|