Home
last modified time | relevance | path

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

12345678910>>...38

/openbsd-src/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()
173 if (options_remove_or_default(po, idx, &cause) != 0) { in cmd_set_option_exec()
174 cmdq_error(item, "%s", cause); in cmd_set_option_exec()
175 free(cause); in cmd_set_option_exec()
183 if (options_remove_or_default(o, idx, &cause) != 0) { in cmd_set_option_exec()
184 cmdq_error(item, "%s", cause); 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()
153 cmdq_error(item, "create pane failed: %s", cause); in cmd_split_window_exec()
154 free(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()
481 xasprintf(cause, "bad colour: %s", value); in options_array_set()
493 if (cause != NULL) in options_array_set()
494 *cause = xstrdup("wrong array type"); in options_array_set()
499 options_array_assign(struct options_entry *o, const char *s, char **cause) in options_array_assign() argument
515 return (options_array_set(o, i, s, 0, cause)); in options_array_assign()
786 options_scope_from_name(struct args * args,int window,const char * name,struct cmd_find_state * fs,struct options ** oo,char ** cause) options_scope_from_name() argument
856 options_scope_from_flags(struct args * args,int window,struct cmd_find_state * fs,struct options ** oo,char ** cause) options_scope_from_flags() argument
945 options_from_string_check(const struct options_table_entry * oe,const char * value,char ** cause) options_from_string_check() argument
970 options_from_string_flag(struct options * oo,const char * name,const char * value,char ** cause) options_from_string_flag() argument
994 options_find_choice(const struct options_table_entry * oe,const char * value,char ** cause) options_find_choice() argument
1013 options_from_string_choice(const struct options_table_entry * oe,struct options * oo,const char * name,const char * value,char ** cause) options_from_string_choice() argument
1032 options_from_string(struct options * oo,const struct options_table_entry * oe,const char * name,const char * value,int append,char ** cause) options_from_string() argument
1171 options_remove_or_default(struct options_entry * o,int idx,char ** cause) options_remove_or_default() argument
[all...]
H A Darguments.c147 args_parse_flag_argument(struct args_value *values, u_int count, char **cause, in args_parse_flag_argument() argument
166 xasprintf(cause, "-%c argument must be a string", flag); in args_parse_flag_argument()
180 xasprintf(cause, "-%c expects an argument", flag); in args_parse_flag_argument()
196 u_int count, char **cause, struct args *args, u_int *i) in args_parse_flags() argument
222 xasprintf(cause, "invalid flag -%c", flag); in args_parse_flags()
228 xasprintf(cause, "unknown flag -%c", flag); in args_parse_flags()
237 return (args_parse_flag_argument(values, count, cause, args, i, in args_parse_flags()
245 u_int count, char **cause) in args_parse() argument
259 stop = args_parse_flags(parse, values, count, cause, args, &i); in args_parse()
277 type = parse->cb(args, args->count, cause); in args_parse()
[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.c218 paste_rename(const char *oldname, const char *newname, char **cause) in paste_rename() argument
222 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()
239 xasprintf(cause, "no buffer %s", oldname); in paste_rename()
271 paste_set(char *data, size_t size, const char *name, char **cause) in paste_set()
269 paste_set(char * data,size_t size,const char * name,char ** cause) paste_set() argument
[all...]
H A Dcmd-display-menu.c72 cmd_display_menu_args_parse(struct args *args, u_int idx, __unused char **cause) in cmd_display_menu_args_parse() argument
298 char *title, *cause; in cmd_display_menu_exec() local
313 &cause); in cmd_display_menu_exec()
314 if (cause != NULL) { in cmd_display_menu_exec()
315 cmdq_error(item, "starting choice %s", cause); in cmd_display_menu_exec()
316 free(cause); in cmd_display_menu_exec()
367 &cause); in cmd_display_menu_exec()
369 cmdq_error(item, "menu-border-lines %s", cause); in cmd_display_menu_exec()
370 free(cause); in cmd_display_menu_exec()
396 char *cwd, *cause in cmd_display_popup_exec() local
[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()
230 xasprintf(cause, "directory %s has unsafe permissions", base); in make_label()
363 char *cause, **var; in main() local
534 if ((path = make_label(label, &cause)) == NULL) { in main()
535 if (cause ! in main()
[all...]
H A Dlayout-set.c198 char *cause; in layout_set_main_h()
214 mainh = args_string_percentage(s, 0, sy, sy, &cause); in layout_set_main_h()
215 if (cause != NULL) { in layout_set_main_h()
217 free(cause); in layout_set_main_h()
229 otherh = args_string_percentage(s, 0, sy, sy, &cause); in layout_set_main_h()
230 if (cause != NULL || otherh == 0) { in layout_set_main_h()
232 free(cause); in layout_set_main_h()
296 char *cause; in layout_set_main_v()
312 mainh = args_string_percentage(s, 0, sy, sy, &cause); in layout_set_main_v()
313 if (cause ! in layout_set_main_v()
190 char *cause; layout_set_main_h() local
288 char *cause; layout_set_main_v() local
[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()
/openbsd-src/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-src/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-src/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()
H A Dnonxt-sendrecv.c45 const char *cause = NULL, *local, *remote; in main() local
78 cause = "socket"; in main()
82 cause = "connect"; in main()
91 err(1, "%s", cause); in main()
/openbsd-src/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-src/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