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

/netbsd-current/external/bsd/nvi/dist/vi/
H A Dv_ulcase.c59 size_t cno, lcnt, len; local
85 lcnt = len - 1;
90 lcnt = cno + cnt - 1;
93 vp->m_final.cno = lcnt + 1;
96 if (ulcase(sp, lno, p, len, cno, lcnt))
H A Dvs_refresh.c150 db_recno_t lastline, lcnt; local
232 lcnt = vs_sm_nlines(sp, HMAP, LNO, sp->t_maxrows);
233 if (lcnt <= HALFSCREEN(sp))
234 for (; lcnt && sp->t_rows != sp->t_maxrows;
235 --lcnt, ++sp->t_rows) {
243 lcnt = vs_sm_nlines(sp, TMAP, LNO, sp->t_maxrows);
244 if (lcnt <= HALFSCREEN(sp))
245 for (; lcnt && sp->t_rows != sp->t_maxrows;
246 --lcnt, ++sp->t_rows) {
285 lcnt
[all...]
H A Dvs_smap.c1056 size_t lcnt; local
1063 lcnt = vs_screens(sp, p->lno, NULL);
1064 if (lcnt == p->soff) {
1228 db_recno_t lno, lcnt; local
1238 lcnt = from_sp->soff - 1; /* Correct for off-by-one. */
1239 for (lno = from_sp->lno; --lno >= to_lno && lcnt <= max;)
1240 lcnt += vs_screens(sp, lno, NULL);
1243 lcnt = (vs_screens(sp, lno, NULL) - from_sp->soff) + 1;
1244 for (; ++lno < to_lno && lcnt <= max;)
1245 lcnt
[all...]
/netbsd-current/usr.bin/man/
H A Dmanconf.c105 int lcnt; local
113 for (lcnt = 1; (p = fgetln(cfp, &len)) != NULL; ++lcnt) {
117 warnx("%s: line %d corrupted", fname, lcnt);
168 fname, lcnt, p);
H A Dman.c846 int lcnt, print; local
859 for (lcnt = print = 0; fgets(buf, sizeof(buf), fp);) {
873 ++lcnt;
875 for(; lcnt; --lcnt)
/netbsd-current/sys/dev/acpi/
H A Ddwiic_acpi.c49 uint16_t lcnt; member in struct:dwiic_acpi_param
158 param->lcnt = (uint16_t)obj->Package.Elements[1].Integer.Value;
172 sc->ss_lcnt = sscn.lcnt;
176 sc->fs_lcnt = fmcn.lcnt;
/netbsd-current/external/bsd/nvi/dist/ex/
H A Dex_read.c310 db_recno_t lcnt, lno; local
326 lcnt = 0;
328 for (lno = fm->lno; !ex_getline(sp, fp, &len); ++lno, ++lcnt) {
329 if ((lcnt + 1) % INTERRUPT_CHECK == 0) {
349 *nlinesp = lcnt;
354 "148|%s: %lu lines, %lu characters", q, (unsigned long)lcnt,
H A Dex_write.c297 db_recno_t fline, tline, lcnt; local
330 lcnt = 0;
333 for (; fline <= tline; ++fline, ++lcnt) {
335 if ((lcnt + 1) % INTERRUPT_CHECK == 0) {
383 *nlno = lcnt;
/netbsd-current/lib/libcurses/
H A Dslk.c815 int retval, inc, lcnt, tx; local
842 lcnt = 0;
844 while (lcnt < screen->slk_label_len) {
845 inc = wctomb(ts, l->label[lcnt]);
848 lcnt++;
854 l->x + tx, 0, lcnt, l->label[lcnt]);
856 screen->slk_label_len, wcwidth(l->label[lcnt]));
858 wc[0] = l->label[lcnt];
866 if (l->x + wcwidth(l->label[lcnt]
[all...]
/netbsd-current/games/snake/snake/
H A Dsnake.c115 static int lcnt, ccnt; /* user's idea of screen size */ variable
172 lcnt = atoi(optarg);
201 if (!lcnt || lcnt > LINES - 2)
202 lcnt = LINES - 2;
206 i = MIN(lcnt, ccnt);
336 repeat = lcnt - 1 - you.line;
402 if (you.line + 1 < lcnt) {
407 (you.line == lcnt - 1))
472 mvaddch(lcnt
[all...]
/netbsd-current/sys/kern/
H A Dsys_sched.c114 u_int lcnt; local
155 lcnt = 0;
163 lcnt++;
192 return (lcnt == 0) ? ESRCH : error;
350 u_int lcnt; local
437 lcnt = 0;
466 lcnt++;
469 if (lcnt == 0) {
H A Dsys_pset.c429 int error = 0, lcnt; local
498 lcnt = 0;
514 lcnt++;
517 if (lcnt == 0) {
H A Dvfs_lockf.c196 u_long lcnt; local
200 lcnt = atomic_inc_ulong_nv(&uip->ui_lockcnt);
201 if (uid && allowfail && lcnt >
/netbsd-current/usr.bin/split/
H A Dsplit.c248 off_t lcnt; local
254 for (lcnt = 0;;)
268 if (*Ce == '\n' && ++lcnt == numlines) {
272 lcnt = 0;
/netbsd-current/sbin/fsck_ffs/
H A Ddir.c445 adjust(struct inodesc *idesc, int lcnt) argument
453 if (nlink == lcnt) {
479 lcnt--;
482 if (lcnt != 0) {
488 nlink, nlink - lcnt);
490 if (lcnt < 0) {
498 DIP_SET(dp, nlink, iswap16(nlink - lcnt));
/netbsd-current/sys/arch/mips/ingenic/
H A Djziic.c243 int ticks, hcnt, lcnt, hold, setup; local
248 lcnt = (ticks * 47 / (40 + 47)) - 1;
253 DPRINTF("hcnt %d lcnt %d hold %d\n", hcnt, lcnt, hold);
255 bus_space_write_4(sc->sc_memt, sc->sc_memh, JZ_SMBSLCNT, lcnt);
/netbsd-current/sbin/fsck_ext2fs/
H A Ddir.c319 adjust(struct inodesc *idesc, short lcnt) argument
324 if (fs2h16(dp->e2di_nlink) == lcnt) {
332 fs2h16(dp->e2di_nlink), fs2h16(dp->e2di_nlink) - lcnt);
334 if (lcnt < 0) {
341 dp->e2di_nlink = h2fs16(fs2h16(dp->e2di_nlink) - lcnt);
/netbsd-current/sbin/fsck_lfs/
H A Ddir.c331 adjust(struct inodesc *idesc, short lcnt) argument
337 * XXX: (1) since lcnt is apparently a delta, rename it; (2)
344 if (lfs_dino_getnlink(fs, dp) == lcnt) {
352 lfs_dino_getnlink(fs, dp), lfs_dino_getnlink(fs, dp) - lcnt);
354 if (lcnt < 0) {
362 lfs_dino_getnlink(fs, dp) - lcnt);
/netbsd-current/external/gpl3/gcc/dist/libquadmath/printf/
H A Dprintf_fp.c957 size_t lcnt = fracsize;
958 while (lcnt >= 1 && frac[lcnt - 1] == 0)
959 --lcnt;
960 more_bits = lcnt > 0;
955 size_t lcnt = fracsize; local
/netbsd-current/external/gpl3/gcc.old/dist/libquadmath/printf/
H A Dprintf_fp.c957 size_t lcnt = fracsize;
958 while (lcnt >= 1 && frac[lcnt - 1] == 0)
959 --lcnt;
960 more_bits = lcnt > 0;
955 size_t lcnt = fracsize; local
/netbsd-current/external/bsd/libbind/dist/nameser/
H A Dns_print.c414 int n, lcnt; local
431 lcnt = 0;
436 if (lcnt == 0) {
439 lcnt = 10;
444 lcnt--;
/netbsd-current/lib/libc/nameser/
H A Dns_print.c421 int n, lcnt; local
438 lcnt = 0;
443 if (lcnt == 0) {
446 lcnt = 10;
451 lcnt--;
/netbsd-current/sbin/fsdb/
H A Dfsdb.c1532 int lcnt; local
1538 lcnt = strtol(argv[1], &cp, 0);
1543 if (lcnt > USHRT_MAX || lcnt < 0) {
1547 DIP_SET(curinode, nlink, iswap16(lcnt));

Completed in 245 milliseconds