Home
last modified time | relevance | path

Searched refs:msgq (Results 1 – 25 of 71) sorted by relevance

123

/openbsd-src/usr.bin/vi/vi/
H A Dv_util.c48 msgq(sp, M_BERR, "Movement past the end-of-file"); in v_eof()
71 msgq(sp, M_BERR, "Movement past the end-of-line"); in v_eol()
84 msgq(sp, M_BERR, "No cursor movement made"); in v_nomove()
97 msgq(sp, M_BERR, "Already at the beginning of the file"); in v_sof()
99 msgq(sp, M_BERR, "Movement past the beginning of the file"); in v_sof()
111 msgq(sp, M_BERR, "Already in the first column"); in v_sol()
140 msgq(sp, M_ERR, in v_emsg()
144 msgq(sp, M_BERR, "The file is empty"); in v_emsg()
147 msgq(sp, M_BERR, "Already at end-of-file"); in v_emsg()
150 msgq(sp, M_BERR, "Already at end-of-line"); in v_emsg()
[all …]
H A Dvi.c239 msgq(sp, M_ERR, in vi()
355 msgq(sp, M_BERR, in vi()
366 msgq(sp, M_ERR, in vi()
369 msgq(sp, M_ERR, "Interrupted"); in vi()
528 msgq(sp, M_ERR, "Only one buffer may be specified"); in v_cmd()
602 msgq(sp, M_ERR, "No command to repeat"); in v_cmd()
685 msgq(sp, M_ERR, "%s may not be used as a motion command", in v_cmd()
702 msgq(sp, M_BERR, "Already in command mode"); in v_cmd()
961 msgq(sp, M_INFO, in v_init()
1027 msgq(sp, M_INFO, in v_dtoh()
[all …]
H A Dv_screen.c41 msgq(sp, M_ERR, in v_screen()
53 msgq(sp, M_ERR, "No other screen to switch to"); in v_screen()
/openbsd-src/usr.bin/vi/ex/
H A Dex_util.c127 msgq(sp, M_ERR, in ex_ncheck()
171 msgq(sp, M_ERR, "Buffer %s is empty", p); in ex_emsg()
178 msgq(sp, M_ERR, in ex_emsg()
182 msgq(sp, M_ERR, in ex_emsg()
188 msgq(sp, M_ERR, in ex_emsg()
191 msgq(sp, M_ERR, in ex_emsg()
195 msgq(sp, M_ERR, "No previous buffer to execute"); in ex_emsg()
198 msgq(sp, M_ERR, "No previous regular expression"); in ex_emsg()
201 msgq(sp, M_ERR, "This screen may not be suspended"); in ex_emsg()
204 msgq(sp, M_ERR, in ex_emsg()
[all …]
H A Dex_filter.c84 msgq(sp, M_SYSERR, in ex_filter()
93 msgq(sp, M_SYSERR, "unlink"); in ex_filter()
95 msgq(sp, M_SYSERR, "fdopen"); in ex_filter()
100 msgq(sp, M_SYSERR, "dup"); in ex_filter()
111 msgq(sp, M_SYSERR, "lseek"); in ex_filter()
115 msgq(sp, M_SYSERR, "pipe"); in ex_filter()
121 msgq(sp, M_SYSERR, "pipe"); in ex_filter()
125 msgq(sp, M_SYSERR, "fdopen"); in ex_filter()
132 msgq(sp, M_SYSERR, "vfork"); in ex_filter()
245 msgq(sp, M_SYSERR, "fork"); in ex_filter()
[all …]
H A Dex_script.c60 msgq(sp, M_ERR, in ex_script()
102 msgq(sp, M_SYSERR, "tcgetattr"); in sscr_init()
113 msgq(sp, M_SYSERR, "tcgetattr"); in sscr_init()
119 msgq(sp, M_SYSERR, "pty"); in sscr_init()
130 msgq(sp, M_SYSERR, "fork"); in sscr_init()
205 msgq(sp, M_SYSERR, "poll"); in sscr_getprompt()
208 msgq(sp, M_ERR, "Error: timed out"); in sscr_getprompt()
218 msgq(sp, M_ERR, "Error: shell: EOF"); in sscr_getprompt()
221 msgq(sp, M_SYSERR, "shell"); in sscr_getprompt()
248 msgq(sp, M_SYSERR, "poll"); in sscr_getprompt()
[all …]
H A Dex_abbrev.c43 msgq(sp, M_INFO, "No abbreviations to display"); in ex_abbr()
65 msgq(sp, M_ERR, in ex_abbr()
71 msgq(sp, M_ERR, in ex_abbr()
79 msgq(sp, M_ERR, in ex_abbr()
H A Dex_init.c60 msgq(sp, M_SYSERR, NULL); in ex_screen_copy()
382 msgq(sp, M_ERR, in exrc_isok()
387 msgq(sp, M_ERR, in exrc_isok()
391 msgq(sp, M_ERR, in exrc_isok()
400 msgq(sp, M_ERR, in exrc_isok()
404 msgq(sp, M_ERR, in exrc_isok()
408 msgq(sp, M_ERR, in exrc_isok()
H A Dex_shell.c114 msgq(sp, M_SYSERR, "vfork"); in ex_exec_proc()
156 msgq(sp, M_SYSERR, "waitpid"); in proc_wait()
170 msgq(sp, M_ERR, "%.*s%s: received signal: %s%s", in proc_wait()
192 msgq(sp, M_ERR, "%.*s%s: exited with status %d", in proc_wait()
H A Dex_argv.c311 msgq(sp, M_ERR, in argv_fexp()
325 msgq(sp, M_ERR, in argv_fexp()
340 msgq(sp, M_ERR, in argv_fexp()
433 mem: msgq(sp, M_SYSERR, NULL); in argv_alloc()
551 msgq(sp, M_ERR, "Shell expansion failed"); in argv_lexp()
585 msgq(sp, M_ERR, in argv_sexp()
614 msgq(sp, M_SYSERR, "pipe"); in argv_sexp()
618 msgq(sp, M_SYSERR, "fdopen"); in argv_sexp()
628 msgq(sp, M_SYSERR, "vfork"); in argv_sexp()
710 msgq(sp, M_ERR, "Shell expansion failed"); in argv_sexp()
H A Dex.c65 while ((mp = LIST_FIRST(&gp->msgq)) != NULL) { in ex()
133 msgq(sp, M_ERR, "Interrupted"); in ex()
392 msgq(sp, M_ERR, "Unknown command name"); in ex_cmd()
575 msgq(sp, M_ERR, in ex_cmd()
1065 msgq(sp, M_ERR, "Count may not be zero"); in ex_cmd()
1200 msgq(sp, M_ERR, in ex_cmd()
1218 usage: msgq(sp, M_ERR, "Usage: %s", ecp->cmd->usage); in ex_cmd()
1381 msgq(sp, M_ERR, "%s: temporary buffer not released", in ex_cmd()
1413 msgq(sp, M_ERR, in ex_cmd()
1423 msgq(sp, M_ERR, in ex_cmd()
[all …]
H A Dex_open.c35 msgq(sp, M_ERR, in ex_open()
40 msgq(sp, M_ERR, "The open command is not yet implemented"); in ex_open()
/openbsd-src/usr.bin/vi/common/
H A Drecover.c141 msgq(sp, M_SYSERR, "%s", dp); in rcv_tmp()
150 msgq(sp, M_ERR, in rcv_tmp()
161 msgq(sp, M_SYSERR, NULL); in rcv_tmp()
163 err: msgq(sp, M_ERR, in rcv_tmp()
226 err: msgq(sp, M_ERR, in rcv_init()
332 msgq(sp, M_ERR, in rcv_mailfile()
353 msgq(sp, M_SYSERR, "Unable to lock recovery file"); in rcv_mailfile()
358 msgq(sp, M_SYSERR, NULL); in rcv_mailfile()
402 lerr: msgq(sp, M_ERR, "Recovery file buffer overrun"); in rcv_mailfile()
443 werr: msgq(sp, M_SYSERR, "Recovery file"); in rcv_mailfile()
[all …]
H A Doptions_f.c48 msgq(sp, M_ERR, "Screen columns too small, less than %d", in f_columns()
63 msgq(sp, M_ERR, "Screen columns too large, greater than %d", in f_columns()
78 msgq(sp, M_ERR, "Screen lines too small, less than %d", in f_lines()
93 msgq(sp, M_ERR, "Screen lines too large, greater than %d", in f_lines()
130 msgq(sp, M_ERR, in f_paragraph()
202 msgq(sp, M_ERR, in f_section()
216 msgq(sp, M_ERR, "pledge failed"); in f_secure()
H A Dmem.h117 msgq((sp), M_SYSERR, NULL); \
125 msgq((sp), M_SYSERR, NULL); \
132 msgq((sp), M_SYSERR, NULL); \
140 msgq((sp), M_SYSERR, NULL); \
148 msgq((sp), M_SYSERR, NULL); \
157 msgq((sp), M_SYSERR, NULL); \
H A Dkey.c142 msgq(sp, M_ERR, "No non-printable character found"); in v_key_init()
737 msgq(sp, M_ERR, "Unexpected character event"); in v_event_err()
740 msgq(sp, M_ERR, "Unexpected end-of-file event"); in v_event_err()
743 msgq(sp, M_ERR, "Unexpected interrupt event"); in v_event_err()
746 msgq(sp, M_ERR, "Unexpected quit event"); in v_event_err()
749 msgq(sp, M_ERR, "Unexpected repaint event"); in v_event_err()
752 msgq(sp, M_ERR, "Unexpected string event"); in v_event_err()
755 msgq(sp, M_ERR, "Unexpected timeout event"); in v_event_err()
758 msgq(sp, M_ERR, "Unexpected resize event"); in v_event_err()
761 msgq(sp, M_ERR, "Unexpected write event"); in v_event_err()
H A Dsearch.c428 msgq(sp, M_ERR, "File empty; nothing to search"); in search_msg()
431 msgq(sp, M_ERR, in search_msg()
435 msgq(sp, M_ERR, "No previous search pattern"); in search_msg()
438 msgq(sp, M_ERR, "Pattern not found"); in search_msg()
441 msgq(sp, M_ERR, in search_msg()
445 msgq(sp, M_ERR, "Search wrapped"); in search_msg()
H A Dexf.c100 msgq(sp, M_SYSERR, NULL); in file_add()
195 msgq(sp, M_SYSERR, in file_init()
211 msgq(sp, M_SYSERR, NULL); in file_init()
255 msgq(sp, M_SYSERR, NULL); in file_init()
684 msgq(sp, M_SYSERR, "close"); in file_end()
760 msgq(sp, M_ERR, LF_ISSET(FS_POSSIBLE) ? in file_write()
783 msgq(sp, M_ERR, LF_ISSET(FS_POSSIBLE) ? in file_write()
957 msgq(sp, M_INFO, "%s", s); in file_write()
1228 msgq(sp, M_ERR, LF_ISSET(FS_POSSIBLE) ? in file_m1()
1261 msgq(sp, M_ERR, in file_m2()
[all …]
H A Dlog.c102 msgq(sp, M_SYSERR, "Log file"); in log_init()
358 msgq(sp, M_ERR, in log_backward()
364 msgq(sp, M_BERR, "No changes to undo"); in log_backward()
461 msgq(sp, M_ERR, in log_setline()
548 msgq(sp, M_ERR, in log_forward()
554 msgq(sp, M_BERR, "No changes to re-do"); in log_forward()
637 msgq(sp, M_SYSERR, "%s/%d: log put error", basename(file), line); in log_err()
641 msgq(sp, M_ERR, "Log restarted"); in log_err()
H A Dmark.c116 msgq(sp, mtype, "Mark %s: not set", KEY_NAME(sp, key)); in mark_get()
120 msgq(sp, mtype, in mark_get()
131 msgq(sp, mtype, in mark_get()
/openbsd-src/usr.sbin/rpki-client/
H A Drsync.c229 struct msgbuf *msgq; in proc_rsync() local
237 if ((msgq = msgbuf_new_reader(sizeof(size_t), io_parse_hdr, NULL)) == in proc_rsync()
298 if (msgbuf_queuelen(msgq) > 0) in proc_rsync()
347 io_close_buffer(msgq, b); in proc_rsync()
359 if (msgbuf_write(fd, msgq) == -1) { in proc_rsync()
374 switch (ibuf_read(fd, msgq)) { in proc_rsync()
381 while ((b = io_buf_get(msgq)) != NULL) { in proc_rsync()
414 msgbuf_free(msgq);
H A Drrdp.c39 static struct msgbuf *msgq; variable
101 io_close_buffer(msgq, b); in rrdp_done()
123 io_close_buffer(msgq, b); in rrdp_http_req()
139 io_close_buffer(msgq, b); in rrdp_state_send()
154 io_close_buffer(msgq, b); in rrdp_clear_repo()
177 io_close_buffer(msgq, b); in rrdp_publish_file()
540 if ((msgq = msgbuf_new_reader(sizeof(size_t), io_parse_hdr, NULL)) == in proc_rrdp()
583 if (msgbuf_queuelen(msgq) > 0) in proc_rrdp()
595 if (msgbuf_write(fd, msgq) == -1) { in proc_rrdp()
603 switch (msgbuf_read(fd, msgq)) { in proc_rrdp()
[all...]
H A Dfilemode.c678 parse_file(struct entityq *q, struct msgbuf *msgq) in parse_file()
711 io_close_buffer(msgq, b); in proc_filemode()
728 struct msgbuf *msgq; in proc_filemode()
751 if ((msgq = msgbuf_new_reader(sizeof(size_t), io_parse_hdr, NULL)) == in proc_filemode()
758 if (msgbuf_queuelen(msgq) > 0) in proc_filemode()
775 switch (ibuf_read(fd, msgq)) { in proc_filemode()
781 while ((b = io_buf_get(msgq)) != NULL) { in proc_filemode()
792 if (msgbuf_write(fd, msgq) == -1) {
800 parse_file(&q, msgq);
803 msgbuf_free(msgq);
657 parse_file(struct entityq * q,struct msgbuf * msgq) parse_file() argument
706 struct msgbuf msgq; proc_filemode() local
[all...]
/openbsd-src/usr.bin/vi/cl/
H A Dcl_term.c260 msgq(sp, M_SYSERR, "stderr"); in cl_omesg()
265 msgq(sp, M_SYSERR, "%s", tty); in cl_omesg()
278 msgq(sp, M_SYSERR, in cl_omesg()
285 msgq(sp, M_SYSERR, in cl_omesg()
373 msgq(sp, M_SYSERR, "tigetnum: lines"); in cl_ssize()
379 msgq(sp, M_SYSERR, "tigetnum: cols"); in cl_ssize()
H A Dcl_screen.c193 msgq(sp, M_ERR, in cl_vi_init()
240 msgq(sp, M_SYSERR, "%s", ttype); in cl_vi_init()
242 msgq(sp, M_ERR, "%s: unknown terminal type", ttype); in cl_vi_init()
325 msgq(sp, M_SYSERR, "tcgetattr"); in cl_vi_init()
356 msgq(sp, M_SYSERR, "tcsetattr"); in cl_vi_init()
465 msgq(sp, M_SYSERR, "tcsetattr"); in cl_ex_init()

123