Searched refs:lcnt (Results 1 - 12 of 12) sorted by relevance

/freebsd-9.3-release/contrib/nvi/vi/
H A Dv_ulcase.c55 size_t cno, lcnt, len; local
81 lcnt = len - 1;
86 lcnt = cno + cnt - 1;
89 vp->m_final.cno = lcnt + 1;
92 if (ulcase(sp, lno, p, len, cno, lcnt))
H A Dvs_refresh.c176 recno_t lastline, lcnt; local
256 lcnt = vs_sm_nlines(sp, HMAP, LNO, sp->t_maxrows);
257 if (lcnt <= HALFSCREEN(sp))
258 for (; lcnt && sp->t_rows != sp->t_maxrows;
259 --lcnt, ++sp->t_rows) {
267 lcnt = vs_sm_nlines(sp, TMAP, LNO, sp->t_maxrows);
268 if (lcnt <= HALFSCREEN(sp))
269 for (; lcnt && sp->t_rows != sp->t_maxrows;
270 --lcnt, ++sp->t_rows) {
308 lcnt
[all...]
H A Dvs_smap.c1056 size_t lcnt; local
1063 lcnt = vs_screens(sp, p->lno, NULL);
1064 if (lcnt == p->soff) {
1240 recno_t lno, lcnt; local
1250 lcnt = from_sp->soff - 1; /* Correct for off-by-one. */
1251 for (lno = from_sp->lno; --lno >= to_lno && lcnt <= max;)
1252 lcnt += vs_screens(sp, lno, NULL);
1255 lcnt = (vs_screens(sp, lno, NULL) - from_sp->soff) + 1;
1256 for (; ++lno < to_lno && lcnt <= max;)
1257 lcnt
[all...]
/freebsd-9.3-release/contrib/nvi/ex/
H A Dex_read.c304 recno_t lcnt, lno; local
318 lcnt = 0;
320 for (lno = fm->lno; !ex_getline(sp, fp, &len); ++lno, ++lcnt) {
321 if ((lcnt + 1) % INTERRUPT_CHECK == 0) {
340 *nlinesp = lcnt;
345 "148|%s: %lu lines, %lu characters", p, lcnt, ccnt);
H A Dex_write.c290 recno_t fline, tline, lcnt; local
320 lcnt = 0;
323 for (; fline <= tline; ++fline, ++lcnt) {
325 if ((lcnt + 1) % INTERRUPT_CHECK == 0) {
372 *nlno = lcnt;
/freebsd-9.3-release/usr.bin/split/
H A Dsplit.c277 long lcnt = 0; local
300 } else if (lcnt++ == numlines) {
302 lcnt = 1;
/freebsd-9.3-release/sys/vm/
H A Dvm_phys.c73 int lcnt; member in struct:vm_freelist
163 sbuf_printf(&sbuf, " | %6d", fl[oind].lcnt);
400 fl[oind].lcnt++;
519 fl[oind].lcnt--;
538 alt[oind].lcnt--;
726 fl[order].lcnt--;
738 fl[order].lcnt++;
844 fl[order].lcnt--;
857 fl[order].lcnt++;
1006 fl[m->order].lcnt
[all...]
/freebsd-9.3-release/sbin/fsck_ffs/
H A Ddir.c276 adjust(struct inodesc *idesc, int lcnt) argument
282 if (DIP(dp, di_nlink) == lcnt) {
308 lcnt--;
311 if (lcnt != 0) {
316 DIP(dp, di_nlink), DIP(dp, di_nlink) - lcnt);
318 if (lcnt < 0) {
327 DIP_SET(dp, di_nlink, DIP(dp, di_nlink) - lcnt);
331 cmd.size = -lcnt;
H A Dfsck.h397 void adjust(struct inodesc *, int lcnt);
/freebsd-9.3-release/lib/libc/nameser/
H A Dns_print.c414 int n, lcnt; local
431 lcnt = 0;
436 if (lcnt == 0) {
439 lcnt = 10;
444 lcnt--;
/freebsd-9.3-release/sbin/fsdb/
H A Dfsdb.c1013 int lcnt; local
1019 lcnt = strtol(argv[1], &cp, 0);
1024 if (lcnt > USHRT_MAX || lcnt < 0) {
1029 DIP_SET(curinode, di_nlink, lcnt);
/freebsd-9.3-release/usr.sbin/pwd_mkdb/
H A Dpwd_mkdb.c640 static int lcnt; local
647 ++lcnt;
656 warnx("line #%d too long", lcnt);
675 warnx("at line #%d", lcnt);

Completed in 94 milliseconds