Searched refs:cnt (Results 601 - 625 of 1625) sorted by relevance

<<21222324252627282930>>

/netbsd-current/external/gpl3/gdb.old/dist/sim/m68hc11/
H A Ddv-m68hc11sio.c252 int cnt; local
261 cnt = dv_sockser_read (sd);
262 if (cnt != -1)
264 cc = (char) cnt;
265 cnt = 1;
270 cnt = sim_io_poll_read (sd, 0 /* stdin */, &cc, 1);
274 cnt = 0;
278 if (cnt == 1)
/netbsd-current/external/ibm-public/postfix/dist/src/util/
H A Dvstream.c602 (bp)->cnt = VSTREAM_BUF_COUNT((bp), (bp)->len); \
608 (bp)->cnt = VSTREAM_BUF_COUNT(bp, (bp)->len - (offset)); \
612 (bp)->cnt = 0; \
619 (bp)->len = (bp)->cnt = 0; \
643 stream->buffer.len = stream->buffer.cnt = 0; \
651 vstream_fflush_some((stream), (stream)->buf.len - (stream)->buf.cnt)
772 used = bp->len - bp->cnt;
853 bp->cnt += to_flush;
912 || stream->read_buf.cnt >= 0)
923 if (bp->cnt <
[all...]
/netbsd-current/sys/dev/isa/
H A Dcec.c305 int cnt = origcnt; local
308 DPRINTF(DBG_FOLLOW, ("cecsendcmds: sc=%p, ptr=%p cnt=%d\n",
311 while (--cnt >= 0) {
314 return (origcnt - cnt - 1);
326 int cnt = origcnt; local
329 DPRINTF(DBG_FOLLOW, ("cecrecvdata: sc=%p, ptr=%p cnt=%d\n",
335 if (cnt) {
336 while (--cnt >= 0) {
338 return (origcnt - cnt - 1);
351 int cnt local
[all...]
/netbsd-current/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/bios/
H A Dnouveau_nvkm_subdev_bios_pll.c86 pll_limits_table(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len) argument
100 *cnt = nvbios_rd08(bios, data + 3);
110 *cnt = 1;
152 u8 hdr, cnt; local
155 data = pll_limits_table(bios, ver, &hdr, &cnt, len);
158 while (cnt--) {
173 while (cnt--) {
194 u8 hdr, cnt; local
197 data = pll_limits_table(bios, ver, &hdr, &cnt, len);
200 while (cnt
[all...]
/netbsd-current/usr.bin/mail/
H A Dlex.c82 int cnt; local
84 cnt = 0;
88 cnt++;
90 return cnt;
97 int cnt; local
106 cnt = 0;
111 cnt++;
119 return cnt;
1064 int cnt = get_abs_msgCount(); local
1065 (void)printf("%d message%s", cnt, cn
[all...]
/netbsd-current/sys/arch/playstation2/dev/
H A Dif_smap.c327 int i, j, sz, rxsz, cnt; local
333 for (cnt = 0;; cnt++, i = (i + 1) & 0x3f) {
398 if (((r16 & SPD_INTR_RXDNV) == 0) && cnt > 0) {
700 static int cnt; local
703 cnt += enter ? 1 : -1;
705 if (cnt < 0 || cnt > 1)
706 panic("%s cnt=%d last=%s", func, cnt, las
714 static int cnt; local
[all...]
/netbsd-current/external/lgpl3/gmp/dist/mpn/arm/neon/
H A Dlorrshift.asm69 define(`cnt', `r3')
214 rsb tnc, cnt, #32
216 mov r7, r4, lsl cnt
232 mov r7, r6, lsl cnt
236 mov r7, r8, lsl cnt
240 mov r7, r6, lsl cnt
246 rsb tnc, cnt, #32
248 mov r7, r4, lsr cnt
265 mov r7, r6, lsr cnt
269 mov r7, r8, lsr cnt
[all...]
/netbsd-current/external/bsd/top/dist/machine/
H A Dm_sunos5.c580 * void procs_prealloc(int cnt)
582 * Preallocate "cnt" procs structures. If "cnt" is less than or equal
590 int cnt; local
594 cnt = max - maxprocs;
595 if (cnt > 0)
597 dprintf("procs_prealloc: need %d, deficit %d\n", max, cnt);
601 new = (struct prpsinfo *)malloc(cnt * PRPSINFOSIZE);
604 while (--cnt >= 0)
935 get_cpustats(int *cnt, struc argument
1120 register int cnt, i; local
[all...]
/netbsd-current/sys/arch/hpcsh/dev/hd64461/
H A Dhd64461video.c452 size_t idx, cnt; local
522 cnt = cmap->count;
528 !LEGAL_CLUT_INDEX(idx + cnt -1)) {
532 error = cmap_work_alloc(&r, &g, &b, 0, cnt);
535 hd64461video_get_clut(sc->sc_vc, idx, cnt, r, g, b);
536 error = copyout(r, cmap->red, cnt);
539 error = copyout(g, cmap->green,cnt);
542 error = copyout(b, cmap->blue, cnt);
550 cnt = cmap->count;
556 !LEGAL_CLUT_INDEX(idx + cnt
1124 hd64461video_set_clut(struct hd64461video_chip *vc, int idx, int cnt, uint8_t *r, uint8_t *g, uint8_t *b) argument
1148 hd64461video_get_clut(struct hd64461video_chip *vc, int idx, int cnt, uint8_t *r, uint8_t *g, uint8_t *b) argument
[all...]
/netbsd-current/crypto/dist/ipsec-tools/src/racoon/
H A Dschedule.c188 int cnt = 0; local
195 cnt++;
198 if (cnt == 0)
201 *len = cnt * sizeof(*dst);
/netbsd-current/external/bsd/atf/dist/atf-c/
H A Dutils.c327 ssize_t cnt; local
334 while ((cnt = read(fd, &ch, sizeof(ch))) == sizeof(ch) &&
339 ATF_REQUIRE(cnt != -1);
341 if (cnt == 0 && atf_dynstr_length(&temp) == 0) {
/netbsd-current/external/bsd/nvi/dist/ex/
H A Dex_args.c272 int cnt, sep; local
282 for (cnt = 1, ap = sp->argv; *ap != NULL; ++ap) {
288 } else if (cnt != 1) {
292 ++cnt;
H A Dex_global.c80 int cnt, delim, eval; local
200 cnt = INTERRUPT_CHECK;
203 if (cnt-- == 0) {
212 cnt = INTERRUPT_CHECK;
/netbsd-current/lib/libc/db/btree/
H A Dbt_utils.c240 size_t cnt, len; local
242 cnt = 1;
244 for (p1 = a->data, p2 = b->data; len--; ++p1, ++p2, ++cnt)
246 return (cnt);
/netbsd-current/sys/arch/i386/stand/lib/test/
H A Dbiosdisk_user.c125 int16_t cnt; member in struct:ext
/netbsd-current/sys/arch/mvme68k/dev/
H A Dclock_pcc.c159 u_int cnt; local
181 cnt = clock_pcc_count;
184 cnt += (tc1 - clock_pcc_reload) +
187 return cnt;
/netbsd-current/sys/dev/mvme/
H A Dclock_pcctwo.c163 u_int cnt; local
185 cnt = clock_pcctwo_count;
188 cnt += tc1 + (PCCTWO_TIMERFREQ / 100) * PCCTWO_TT_CTRL_OVF(cr);
190 return cnt;
/netbsd-current/external/gpl2/gettext/dist/gettext-tools/gnulib-lib/
H A Dhash.c123 size_t cnt; local
129 cnt = 0;
131 while (cnt < keylen)
134 hval += (unsigned long int) *(((const char *) key) + cnt++);
/netbsd-current/external/gpl2/gettext/dist/gettext-tools/libgettextpo/
H A Dhash.c123 size_t cnt; local
129 cnt = 0;
131 while (cnt < keylen)
134 hval += (unsigned long int) *(((const char *) key) + cnt++);
/netbsd-current/external/gpl2/gettext/dist/gnulib-local/lib/
H A Dhash.c123 size_t cnt; local
129 cnt = 0;
131 while (cnt < keylen)
134 hval += (unsigned long int) *(((const char *) key) + cnt++);
/netbsd-current/external/cddl/osnet/dist/uts/common/fs/zfs/sys/
H A Ddmu_impl.h244 int cnt; member in struct:dmu_xuio
/netbsd-current/external/bsd/ntp/dist/libntp/
H A Dstatestr.c321 int cnt
326 if (cnt == 0)
330 snprintf(buf, LIB_BUFLENGTH, "%d event%s", cnt,
331 (1 == cnt)
/netbsd-current/sys/uvm/
H A Duvm_object.c344 int cnt = 0; local
361 cnt++;
363 if ((cnt % 3) == 0) {
369 if ((cnt % 3) != 0) {
/netbsd-current/sys/arch/arc/arc/
H A Darcbios.c86 int cnt; local
89 if (Bios_Read(0, &buf, 1, &cnt) != arc_ESUCCESS)
97 int cnt; local
101 Bios_Write(1, &buf, 1, &cnt);
/netbsd-current/external/lgpl3/gmp/dist/
H A Dgen-trialdivtab.c231 int cnt; local
235 cnt = limb_bits - mpz_log2 (b);
246 mpz_mul_2exp (t, t, limb_bits - cnt);
268 mpz_set_ui (cps[1], cnt);

Completed in 402 milliseconds

<<21222324252627282930>>