Home
last modified time | relevance | path

Searched refs:_line (Results 1 – 25 of 59) sorted by relevance

123

/freebsd/contrib/ncurses/ncurses/base/
H A Dlib_box.c111 SetChar2(win->_line[0].text[i], wts); in wborder()
112 SetChar2(win->_line[endy].text[i], wbs); in wborder()
114 win->_line[endy].firstchar = win->_line[0].firstchar = 0; in wborder()
115 win->_line[endy].lastchar = win->_line[0].lastchar = endx; in wborder()
119 if (endx > 0 && isWidecExt(win->_line[i].text[endx])) { in wborder()
120 SetChar2(win->_line[i].text[endx - 1], ' '); in wborder()
123 SetChar2(win->_line[i].text[0], wls); in wborder()
124 SetChar2(win->_line[i].text[endx], wrs); in wborder()
125 win->_line[i].firstchar = 0; in wborder()
126 win->_line[i].lastchar = endx; in wborder()
[all …]
H A Dlib_scroll.c89 memcpy(win->_line[line].text, in NCURSES_EXPORT()
90 win->_line[line + n].text, in NCURSES_EXPORT()
92 if_USE_SCROLL_HINTS(win->_line[line].oldindex = in NCURSES_EXPORT()
93 win->_line[line + n].oldindex); in NCURSES_EXPORT()
98 win->_line[line].text[j] = blank; in NCURSES_EXPORT()
99 if_USE_SCROLL_HINTS(win->_line[line].oldindex = _NEWINDEX); in NCURSES_EXPORT()
107 memcpy(win->_line[line].text, in NCURSES_EXPORT()
108 win->_line[line + n].text, in NCURSES_EXPORT()
110 if_USE_SCROLL_HINTS(win->_line[line].oldindex = in NCURSES_EXPORT()
111 win->_line[line + n].oldindex); in NCURSES_EXPORT()
[all …]
H A Dlib_window.c75 win->_line[i].text = &(orig->_line[y++].text[x]); in mvderwin()
111 int left = wp->_line[y].firstchar; in wsyncup()
113 struct ldat *line = &(pp->_line[wp->_pary + y]); in wsyncup()
115 int right = wp->_line[y].lastchar + wp->_parx; in wsyncup()
147 if (pp->_line[win->_pary + y].firstchar >= 0) { /* parent changed */ in wsyncdown()
148 struct ldat *line = &(win->_line[y]); in wsyncdown()
150 int left = pp->_line[win->_pary + y].firstchar - win->_parx; in wsyncdown()
151 int right = pp->_line[win->_pary + y].lastchar - win->_parx; in wsyncdown()
246 memcpy(nwin->_line[i].text, win->_line[i].text, linesize); in dupwin()
247 nwin->_line[i].firstchar = win->_line[i].firstchar; in dupwin()
[all …]
H A Dlib_overlay.c192 if ((CharOf(src->_line[sy].text[sx]) != L(' ')) && in copywin()
193 (!CharEq(dst->_line[dy].text[dx], in copywin()
194 src->_line[sy].text[sx]))) { in copywin()
195 dst->_line[dy].text[dx] = in copywin()
196 src->_line[sy].text[sx]; in copywin()
197 SetAttr(dst->_line[dy].text[dx], in copywin()
198 ((AttrOf(src->_line[sy].text[sx]) & in copywin()
203 if (!CharEq(dst->_line[dy].text[dx], in copywin()
204 src->_line[sy].text[sx])) { in copywin()
205 dst->_line[dy].text[dx] = in copywin()
[all …]
H A Dwresize.c56 struct ldat *pline = cmp->_line; in repair_subwindows()
94 tst->_line[row].text = &pline[tst->_pary + row].text[tst->_parx]; in repair_subwindows()
148 pline = win->_parent->_line; in wresize()
183 && isWidecBase(win->_line[row].text[col])) { in wresize()
188 ? win->_line[row].text[col] in wresize()
192 s = win->_line[row].text; in wresize()
209 new_lines[row].firstchar = win->_line[row].firstchar; in wresize()
210 new_lines[row].lastchar = win->_line[row].lastchar; in wresize()
230 FreeAndNull(win->_line[row].text); in wresize()
234 FreeAndNull(win->_line[row].text); in wresize()
[all …]
H A Dlib_newwin.c121 FreeIfNeeded(win->_line[i].text); in _nc_freewin()
123 free(win->_line); in _nc_freewin()
167 win->_line[i].text = typeCalloc(NCURSES_CH_T, (unsigned) num_columns); in NCURSES_SP_NAME()
168 if (win->_line[i].text == 0) { in NCURSES_SP_NAME()
172 for (ptr = win->_line[i].text; in NCURSES_SP_NAME()
173 ptr < win->_line[i].text + num_columns; in NCURSES_SP_NAME()
237 win->_line[i].text = &orig->_line[begy++].text[begx]; in derwin()
292 if ((win->_line = typeCalloc(struct ldat, ((unsigned) num_lines))) == 0) { in NCURSES_SP_NAME()
357 win->_line[i].firstchar = 0; in NCURSES_SP_NAME()
358 win->_line[i].lastchar = (NCURSES_SIZE_T) (num_columns - 1); in NCURSES_SP_NAME()
[all …]
H A Dlib_pad.c65 if_USE_SCROLL_HINTS(win->_line[i].oldindex = _NEWINDEX); in NCURSES_EXPORT()
66 if ((win->_line[i].text = typeCalloc(NCURSES_CH_T, ((size_t) c))) == 0) { in NCURSES_EXPORT()
70 for (ptr = win->_line[i].text; ptr < win->_line[i].text + c; ptr++) in NCURSES_EXPORT()
228 register struct ldat *nline = &NewScreen(sp)->_line[m]; in pnoutrefresh()
229 register struct ldat *oline = &win->_line[i]; in pnoutrefresh()
257 register struct ldat *pline = &CurScreen(sp)->_line[nind]; in pnoutrefresh()
282 for (i = pminrow - 1; (i >= 0) && (win->_line[i].oldindex >= 0); i--) in pnoutrefresh()
283 win->_line[i].oldindex = _NEWINDEX; in pnoutrefresh()
285 && (win->_line[i].oldindex >= 0); i++) in pnoutrefresh()
286 win->_line[i].oldindex = _NEWINDEX; in pnoutrefresh()
H A Dlib_touch.c61 returnCode(win->_line[line].firstchar != _NOCHANGE ? TRUE : FALSE); in NCURSES_EXPORT()
73 if (win->_line[i].firstchar != _NOCHANGE) in is_wintouched()
92 win->_line[i].firstchar = (NCURSES_SIZE_T) (changed ? 0 : _NOCHANGE); in wtouchln()
93 win->_line[i].lastchar = (NCURSES_SIZE_T) (changed in wtouchln()
H A Dlib_erase.c64 start = win->_line[y].text; in NCURSES_EXPORT()
88 win->_line[y].firstchar = 0; in NCURSES_EXPORT()
89 win->_line[y].lastchar = win->_maxx; in NCURSES_EXPORT()
H A Dlib_addch.c270 line = win->_line + y; in waddch_literal()
332 if (!isWidecExt(win->_line[y].text[j])) { in waddch_literal()
337 dst = &(win->_line[y].text[j]); in waddch_literal()
339 dst = &(win->_line[y - 1].text[win->_maxx]); in waddch_literal()
371 line = win->_line + y; in waddch_literal()
381 if (isWidecBase(win->_line[y].text[x + i])) { in waddch_literal()
383 } else if (isWidecExt(win->_line[y].text[x + i])) { in waddch_literal()
385 if (!isWidecExt(win->_line[y].text[x + j])) { in waddch_literal()
H A Dlib_winch.c50 returnChtype((chtype) CharOf(win->_line[win->_cury].text[win->_curx]) in NCURSES_EXPORT()
51 | AttrOf(win->_line[win->_cury].text[win->_curx])); in NCURSES_EXPORT()
H A Dlib_redrawln.c78 len *= sizeof(CurScreen(sp)->_line[0].text[0]); in NCURSES_EXPORT()
83 memset(CurScreen(sp)->_line[crow].text + win->_begx, 0, len); in NCURSES_EXPORT()
/freebsd/contrib/ncurses/ncurses/widechar/
H A Dlib_box_set.c95 win->_line[0].text[i] = wts; in NCURSES_EXPORT()
96 win->_line[endy].text[i] = wbs; in NCURSES_EXPORT()
98 win->_line[endy].firstchar = win->_line[0].firstchar = 0; in NCURSES_EXPORT()
99 win->_line[endy].lastchar = win->_line[0].lastchar = endx; in NCURSES_EXPORT()
102 win->_line[i].text[0] = wls; in NCURSES_EXPORT()
103 win->_line[i].text[endx] = wrs; in NCURSES_EXPORT()
104 win->_line[i].firstchar = 0; in NCURSES_EXPORT()
105 win->_line[i].lastchar = endx; in NCURSES_EXPORT()
107 win->_line[0].text[0] = wtl; in NCURSES_EXPORT()
108 win->_line[0].text[endx] = wtr; in NCURSES_EXPORT()
[all …]
H A Dlib_add_wch.c188 line = win->_line + y; in wadd_wch_literal()
209 if (!isWidecExt(win->_line[y].text[j])) { in wadd_wch_literal()
213 chars = (win->_line[y].text[j].chars); in wadd_wch_literal()
215 chars = (win->_line[y - 1].text[win->_maxx].chars); in wadd_wch_literal()
245 line = win->_line + y; in wadd_wch_literal()
255 if (isWidecBase(win->_line[y].text[x + i])) { in wadd_wch_literal()
257 } else if (isWidecExt(win->_line[y].text[x + i])) { in wadd_wch_literal()
259 if (!isWidecExt(win->_line[y].text[x + j])) { in wadd_wch_literal()
/freebsd/contrib/ee/
H A Dnew_curse.h153 struct _line { struct
154 struct _line *next_screen; argument
155 struct _line *prev_screen; argument
164 struct _line *top_of_win; argument
178 struct _line *first_line;
179 struct _line **line_array;
201 extern struct _line *Screenalloc P_((int columns));
206 extern void clear_line P_((struct _line *line, int column, int cols));
243 extern int Comp_line P_((struct _line *line1, struct _line *line2));
244 extern struct _line *Insert_line P_((int row, int end_row, WINDOW *window));
[all …]
H A Dnew_curse.c707 struct _line *orig, *dest;
1462 struct _line *
1467 struct _line *tmp;
1469 tmp = (struct _line *) malloc(sizeof (struct _line));
1493 struct _line *temp_screen;
1508 Ntemp->line_array = (struct _line **) malloc(LINES * sizeof(struct _line *));
2036 struct _line *line; in clear_line()
2061 struct _line *tmp;
2074 struct _line *tmp;
2091 struct _line *temp;
[all …]
/freebsd/contrib/ncurses/ncurses/trace/
H A Dlib_tracedmp.c59 if (CharOf(win->_line[i].text[j]) != L(' ') in NCURSES_EXPORT()
60 || AttrOf(win->_line[i].text[j]) != A_NORMAL in NCURSES_EXPORT()
61 || GetPair(win->_line[i].text[j]) != 0) { in NCURSES_EXPORT()
88 chtype test = (chtype) CharOf(win->_line[n].text[j]); in NCURSES_EXPORT()
91 && (win->_line[n].text[j].chars[1] == 0) in NCURSES_EXPORT()
102 (long) win->_line[n].firstchar, in NCURSES_EXPORT()
103 (long) win->_line[n].lastchar, in NCURSES_EXPORT()
110 if (WidecExt(win->_line[n].text[j]) != 0) { in NCURSES_EXPORT()
117 int test = WidecExt(win->_line[n].text[j]); in NCURSES_EXPORT()
133 if (GetPair(win->_line[n].text[j]) != 0) { in NCURSES_EXPORT()
[all …]
/freebsd/libexec/rc/rc.d/
H A Dbluetooth47 local _err _file _line _namespace
61 while read _line
63 case "$_line" in
69 if [ -z "$_line" ]; then
74 if expr "$_line" : "[a-zA-Z0-9_]*=" > /dev/null 2>&1; then
75 eval "${_namespace}${_line}"
77 warn "Unable to parse line \"$_line\" in $_file"
H A Dmdconfig46 _ret=`mount | while read _line; do
47 case ${_line} in
H A Dmdconfig247 _ret=`mount | while read _line; do
48 case ${_line} in
/freebsd/contrib/ncurses/ncurses/win32con/
H A Dwin32_driver.c270 struct ldat *curdat = CurScreen(sp)->_line + row; in find_end_of_change()
271 struct ldat *newdat = NewScreen(sp)->_line + row; in find_end_of_change()
304 struct ldat *curdat = CurScreen(sp)->_line + row; in find_next_change()
305 struct ldat *newdat = NewScreen(sp)->_line + row; in find_next_change()
338 win->_line[row].firstchar = _NOCHANGE; \
339 win->_line[row].lastchar = _NOCHANGE
436 CurScreen(sp)->_line[y].text, in wcon_doupdate()
447 x0 = NewScreen(sp)->_line[y].firstchar; in wcon_doupdate()
451 int limit = NewScreen(sp)->_line[y].lastchar; in wcon_doupdate()
458 memcpy(&CurScreen(sp)->_line[y].text[x0], in wcon_doupdate()
[all …]
H A Dwin_driver.c361 struct ldat *curdat = CurScreen(sp)->_line + row; in find_end_of_change()
362 struct ldat *newdat = NewScreen(sp)->_line + row; in find_end_of_change()
394 struct ldat *curdat = CurScreen(sp)->_line + row; in find_next_change()
395 struct ldat *newdat = NewScreen(sp)->_line + row; in find_next_change()
427 win->_line[row].firstchar = _NOCHANGE; \
428 win->_line[row].lastchar = _NOCHANGE
531 CurScreen(sp)->_line[y].text, in wcon_doupdate()
542 x0 = NewScreen(sp)->_line[y].firstchar; in wcon_doupdate()
546 int limit = NewScreen(sp)->_line[y].lastchar; in wcon_doupdate()
552 memcpy(&CurScreen(sp)->_line[y].text[x0], in wcon_doupdate()
[all …]
/freebsd/contrib/ntp/libntp/lib/isc/pthreads/include/isc/
H A Dmutex.h130 isc_mutex_init_profile(isc_mutex_t *mp, const char * _file, int _line);
132 isc_mutex_lock_profile(isc_mutex_t *mp, const char * _file, int _line);
134 isc_mutex_unlock_profile(isc_mutex_t *mp, const char * _file, int _line);
/freebsd/contrib/ncurses/ncurses/tty/
H A Dtty_update.c455 NewScreen(SP_PARM)->_line[screen_lines(SP_PARM) - 1].text + in PutCharLR()
731 win->_line[row].firstchar = _NOCHANGE; \
732 win->_line[row].lastchar = _NOCHANGE; \
733 if_USE_SCROLL_HINTS(win->_line[row].oldindex = row)
849 NCURSES_CH_T *thisline = NewScreen(SP_PARM)->_line[i].text; in TINFO_DOUPDATE()
899 AttrOf(NewScreen(SP_PARM)->_line[m].text[n]); in TINFO_DOUPDATE()
917 NewScreen(SP_PARM)->_line[m].text; in TINFO_DOUPDATE()
961 attr_t testattr = AttrOf(newscr->_line[p].text[q]); in TINFO_DOUPDATE()
964 RemAttr(NewScreen(SP_PARM)->_line[p].text[q], turnon); in TINFO_DOUPDATE()
1033 if (NewScreen(SP_PARM)->_line[i].firstchar != _NOCHANGE in TINFO_DOUPDATE()
[all …]
/freebsd/contrib/sendmail/include/sm/
H A Drpool.h144 int _line,
153 int _line,

123