Home
last modified time | relevance | path

Searched refs:cause (Results 1 – 25 of 938) sorted by relevance

12345678910>>...38

/openbsd/usr.bin/tmux/
H A Dcmd-set-option.c76 __unused char **cause) in cmd_set_option_args_parse() argument
93 char *cause; in cmd_set_option_exec() local
132 &cause); in cmd_set_option_exec()
136 cmdq_error(item, "%s", cause); in cmd_set_option_exec()
137 free(cause); in cmd_set_option_exec()
175 free(cause); in cmd_set_option_exec()
185 free(cause); in cmd_set_option_exec()
200 free(cause); in cmd_set_option_exec()
215 free(cause); in cmd_set_option_exec()
219 &cause) != 0) { in cmd_set_option_exec()
[all …]
H A Dcmd-split-window.c71 char *cause = NULL, *cp; in cmd_split_window_exec() local
97 item, &cause); in cmd_split_window_exec()
100 &cause); in cmd_split_window_exec()
101 if (cause == NULL) in cmd_split_window_exec()
104 if (cause != NULL) { in cmd_split_window_exec()
105 cmdq_error(item, "size %s", cause); in cmd_split_window_exec()
106 free(cause); in cmd_split_window_exec()
152 if ((new_wp = spawn_pane(&sc, &cause)) == NULL) { in cmd_split_window_exec()
154 free(cause); in cmd_split_window_exec()
166 cmdq_error(item, "%s", cause); in cmd_split_window_exec()
[all …]
H A Doptions.c423 int append, char **cause) in options_array_set() argument
431 if (cause != NULL) in options_array_set()
432 *cause = xstrdup("not an array"); in options_array_set()
447 if (cause != NULL) in options_array_set()
448 *cause = pr->error; in options_array_set()
493 if (cause != NULL) in options_array_set()
786 char **cause) in options_scope_from_name() argument
945 const char *value, char **cause) in options_from_string_check() argument
970 const char *value, char **cause) in options_from_string_flag() argument
994 char **cause) in options_find_choice() argument
[all …]
H A Darguments.c294 xasprintf(cause, in args_parse()
307 xasprintf(cause, in args_parse()
320 xasprintf(cause, in args_parse()
327 xasprintf(cause, in args_parse()
920 *cause = xstrdup(errstr); in args_strtonum()
924 *cause = NULL; in args_strtonum()
955 *cause = xstrdup(errstr); in args_strtonum_and_expand()
959 *cause = NULL; in args_strtonum_and_expand()
1024 *cause = NULL; in args_string_percentage()
1049 item, cause)); in args_percentage_and_expand()
[all …]
H A Dcmd-resize-window.c55 char *cause; in cmd_resize_window_exec() local
73 &cause); in cmd_resize_window_exec()
74 if (cause != NULL) { in cmd_resize_window_exec()
75 cmdq_error(item, "width %s", cause); in cmd_resize_window_exec()
76 free(cause); in cmd_resize_window_exec()
82 &cause); in cmd_resize_window_exec()
83 if (cause != NULL) { in cmd_resize_window_exec()
84 cmdq_error(item, "height %s", cause); in cmd_resize_window_exec()
85 free(cause); in cmd_resize_window_exec()
H A Dpaste.c222 if (cause != NULL) in paste_rename()
223 *cause = NULL; in paste_rename()
226 if (cause != NULL) in paste_rename()
227 *cause = xstrdup("no buffer"); in paste_rename()
231 if (cause != NULL) in paste_rename()
232 *cause = xstrdup("new name is empty"); in paste_rename()
238 if (cause != NULL) in paste_rename()
273 if (cause != NULL) in paste_set()
274 *cause = NULL; in paste_set()
286 if (cause != NULL) in paste_set()
[all …]
H A Dcmd-display-menu.c313 &cause); in cmd_display_menu_exec()
316 free(cause); in cmd_display_menu_exec()
367 &cause); in cmd_display_menu_exec()
370 free(cause); in cmd_display_menu_exec()
415 if (cause != NULL) { in cmd_display_popup_exec()
417 free(cause); in cmd_display_popup_exec()
425 if (cause != NULL) { in cmd_display_popup_exec()
427 free(cause); in cmd_display_popup_exec()
445 &cause); in cmd_display_popup_exec()
446 if (cause != NULL) { in cmd_display_popup_exec()
[all …]
H A Dcmd-display-message.c70 char *msg, *cause; in cmd_display_message_exec() local
79 switch (window_pane_start_input(wp, item, &cause)) { in cmd_display_message_exec()
81 cmdq_error(item, "%s", cause); in cmd_display_message_exec()
82 free(cause); in cmd_display_message_exec()
97 delay = args_strtonum(args, 'd', 0, UINT_MAX, &cause); in cmd_display_message_exec()
98 if (cause != NULL) { in cmd_display_message_exec()
99 cmdq_error(item, "delay %s", cause); in cmd_display_message_exec()
100 free(cause); in cmd_display_message_exec()
H A Dcmd-set-buffer.c61 char *bufdata, *cause; in cmd_set_buffer_exec() local
99 if (paste_rename(bufname, args_get(args, 'n'), &cause) != 0) { in cmd_set_buffer_exec()
100 cmdq_error(item, "%s", cause); in cmd_set_buffer_exec()
101 free(cause); in cmd_set_buffer_exec()
127 if (paste_set(bufdata, bufsize, bufname, &cause) != 0) { in cmd_set_buffer_exec()
128 cmdq_error(item, "%s", cause); in cmd_set_buffer_exec()
130 free(cause); in cmd_set_buffer_exec()
H A Dcmd-capture-pane.c115 char *cause, *buf, *line; in cmd_capture_pane_history() local
137 item, &cause); in cmd_capture_pane_history()
138 if (cause != NULL) { in cmd_capture_pane_history()
140 free(cause); in cmd_capture_pane_history()
154 item, &cause); in cmd_capture_pane_history()
155 if (cause != NULL) { in cmd_capture_pane_history()
157 free(cause); in cmd_capture_pane_history()
204 char *buf, *cause; in cmd_capture_pane_exec() local
244 if (paste_set(buf, len, bufname, &cause) != 0) { in cmd_capture_pane_exec()
245 cmdq_error(item, "%s", cause); in cmd_capture_pane_exec()
[all …]
H A Dcmd-join-pane.c74 char *cause = NULL; in cmd_join_pane_exec() local
120 item, &cause); in cmd_join_pane_exec()
123 &cause); in cmd_join_pane_exec()
124 if (cause == NULL) in cmd_join_pane_exec()
127 if (cause != NULL) { in cmd_join_pane_exec()
128 cmdq_error(item, "size %s", cause); in cmd_join_pane_exec()
129 free(cause); in cmd_join_pane_exec()
H A Dcmd-resize-pane.c61 char *cause; in cmd_resize_pane_exec() local
109 x = args_percentage(args, 'x', 0, INT_MAX, w->sx, &cause); in cmd_resize_pane_exec()
110 if (cause != NULL) { in cmd_resize_pane_exec()
111 cmdq_error(item, "width %s", cause); in cmd_resize_pane_exec()
112 free(cause); in cmd_resize_pane_exec()
118 y = args_percentage(args, 'y', 0, INT_MAX, w->sy, &cause); in cmd_resize_pane_exec()
119 if (cause != NULL) { in cmd_resize_pane_exec()
120 cmdq_error(item, "height %s", cause); in cmd_resize_pane_exec()
121 free(cause); in cmd_resize_pane_exec()
H A Dtmux.c191 make_label(const char *label, char **cause) in make_label() argument
198 *cause = NULL; in make_label()
205 xasprintf(cause, "no suitable socket path"); in make_label()
216 xasprintf(cause, "couldn't create directory %s (%s)", base, in make_label()
221 xasprintf(cause, "couldn't read directory %s (%s)", base, in make_label()
226 xasprintf(cause, "%s is not a directory", base); in make_label()
363 char *cause, **var; in main() local
534 if ((path = make_label(label, &cause)) == NULL) { in main()
535 if (cause != NULL) { in main()
536 fprintf(stderr, "%s\n", cause); in main()
[all …]
H A Dlayout-set.c190 char *cause; in layout_set_main_h() local
206 mainh = args_string_percentage(s, 0, sy, sy, &cause); in layout_set_main_h()
207 if (cause != NULL) { in layout_set_main_h()
209 free(cause); in layout_set_main_h()
222 if (cause != NULL || otherh == 0) { in layout_set_main_h()
224 free(cause); in layout_set_main_h()
288 char *cause; in layout_set_main_v() local
305 if (cause != NULL) { in layout_set_main_v()
307 free(cause); in layout_set_main_v()
320 if (cause != NULL || otherw == 0) { in layout_set_main_v()
[all …]
H A Dcmd-respawn-window.c56 char *cause = NULL; in cmd_respawn_window_exec() local
80 if (spawn_window(&sc, &cause) == NULL) { in cmd_respawn_window_exec()
81 cmdq_error(item, "respawn window failed: %s", cause); in cmd_respawn_window_exec()
82 free(cause); in cmd_respawn_window_exec()
H A Dcmd-show-options.c83 char *argument, *name = NULL, *cause; in cmd_show_options_exec() local
91 &cause); in cmd_show_options_exec()
95 cmdq_error(item, "%s", cause); in cmd_show_options_exec()
96 free(cause); in cmd_show_options_exec()
114 &cause); in cmd_show_options_exec()
118 cmdq_error(item, "%s", cause); in cmd_show_options_exec()
119 free(cause); in cmd_show_options_exec()
H A Dcmd-respawn-pane.c56 char *cause = NULL; in cmd_respawn_pane_exec() local
81 if (spawn_pane(&sc, &cause) == NULL) { in cmd_respawn_pane_exec()
82 cmdq_error(item, "respawn pane failed: %s", cause); in cmd_respawn_pane_exec()
83 free(cause); in cmd_respawn_pane_exec()
H A Dcmd-break-pane.c61 char *name, *cause, *cp; in cmd_break_pane_exec() local
78 !args_has(args, 'd'), &cause) != 0) { in cmd_break_pane_exec()
79 cmdq_error(item, "%s", cause); in cmd_break_pane_exec()
80 free(cause); in cmd_break_pane_exec()
122 wl = session_attach(dst_s, w, idx, &cause); /* can't fail */ in cmd_break_pane_exec()
H A Dcmd-move-window.c69 char *cause; in cmd_move_window_exec() local
103 if (server_link_window(src, wl, dst, idx, kflag, !dflag, &cause) != 0) { in cmd_move_window_exec()
104 cmdq_error(item, "%s", cause); in cmd_move_window_exec()
105 free(cause); in cmd_move_window_exec()
/openbsd/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.robertl/
H A Deb35.C17 string cause;
21 : cause(c) in StatusDelay()
23 set_status(cause); in StatusDelay()
28 set_status(cause); in ~StatusDelay()
H A Deb38.C16 string cause;
20 : cause(c) in StatusDelay()
22 set_status(cause); in StatusDelay()
27 set_status(cause); in ~StatusDelay()
/openbsd/gnu/llvm/libcxxabi/src/
H A Dcxa_default_handlers.cpp24 static constinit const char* cause = "uncaught"; variable
56 abort_message("terminating due to %s foreign exception", cause); in demangling_terminate_handler()
72 … abort_message("terminating due to %s exception of type %s: %s", cause, name.get(), e->what()); in demangling_terminate_handler()
77 abort_message("terminating due to %s exception of type %s", cause, name.get()); in demangling_terminate_handler()
91 cause = "unexpected"; in demangling_unexpected_handler()
/openbsd/regress/sys/netinet/ipsec/
H A Dnonxt-reflect.c44 const char *cause = NULL, *local; in main() local
73 cause = "socket"; in main()
77 cause = "bind"; in main()
86 err(1, "%s", cause); in main()
/openbsd/regress/usr.bin/nc/
H A Dclient-tcp.c97 const char *cause = NULL; in connect_socket() local
109 cause = "socket"; in connect_socket()
113 cause = "connect"; in connect_socket()
123 err(1, "%s", cause); in connect_socket()
/openbsd/regress/sys/kern/sosplice/perf/
H A Drelay.c130 const char *cause = NULL; in socket_listen() local
142 cause = "listen socket"; in socket_listen()
154 cause = "bind"; in socket_listen()
176 err(1, "%s", cause); in socket_listen()
235 const char *cause = NULL; in socket_connect() local
248 cause = "connect socket"; in socket_connect()
256 cause = "connect"; in socket_connect()
266 err(1, "%s", cause); in socket_connect()

12345678910>>...38