Searched defs:?* (Results 176 - 200 of 45685) sorted by relevance

1234567891011>>

/freebsd-11-stable/contrib/ncurses/ncurses/base/
H A Dlib_inchstr.c47 winchnstr(WINDOW *win, chtype *str, int n) argument
49 int i = 0; local
[all...]
H A Dlib_initscr.c51 initscr(void) function
53 WINDOW *result; local
55 NCURSES_CONST char *name; local
79 FILE *fp = fopen("/dev/tty", "w"); local
82 dup2(fileno(fp), STDOUT_FILENO); local
[all...]
H A Dlib_insch.c53 _nc_insert_ch(SCREEN *sp, WINDOW *win, chtype ch) argument
55 int code = OK; local
56 int ch8 = (int) ChCharOf(ch); local
57 NCURSES_CH_T wch; local
58 int count; local
59 NCURSES_CONST char *s; local
60 int tabsize = ( local
90 struct ldat *line = &(win->_line[win->_cury]); local
91 NCURSES_CH_T *end = &(line->text[win->_curx]); local
92 NCURSES_CH_T *temp1 = &(line->text[win->_maxx]); local
93 NCURSES_CH_T *temp2 = temp1 - 1; local
146 winsch(WINDOW *win, chtype c) argument
148 NCURSES_SIZE_T oy; local
149 NCURSES_SIZE_T ox; local
150 int code = ERR; local
[all...]
H A Dlib_insdel.c48 winsdelln(WINDOW *win, int n) argument
50 int code = ERR; local
[all...]
H A Dlib_insnstr.c46 winsnstr(WINDOW *win, const char *s, int n) argument
48 int code = ERR; local
49 NCURSES_SIZE_T oy; local
50 NCURSES_SIZE_T ox; local
51 const unsigned char *str = (const unsigned char *) s; local
52 const unsigned char *cp; local
57 SCREEN *sp = _nc_screen_of(win); local
[all...]
H A Dlib_instr.c47 winnstr(WINDOW *win, char *str, int n) argument
49 int i = 0, row, col; local
64 cchar_t *cell = &(win->_line[row].text[col]); local
65 wchar_t *wch; local
66 attr_t attrs; local
67 NCURSES_PAIRS_T pair; local
68 int n2; local
69 bool done = FALSE; local
70 mbstate_t state; local
71 size_t i3, n3; local
72 char *tmp; local
83 size_t need = n3 + 10 + (size_t) i; local
84 int have = (int) n3 + i; local
[all...]
H A Dlib_isendwin.c47 NCURSES_EXPORT(bool) function
56 NCURSES_EXPORT(bool) function
[all...]
H A Dlib_leaveok.c46 leaveok(WINDOW *win, bool flag) argument
[all...]
H A Dlib_mouse.c73 # define INCL_DOS macro
74 # define INCL_VIO macro
75 # define INCL_KBD macro
76 # define INCL_MOU macro
77 # define INCL_DOSPROCESS macro
84 #define CUR macro
99 #define my_RTLD macro
112 #undef buttons macro
113 #undef mouse_info macro
125 #define pipe macro
126 #define DosWrite macro
128 #define DosExit macro
129 #define DosCreateThread macro
134 #define MY_TRACE macro
136 #define MASK_RELEASE macro
137 #define MASK_PRESS macro
138 #define MASK_CLICK macro
139 #define MASK_DOUBLE_CLICK macro
140 #define MASK_TRIPLE_CLICK macro
141 #define MASK_RESERVED_EVENT macro
144 #define BUTTON_CLICKED macro
145 #define BUTTON_PRESSED macro
146 #define BUTTON_RELEASED macro
147 #define BUTTON_DOUBLE_CLICKED macro
148 #define BUTTON_TRIPLE_CLICKED macro
149 #define MAX_BUTTONS macro
159 #define INVALID_EVENT macro
160 #define NORMAL_EVENT macro
162 #define ValidEvent macro
163 #define Invalidate macro
168 #define LIBGPM_SONAME macro
171 #define GET_DLSYM macro
181 #define FirstEV macro
182 #define LastEV macro
184 #undef NEXT macro
185 #define NEXT macro
189 #undef PREV macro
190 #define PREV macro
194 #define IndexEV macro
196 #define RunParams macro
202 _trace_slot(SCREEN *sp, const char *tag) argument
204 MEVENT *ep; local
217 # define TOP_ROW macro
218 # define LEFT_COL macro
220 # define M_FD macro
223 write_event(SCREEN *sp, int down, int button, int x, int y) argument
225 char buf[6]; local
226 unsigned long ignore; local
237 mouse_server(void *param) argument
242 SCREEN *sp = (SCREEN *) param; local
243 unsigned short fWait = MOU_WAIT; local
245 MOUEVENTINFO mouev; local
246 HMOU hmou; local
247 unsigned short mask = MOUSE_BN1_DOWN | MOUSE_BN2_DOWN | MOUSE_BN3_DOWN; local
248 int nbuttons = 3; local
249 int oldstate = 0; local
250 char err[80]; local
251 unsigned long rc; local
309 sysmouse_server(SCREEN *sp) argument
311 struct mouse_info the_mouse; local
312 MEVENT *work; local
366 handle_sysmouse(int sig GCC_UNUSED) argument
373 #define xterm_kmous macro
376 init_xterm_mouse(SCREEN *sp) argument
386 enable_xterm_mouse(SCREEN *sp, int enable) argument
398 allow_gpm_mouse(SCREEN *sp) argument
400 bool result = FALSE; local
412 char *list = getenv("NCURSES_GPM_TERMS"); local
413 char *env = getenv("TERM"); local
436 unload_gpm_library(SCREEN *sp) argument
448 load_gpm_library(SCREEN *sp) argument
467 enable_gpm_mouse(SCREEN *sp, bool enable) argument
469 bool result; local
480 int code; local
530 initialize_mousetype(SCREEN *sp) argument
565 int handles[2]; local
571 int rc; local
574 char *s = getenv("MOUSE_BUTTONS_123"); local
607 struct mouse_info the_mouse; local
608 char *the_device = 0; local
642 #define FBIO_GETMODE macro
643 #define FBIO_MODEINFO macro
645 video_info_t the_video; local
689 _nc_mouse_init(SCREEN *sp) argument
692 bool result = FALSE; local
693 int i; local
719 _nc_mouse_event(SCREEN *sp) argument
721 MEVENT *eventp = sp->_mouse_eventp; local
722 bool result = FALSE; local
731 char kbuf[3]; local
733 int i, res = read(M_FD(sp), &kbuf, 3); /* Eat the prefix */ local
750 Gpm_Event ev; local
850 _nc_mouse_inline(SCREEN *sp) argument
853 int b; local
854 bool result = FALSE; local
855 MEVENT *eventp = sp->_mouse_eventp; local
860 unsigned char kbuf[4]; local
861 size_t grabbed; local
862 int res; local
928 #define PRESS_POSITION macro
938 #define PRESS_POSITION macro
1032 mouse_activate(SCREEN *sp, int on) argument
1117 _nc_mouse_parse(SCREEN *sp, int runcount) argument
1120 MEVENT *eventp = sp->_mouse_eventp; local
1121 MEVENT *next, *ep; local
1122 MEVENT *first_valid = NULL; local
1123 MEVENT *first_invalid = NULL; local
1124 int n; local
1125 int b; local
1126 bool merge; local
1127 bool endLoop; local
1186 #define MASK_CHANGED macro
1193 bool changed = TRUE; local
1368 _nc_mouse_wrap(SCREEN *sp) argument
1401 _nc_mouse_resume(SCREEN *sp) argument
1445 getmouse(NCURSES_SP_DCLx MEVENT * aevent) argument
1447 int result = ERR; local
1452 MEVENT *eventp = SP_PARM->_mouse_eventp; local
1454 MEVENT *prev = PREV(eventp); local
1491 getmouse(MEVENT * aevent) argument
1498 ungetmouse(NCURSES_SP_DCLx MEVENT * aevent) argument
1500 int result = ERR; local
1505 MEVENT *eventp = SP_PARM->_mouse_eventp; local
1522 ungetmouse(MEVENT * aevent) argument
1528 NCURSES_EXPORT(mmask_t) function
1532 mmask_t result = 0; local
1533 int b; local
1584 NCURSES_EXPORT(mmask_t) function
1591 NCURSES_EXPORT(bool) function
1595 bool result = FALSE; local
1610 mouseinterval(NCURSES_SP_DCLx int maxclick) argument
1613 int oldval; local
1630 mouseinterval(int maxclick) argument
1638 NCURSES_EXPORT(bool) function
1644 NCURSES_EXPORT(bool) function
1651 NCURSES_EXPORT(bool) function
1658 NCURSES_EXPORT(bool) function
1661 bool result = FALSE; local
1670 int y = *pY; local
1671 int x = *pX; local
[all...]
H A Dlib_move.c47 wmove(WINDOW *win, int y, int x) argument
[all...]
H A Dlib_mvwin.c48 mvwin(WINDOW *win, int by, int bx) argument
51 SCREEN *sp = _nc_screen_of(win); local
[all...]
H A Dlib_newterm.c46 #define CUR macro
54 #define NumLabels macro
60 #define ONLCR macro
72 _nc_initscr(NCURSES_SP_DCL0) function
74 int result = ERR; local
75 TERMINAL *term = TerminalOf(SP_PARM); local
80 TTY buf; local
106 NCURSES_SP_NAME(filter) (NCURSES_SP_DCL0) function
122 filter(void) function
137 NCURSES_SP_NAME(nofilter) (NCURSES_SP_DCL0) function
153 nofilter(void) function
164 newterm(NCURSES_SP_DCLx NCURSES_CONST char *name, FILE *ofp, FILE *ifp) argument
169 int value; local
170 int errret; local
171 SCREEN *result = 0; local
172 SCREEN *current; local
173 TERMINAL *its_term; local
174 FILE *_ofp = ofp ? ofp : stdout; local
175 FILE *_ifp = ifp ? ifp : stdin; local
176 int cols; local
177 int slk_format; local
178 int filter_mode; local
179 TERMINAL *new_term = 0; local
239 TERMINAL_CONTROL_BLOCK *TCB; local
276 _nc_slk_initialize(StdScreen(SP_PARM), cols); local
347 newterm(NCURSES_CONST char *name, FILE *ofp, FILE *ifp) argument
[all...]
H A Dlib_newwin.c48 #define window_is macro
51 #define remove_window macro
61 remove_window_from_screen(WINDOW *win) argument
63 SCREEN *sp; local
92 _nc_freewin(WINDOW *win) argument
94 WINDOWLIST *p, *q; local
95 int i; local
96 int result = ERR; local
98 SCREEN *sp = _nc_screen_of(win); /* pretend this is parameter */ local
134 newwin(NCURSES_SP_DCLx int num_lines, int num_columns, int begy, int begx) argument
137 WINDOW *win; local
138 NCURSES_CH_T *ptr; local
139 int i; local
178 newwin(int num_lines, int num_columns, int begy, int begx) argument
180 WINDOW *win; local
190 derwin(WINDOW *orig, int num_lines, int num_columns, int begy, int begx) argument
192 WINDOW *win; local
193 int i; local
194 int flags = _SUBWIN; local
196 SCREEN *sp = _nc_screen_of(orig); local
240 subwin(WINDOW *w, int l, int c, int y, int x) argument
242 WINDOW *result = 0; local
254 dimension_limit(int value) argument
256 NCURSES_SIZE_T test = (NCURSES_SIZE_T) value; local
261 _nc_makenew(NCURSES_SP_DCLx int num_lines, int num_columns, int begy, int begx, int flags) argument
268 int i; local
269 WINDOWLIST *wp; local
270 WINDOW *win; local
271 bool is_padwin = (flags & _ISPAD); local
385 _nc_curscr_of(SCREEN *sp) argument
391 _nc_newscr_of(SCREEN *sp) argument
397 _nc_stdscr_of(SCREEN *sp) argument
[all...]
H A Dlib_nl.c54 NCURSES_SP_NAME(nl) (NCURSES_SP_DCL0) function
69 nl(void) function
76 NCURSES_SP_NAME(nonl) (NCURSES_SP_DCL0) function
91 nonl(void) function
[all...]
H A Dlib_overlay.c46 overlap(const WINDOW *const src, WINDOW *const dst, int const flag) argument
48 int rc = ERR; local
49 int sx1, sy1, sx2, sy2; local
50 int dx1, dy1, dx2, dy2; local
51 int sminrow, smincol; local
52 int dminrow, dmincol; local
53 int dmaxrow, dmaxcol; local
111 overlay(const WINDOW *win1, WINDOW *win2) argument
128 overwrite(const WINDOW *win1, WINDOW *win2) argument
135 copywin(const WINDOW *src, WINDOW *dst, int sminrow, int smincol, int dminrow, int dmincol, int dmaxrow, int dmaxcol, int over) argument
141 int rc = ERR; local
142 int sx, sy, dx, dy; local
143 bool touched; local
144 attr_t bk; local
145 attr_t mask; local
166 bool copied = FALSE; local
[all...]
H A Dlib_pad.c48 newpad(NCURSES_SP_DCLx int l, int c) argument
50 WINDOW *win; local
51 NCURSES_CH_T *ptr; local
52 int i; local
78 newpad(int l, int c) argument
85 subpad(WINDOW *orig, int l, int c, int begy, int begx) argument
87 WINDOW *win = (WINDOW *) 0; local
100 prefresh(WINDOW *win, int pminrow, int pmincol, int sminrow, int smincol, int smaxrow, int smaxcol) argument
109 SCREEN *sp = _nc_screen_of(win); local
122 pnoutrefresh(WINDOW *win, int pminrow, int pmincol, int sminrow, int smincol, int smaxrow, int smaxcol) argument
130 int i, j; local
131 int m, n; local
132 int pmaxrow; local
133 int pmaxcol; local
134 SCREEN *sp; local
137 const int my_len = 2; /* parameterize the threshold for hardscroll */ local
138 NCURSES_SIZE_T displaced; local
139 bool wide; local
221 register struct ldat *nline = &NewScreen(sp)->_line[m]; local
222 register struct ldat *oline = &win->_line[i]; local
224 NCURSES_CH_T ch = oline->text[j]; local
244 int nind = m + displaced; local
250 register struct ldat *pline = &CurScreen(sp)->_line[nind]; local
252 int k = NewScreen(sp)->_maxx - j; local
323 pechochar(WINDOW *pad, const chtype ch) argument
[all...]
H A Dlib_printw.c45 printw(const char *fmt,...) argument
47 va_list argp; local
48 int code; local
51 va_list argq; local
66 wprintw(WINDOW *win, const char *fmt,...) argument
68 va_list argp; local
69 int code; local
72 va_list argq; local
87 mvprintw(int y, int x, const char *fmt,...) argument
89 va_list argp; local
90 int code; local
93 va_list argq; local
109 mvwprintw(WINDOW *win, int y, int x, const char *fmt,...) argument
111 va_list argp; local
112 int code; local
115 va_list argq; local
131 vwprintw(WINDOW *win, const char *fmt, va_list argp) argument
133 char *buf; local
134 int code = ERR; local
136 SCREEN *sp = _nc_screen_of(win); local
[all...]
H A Dlib_redrawln.c45 wredrawln(WINDOW *win, int beg, int num) argument
47 int i; local
48 int end; local
49 size_t len; local
50 SCREEN *sp; local
80 int crow = i + win->_begy; local
[all...]
H A Dlib_refresh.c48 wrefresh(WINDOW *win) argument
50 int code; local
52 SCREEN *SP_PARM = _nc_screen_of(win); local
78 wnoutrefresh(WINDOW *win) argument
80 int limit_x; local
81 int src_row, src_col; local
82 int begx; local
83 int begy; local
84 int dst_row, dst_col; local
86 bool wide; local
89 SCREEN *SP_PARM = _nc_screen_of(win); local
154 struct ldat *nline = &(NewScreen(SP_PARM)->_line[dst_row]); local
155 struct ldat *oline = &win->_line[src_row]; local
158 int last_src = oline->lastchar; local
267 int oind = oline->oldindex; local
[all...]
H A Dlib_restart.c47 restartterm(NCURSES_SP_DCLx NCURSES_CONST char *termp, int filenum, int *errret) argument
52 int result; local
54 TERMINAL *new_term = 0; local
66 int saveecho = SP_PARM->_echo; local
67 int savecbreak = SP_PARM->_cbreak; local
68 int saveraw = SP_PARM->_raw; local
69 int savenl = SP_PARM->_nl; local
111 restartterm(NCURSES_CONST char *termp, int filenum, int *errret) argument
[all...]
H A Dlib_scanw.c46 vwscanw(WINDOW *win, NCURSES_CONST char *fmt, va_list argp) argument
48 char buf[BUFSIZ]; local
57 scanw(NCURSES_CONST char *fmt,...) argument
59 int code; local
60 va_list ap; local
71 wscanw(WINDOW *win, NCURSES_CONST char *fmt,...) argument
73 int code; local
74 va_list ap; local
85 mvscanw(int y, int x, NCURSES_CONST char *fmt,...) argument
87 int code; local
88 va_list ap; local
97 mvwscanw(WINDOW *win, int y, int x, NCURSES_CONST char *fmt,...) argument
99 int code; local
100 va_list ap; local
[all...]
H A Dlib_screen.c39 #define CUR macro
44 #define MAX_SIZE macro
47 getwin(NCURSES_SP_DCLx FILE *filep) argument
49 WINDOW tmp, *nwin; local
50 int n; local
83 size_t linesize = sizeof(NCURSES_CH_T) * (size_t) (tmp._maxx + 1); local
129 getwin(FILE *filep) argument
136 putwin(WINDOW *win, FILE *filep) argument
138 int code = ERR; local
139 int n; local
144 size_t len = (size_t) (win->_maxx + 1); local
164 scr_restore(NCURSES_SP_DCLx const char *file) argument
166 FILE *fp = 0; local
186 scr_restore(const char *file) argument
193 scr_dump(const char *file) argument
195 int result; local
196 FILE *fp = 0; local
212 scr_init(NCURSES_SP_DCLx const char *file) argument
214 FILE *fp = 0; local
215 int code = ERR; local
242 scr_init(const char *file) argument
249 scr_set(NCURSES_SP_DCLx const char *file) argument
267 scr_set(const char *file) argument
[all...]
H A Dlib_scroll.c49 _nc_scroll_window(WINDOW *win, int const n, int const top, int const bottom, NCURSES_CH_T blank) argument
55 int limit; local
56 int line; local
57 int j; local
58 size_t to_copy = (sizeof(NCURSES_CH_T) * (size_t) (win->_maxx + 1)); local
136 wscrl(WINDOW *win, int n) argument
[all...]
H A Dlib_scrollok.c46 scrollok(WINDOW *win, bool flag) argument
[all...]
H A Dlib_scrreg.c46 wsetscrreg(WINDOW *win, int top, int bottom) argument
[all...]

Completed in 1789 milliseconds

1234567891011>>