Home
last modified time | relevance | path

Searched refs:lcnt (Results 1 – 16 of 16) sorted by relevance

/freebsd/contrib/nvi/vi/
H A Dvs_refresh.c166 recno_t lastline, lcnt; in vs_paint() local
246 lcnt = vs_sm_nlines(sp, HMAP, LNO, sp->t_maxrows); in vs_paint()
247 if (lcnt <= HALFSCREEN(sp)) in vs_paint()
248 for (; lcnt && sp->t_rows != sp->t_maxrows; in vs_paint()
249 --lcnt, ++sp->t_rows) { in vs_paint()
257 lcnt = vs_sm_nlines(sp, TMAP, LNO, sp->t_maxrows); in vs_paint()
258 if (lcnt <= HALFSCREEN(sp)) in vs_paint()
259 for (; lcnt && sp->t_rows != sp->t_maxrows; in vs_paint()
260 --lcnt, ++sp->t_rows) { in vs_paint()
299 lcnt = vs_sm_nlines(sp, TMAP, LNO, HALFTEXT(sp)); in vs_paint()
[all …]
H A Dv_ulcase.c49 size_t cno, lcnt, len; in v_ulcase() local
75 lcnt = len - 1; in v_ulcase()
80 lcnt = cno + cnt - 1; in v_ulcase()
83 vp->m_final.cno = lcnt + 1; in v_ulcase()
86 if (ulcase(sp, lno, p, len, cno, lcnt)) in v_ulcase()
H A Dvs_smap.c1046 size_t lcnt; in vs_sm_next() local
1053 lcnt = vs_screens(sp, p->lno, NULL); in vs_sm_next()
1054 if (lcnt == p->soff) { in vs_sm_next()
1218 recno_t lno, lcnt; in vs_sm_nlines() local
1228 lcnt = from_sp->soff - 1; /* Correct for off-by-one. */ in vs_sm_nlines()
1229 for (lno = from_sp->lno; --lno >= to_lno && lcnt <= max;) in vs_sm_nlines()
1230 lcnt += vs_screens(sp, lno, NULL); in vs_sm_nlines()
1233 lcnt = (vs_screens(sp, lno, NULL) - from_sp->soff) + 1; in vs_sm_nlines()
1234 for (; ++lno < to_lno && lcnt <= max;) in vs_sm_nlines()
1235 lcnt += vs_screens(sp, lno, NULL); in vs_sm_nlines()
[all …]
/freebsd/contrib/nvi/ex/
H A Dex_read.c296 recno_t lcnt, lno; in ex_readfp() local
312 lcnt = 0; in ex_readfp()
314 for (lno = fm->lno; !ex_getline(sp, fp, &len); ++lno, ++lcnt) { in ex_readfp()
315 if ((lcnt + 1) % INTERRUPT_CHECK == 0) { in ex_readfp()
335 *nlinesp = lcnt; in ex_readfp()
341 (u_long)lcnt, ccnt); in ex_readfp()
H A Dex_write.c286 recno_t fline, tline, lcnt; in ex_writefp() local
316 lcnt = 0; in ex_writefp()
319 for (; fline <= tline; ++fline, ++lcnt) { in ex_writefp()
321 if ((lcnt + 1) % INTERRUPT_CHECK == 0) { in ex_writefp()
368 *nlno = lcnt; in ex_writefp()
/freebsd/usr.bin/split/
H A Dsplit.c278 long lcnt = 0; in split2() local
298 } else if (lcnt++ == numlines) { in split2()
300 lcnt = 1; in split2()
/freebsd/sbin/fsck_ffs/
H A Ddir.c451 adjust(struct inodesc *idesc, int lcnt) in adjust() argument
459 if (DIP(dp, di_nlink) == lcnt) { in adjust()
486 lcnt--; in adjust()
489 if (lcnt != 0) { in adjust()
494 DIP(dp, di_nlink), DIP(dp, di_nlink) - lcnt); in adjust()
496 if (lcnt < 0) { in adjust()
505 DIP_SET(dp, di_nlink, DIP(dp, di_nlink) - lcnt); in adjust()
509 cmd.size = -lcnt; in adjust()
H A Dfsck.h459 void adjust(struct inodesc *, int lcnt);
/freebsd/usr.sbin/pwd_mkdb/
H A Dpwd_mkdb.c530 static int lcnt; in scan() local
537 ++lcnt; in scan()
546 warnx("line #%d too long", lcnt); in scan()
565 warnx("at line #%d", lcnt); in scan()
/freebsd/sbin/fsdb/
H A Dfsdb.c1092 int lcnt; in CMDFUNCSTART() local
1098 lcnt = strtol(argv[1], &cp, 0); in CMDFUNCSTART()
1103 if (lcnt > USHRT_MAX || lcnt < 0) { in CMDFUNCSTART()
1108 DIP_SET(curinode, di_nlink, lcnt); in CMDFUNCSTART()
/freebsd/lib/libc/nameser/
H A Dns_print.c415 int n, lcnt; in ns_sprintrrf() local
432 lcnt = 0; in ns_sprintrrf()
437 if (lcnt == 0) { in ns_sprintrrf()
440 lcnt = 10; in ns_sprintrrf()
445 lcnt--; in ns_sprintrrf()
/freebsd/sys/contrib/device-tree/src/arm64/altera/
H A Dsocfpga_stratix10_socdk_nand.dts144 i2c-scl-falling-time-ns = <890>; /* lcnt */
H A Dsocfpga_stratix10_socdk.dts148 i2c-scl-falling-time-ns = <890>; /* lcnt */
/freebsd/sys/ufs/ffs/
H A Dffs_vnops.c1458 int error, i, lcnt; in ffs_close_ea() local
1477 for (lcnt = 1, tlen = ea_len - ip->i_ea_len; tlen > 0;) { in ffs_close_ea()
1479 lcnt++; in ffs_close_ea()
1482 liovec = __builtin_alloca(lcnt * sizeof(struct iovec)); in ffs_close_ea()
1483 luio.uio_iovcnt = lcnt; in ffs_close_ea()
1487 for (i = 1, tlen = ea_len - ip->i_ea_len; i < lcnt; i++) { in ffs_close_ea()
/freebsd/sys/vm/
H A Dvm_phys.c305 fl[oind].lcnt); in sysctl_vm_phys_free()
402 fl[order].lcnt++; in vm_freelist_add()
410 fl[order].lcnt--; in vm_freelist_rem()
1280 if (atomic_load_int(&fl[oind].lcnt) == 0) in vm_phys_lazy_init_domain()
2041 db_printf(" | %6.6d", fl[oind].lcnt); in DB_SHOW_COMMAND_FLAGS()
/freebsd/contrib/elftoolchain/readelf/
H A Dreadelf.c6761 Dwarf_Signed lcnt; in dump_dwarf_block() local
6766 re->cu_osize, re->cu_ver, &llbuf, &lcnt, &de) != DW_DLV_OK) { in dump_dwarf_block()
6787 Dwarf_Signed lcnt; in dump_dwarf_loclist() local
6883 if ((ret = dwarf_loclist_n(la->la_at, &llbuf, &lcnt, &de)) != in dump_dwarf_loclist()
6897 for (i = 0; i < lcnt; i++) { in dump_dwarf_loclist()
6922 for (i = 0; i < lcnt; i++) { in dump_dwarf_loclist()