/netbsd-current/external/lgpl3/gmp/dist/mpn/arm64/ |
H A D | lshiftc.asm | 50 define(`cnt', `x3') 63 sub tnc, xzr, cnt 71 PSHIFT x2, x4, cnt 82 PSHIFT x2, x4, cnt 90 PSHIFT x13, x5, cnt 92 PSHIFT x2, x4, cnt 106 PSHIFT x13, x5, cnt 108 PSHIFT x2, x4, cnt 119 PSHIFT x2, x6, cnt 121 PSHIFT x13, x5, cnt [all...] |
/netbsd-current/sys/arch/dreamcast/dev/ |
H A D | gdrom.c | 201 int cnt = (GDROM_CNTHI << 8) | GDROM_CNTLO; local 202 DPRINTF(("GDROM: cnt = %d\n", cnt)); 203 sc->cmd_actual += cnt; 204 if (cnt > 0 && sc->cmd_result_size > 0) { 205 int subcnt = (cnt > sc->cmd_result_size ? 206 sc->cmd_result_size : cnt); 211 cnt -= subcnt; 217 while (cnt > 0) { 219 cnt 350 gdrom_read_sectors(struct gdrom_softc *sc, void *buf, int sector, int cnt, int *resid) argument 445 int s, error, unit, cnt; local [all...] |
/netbsd-current/external/gpl3/gcc.old/dist/libphobos/libdruntime/rt/util/container/ |
H A D | array.d | 197 size_t cnt; 198 assert(cnt == 0); 199 ary.insertBack(RC(&cnt)); 200 assert(cnt == 1); 201 ary.insertBack(RC(&cnt)); 202 assert(cnt == 2); 204 assert(cnt == 2); 206 assert(cnt == 1); 208 assert(cnt == 0);
|
/netbsd-current/external/gpl3/gcc/dist/libphobos/libdruntime/core/internal/container/ |
H A D | array.d | 197 size_t cnt; 198 assert(cnt == 0); 199 ary.insertBack(RC(&cnt)); 200 assert(cnt == 1); 201 ary.insertBack(RC(&cnt)); 202 assert(cnt == 2); 204 assert(cnt == 2); 206 assert(cnt == 1); 208 assert(cnt == 0);
|
/netbsd-current/lib/libc/citrus/modules/ |
H A D | citrus_utf8.c | 271 int cnt, i, ret; local 281 cnt = _UTF8_findlen(wc); 282 if (cnt <= 0 || cnt > 6) { 287 if (n < cnt) { 295 for (i = cnt - 1; i > 0; i--) { 300 if (cnt == 1) 303 s[0] &= (0x7f >> cnt); 304 s[0] |= ((0xff00 >> cnt) & 0xff); 308 *nresult = (size_t)cnt; [all...] |
/netbsd-current/tests/lib/libc/sys/ |
H A D | t_sendmmsg.c | 82 int fd[2], error, cnt; local 152 cnt = sendmmsg(fd[1], mmsghdr + n, npkt, 0); 153 if (cnt == -1 && errno == ENOBUFS) { 165 ATF_REQUIRE_MSG(cnt != -1, "sendmmsg %u failed (%s)", 168 printf("sendmmsg: sent %u messages\n", cnt); 169 n += cnt; 186 cnt = recv(fd[0], rgram, sizeof(rgram), 0); 187 ATF_REQUIRE_MSG(cnt != -1 || errno != ENOBUFS, 189 ATF_CHECK_EQ_MSG(cnt, sizeof(rgram), 195 } while (cnt [all...] |
/netbsd-current/sys/dev/rasops/ |
H A D | rasops1-4_putchar.h | 91 int height, width, full, cnt, bit; local 220 for (cnt = full; cnt; cnt--) 254 for (cnt = full; cnt; cnt--) { 291 for (cnt = full; cnt; cnt [all...] |
/netbsd-current/external/apache2/llvm/dist/llvm/utils/benchmark/src/ |
H A D | statistics.cc | 113 for(auto const& cnt : r.counters) { 114 auto it = counter_stats.find(cnt.first); 116 counter_stats.insert({cnt.first, {cnt.second, std::vector<double>{}}}); 117 it = counter_stats.find(cnt.first); 120 CHECK_EQ(counter_stats[cnt.first].c.flags, cnt.second.flags); 135 for(auto const& cnt : run.counters) { 136 auto it = counter_stats.find(cnt.first); 138 it->second.s.emplace_back(cnt [all...] |
/netbsd-current/external/apache2/llvm/dist/libcxx/utils/google-benchmark/src/ |
H A D | statistics.cc | 108 for (auto const& cnt : r.counters) { 109 auto it = counter_stats.find(cnt.first); 111 counter_stats.insert({cnt.first, {cnt.second, std::vector<double>{}}}); 112 it = counter_stats.find(cnt.first); 115 CHECK_EQ(counter_stats[cnt.first].c.flags, cnt.second.flags); 128 for (auto const& cnt : run.counters) { 129 auto it = counter_stats.find(cnt.first); 131 it->second.s.emplace_back(cnt [all...] |
/netbsd-current/sys/external/bsd/drm2/dist/drm/nouveau/ |
H A D | nouveau_dma.c | 126 uint32_t cnt = 0, prev_get = 0; local 132 cnt = 0; 135 if ((++cnt & 0xff) == 0) { 137 if (cnt > 100000) 153 int ret, cnt = 0; local 160 int get = READ_GET(chan, &prev_get, &cnt); 175 get = READ_GET(chan, &prev_get, &cnt); 196 int cnt = 0, get; local 202 get = READ_GET(chan, &prev_get, &cnt); 248 get = READ_GET(chan, &prev_get, &cnt); [all...] |
/netbsd-current/crypto/external/bsd/openssl.old/dist/crypto/ |
H A D | alphacpuid.pl | 167 my ($out,$cnt,$max)=("\$16","\$17","\$18"); 178 mov $cnt,$v0 201 subl $cnt,1,$cnt 203 bne $cnt,.Loop 213 mov $cnt,$v0 246 subl $cnt,$tick,$cnt 248 bne $cnt,.Loop2 251 subl $v0,$cnt, [all...] |
/netbsd-current/crypto/external/bsd/openssl/dist/crypto/ |
H A D | alphacpuid.pl | 166 my ($out,$cnt,$max)=("\$16","\$17","\$18"); 177 mov $cnt,$v0 200 subl $cnt,1,$cnt 202 bne $cnt,.Loop 212 mov $cnt,$v0 245 subl $cnt,$tick,$cnt 247 bne $cnt,.Loop2 250 subl $v0,$cnt, [all...] |
/netbsd-current/external/bsd/atf/dist/atf-c/detail/ |
H A D | text_test.c | 143 size_t cnt; local 146 cnt = 0; 148 RE(atf_text_for_each_word("1 2 3", " ", word_count, &cnt)); 150 ATF_REQUIRE(cnt == 3); 153 cnt = 0; 155 RE(atf_text_for_each_word("1 2 3", ".", word_count, &cnt)); 157 ATF_REQUIRE(cnt == 1); 160 cnt = 0; 162 RE(atf_text_for_each_word("1 2 3 4 5", " ", word_count, &cnt)); 164 ATF_REQUIRE(cnt [all...] |
/netbsd-current/external/bsd/unbound/dist/compat/ |
H A D | getentropy_solaris.c | 257 static int cnt; local 285 cnt += (int)tv.tv_sec; 286 cnt += (int)tv.tv_usec; 353 mo = cnt % 356 cnt += (int)((long)(mm[m].p) 366 cnt += (int)ts.tv_nsec; 372 cnt += (int)ru.ru_utime.tv_sec; 373 cnt += (int)ru.ru_utime.tv_usec; 414 cnt += (int)ru.ru_utime.tv_sec; 415 cnt [all...] |
/netbsd-current/sys/dev/spi/ |
H A D | spiflash.c | 353 int cnt = 0; local 360 cnt += bp->b_bcount - bp->b_resid; 363 disk_unbusy(&sc->sc_dk, cnt, flag); 376 int cnt = bp->b_resid; local 380 DPRINTF(("read from addr %x, cnt %d\n", (unsigned)addr, cnt)); 382 if ((err = sc->sc_read(sc, addr, cnt, data)) != 0) { 388 bp->b_resid -= cnt; 389 data += cnt; 390 addr += cnt; 632 int cnt; local 673 int cnt; local 716 spiflash_cmd(spiflash_handle_t sc, uint8_t cmd, size_t addrlen, uint32_t addr, size_t cnt, const uint8_t *wdata, uint8_t *rdata) argument [all...] |
/netbsd-current/usr.bin/find/ |
H A D | function.c | 592 size_t cnt; local 626 for (cnt = 0; plan->e_argv[cnt]; ++cnt) 627 if (plan->e_len[cnt]) 628 brace_subst(plan->e_orig[cnt], 629 &plan->e_argv[cnt], 631 &plan->e_len[cnt]); 723 size_t cnt; local 763 cnt 838 size_t cnt; local 882 size_t cnt; local [all...] |
/netbsd-current/lib/libedit/ |
H A D | keymacro.c | 488 size_t cnt) 497 (void) node_enum(el, ptr, cnt); 503 used = ct_visual_char(el->el_keymacro.buf + cnt, 504 KEY_BUFSIZ - cnt, ptr->ch); 510 (size_t)used + cnt)); 514 size_t px = cnt + (size_t)used; 528 cnt)); 540 node_enum(EditLine *el, keymacro_node_t *ptr, size_t cnt) argument 544 if (cnt >= KEY_BUFSIZ - 5) { /* buffer too small */ 545 el->el_keymacro.buf[++cnt] 487 node_lookup(EditLine *el, const wchar_t *str, keymacro_node_t *ptr, size_t cnt) argument [all...] |
/netbsd-current/sys/dev/gpib/ |
H A D | gpibvar.h | 95 #define gpibxfer(ic, slave, sec, buf, cnt, rw, timo) \ 96 (*((ic)->xfer))((ic)->cookie, (slave), (sec), (buf), (cnt), \ 121 #define gpibsend(ic, slave, sec, addr, cnt) \ 122 _gpibsend((ic)->bus, (slave), (sec), (addr), (cnt)) 123 #define gpibrecv(ic, slave, sec, addr, cnt) \ 124 _gpibrecv((ic)->bus, (slave), (sec), (addr), (cnt))
|
/netbsd-current/sys/arch/macppc/dev/ |
H A D | nvram.c | 135 u_int off, cnt; local 143 cnt = uio->uio_resid; 145 if (off > NVRAM_SIZE || cnt > NVRAM_SIZE) 148 if (off + cnt > NVRAM_SIZE) 149 cnt = NVRAM_SIZE - off; 180 error = uiomove(buf + off, cnt, uio);
|
/netbsd-current/external/lgpl3/gmp/dist/mpn/sparc64/ultrasparc1234/ |
H A D | lshiftc.asm | 42 define(`cnt',`%i3') 60 sub %g0,cnt,tnc C negate shift count 67 sllx u3,cnt,%g3 82 sllx u0,cnt,%g1 92 sllx u1,cnt,%g3 102 sllx u2,cnt,%g1 112 sllx u3,cnt,%g3 123 sllx u0,cnt,%g1 128 sllx u1,cnt,%g3 133 sllx u2,cnt, [all...] |
/netbsd-current/sys/arch/sgimips/stand/common/ |
H A D | disk.c | 57 size_t *cnt) 72 *cnt = 0; 93 *cnt = count; 106 size_t cnt; local 156 buf, &cnt); 157 if (error || cnt != DEV_BSIZE) { 56 diskstrategy(void *devdata, int rw, daddr_t bn, size_t reqcnt, void *addr, size_t *cnt) argument
|
/netbsd-current/sys/arch/arc/stand/boot/ |
H A D | disk.c | 57 size_t *cnt) 72 *cnt = 0; 93 *cnt = count; 106 size_t cnt; local 156 buf, &cnt); 157 if (error || cnt != DEV_BSIZE) { 56 diskstrategy(void *devdata, int rw, daddr_t bn, size_t reqcnt, void *addr, size_t *cnt) argument
|
/netbsd-current/external/bsd/nvi/dist/vi/ |
H A D | v_replace.c | 58 u_long cnt; local 93 cnt = F_ISSET(vp, VC_C1SET) ? vp->count : 1; 95 vp->m_stop.cno = vp->m_start.cno + cnt - 1; 181 p += vp->m_start.cno + cnt; 182 len -= vp->m_start.cno + cnt; 204 STRSET(bp + vp->m_start.cno, vip->rlast, cnt);
|
/netbsd-current/external/gpl3/gcc/dist/libquadmath/printf/ |
H A D | quadmath-printf.h | 143 size_t cnt; local 145 for (cnt = 0; cnt < n; cnt++) 146 if (putwc (ls[cnt], fp->fp) == WEOF) 148 return cnt;
|
/netbsd-current/external/lgpl3/gmp/dist/mpn/arm/ |
H A D | bdiv_q_1.asm | 61 define(`cnt', `r6') 68 mov cnt, #0 74 moveq cnt, #16 77 addeq cnt, cnt, #8 82 add cnt, cnt, r10 100 ldr cnt, [sp, #28] 104 cmp cnt, #0 129 rsb tnc, cnt, #3 [all...] |