/illumos-gate/usr/src/lib/libxcurses2/h/ |
H A D | curses.h | 58 #define ERR EOF macro 734 #define mvaddch(y, x, ch) (move(y, x) ? ((ch), ERR) : addch(ch)) 736 (wmove(__w1 = (w), y, x) ? ((ch), ERR) : waddch(__w1, ch)) 739 #define mvadd_wch(y, x, cp) (move(y, x) ? ((cp), ERR) : add_wch(cp)) 741 (wmove(__w1 = (w), y, x) ? ((cp), ERR) : wadd_wch(__w1, cp)) 746 (move(y, x) ? ((chs), (n), ERR) : addchnstr(chs, n)) 749 (move(y, x) ? ((chs), ERR) : addchstr(chs)) 752 (wmove(__w1 = (w), y, x) ? ((chs), (n), ERR) :\ 756 (wmove(__w1 = (w), y, x) ? ((chs), ERR) : waddchstr(__w1, chs)) 763 (move(y, x) ? ((cp), (n), ERR) : add_wchnstr(cp, n)) [all …]
|
/illumos-gate/usr/src/lib/libxcurses/h/ |
H A D | curses.h | 62 #define ERR EOF macro 833 #define mvaddch(y,x,ch) (move(y,x)?ERR:addch(ch)) 834 #define mvwaddch(w,y,x,ch) (wmove(w,y,x)?ERR:waddch(w,ch)) 837 #define mvadd_wch(y,x,cp) (move(y,x)?ERR:add_wch(cp)) 838 #define mvwadd_wch(w,y,x,cp) (wmove(w,y,x)?ERR:wadd_wch(w,cp)) 842 #define mvaddchnstr(y,x,chs,n) (move(y,x)?ERR:addchnstr(chs,n)) 843 #define mvaddchstr(y,x,chs) (move(y,x)?ERR:addchstr(chs)) 844 #define mvwaddchnstr(w,y,x,chs,n) (wmove(w,y,x)?ERR:waddchnstr(w,chs,n)) 845 #define mvwaddchstr(w,y,x,chs) (wmove(w,y,x)?ERR:waddchstr(w,chs)) 850 #define mvadd_wchnstr(y,x,cp,n) (move(y,x)?ERR:add_wchnstr(cp,n)) [all …]
|
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | innstr.c | 96 return ((code == ERR) ? ERR : OK); in instr() 109 return ((code == ERR) ? ERR : OK); in mvinstr() 122 return ((code == ERR) ? ERR : OK); in mvwinstr() 134 return ((code == ERR) ? ERR : OK); in winstr()
|
H A D | innwstr.c | 96 return ((code == ERR) ? ERR : OK); in inwstr() 109 return ((code == ERR) ? ERR : OK); in mvinwstr() 122 return ((code == ERR) ? ERR : OK); in mvwinwstr() 134 return ((code == ERR) ? ERR : OK); in winwstr()
|
H A D | scr_dump.c | 59 code = ERR; in scr_dump() 77 return (ERR); in scr_replace() 83 return (ERR); in scr_replace() 87 return (ERR); in scr_replace() 159 code = ERR; in scr_init() 162 code = ERR; in scr_init()
|
H A D | wadd_wch.c | 57 if (code == ERR) { in __m_wadd_wch() 81 code = ERR; in wadd_wch() 90 if (__m_cc_add(w, y, x, cc, 0, &y, &x) == ERR) in wadd_wch() 97 if (__m_cc_add(w, y, x, cc, 0, &y, &x) == ERR) { in wadd_wch() 115 if (__m_cc_add(w, y, x, &uc, 0, &y, &x) == ERR) in wadd_wch()
|
H A D | wgetch.c | 196 return ((errno) ? ERR : OK); in __m_read_input_char() 230 return (ERR); in __m_typeahead_read_input_char() 320 return (ERR); in __m_echo() 351 if (__m_read_input_char(&ch) == ERR) { in wgetch() 353 return (ERR); in wgetch() 363 return (ERR); in wgetch() 431 if (__m_read_input_char(&ch) == ERR) in wgetch() 432 return (ERR); in wgetch()
|
H A D | wgetn_ws.c | 93 { ERR, 0, fld_insert } 130 return (ERR); in __m_wgetn_wstr() 140 return (ERR); in __m_wgetn_wstr() 171 if ((type = wget_wch(fld_window, &fld_key)) == ERR) in __m_wgetn_wstr() 174 for (k = key_table; k->type != ERR; ++k) { in __m_wgetn_wstr() 196 return ((type == ERR) ? ERR : OK); in __m_wgetn_wstr()
|
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | slk.c | 44 int code = ERR; in slk_init() 61 int code = ERR; in slk_attron() 76 int code = ERR; in slk_attroff() 91 int code = ERR; in slk_attrset() 106 int code = ERR; in slk_attr_off() 121 int code = ERR; in slk_attr_on() 136 int code = ERR; in slk_attr_set() 151 int code = ERR; in slk_color() 166 int code = ERR; in slk_touch() 181 int code = ERR; in slk_clear() [all …]
|
H A D | color.c | 48 int code = ERR; in start_color() 80 return __m_return_code("start_color", ERR); in start_color() 86 int code = ERR; in init_color() 122 int code = ERR; in init_pair() 166 return __m_return_code("color_content", ERR); in color_content() 186 return __m_return_code("pair_content", ERR); in pair_content()
|
H A D | scr_dump.c | 59 code = ERR; 79 return ERR; 85 return ERR; 89 return ERR; 168 code = ERR;
|
/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | wgetwch.c | 48 if ((c = wgetch(win)) == ERR) in wgetwch() 49 return (ERR); in wgetwch() 59 if ((c = wgetch(win)) == ERR) in wgetwch() 60 return (ERR); in wgetwch() 62 return (ERR); in wgetwch() 69 return (ERR); in wgetwch()
|
H A D | tgetwch.c | 52 if ((c = (int)tgetch(cntl)) == ERR) in tgetwch() 53 return (ERR); in tgetwch() 61 if ((c = (int)tgetch(cntl)) == ERR) in tgetwch() 62 return (ERR); in tgetwch() 64 return (ERR); in tgetwch()
|
H A D | waddch.c | 72 if (_scrmax > 1 && _mbvalid(win) == ERR) in waddch() 105 if (waddch(win, space) == ERR) in waddch() 110 '^'|rawattrs) == ERR) || in waddch() 112 _UNCTRL(rawc)|rawattrs) == ERR)) { in waddch() 114 rv = ERR; in waddch() 131 (rv = _mbclrch(win, y, x)) == ERR) { in waddch() 154 if (wscrl(win, 1) == ERR) { in waddch() 155 rv = ERR; in waddch()
|
H A D | mouse.c | 54 return (ERR); in mouse_set() 67 return (ERR); in mouse_on() 80 return (ERR); in mouse_off() 106 return (ERR); in request_mouse_pos() 109 return (ERR); in request_mouse_pos()
|
H A D | mbaddch.c | 56 return (ERR); in _mbclrch() 61 return (ERR); in _mbclrch() 116 return (ERR); in _mbvalid() 128 return (ERR); in _mbvalid() 199 (win->_insmode || waddch(win, '\n') == ERR)) in _mbaddch() 208 if (_mbinsshift(win, len) == ERR) in _mbaddch() 214 _mbclrch(win, y, x + m) == ERR) in _mbaddch() 249 if (wscrl(win, 1) == ERR) in _mbaddch()
|
H A D | curses.ed | 133 #if !defined(ERR) || ((ERR) != -1) 134 #define ERR (-1) 967 #define syncok(win, bf) ((win)->_parent ? (win)->_sync = (bf) : ERR) 977 ((((line) >= (win)->_maxy) || ((line) < 0)) ? ERR : \ 1110 (wmove(win, y, x) == ERR ? ERR : waddch(win, ch)) 1112 (wmove(win, y, x) == ERR ? ERR : waddnstr(win, s, n)) 1114 (wmove(win, y, x) == ERR ? ERR : waddstr(win, str)) 1116 (wmove(win, y, x) == ERR ? ERR : wdelch(win)) 1118 (wmove(win, y, x) == ERR ? ERR : wgetch(win)) 1120 (wmove(win, y, x) == ERR ? ERR : wgetstr(win, str)) [all …]
|
/illumos-gate/usr/src/ucbhead/ |
H A D | curses.h | 37 #define ERR (0) macro 127 #define mvwaddch(win, y, x, ch) VOID(wmove(win, y, x) == ERR ? \ 128 ERR:waddch(win, ch)) 129 #define mvwgetch(win, y, x) VOID(wmove(win, y, x) == ERR?ERR:wgetch(win)) 130 #define mvwaddstr(win, y, x, str) VOID(wmove(win, y, x) == ERR? \ 131 ERR:waddstr(win, str)) 132 #define mvwgetstr(win, y, x, str) VOID(wmove(win, y, x) == ERR? \ 133 ERR:wgetstr(win, str)) 134 #define mvwinch(win, y, x) VOID(wmove(win, y, x) == ERR ? ERR : winch(win)) 135 #define mvwdelch(win, y, x) VOID(wmove(win, y, x) == ERR ? \ [all …]
|
/illumos-gate/usr/src/cmd/krb5/kadmin/dbutil/ |
H A D | kadm5_create.c | 66 #define ERR 1 macro 93 exit(ERR); in kadm5_create() 277 return ERR; in add_admin_princ() 293 return ERR; in add_admin_princ() 314 return ERR; in add_admin_princ() 328 return ERR; in add_admin_princ() 339 return ERR; in add_admin_princ() 359 return ERR; in add_admin_princ() 369 return ERR; in add_admin_princ() 390 return (ERR); in add_admin_old_princ() [all …]
|
/illumos-gate/usr/src/lib/libeti/panel/common/ |
H A D | move.c | 44 return (ERR); in move_panel() 49 if (mvwin(panel -> win, starty, startx) == ERR) in move_panel() 50 return (ERR); in move_panel() 59 mvwin(panel -> win, starty, startx) == ERR) in move_panel() 60 return (ERR); in move_panel()
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/support/ |
H A D | fake-addrinfo.c | 167 #define GET_HOST_BY_NAME(NAME, HP, ERR, TMP) \ argument 168 { TMP = gethostbyname (NAME); (ERR) = h_errno; (HP) = TMP; } 169 #define GET_HOST_BY_ADDR(ADDR, ADDRLEN, FAMILY, HP, ERR, TMP) \ argument 170 { TMP = gethostbyaddr ((ADDR), (ADDRLEN), (FAMILY)); (ERR) = h_errno; (HP) = TMP; } 177 #define GET_HOST_BY_NAME(NAME, HP, ERR, TMP) \ argument 182 (ERR) = h_errno; \ 202 #define GET_HOST_BY_NAME(NAME, HP, ERR, TMP) \ argument 212 (ERR) = my_h_err; \ 214 #define GET_HOST_BY_ADDR(ADDR, ADDRLEN, FAMILY, HP, ERR, TMP) \ argument 224 (ERR) = my_h_err; \ [all …]
|
/illumos-gate/usr/src/cmd/acct/ |
H A D | accton.c | 60 if (setuid(ROOT) == ERR) { in main() 83 if ((fd = open(admfile, O_RDONLY|O_CREAT, 0644)) == ERR) { in ckfile() 87 if (fstat(fd, s) == ERR) { in ckfile() 93 if (fchown(fd, admuid, (gid_t)admuid) == ERR) { in ckfile() 99 if (fchmod(fd, S_IRUSR|S_IWUSR|S_IRGRP|S_IWUSR|S_IROTH) == ERR) { in ckfile()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/ |
H A D | secure.c | 103 #define ERR -2 macro 141 return (ERR); in secure_determine_constants() 256 return (ERR); in secure_putbuf() 269 return (ERR); in secure_putbuf() 299 return (ERR); in secure_getbyte() 304 return (ERR); in secure_getbyte() 311 return (ERR); in secure_getbyte() 331 return (ERR); in secure_getbyte() 377 case ERR: in secure_read()
|
/illumos-gate/usr/src/psm/stand/cpr/sparcv9/sun4u/ |
H A D | pages.c | 164 return (ERR); in kdata_cksum() 204 return (ERR); in restore_page_group() 210 return (ERR); in restore_page_group() 219 return (ERR); in restore_page_group() 294 return (ERR); in cb_restore_kpages() 297 return (ERR); in cb_restore_kpages() 334 return (ERR); in cb_restore_kpages() 356 return (ERR); in cb_terminator()
|
H A D | bitmap.c | 253 return ((caddr_t)ERR); in map_free_phys() 285 return (ERR); in cb_set_bitmap() 301 return (ERR); in cb_set_bitmap() 321 return (ERR); in cb_set_bitmap() 359 return (ERR); in cb_get_newstack() 390 return (ERR); in cb_tracking_setup() 440 return (ERR); in cb_get_physavail() 446 return (ERR); in cb_get_physavail() 463 return (ERR); in cb_get_physavail() 473 return (ERR); in cb_get_physavail() [all …]
|