Home
last modified time | relevance | path

Searched refs:chtype (Results 1 – 25 of 60) sorted by relevance

123

/openbsd-src/lib/libcurses/base/
H A Dlib_box.c51 static NCURSES_INLINE chtype
52 _my_render(WINDOW *win, chtype ch) in _my_render()
67 chtype ls, chtype rs, in wborder()
68 chtype ts, chtype bs, in wborder()
69 chtype tl, chtype tr, in wborder()
70 chtype bl, chtype br) in wborder()
74 chtype wls, wrs, wts, wbs, wtl, wtr, wbl, wbr; in wborder()
H A Dlib_inchstr.c50 winchnstr(WINDOW *win, chtype *str, int n) in NCURSES_EXPORT()
64 str[i] = (((chtype) CharOf(text[col + i]) & A_CHARTEXT) | in NCURSES_EXPORT()
67 str[i] = (chtype) 0; in NCURSES_EXPORT()
H A Dlib_insch.c56 _nc_insert_ch(SCREEN *sp, WINDOW *win, chtype ch) in NCURSES_EXPORT()
108 s = NCURSES_SP_NAME(unctrl) (NCURSES_SP_ARGx (chtype) ch8); in NCURSES_EXPORT()
129 s = NCURSES_SP_NAME(unctrl) (NCURSES_SP_ARGx (chtype) ch8); in NCURSES_EXPORT()
150 winsch(WINDOW *win, chtype c) in winsch()
H A Dlib_getstr.c67 waddch(win, (chtype) ' '); in WipeOut()
128 wechochar(win, (chtype) '\n'); in wgetnstr_events()
154 if (waddch(win, (chtype) ch) == ERR) { in wgetnstr_events()
161 waddch(win, (chtype) ' '); in wgetnstr_events()
H A Dlib_winch.c47 NCURSES_EXPORT(chtype) in NCURSES_EXPORT() argument
52 returnChtype((chtype) CharOf(win->_line[win->_cury].text[win->_curx]) in NCURSES_EXPORT()
H A Dlib_slkatrset.c47 NCURSES_SP_NAME(slk_attrset) (NCURSES_SP_DCLx const chtype attr) in NCURSES_EXPORT()
60 slk_attrset(const chtype attr) in slk_attrset()
H A Dlib_slkatrof.c47 NCURSES_SP_NAME(slk_attroff) (NCURSES_SP_DCLx const chtype attr) in NCURSES_EXPORT()
65 slk_attroff(const chtype attr) in slk_attroff()
H A Dlib_slkatron.c47 NCURSES_SP_NAME(slk_attron) (NCURSES_SP_DCLx const chtype attr) in NCURSES_EXPORT()
65 slk_attron(const chtype attr) in slk_attron()
H A Dlib_bkgd.c97 win->_bkgd = (((tmp == EOF) ? ' ' : (chtype) tmp) in wbkgrndset()
99 | (chtype) ColorPair(GET_WINDOW_PAIR(win))); in wbkgrndset()
107 wbkgdset(WINDOW *win, chtype ch) in wbkgdset()
270 wbkgd(WINDOW *win, chtype ch) in wbkgd()
H A Dlib_addstr.c85 waddchnstr(WINDOW *win, const chtype *astr, int n) in waddchnstr()
100 const chtype *str; in waddchnstr()
102 for (str = (const chtype *) astr; *str != 0; str++) in waddchnstr()
/openbsd-src/gnu/usr.bin/binutils/gdb/tui/
H A Dtui-win.h42 extern chtype tui_border_ulcorner;
43 extern chtype tui_border_urcorner;
44 extern chtype tui_border_lrcorner;
45 extern chtype tui_border_llcorner;
46 extern chtype tui_border_vline;
47 extern chtype tui_border_hline;
/openbsd-src/lib/libcurses/tinfo/
H A Dlib_acs.c49 NCURSES_EXPORT(chtype *) in NCURSES_EXPORT() argument
53 MyBuffer = typeCalloc(chtype, ACS_LEN); in NCURSES_EXPORT()
58 NCURSES_EXPORT_VAR (chtype) acs_map[ACS_LEN] =
65 NCURSES_EXPORT(chtype)
68 chtype *map; in NCURSES_SP_NAME()
70 return (chtype) 0; in NCURSES_SP_NAME()
85 chtype *fake_map = acs_map; in NCURSES_SP_NAME()
86 chtype *real_map = SP_PARM != 0 ? SP_PARM->_acs_map : fake_map; in NCURSES_SP_NAME()
99 fake_map[j] = A_ALTCHARSET | (chtype) j; in NCURSES_SP_NAME()
194 real_map[i] = (chtype) i; in NCURSES_SP_NAME()
/openbsd-src/gnu/gcc/gcc/
H A Dsys-protos.h135 extern int box32(WINDOW *, chtype, chtype);
342 extern chtype field_back(FIELD *);
345 extern chtype field_fore(FIELD *);
420 extern chtype getattrs(WINDOW *);
423 extern chtype getbkgd(WINDOW *);
701 extern chtype menu_back(MENU *);
703 extern chtype menu_fore(MENU *);
705 extern chtype menu_grey(MENU *);
803 extern int p32echochar(WINDOW *, chtype);
928 extern int set_field_back(FIELD *, chtype);
[all …]
/openbsd-src/gnu/usr.bin/gcc/gcc/
H A Dsys-protos.h135 extern int box32(WINDOW *, chtype, chtype);
342 extern chtype field_back(FIELD *);
345 extern chtype field_fore(FIELD *);
420 extern chtype getattrs(WINDOW *);
423 extern chtype getbkgd(WINDOW *);
701 extern chtype menu_back(MENU *);
703 extern chtype menu_fore(MENU *);
705 extern chtype menu_grey(MENU *);
803 extern int p32echochar(WINDOW *, chtype);
928 extern int set_field_back(FIELD *, chtype);
[all …]
/openbsd-src/lib/libcurses/
H A Dcurses.h224 typedef unsigned chtype; typedef
227 typedef uint32_t chtype; typedef
343 NCURSES_WRAPPED_VAR(chtype*, acs_map);
346 extern NCURSES_EXPORT_VAR(chtype) acs_map[];
446 typedef chtype attr_t; /* ...must be at least as wide as chtype */
505 chtype _bkgd; /* current background char/attribute pair */
608 extern NCURSES_EXPORT(int) addch (const chtype); /* generated */
609 extern NCURSES_EXPORT(int) addchnstr (const chtype *, int); /* generated */
610 extern NCURSES_EXPORT(int) addchstr (const chtype *); /* generated */
622 extern NCURSES_EXPORT(int) bkgd (chtype); /* generated */
[all …]
H A Dunctrl.h60 NCURSES_EXPORT(NCURSES_CONST char *) unctrl (chtype);
63 NCURSES_EXPORT(NCURSES_CONST char *) NCURSES_SP_NAME(unctrl) (SCREEN*, chtype);
H A Dcurses.priv.h1063 chtype _ok_attributes; /* valid attributes for terminal */
1064 chtype _xmc_suppress; /* attributes to suppress if xmc */
1065 chtype _xmc_triggers; /* attributes to process if xmc */
1066 chtype * _acs_map; /* the real alternate-charset map */
1361 #define ChCharOf(c) ((chtype)(c) & (chtype)A_CHARTEXT)
1362 #define ChAttrOf(c) ((chtype)(c) & (chtype)A_ATTRIBUTES)
1688 #define returnChtype(code) TRACE_RETURN(code,chtype)
1710 extern NCURSES_EXPORT(chtype) _nc_retrace_chtype (chtype);
1711 extern NCURSES_EXPORT(const char *) _nc_altcharset_name(attr_t, chtype);
1803 #define ALL_BUT_COLOR ((chtype)~(A_COLOR))
[all …]
/openbsd-src/lib/libmenu/
H A Dmenu.h140 chtype fore; /* Selection attribute */
141 chtype back; /* Nonselection attribute */
142 chtype grey; /* Inactive attribute */
225 extern MENU_EXPORT(chtype) menu_back(const MENU *);
226 extern MENU_EXPORT(chtype) menu_fore(const MENU *);
227 extern MENU_EXPORT(chtype) menu_grey(const MENU *);
248 extern MENU_EXPORT(int) set_menu_back(MENU *, chtype);
249 extern MENU_EXPORT(int) set_menu_fore(MENU *, chtype);
251 extern MENU_EXPORT(int) set_menu_grey(MENU *, chtype);
H A Dm_attribs.c55 MENU_EXPORT(int) NCURSES_API set_menu_ ## name (MENU* menu, chtype attr) \
71 MENU_EXPORT(chtype) NCURSES_API menu_ ## name (const MENU * menu)\
/openbsd-src/lib/libcurses/tty/
H A Dlib_vidattr.c113 chtype newmode, in NCURSES_EXPORT()
142 static const chtype table[] = in NCURSES_EXPORT()
163 chtype retain = 0; in NCURSES_EXPORT()
351 vidputs(chtype newmode, NCURSES_OUTC outc) in vidputs()
361 NCURSES_SP_NAME(vidattr) (NCURSES_SP_DCLx chtype newmode) in NCURSES_SP_NAME()
371 vidattr(chtype newmode) in vidattr()
377 NCURSES_EXPORT(chtype)
380 chtype attrs = A_NORMAL; in NCURSES_SP_NAME()
430 NCURSES_EXPORT(chtype)
H A Dtty_display.h99 chtype _xmc_suppress; /* attributes to suppress if xmc */
100 chtype _xmc_triggers; /* attributes to process if xmc */
/openbsd-src/usr.bin/openssl/
H A Dreq.c105 int attribs, unsigned long chtype);
106 static int build_subject(X509_REQ * req, char *subj, unsigned long chtype,
111 unsigned long chtype);
114 unsigned long chtype);
117 int n_max, unsigned long chtype);
119 int nid, int n_min, int n_max, unsigned long chtype, int mval);
136 unsigned long chtype; member
285 cfg.chtype = MBSTRING_UTF8; in req_opt_utf8()
573 cfg.chtype = MBSTRING_ASC; in req_main()
709 if (cfg.chtype != MBSTRING_UTF8) { in req_main()
[all …]
/openbsd-src/lib/libform/
H A Dform.h106 chtype fore; /* foreground attribute */
107 chtype back; /* background attribute */
371 extern FORM_EXPORT(int) set_field_fore (FIELD *,chtype);
372 extern FORM_EXPORT(int) set_field_back (FIELD *,chtype);
382 extern FORM_EXPORT(chtype) field_fore (const FIELD *);
383 extern FORM_EXPORT(chtype) field_back (const FIELD *);
H A Dfld_attr.c44 FORM_IMPEXP int NCURSES_API set_field_ ## name (FIELD * field, chtype attr)\
69 FORM_IMPEXP chtype NCURSES_API field_ ## name (const FIELD * field)\
/openbsd-src/lib/libcurses/widechar/
H A Dlib_get_wstr.c80 waddch(win, (chtype) ' '); in WipeOut()
155 wechochar(win, (chtype) '\n'); in wgetn_wstr()
183 waddch(win, (chtype) ' '); in wgetn_wstr()

123