Home
last modified time | relevance | path

Searched refs:lastline (Results 1 – 20 of 20) sorted by relevance

/dragonfly/games/gomoku/
H A Dbdisp.c46 static int lastline; variable
116 lastline = 0; in bdisp_init()
226 if (++lastline >= SCRNH - 1) { in dislog()
228 lastline = 1; in dislog()
230 move(lastline, TRANSCRIPT_COL); in dislog()
233 move(lastline + 1, TRANSCRIPT_COL); in dislog()
/dragonfly/usr.bin/csplit/
H A Dcsplit.c438 long lastline, tgtline; in do_lineno() local
446 lastline = tgtline; in do_lineno()
447 if (lastline <= lineno) in do_lineno()
452 while (lineno + 1 != lastline) { in do_lineno()
454 errx(1, "%ld: out of range", lastline); in do_lineno()
464 lastline += tgtline; in do_lineno()
/dragonfly/games/boggle/boggle/
H A Dmach.c60 int ncols, nlines, lastline; variable
357 if (crow == lastline) { in addword()
392 row = LIST_LINE + n % (lastline - LIST_LINE + 1); in showword()
393 col = colstarts[n / (lastline - LIST_LINE + 1)]; in showword()
601 lastline = nlines - 1; in tty_setup()
H A Dextern.h46 extern int lastline;
H A Dprtable.c105 if (row + 1 == lastline && a != nrows) { in prtable()
/dragonfly/usr.bin/patch/
H A Dpatch.c890 const LINENUM lastline = pch_ptrn_lines(); in apply_hunk() local
891 LINENUM new = lastline + 1; in apply_hunk()
903 while (old <= lastline) { in apply_hunk()
1023 copy_till(LINENUM lastline, bool endoffile) in copy_till() argument
1025 if (last_frozen_line > lastline) in copy_till()
1027 while (last_frozen_line < lastline) { in copy_till()
1028 if (++last_frozen_line == lastline && endoffile) in copy_till()
/dragonfly/games/backgammon/common_source/
H A Dboard.c54 goto lastline; in wrboard()
146 lastline: in wrboard()
/dragonfly/games/cribbage/
H A Dio.c394 static int lastline = 0; in endmsg() local
399 mvaddch(lastline + Y_MSG_START, SCORE_X, ' '); in endmsg()
412 lastline = Lineno; in endmsg()
/dragonfly/usr.bin/calendar/
H A Dio.c605 if (desc->lastline != NULL) { in cal_desc_addline()
606 desc->lastline->next = cline; in cal_desc_addline()
607 desc->lastline = cline; in cal_desc_addline()
609 desc->firstline = desc->lastline = cline; in cal_desc_addline()
H A Dio.h47 struct cal_line *lastline; member
H A Ddates.c226 (line == desc->lastline) ? "" : "\n"); in event_print_all()
/dragonfly/sys/sys/
H A Dqueue.h111 int lastline; member
121 (head)->trace.prevline = (head)->trace.lastline; \
123 (head)->trace.lastline = __LINE__; \
128 (elem)->trace.prevline = (elem)->trace.lastline; \
130 (elem)->trace.lastline = __LINE__; \
/dragonfly/contrib/nvi2/vi/
H A Dvs_refresh.c166 recno_t lastline, lcnt; in vs_paint() local
338 bottom: if (db_last(sp, &lastline)) in vs_paint()
343 lcnt = vs_sm_nlines(sp, &tmp, lastline, sp->t_rows); in vs_paint()
345 if (vs_sm_fill(sp, lastline, P_BOTTOM)) in vs_paint()
/dragonfly/sys/netgraph7/
H A Dnetgraph.h125 int lastline; member
191 hook->lastline = line; in _chkhook()
349 int lastline; member
437 node->lastline = line; in _chknode()
629 int lastline; member
702 (item)->lastline = line; in _ngi_check()
796 (item)->lastline = __LINE__; \
/dragonfly/usr.bin/sed/
H A Dextern.h57 int lastline(void);
H A Dmain.c460 } else if (!lastline()) { in mf_fgets()
534 lastline(void) in lastline() function
H A Dprocess.c138 if (cp->a2 == NULL || lastaddr || lastline()) in process()
291 (a)->type == AT_LINE ? linenum == (a)->u.l : lastline())
/dragonfly/contrib/libedit/src/
H A Drefresh.c1097 wint_t *lastline; in re_fastputc() local
1123 lastline = el->el_display[0]; in re_fastputc()
1127 el->el_display[i - 1] = lastline; in re_fastputc()
1130 lastline = el->el_display[++el->el_refresh.r_oldcv]; in re_fastputc()
1132 re__copy_and_pad((wchar_t *)lastline, L"", in re_fastputc()
/dragonfly/contrib/ncurses/ncurses/tty/
H A Dtty_update.c905 NCURSES_CH_T *lastline = in TINFO_DOUPDATE() local
914 && ISBLANK(lastline[n]) in TINFO_DOUPDATE()
915 && SAFE(SP_PARM, AttrOf(lastline[n]))) { in TINFO_DOUPDATE()
916 RemAttr(lastline[n--], turnon); in TINFO_DOUPDATE()
922 || !ISBLANK(lastline[n + k]) in TINFO_DOUPDATE()
923 || !SAFE(SP_PARM, AttrOf(lastline[n + k]))) { in TINFO_DOUPDATE()
928 (ISBLANK(lastline[n + k]) in TINFO_DOUPDATE()
931 (SAFE(SP_PARM, AttrOf(lastline[n + k])) in TINFO_DOUPDATE()
/dragonfly/sys/netgraph7/netgraph/
H A Dng_base.c2829 hook->lastfile, hook->lastline); in dumphook()
2843 node->lastfile, node->lastline); in dumpnode()
2853 item->lastfile, item->lastline); in dumpitem()