Home
last modified time | relevance | path

Searched refs:handler_context (Results 1 – 25 of 266) sorted by relevance

1234567891011

/dports/x11-wm/lxsession/lxsession-0.5.4/lxsession-logout/
H A Dlxsession-logout.c225 if (handler_context->ltsp) in shutdown_clicked()
255 if (handler_context->ltsp) in reboot_clicked()
286 if (handler_context->suspend_UPower) in suspend_clicked()
336 if (handler_context->switch_user_GDM) in switch_user_clicked()
487 HandlerContext handler_context; in main() local
488 memset(&handler_context, 0, sizeof(handler_context)); in main()
601 handler_context.ltsp = TRUE; in main()
773 if (handler_context.suspend_available && !handler_context.ltsp) in main()
784 if (handler_context.hibernate_available && !handler_context.ltsp) in main()
795 if (handler_context.switch_user_available && !handler_context.ltsp) in main()
[all …]
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/lib/hack/src/
H A DTProcessorMultiEventHandler.php57 mixed $handler_context, argument
63 $handler->preRead($handler_context->at($key), $fn_name, $args);
69 mixed $handler_context, argument
75 $handler->postRead($handler_context->at($key), $fn_name, $args);
82 mixed $handler_context, argument
90 $handler_context->at($key),
101 mixed $handler_context, argument
113 mixed $handler_context, argument
125 mixed $handler_context, argument
137 mixed $handler_context, argument
[all …]
H A DTProcessorEventHandler.php32 mixed $handler_context, argument
39 mixed $handler_context, argument
47 mixed $handler_context, argument
56 mixed $handler_context, argument
63 mixed $handler_context, argument
70 mixed $handler_context, argument
77 mixed $handler_context, argument
89 mixed $handler_context, argument
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/lib/java/src/main/java/com/facebook/thrift/
H A DMultipleTProcessorEventHandlers.java42 if (handler_context != null) { in preRead()
43 EventHandlerContexts contexts = (EventHandlerContexts) handler_context; in preRead()
53 if (handler_context != null) { in postRead()
54 EventHandlerContexts contexts = (EventHandlerContexts) handler_context; in postRead()
64 if (handler_context != null) { in preWrite()
65 EventHandlerContexts contexts = (EventHandlerContexts) handler_context; in preWrite()
75 if (handler_context != null) { in postWrite()
76 EventHandlerContexts contexts = (EventHandlerContexts) handler_context; in postWrite()
86 if (handler_context != null) { in handlerError()
99 Object handler_context, String fn_name, T th) throws TException { in declaredUserException() argument
[all …]
H A DTProcessorEventHandler.java33 public void preRead(Object handler_context, String fn_name) throws TException {} in preRead() argument
42 public void postRead(Object handler_context, String fn_name, TBase args) throws TException {} in postRead() argument
52 public void preWrite(Object handler_context, String fn_name, TBase result) throws TException {} in preWrite() argument
62 public void postWrite(Object handler_context, String fn_name, TBase result) throws TException {} in postWrite() argument
71 public void handlerError(Object handler_context, String fn_name, Throwable th) in handlerError() argument
85 Object handler_context, String fn_name, T th) throws TException {} in declaredUserException() argument
H A DUserExceptionHandler.java34 Object handler_context, String fn_name, T th) throws TException { in declaredUserException() argument
36 if (handler_context != null) { in declaredUserException()
37 THeaderTransport headerTransport = (THeaderTransport) handler_context; in declaredUserException()
57 public void handlerError(Object handler_context, String fn_name, Throwable th) throws TException { in handlerError() argument
59 if (handler_context != null) { in handlerError()
60 THeaderTransport headerTransport = (THeaderTransport) handler_context; in handlerError()
/dports/x11-wm/sway/sway-1.5.1/sway/commands/
H A Doutput.c49 struct sway_output *sway_output = config->handler_context.node ? in cmd_output()
50 node_get_output(config->handler_context.node) : NULL; in cmd_output()
74 config->handler_context.output_config = output; in cmd_output()
77 config->handler_context.leftovers.argc = 0; in cmd_output()
78 config->handler_context.leftovers.argv = NULL; in cmd_output()
92 argc = config->handler_context.leftovers.argc; in cmd_output()
93 argv = config->handler_context.leftovers.argv; in cmd_output()
96 config->handler_context.output_config = NULL; in cmd_output()
97 config->handler_context.leftovers.argc = 0; in cmd_output()
98 config->handler_context.leftovers.argv = NULL; in cmd_output()
[all …]
H A Dseat.c32 free_seat_config(config->handler_context.seat_config); in action_handlers()
33 config->handler_context.seat_config = NULL; in action_handlers()
41 free_seat_config(config->handler_context.seat_config); in config_handlers()
44 store_seat_config(config->handler_context.seat_config); in config_handlers()
49 config->handler_context.seat_config = NULL; in config_handlers()
64 config->handler_context.seat_config = in cmd_seat()
65 new_seat_config(config->handler_context.seat->wlr_seat->name); in cmd_seat()
67 config->handler_context.seat_config = new_seat_config(argv[0]); in cmd_seat()
69 if (!config->handler_context.seat_config) { in cmd_seat()
H A Dxwayland.c19 config->handler_context.leftovers.argc = 0; in cmd_xwayland()
20 config->handler_context.leftovers.argv = NULL; in cmd_xwayland()
34 argc = config->handler_context.leftovers.argc; in cmd_xwayland()
35 argv = config->handler_context.leftovers.argv; in cmd_xwayland()
38 config->handler_context.leftovers.argc = 0; in cmd_xwayland()
39 config->handler_context.leftovers.argv = NULL; in cmd_xwayland()
H A Dinput.c55 config->handler_context.input_config = new_input_config(argv[0]); in cmd_input()
56 if (!config->handler_context.input_config) { in cmd_input()
80 store_input_config(config->handler_context.input_config, &error); in cmd_input()
82 free_input_config(config->handler_context.input_config); in cmd_input()
96 free_input_config(config->handler_context.input_config); in cmd_input()
99 config->handler_context.input_config = NULL; in cmd_input()
/dports/x11-wm/sway/sway-1.5.1/sway/commands/output/
H A Dtoggle.c6 if (!config->handler_context.output_config) { in output_cmd_toggle()
10 struct output_config *oc = config->handler_context.output_config; in output_cmd_toggle()
27 config->handler_context.output_config->enabled = 0; in output_cmd_toggle()
29 config->handler_context.output_config->enabled = 1; in output_cmd_toggle()
33 config->handler_context.leftovers.argc = argc; in output_cmd_toggle()
34 config->handler_context.leftovers.argv = argv; in output_cmd_toggle()
H A Dposition.c6 if (!config->handler_context.output_config) { in output_cmd_position()
14 config->handler_context.output_config->x = strtol(*argv, &end, 10); in output_cmd_position()
21 config->handler_context.output_config->y = strtol(end, &end, 10); in output_cmd_position()
31 config->handler_context.output_config->y = strtol(*argv, &end, 10); in output_cmd_position()
37 config->handler_context.leftovers.argc = argc - 1; in output_cmd_position()
38 config->handler_context.leftovers.argv = argv + 1; in output_cmd_position()
H A Dadaptive_sync.c6 if (!config->handler_context.output_config) { in output_cmd_adaptive_sync()
14 config->handler_context.output_config->adaptive_sync = 1; in output_cmd_adaptive_sync()
16 config->handler_context.output_config->adaptive_sync = 0; in output_cmd_adaptive_sync()
19 config->handler_context.leftovers.argc = argc - 1; in output_cmd_adaptive_sync()
20 config->handler_context.leftovers.argv = argv + 1; in output_cmd_adaptive_sync()
H A Ddpms.c6 if (!config->handler_context.output_config) { in output_cmd_dpms()
14 config->handler_context.output_config->dpms_state = DPMS_ON; in output_cmd_dpms()
16 config->handler_context.output_config->dpms_state = DPMS_OFF; in output_cmd_dpms()
19 config->handler_context.leftovers.argc = argc - 1; in output_cmd_dpms()
20 config->handler_context.leftovers.argv = argv + 1; in output_cmd_dpms()
H A Dtransform.c24 if (!config->handler_context.output_config) { in output_cmd_transform()
57 struct output_config *output = config->handler_context.output_config; in output_cmd_transform()
58 config->handler_context.leftovers.argc = argc - 1; in output_cmd_transform()
59 config->handler_context.leftovers.argv = argv + 1; in output_cmd_transform()
83 config->handler_context.leftovers.argv += 1; in output_cmd_transform()
84 config->handler_context.leftovers.argc -= 1; in output_cmd_transform()
H A Ddisable.c5 if (!config->handler_context.output_config) { in output_cmd_disable()
8 config->handler_context.output_config->enabled = 0; in output_cmd_disable()
10 config->handler_context.leftovers.argc = argc; in output_cmd_disable()
11 config->handler_context.leftovers.argv = argv; in output_cmd_disable()
H A Denable.c5 if (!config->handler_context.output_config) { in output_cmd_enable()
9 config->handler_context.output_config->enabled = 1; in output_cmd_enable()
11 config->handler_context.leftovers.argc = argc; in output_cmd_enable()
12 config->handler_context.leftovers.argv = argv; in output_cmd_enable()
H A Dscale.c6 if (!config->handler_context.output_config) { in output_cmd_scale()
14 config->handler_context.output_config->scale = strtof(*argv, &end); in output_cmd_scale()
19 config->handler_context.leftovers.argc = argc - 1; in output_cmd_scale()
20 config->handler_context.leftovers.argv = argv + 1; in output_cmd_scale()
H A Dmax_render_time.c6 if (!config->handler_context.output_config) { in output_cmd_max_render_time()
23 config->handler_context.output_config->max_render_time = max_render_time; in output_cmd_max_render_time()
25 config->handler_context.leftovers.argc = argc - 1; in output_cmd_max_render_time()
26 config->handler_context.leftovers.argv = argv + 1; in output_cmd_max_render_time()
H A Dscale_filter.c8 if (!config->handler_context.output_config) { in output_cmd_scale_filter()
28 struct output_config *oc = config->handler_context.output_config; in output_cmd_scale_filter()
29 config->handler_context.leftovers.argc = argc - 1; in output_cmd_scale_filter()
30 config->handler_context.leftovers.argv = argv + 1; in output_cmd_scale_filter()
H A Dsubpixel.c8 if (!config->handler_context.output_config) { in output_cmd_subpixel()
30 struct output_config *oc = config->handler_context.output_config; in output_cmd_subpixel()
31 config->handler_context.leftovers.argc = argc - 1; in output_cmd_subpixel()
32 config->handler_context.leftovers.argv = argv + 1; in output_cmd_subpixel()
H A Dmode.c6 if (!config->handler_context.output_config) { in output_cmd_mode()
13 struct output_config *output = config->handler_context.output_config; in output_cmd_mode()
56 config->handler_context.leftovers.argc = argc - 1; in output_cmd_mode()
57 config->handler_context.leftovers.argv = argv + 1; in output_cmd_mode()
/dports/x11-wm/sway/sway-1.5.1/sway/commands/seat/
H A Dxcursor_theme.c12 if (!config->handler_context.seat_config) { in seat_cmd_xcursor_theme()
28 free(config->handler_context.seat_config->xcursor_theme.name); in seat_cmd_xcursor_theme()
29 config->handler_context.seat_config->xcursor_theme.name = strdup(theme_name); in seat_cmd_xcursor_theme()
30 config->handler_context.seat_config->xcursor_theme.size = size; in seat_cmd_xcursor_theme()
/dports/mail/dovecot/dovecot-2.3.17/src/lib/
H A Dioloop-epoll.c26 ioloop->handler_context = ctx = i_new(struct ioloop_handler_context, 1); in io_loop_handler_init()
45 struct ioloop_handler_context *ctx = ioloop->handler_context; in io_loop_handler_deinit()
55 array_free(&ioloop->handler_context->fd_index); in io_loop_handler_deinit()
56 array_free(&ioloop->handler_context->events); in io_loop_handler_deinit()
57 i_free(ioloop->handler_context); in io_loop_handler_deinit()
88 struct ioloop_handler_context *ctx = io->io.ioloop->handler_context; in io_loop_handle_add()
129 struct ioloop_handler_context *ctx = io->io.ioloop->handler_context; in io_loop_handle_remove()
166 struct ioloop_handler_context *ctx = ioloop->handler_context; in io_loop_handler_run_internal()
H A Dioloop-kqueue.c42 ioloop->handler_context = ctx = i_new(struct ioloop_handler_context, 1); in io_loop_handler_init()
53 if (close(ioloop->handler_context->kq) < 0) in io_loop_handler_deinit()
55 array_free(&ioloop->handler_context->events); in io_loop_handler_deinit()
56 i_free(ioloop->handler_context); in io_loop_handler_deinit()
61 struct ioloop_handler_context *ctx = io->io.ioloop->handler_context; in io_loop_handle_add()
85 struct ioloop_handler_context *ctx = io->io.ioloop->handler_context; in io_loop_handle_remove()
113 struct ioloop_handler_context *ctx = ioloop->handler_context; in io_loop_handler_run_internal()

1234567891011