Home
last modified time | relevance | path

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

12345

/freebsd/contrib/ncurses/ncurses/base/
H A Dlib_box.c49 static NCURSES_INLINE chtype
50 _my_render(WINDOW *win, chtype ch) in _my_render()
65 chtype ls, chtype rs, in wborder()
66 chtype ts, chtype bs, in wborder()
67 chtype tl, chtype tr, in wborder()
68 chtype bl, chtype br) in wborder()
72 chtype wls, wrs, wts, wbs, wtl, wtr, wbl, wbr; in wborder()
H A Dlib_inchstr.c48 winchnstr(WINDOW *win, chtype *str, int n) in NCURSES_EXPORT()
62 str[i] = (((chtype) CharOf(text[col + i]) & A_CHARTEXT) | in NCURSES_EXPORT()
65 str[i] = (chtype) 0; in NCURSES_EXPORT()
H A Dlib_insch.c54 _nc_insert_ch(SCREEN *sp, WINDOW *win, chtype ch) in NCURSES_EXPORT()
106 s = NCURSES_SP_NAME(unctrl) (NCURSES_SP_ARGx (chtype) ch8); in NCURSES_EXPORT()
127 s = NCURSES_SP_NAME(unctrl) (NCURSES_SP_ARGx (chtype) ch8); in NCURSES_EXPORT()
148 winsch(WINDOW *win, chtype c) in winsch()
H A Dlib_getstr.c65 waddch(win, (chtype) ' '); in WipeOut()
126 wechochar(win, (chtype) '\n'); in wgetnstr_events()
152 if (waddch(win, (chtype) ch) == ERR) { in wgetnstr_events()
159 waddch(win, (chtype) ' '); in wgetnstr_events()
/freebsd/contrib/ncurses/ncurses/tinfo/
H A Dlib_acs.c47 NCURSES_EXPORT(chtype *) in NCURSES_EXPORT() argument
51 MyBuffer = typeCalloc(chtype, ACS_LEN); in NCURSES_EXPORT()
56 NCURSES_EXPORT_VAR (chtype) acs_map[ACS_LEN] =
63 NCURSES_EXPORT(chtype)
66 chtype *map; in NCURSES_SP_NAME()
68 return (chtype) 0; in NCURSES_SP_NAME()
83 chtype *fake_map = acs_map; in NCURSES_SP_NAME()
84 chtype *real_map = SP_PARM != 0 ? SP_PARM->_acs_map : fake_map; in NCURSES_SP_NAME()
97 fake_map[j] = A_ALTCHARSET | (chtype) j; in NCURSES_SP_NAME()
192 real_map[i] = (chtype) i; in NCURSES_SP_NAME()
/freebsd/contrib/dialog/
H A Darrows.c44 static chtype
45 merge_colors(chtype foreground, chtype background) in merge_colors()
47 chtype result = foreground; in merge_colors()
78 chtype attr = A_NORMAL; in dlg_draw_helpline()
105 chtype attr, in dlg_draw_arrows2()
106 chtype borderattr) in dlg_draw_arrows2()
108 chtype save = dlg_get_attrs(win); in dlg_draw_arrows2()
166 chtype attr, in dlg_draw_scrollbar()
167 chtype borderattr) in dlg_draw_scrollbar()
171 chtype save = dlg_get_attrs(win); in dlg_draw_scrollbar()
H A Ddialog.h610 #define chtype long macro
629 chtype atr; /* attribute corresponding to fg, bg, etc */
717 …/, int /*bottom_arrow*/, int /*x*/, int /*top*/, int /*bottom*/, chtype /*attr*/, chtype /*bordera…
719 …/, int /* left */, int /* right */, int /*top*/, int /*bottom*/, chtype /*attr*/, chtype /*bordera…
773 extern void dlg_show_string(WINDOW * /*win*/, const char * /*string*/, int /*offset*/, chtype /*att…
816 extern chtype dlg_asciibox(chtype /*ch*/);
817 extern chtype dlg_boxchar(chtype /*ch*/);
818 extern chtype dlg_get_attrs(WINDOW * /*win*/);
820 extern const char * dlg_print_line(WINDOW * /*win*/, chtype * /*attr*/, const char * /*prompt*/, in…
842 extern void dlg_attr_clear(WINDOW * /*win*/, int /*height*/, int /*width*/, chtype /*attr*/);
[all …]
H A Dutil.c219 chtype attr = A_NORMAL; in dlg_put_backtitle()
241 dlg_attr_clear(WINDOW *win, int height, int width, chtype attr) in dlg_attr_clear()
534 chtype atr = dlg_color_pair(dlg_color_table[i].fg, in dlg_color_setup()
561 chtype
564 chtype result; in dlg_get_attrs()
566 result = (chtype) getattrs(win); in dlg_get_attrs()
581 chtype
584 chtype result = 0; in dlg_color_pair()
593 result = (chtype) COLOR_PAIR(pair); in dlg_color_pair()
601 result = (chtype) COLOR_PAIR(pair); in dlg_color_pair()
[all …]
H A Dmixedgauge.c126 chtype attr = A_NORMAL; in myprint_status()
165 chtype ch1 = winch(win); in myprint_status()
188 chtype boxchar, chtype borderchar) in mydraw_mixed_box()
192 chtype attr = A_NORMAL; in mydraw_mixed_box()
194 chtype save2 = dlg_get_attrs(win); in mydraw_mixed_box()
247 chtype ch = winch(dlg->dialog); in dlg_update_mixedgauge()
/freebsd/contrib/ncurses/menu/
H A Dmenu.h139 chtype fore; /* Selection attribute */
140 chtype back; /* Nonselection attribute */
141 chtype grey; /* Inactive attribute */
224 extern MENU_EXPORT(chtype) menu_back(const MENU *);
225 extern MENU_EXPORT(chtype) menu_fore(const MENU *);
226 extern MENU_EXPORT(chtype) menu_grey(const MENU *);
247 extern MENU_EXPORT(int) set_menu_back(MENU *, chtype);
248 extern MENU_EXPORT(int) set_menu_fore(MENU *, chtype);
250 extern MENU_EXPORT(int) set_menu_grey(MENU *, chtype);
H A Dllib-lmenut42 chtype attr)
46 chtype menu_fore(
48 { return(*(chtype *)0); }
53 chtype attr)
57 chtype menu_back(
59 { return(*(chtype *)0); }
64 chtype attr)
68 chtype menu_grey(
70 { return(*(chtype *)0); }
H A Dllib-lmenutw42 chtype attr)
46 chtype menu_fore(
48 { return(*(chtype *)0); }
53 chtype attr)
57 chtype menu_back(
59 { return(*(chtype *)0); }
64 chtype attr)
68 chtype menu_grey(
70 { return(*(chtype *)0); }
H A Dllib-lmenuw42 chtype attr)
46 chtype menu_fore(
48 { return(*(chtype *)0); }
53 chtype attr)
57 chtype menu_back(
59 { return(*(chtype *)0); }
64 chtype attr)
68 chtype menu_grey(
70 { return(*(chtype *)0); }
/freebsd/contrib/ncurses/ncurses/
H A Dllib-lncursest100 chtype _nc_render(
102 chtype ch)
103 { return(*(chtype *)0); }
108 const chtype c)
114 const chtype ch)
120 const chtype ch)
135 const chtype *astr,
155 chtype ch)
161 chtype ch)
169 chtype ls,
[all …]
H A Dllib-lncurses100 chtype _nc_render(
102 chtype ch)
103 { return(*(chtype *)0); }
108 const chtype c)
114 const chtype ch)
120 const chtype ch)
135 const chtype *astr,
155 chtype ch)
161 chtype ch)
169 chtype ls,
[all …]
H A Dllib-lncursestw120 const chtype ch)
126 const chtype ch)
141 const chtype *astr,
186 chtype ch)
198 chtype ch)
206 chtype ls,
207 chtype rs,
208 chtype ts,
209 chtype bs,
210 chtype tl,
[all …]
H A Dllib-lncursesw120 const chtype ch)
126 const chtype ch)
141 const chtype *astr,
186 chtype ch)
198 chtype ch)
206 chtype ls,
207 chtype rs,
208 chtype ts,
209 chtype bs,
210 chtype tl,
[all …]
/freebsd/contrib/ncurses/ncurses/tty/
H A Dlib_vidattr.c111 chtype newmode, in NCURSES_EXPORT()
140 static const chtype table[] = in NCURSES_EXPORT()
161 chtype retain = 0; in NCURSES_EXPORT()
349 vidputs(chtype newmode, NCURSES_OUTC outc) in vidputs()
359 NCURSES_SP_NAME(vidattr) (NCURSES_SP_DCLx chtype newmode) in NCURSES_SP_NAME()
369 vidattr(chtype newmode) in vidattr()
375 NCURSES_EXPORT(chtype)
378 chtype attrs = A_NORMAL; in NCURSES_SP_NAME()
428 NCURSES_EXPORT(chtype)
/freebsd/contrib/netbsd-tests/lib/libcurses/slave/
H A Dcommands.c187 report_byte(chtype c) in report_byte()
189 chtype string[2]; in report_byte()
200 report_nstr(chtype *string) in report_nstr()
203 chtype *p; in report_nstr()
213 len *= sizeof(chtype); in report_nstr()
H A Dcurses_commands.c72 chtype *ch; in cmd_addch()
77 ch = (chtype *) args[0]; in cmd_addch()
98 report_return(addchnstr((chtype *) args[0], count)); in cmd_addchnstr()
109 report_return(addchstr((chtype *) args[0])); in cmd_addchstr()
287 chtype *ch; in cmd_bkgd()
292 ch = (chtype *) args[0]; in cmd_bkgd()
301 chtype *ch; in cmd_bkgdset()
306 ch = (chtype *) args[0]; in cmd_bkgdset()
536 chtype *string; in cmd_inchnstr()
547 if ((string = malloc((limit + 1) * sizeof(chtype))) == NULL) { in cmd_inchnstr()
[all …]
H A Dslave.h43 void report_byte(chtype);
45 void report_nstr(chtype *);
/freebsd/contrib/ncurses/include/
H A Dcurses.h.in236 typedef unsigned chtype; typedef
239 typedef @cf_cv_typeof_chtype@ chtype; typedef
355 NCURSES_WRAPPED_VAR(chtype*, acs_map);
358 extern NCURSES_EXPORT_VAR(chtype) acs_map[];
458 typedef chtype attr_t; /* ...must be at least as wide as chtype */
517 chtype _bkgd; /* current background char/attribute pair */
620 extern NCURSES_EXPORT(int) addch (const chtype); /* generated */
621 extern NCURSES_EXPORT(int) addchnstr (const chtype *, int); /* generated */
622 extern NCURSES_EXPORT(int) addchstr (const chtype *); /* generated */
634 extern NCURSES_EXPORT(int) bkgd (chtype); /* generated */
[all …]
/freebsd/crypto/openssl/apps/
H A Dreq.c51 int mutlirdn, int attribs, unsigned long chtype);
55 int attribs, unsigned long chtype);
58 unsigned long chtype);
61 unsigned long chtype);
64 unsigned long chtype, int mval);
266 unsigned long chtype = MBSTRING_ASC, reqflag = 0; in req_main() local
392 chtype = MBSTRING_UTF8; in req_main()
602 if (chtype != MBSTRING_UTF8) { in req_main()
607 chtype = MBSTRING_UTF8; in req_main()
746 && (fsubj = parse_name(subj, chtype, multird in req_main()
1069 make_REQ(X509_REQ * req,EVP_PKEY * pkey,X509_NAME * fsubj,int multirdn,int attribs,unsigned long chtype) make_REQ() argument
1129 prompt_info(X509_REQ * req,STACK_OF (CONF_VALUE)* dn_sk,const char * dn_sect,STACK_OF (CONF_VALUE)* attr_sk,const char * attr_sect,int attribs,unsigned long chtype) prompt_info() argument
1295 auto_info(X509_REQ * req,STACK_OF (CONF_VALUE)* dn_sk,STACK_OF (CONF_VALUE)* attr_sk,int attribs,unsigned long chtype) auto_info() argument
1362 add_DN_object(X509_NAME * n,char * text,const char * def,char * value,int nid,int n_min,int n_max,unsigned long chtype,int mval) add_DN_object() argument
1382 add_attribute_object(X509_REQ * req,char * text,const char * def,char * value,int nid,int n_min,int n_max,unsigned long chtype) add_attribute_object() argument
[all...]
/freebsd/contrib/ncurses/ncurses/trace/
H A Dlib_traceatr.c87 _traceattr2(int bufnum, chtype newmode) in _traceattr2()
204 _nc_altcharset_name(attr_t attr, chtype ch) in _nc_altcharset_name()
283 _tracechtype2(int bufnum, chtype ch) in _tracechtype2()
312 _tracechtype(chtype ch) in _tracechtype()
318 NCURSES_EXPORT(chtype)
319 _nc_retrace_chtype(chtype code) in _nc_retrace_chtype()
337 if ((found = _nc_altcharset_name(attr, (chtype) CharOfD(ch))) != 0) { in _tracecchar_t2()
/freebsd/contrib/ncurses/form/
H A Dform.h105 chtype fore; /* foreground attribute */
106 chtype back; /* background attribute */
370 extern FORM_EXPORT(int) set_field_fore (FIELD *,chtype);
371 extern FORM_EXPORT(int) set_field_back (FIELD *,chtype);
381 extern FORM_EXPORT(chtype) field_fore (const FIELD *);
382 extern FORM_EXPORT(chtype) field_back (const FIELD *);

12345