Home
last modified time | relevance | path

Searched refs:ERR (Results 1 – 25 of 255) sorted by relevance

1234567891011

/freebsd/bin/ed/
H A Dmain.c168 status = ERR; in main()
191 status = ERR; in main()
260 return (addr == ERR) ? ERR : 0; in extract_addr_range()
269 return ERR; \
316 return ERR; in next_addr()
324 return ERR; in next_addr()
343 return ERR; in next_addr()
359 return ERR; \
362 return ERR; \
365 return ERR; \
[all …]
H A Dglbl.c48 return ERR; in build_active_list()
50 return ERR; in build_active_list()
57 return ERR; in build_active_list()
62 return ERR; in build_active_list()
86 return ERR; in exec_global()
89 return ERR; in exec_global()
94 return ERR; in exec_global()
98 return ERR; in exec_global()
103 return ERR; in exec_global()
106 return ERR; in exec_global()
[all …]
H A Dsub.c49 return ERR; in extract_subst_tail()
127 return ERR; in search_and_replace()
131 return ERR; in search_and_replace()
138 return ERR; in search_and_replace()
144 return ERR; in search_and_replace()
155 return ERR; in search_and_replace()
158 return ERR; in search_and_replace()
177 return ERR; in substitute_matching_text()
186 REALLOC(rbuf, rbufsz, off + i, ERR); in substitute_matching_text()
193 return ERR; in substitute_matching_text()
[all …]
H A Dio.c43 return ERR; in read_file()
54 return ERR; in read_file()
81 return ERR; in read_stream()
89 return ERR; in read_stream()
94 return ERR; in read_stream()
118 REALLOC(sbuf, sbufsz, i + 1, ERR); in get_stream_line()
122 REALLOC(sbuf, sbufsz, i + 2, ERR); in get_stream_line()
128 return ERR; in get_stream_line()
150 return ERR; in write_file()
161 return ERR; in write_file()
[all …]
/freebsd/contrib/ncurses/ncurses/base/
H A Dlib_scanw.c50 int code = ERR; in NCURSES_EXPORT()
52 if (wgetnstr(win, buf, (int) sizeof(buf) - 1) != ERR) { in NCURSES_EXPORT()
54 code = ERR; in NCURSES_EXPORT()
65 int code = ERR; in vw_scanw()
67 if (wgetnstr(win, buf, (int) sizeof(buf) - 1) != ERR) { in vw_scanw()
69 code = ERR; in vw_scanw()
111 code = (move(y, x) == OK) ? vw_scanw(stdscr, fmt, ap) : ERR; in mvscanw()
123 code = (wmove(win, y, x) == OK) ? vw_scanw(win, fmt, ap) : ERR; in mvwscanw()
H A Dlib_mvwin.c58 returnCode(ERR); in NCURSES_EXPORT()
67 int err = ERR; in NCURSES_EXPORT()
91 if (err != ERR) { in NCURSES_EXPORT()
94 if (ERR != err) in NCURSES_EXPORT()
97 if (ERR == delwin(clone)) in NCURSES_EXPORT()
98 err = ERR; in NCURSES_EXPORT()
110 returnCode(ERR); in NCURSES_EXPORT()
H A Dlib_redrawln.c56 returnCode(ERR); in NCURSES_EXPORT()
63 if (touchline(win, beg, num) == ERR) in NCURSES_EXPORT()
64 returnCode(ERR); in NCURSES_EXPORT()
66 if (touchline(CurScreen(sp), beg + win->_begy, num) == ERR) in NCURSES_EXPORT()
67 returnCode(ERR); in NCURSES_EXPORT()
H A Dlib_getch.c75 code = ERR; in NCURSES_SP_NAME()
81 code = ERR; in NCURSES_SP_NAME()
97 code = ERR; in set_escdelay()
210 int ch = (peek >= 0) ? sp->_fifo[peek] : ERR; in fifo_peek()
220 int ch = (head >= 0) ? sp->_fifo[head] : ERR; in fifo_pull()
249 return ERR; in fifo_push()
349 ch = ERR; in fifo_push()
437 rc = ERR; in recur_wgetnstr()
461 returnCode(ERR); in _nc_wgetch()
492 if (rc != KEY_EVENT && rc != ERR) in _nc_wgetch()
[all …]
H A Dlib_addch.c114 return(ERR); \
154 return (ERR); in wrap_to_next_line()
175 if (waddch_literal(win, blank) == ERR) in fill_cells()
361 return ERR; in waddch_literal()
366 if (wrap_to_next_line(win) == ERR) in waddch_literal()
367 return ERR; in waddch_literal()
494 if (waddch_literal(win, blank) == ERR) in waddch_nosync()
495 return (ERR); in waddch_nosync()
518 return (ERR); in waddch_nosync()
536 if (waddch_literal(win, sch) == ERR) in waddch_nosync()
[all …]
H A Dlib_addstr.c54 int code = ERR; in NCURSES_EXPORT()
73 if (_nc_waddch_nosync(win, ch) == ERR) { in NCURSES_EXPORT()
74 code = ERR; in NCURSES_EXPORT()
95 returnCode(ERR); in waddchnstr()
150 returnCode(ERR); in wadd_wchnstr()
229 int code = ERR; in waddnwstr()
248 if (wadd_wch(win, &ch) == ERR) { in waddnwstr()
249 code = ERR; in waddnwstr()
/freebsd/contrib/netbsd-tests/net/net/
H A Dt_pktinfo.c48 #define ERR(msg) err(EXIT_FAILURE, msg) macro
53 #define ERR(msg) ATF_REQUIRE_MSG(0, "%s: %s", msg, strerror(errno)) macro
64 ERR("socket"); in server()
73 ERR("bind"); in server()
76 ERR("getsockname"); in server()
80 ERR("setsockopt"); in server()
82 ERR("setsockopt"); in server()
92 ERR("socket"); in client()
95 ERR("sendto"); in client()
121 ERR("recvmsg"); in receive()
/freebsd/contrib/ofed/libibcm/
H A Dcm.c64 static inline int ERR(int err) in ERR() function
78 return ERR(ENOMEM); \
87 return ERR(ENOMEM); \
98 return ERR(ENOMEM); \
258 return ERR(ENOMEM); in ib_cm_create_id()
291 return (result >= 0) ? ERR(ENODATA) : -1; in ib_cm_destroy_id()
315 return ERR(EINVAL); in ib_cm_attr_id()
322 return (result >= 0) ? ERR(ENODATA) : -1; in ib_cm_attr_id()
344 return ERR(EINVAL); in ib_cm_init_qp_attr()
352 return (result >= 0) ? ERR(ENODATA) : result; in ib_cm_init_qp_attr()
[all …]
/freebsd/contrib/ncurses/ncurses/widechar/
H A Dlib_add_wch.c111 return(ERR); \
147 return (ERR); in wrap_to_next_line()
167 if (wadd_wch_literal(win, blank) == ERR) in fill_cells()
236 return ERR; in wadd_wch_literal()
241 if (wrap_to_next_line(win) == ERR) in wadd_wch_literal()
242 return ERR; in wadd_wch_literal()
349 if (wadd_wch_literal(win, blank) == ERR) in wadd_wch_nosync()
350 return (ERR); in wadd_wch_nosync()
373 return (ERR); in wadd_wch_nosync()
392 if (wadd_wch_literal(win, sch) == ERR) in wadd_wch_nosync()
[all …]
H A Dlib_get_wch.c74 if (code == ERR) { in NCURSES_EXPORT()
86 code = ERR; in NCURSES_EXPORT()
91 code = ERR; in NCURSES_EXPORT()
103 code = ERR; /* the two calls should match */ in NCURSES_EXPORT()
112 code = ERR; in NCURSES_EXPORT()
H A Dlib_inwstr.c61 while (count < n && !done && count != ERR) { in NCURSES_EXPORT()
73 count = ERR; /* error if we store nothing */ in NCURSES_EXPORT()
108 result = ERR; in winwstr()
110 CCHARW_MAX * (win->_maxx - win->_curx + 1)) == ERR) { in winwstr()
111 result = ERR; in winwstr()
/freebsd/contrib/ncurses/ncurses/tinfo/
H A Dlib_ttyflags.c54 result = ERR; in NCURSES_EXPORT()
61 result = ERR; in NCURSES_EXPORT()
68 result = ERR; in NCURSES_EXPORT()
78 if (result == ERR && buf != 0) in NCURSES_EXPORT()
98 result = ERR; in NCURSES_SP_NAME()
103 result = ERR; in NCURSES_SP_NAME()
118 result = ERR; in NCURSES_SP_NAME()
142 int rc = ERR; in NCURSES_SP_NAME()
183 int rc = ERR; in NCURSES_SP_NAME()
221 int rc = ERR; in NCURSES_SP_NAME()
[all …]
H A Dlib_options.c55 int res = ERR; in NCURSES_EXPORT()
92 returnCode(ERR); in NCURSES_SP_NAME()
119 returnCode(ERR); in nodelay()
131 returnCode(ERR); in notimeout()
154 returnCode(ERR); in keypad()
160 int result = ERR; in meta()
195 int code = ERR; in NCURSES_SP_NAME()
222 code = ERR; in NCURSES_SP_NAME()
225 if (code != ERR) in NCURSES_SP_NAME()
249 returnCode(ERR); in NCURSES_SP_NAME()
[all …]
H A Dlib_kernel.c87 int result = ERR; in NCURSES_SP_NAME()
96 result = ERR; in NCURSES_SP_NAME()
98 result = ERR; in NCURSES_SP_NAME()
124 int result = ERR; in NCURSES_SP_NAME()
133 result = ERR; in NCURSES_SP_NAME()
135 result = ERR; in NCURSES_SP_NAME()
192 returnCode(ERR); in NCURSES_SP_NAME()
/freebsd/contrib/bmake/unit-tests/
H A Dcond-op.mk70 .undef ERR
72 .if 0 ${ERR::=evaluated}
75 .if ${ERR:Uundefined} == undefined
80 .undef ERR
82 .if 1 ${ERR::=evaluated}
85 .if ${ERR:Uundefined} == undefined
H A Ddeptgt-end-fail.mk16 .for all in ok ERR
17 . for all-dep in ok ERR
18 . for end in ok ERR
19 . for end-dep in ok ERR
42 CMD.ERR= false
/freebsd/contrib/ncurses/include/
H A Dcurses.wide266 …getbkgrnd(win,wch) (NCURSES_OK_ADDR(wch) ? ((win) ? (*(wch) = (win)->_bkgrnd) : *(wch), OK) : ERR)
288 #define mvwadd_wch(win,y,x,c) (wmove(win,(y),(x)) == ERR ? ERR : wadd_wch((win),(c)))
289 #define mvwadd_wchnstr(win,y,x,s,n) (wmove(win,(y),(x)) == ERR ? ERR : wadd_wchnstr((win),(s),(n)))
290 #define mvwadd_wchstr(win,y,x,s) (wmove(win,(y),(x)) == ERR ? ERR : wadd_wchstr((win),(s)))
291 #define mvwaddnwstr(win,y,x,wstr,n) (wmove(win,(y),(x)) == ERR ? ERR : waddnwstr((win),(wstr),(n)))
292 #define mvwaddwstr(win,y,x,wstr) (wmove(win,(y),(x)) == ERR ? ERR : waddwstr((win),(wstr)))
293 #define mvwget_wch(win,y,x,c) (wmove(win,(y),(x)) == ERR ? ERR : wget_wch((win),(c)))
294 #define mvwget_wstr(win,y,x,t) (wmove(win,(y),(x)) == ERR ? ERR : wget_wstr((win),(t)))
295 #define mvwgetn_wstr(win,y,x,t,n) (wmove(win,(y),(x)) == ERR ? ERR : wgetn_wstr((win),(t),(n)))
296 #define mvwhline_set(win,y,x,c,n) (wmove(win,(y),(x)) == ERR ? ERR : whline_set((win),(c),(n)))
[all …]
/freebsd/sys/dev/ena/
H A Dena.c234 ena_log(pdev, ERR, "bus_dma_tag_create failed: %d\n", error); in ena_dma_alloc()
240 ena_log(pdev, ERR, "bus_dma_tag_set_domain failed: %d\n", in ena_dma_alloc()
248 ena_log(pdev, ERR, "bus_dmamem_alloc(%ju) failed: %d\n", in ena_dma_alloc()
257 ena_log(pdev, ERR, "bus_dmamap_load failed: %d\n", error); in ena_dma_alloc()
334 ena_log(pdev, ERR, "Invalid MTU setting. new_mtu: %d max mtu: %d min mtu: %d\n", in ena_change_mtu()
344 ena_log(pdev, ERR, "Failed to set MTU to %d\n", new_mtu); in ena_change_mtu()
577 ena_log(adapter->pdev, ERR, in validate_tx_req_id()
689 ena_log(pdev, ERR, in ena_setup_tx_resources()
701 ena_log(pdev, ERR, in ena_setup_tx_resources()
716 ena_log(pdev, ERR, in ena_setup_tx_resources()
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_events/
H A Dzpool_events_duplicates.ksh78 ERR=$1
81 log_note "Testing $ERR $RW ereports"
95 if [ "$ERR" == "corrupt" ] ; then
109 log_must zinject -d $VDEV1 -e $ERR -T $RW -f 100 $POOL
121 log_note "$actual total $ERR $RW ereports where $unique were unique"
124 log_note "UNEXPECTED -- $((actual-unique)) duplicate $ERR $RW ereports"
/freebsd/contrib/ofed/librdmacm/
H A Dcma.c210 ret = ERR(ENODEV); in ucma_init()
215 ret = ERR(ENODEV); in ucma_init()
221 ret = ERR(ENOMEM); in ucma_init()
275 return ERR(ENODEV); in ucma_init_device()
279 ret = ERR(ret); in ucma_init_device()
285 ret = ERR(ENOMEM); in ucma_init_device()
396 return ERR(ENODEV); in ucma_get_device()
406 ret = ERR(ENOMEM); in ucma_get_device()
531 return ERR(ENOMEM); in rdma_create_id2()
575 return (ret >= 0) ? ERR(ENODATA) : -1; in ucma_destroy_kern_id()
[all …]
/freebsd/contrib/dialog/
H A Dui_getc.c139 int state = ERR; in handle_inputs()
146 if (state == ERR) { in handle_inputs()
160 if (state != ERR) in handle_inputs()
272 static int last_getc = ERR;
285 return ERR; /* not really an error... */ in dlg_last_getc()
293 last_getc = ERR; in dlg_flush_getc()
367 ch = ERR; in really_getch()
386 case ERR: in really_getch()
387 ch = ERR; in really_getch()
388 last_getc = ERR; in really_getch()
[all …]

1234567891011