/freebsd/contrib/ncurses/ncurses/base/ |
H A D | lib_bkgd.c | 74 if (CharOf(CHDEREF(ch)) == L('\0')) { in wbkgrndset() 93 tmp = _nc_to_char((wint_t) CharOf(wch)); in wbkgrndset() 136 #define TraceChar(c) _tracechar(CharOf(c)) in _nc_background() 159 if (CharOf(new_bkgd) == 0) { in _nc_background() 226 SetChar2(*cp, CharOf(new_char)); in _nc_background() 235 SetChar2(*cp, CharOf(new_char)); in _nc_background()
|
H A D | lib_addch.c | 215 if (!is8bits(CharOf(CHDEREF(ch)))) { in _nc_build_wch() 226 buffer[WINDOW_EXT(win, addch_used)] = (char) CharOf(CHDEREF(ch)); in _nc_build_wch() 291 if (len == -1 && is8bits(CharOf(ch))) { in waddch_literal() 293 (NCURSES_SP_ARGx (chtype) CharOf(ch)); in waddch_literal() 321 int len = _nc_wacs_width(CharOf(ch)); in waddch_literal() 347 chars[i] = CharOf(ch); in waddch_literal() 438 chtype t = (chtype) CharOf(ch); in waddch_nosync() 463 || !_nc_is_charable(CharOf(ch)))) in waddch_nosync()
|
H A D | lib_addstr.c | 127 while (CharOf(s[result]) != L'\0') { in _nc_wchstrlen() 186 for (i = 0; i < n && CharOf(astr[i]) != L'\0' && x <= win->_maxx; ++i) { in wadd_wchnstr() 190 len = _nc_wacs_width(CharOf(astr[i])); in wadd_wchnstr()
|
H A D | lib_winch.c | 50 returnChtype((chtype) CharOf(win->_line[win->_cury].text[win->_curx]) in NCURSES_EXPORT()
|
H A D | lib_inchstr.c | 62 str[i] = (((chtype) CharOf(text[col + i]) & A_CHARTEXT) | in NCURSES_EXPORT()
|
H A D | lib_instr.c | 112 str[i++] = (char) CharOf(text[col]); in NCURSES_EXPORT()
|
H A D | lib_box.c | 55 return ((attr_t) CharOf(wch)) | AttrOf(wch); in _my_render()
|
H A D | lib_overlay.c | 192 if ((CharOf(src->_line[sy].text[sx]) != L(' ')) && in copywin()
|
/freebsd/contrib/ncurses/ncurses/tty/ |
H A D | hashmap.c | 507 CharOf(oldtext[n][0]) = CharOf(newtext[n][0]) = '.'; in main() 541 CharOf(newtext[n][0]) = '.'; in main() 546 CharOf(newtext[n][0]) = line[n + 1]; in main() 551 CharOf(oldtext[n][0]) = '.'; in main() 556 CharOf(oldtext[n][0]) = line[n + 1]; in main() 565 putchar(CharOf(oldtext[n][0])); in main() 570 putchar(CharOf(newtext[n][0])); in main()
|
H A D | tty_update.c | 243 if ((chlen = _nc_wacs_width(CharOf(CHDEREF(ch)))) <= 0) { in PutAttrChar() 258 if (is8bits(CharOf(CHDEREF(ch))) in PutAttrChar() 259 && (!is7bits(CharOf(CHDEREF(ch))) && _nc_unicode_locale()) in PutAttrChar() 260 && (isprint(CharOf(CHDEREF(ch))) in PutAttrChar() 261 || (SP_PARM->_legacy_coding > 0 && CharOf(CHDEREF(ch)) >= 160) in PutAttrChar() 262 || (SP_PARM->_legacy_coding > 1 && CharOf(CHDEREF(ch)) >= 128) in PutAttrChar() 286 c8 = CharOf(my_ch); in PutAttrChar() 295 && _nc_wacs[CharOf(my_ch)].chars[0]) { in PutAttrChar() 296 if (SP_PARM->_screen_acs_map[CharOf(my_ch)]) { in PutAttrChar() 299 my_ch = _nc_wacs[CharOf(my_ch)]; in PutAttrChar() [all …]
|
H A D | lib_mvcur.c | 684 int wanted = CharOf(WANT_CHAR(SP_PARM, to_y, from_x)); in relative_move() 716 *check.s_tail++ = (char) CharOf(WANT_CHAR(SP_PARM, to_y, in relative_move()
|
/freebsd/contrib/ncurses/ncurses/widechar/ |
H A D | lib_add_wch.c | 199 int len = _nc_wacs_width(CharOf(ch)); in wadd_wch_literal() 221 x, (int) CharOf(ch))); in wadd_wch_literal() 222 chars[i] = CharOf(ch); in wadd_wch_literal() 322 || iswprint((wint_t) CharOf(ch))) in wadd_wch_nosync() 332 switch (CharOf(ch)) { in wadd_wch_nosync()
|
H A D | lib_ins_wch.c | 52 int cells = _nc_wacs_width(CharOf(CHDEREF(wch))); in NCURSES_EXPORT() 56 code = winsch(win, (chtype) CharOf(CHDEREF(wch))); in NCURSES_EXPORT()
|
H A D | lib_wunctrl.c | 52 (unsigned) _nc_to_char((wint_t)CharOf(*wc))); in NCURSES_EXPORT()
|
/freebsd/contrib/ncurses/ncurses/trace/ |
H A D | lib_tracedmp.c | 59 if (CharOf(win->_line[i].text[j]) != L(' ') in NCURSES_EXPORT() 88 chtype test = (chtype) CharOf(win->_line[n].text[j]); in NCURSES_EXPORT()
|
H A D | visbuf.c | 185 while (CharOf(s[result]) != L'\0') { in _nc_wchstrlen() 319 CharOf(buf[j])); in _nc_viscbuf2()
|
/freebsd/contrib/ncurses/ncurses/ |
H A D | curses.priv.h | 1393 #define CharOf(c) ((c).chars[0]) macro 1429 TR_PUTC(CharOf(ch)); \ 1430 NCURSES_OUTC_FUNC (NCURSES_SP_ARGx CharOf(ch)); \ 1442 TR_PUTC(CharOf(ch)); \ 1443 NCURSES_OUTC_FUNC (NCURSES_SP_ARGx CharOf(ch)); \ 1479 _nc_is_charable(CharOf(ch))) 1483 #define CharOf(c) ChCharOf(c) macro 1504 #define ISBLANK(ch) (CharOf(ch) == ' ') 1509 #define Charable(ch) (CharOf(ch) >= ' ' && CharOf(ch) <= '~') 1514 #define CharOfD(ch) CharOf(CHDEREF(ch))
|
/freebsd/contrib/ncurses/form/ |
H A D | frm_data.c | 99 if ((chtype)CharOf(cell) != ChCharOf(pad) in Only_Padding()
|
H A D | frm_driver.c | 347 result = wcwidth(CharOf(CHDEREF(data))); in cell_width() 585 if ((unsigned long)CharOf(*p) == ChCharOf(pad) in _nc_get_fieldbuffer() 3194 if (CharOf(*bp) == 0) in Check_Field()
|
/freebsd/contrib/dialog/ |
H A D | ui_getc.c | 383 ch = (int) CharOf(last_getc_bytes[used_last_getc++]); in really_getch() 394 ch = (int) CharOf(last_getc_bytes[used_last_getc++]); in really_getch()
|
H A D | util.c | 807 switch (code = CharOf(*txt)) { in dlg_print_text() 875 thisTab = (CharOf(*txt) == TAB); in dlg_print_text() 885 int ch = CharOf(*txt++); in dlg_print_text() 895 (void) waddch(win, CharOf(*txt++) | useattr); in dlg_print_text()
|
H A D | dialog.h | 203 #define CharOf(ch) ((ch) & 0xff) macro
|
H A D | CHANGES | 2278 + undo one use of CharOf() in guage.c, an error. 2291 + apply CharOf() macro to avoid sign-extension on calls to waddch(),
|
/freebsd/contrib/ncurses/ncurses/win32con/ |
H A D | win32_driver.c | 188 ci[actual].Char.UnicodeChar = CharOf(ch); in con_write16() 193 int which = CharOf(ch); in con_write16() 196 && CharOf(_nc_wacs[which]) != 0) { in con_write16() 197 ci[actual].Char.UnicodeChar = CharOf(_nc_wacs[which]); in con_write16()
|
H A D | win_driver.c | 279 ci[actual].Char.UnicodeChar = CharOf(ch); in con_write16() 284 int which = CharOf(ch); in con_write16() 287 && CharOf(_nc_wacs[which]) != 0) { in con_write16() 288 ci[actual].Char.UnicodeChar = CharOf(_nc_wacs[which]); in con_write16()
|