/netbsd-current/external/gpl3/gdb.old/dist/sim/m68hc11/ |
H A D | dv-m68hc11sio.c | 252 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 D | vstream.c | 602 (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 D | cec.c | 305 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 D | nouveau_nvkm_subdev_bios_pll.c | 86 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 D | lex.c | 82 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 D | if_smap.c | 327 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 D | lorrshift.asm | 69 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 D | m_sunos5.c | 580 * 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 D | hd64461video.c | 452 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 D | schedule.c | 188 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 D | utils.c | 327 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 D | ex_args.c | 272 int cnt, sep; local 282 for (cnt = 1, ap = sp->argv; *ap != NULL; ++ap) { 288 } else if (cnt != 1) { 292 ++cnt;
|
H A D | ex_global.c | 80 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 D | bt_utils.c | 240 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 D | biosdisk_user.c | 125 int16_t cnt; member in struct:ext
|
/netbsd-current/sys/arch/mvme68k/dev/ |
H A D | clock_pcc.c | 159 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 D | clock_pcctwo.c | 163 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 D | hash.c | 123 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 D | hash.c | 123 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 D | hash.c | 123 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 D | dmu_impl.h | 244 int cnt; member in struct:dmu_xuio
|
/netbsd-current/external/bsd/ntp/dist/libntp/ |
H A D | statestr.c | 321 int cnt 326 if (cnt == 0) 330 snprintf(buf, LIB_BUFLENGTH, "%d event%s", cnt, 331 (1 == cnt)
|
/netbsd-current/sys/uvm/ |
H A D | uvm_object.c | 344 int cnt = 0; local 361 cnt++; 363 if ((cnt % 3) == 0) { 369 if ((cnt % 3) != 0) {
|
/netbsd-current/sys/arch/arc/arc/ |
H A D | arcbios.c | 86 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 D | gen-trialdivtab.c | 231 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);
|