/src/sys/external/bsd/compiler_rt/dist/lib/builtins/ |
int_util.h | 29 #define COMPILE_TIME_ASSERT1(expr, cnt) COMPILE_TIME_ASSERT2(expr, cnt) 30 #define COMPILE_TIME_ASSERT2(expr, cnt) \ 31 typedef char ct_assert_##cnt[(expr) ? 1 : -1] UNUSED
|
/src/bin/pax/ |
buf_subs.c | 219 off_t cnt; local in function:appnd_start 248 if ((cnt = (skcnt/blksz) * blksz) < skcnt) 249 cnt += blksz; 250 if (ar_rev((off_t)cnt) < 0) 258 if ((cnt -= skcnt) > 0) { 274 bufpt = buf + cnt; 385 pback(char *pt, int cnt) 387 bufpt -= cnt; 388 memcpy(bufpt, pt, cnt); 404 off_t cnt; local in function:rd_skip 493 int cnt; local in function:wr_rdbuf 530 int cnt; local in function:rd_wrbuf 577 int cnt; local in function:wr_skip 615 int cnt; local in function:wr_rdfile 685 int cnt = 0; local in function:rd_wrfile 784 int cnt; local in function:cp_file 885 int cnt; local in function:buf_fill 933 int cnt; local in function:buf_flush [all...] |
/src/usr.bin/tail/ |
read.c | 143 int blen, cnt, recno, wrap; local in function:displaylines 153 blen = cnt = recno = wrap = 0; 156 if (++cnt > blen) { 161 p = sp + cnt - 1; 165 if (lines[recno].blen < cnt) { 167 cnt + 256)) == NULL) 170 lines[recno].blen = cnt + 256; 172 memmove(lines[recno].l, sp, lines[recno].len = cnt); 173 cnt = 0; 186 if (cnt) { [all...] |
/src/sys/arch/sparc/dev/ |
sxreg.h | 194 #define SX_LD(dreg, cnt, o) (0x80000000 | ((cnt) << 23) | SX_LOAD | \ 196 #define SX_LDB(dreg, cnt, o) (0x80000000 | ((cnt) << 23) | SX_LOAD | \ 198 #define SX_LDW(dreg, cnt, o) (0x80000000 | ((cnt) << 23) | SX_LOAD | \ 200 #define SX_LDP(dreg, cnt, o) (0x80000000 | ((cnt) << 23) | SX_LOAD | \ 202 #define SX_LDUQ0(dreg, cnt, o) (0x80000000 | ((cnt) << 23) | SX_LOAD | [all...] |
/src/usr.bin/paste/ |
paste.c | 100 int cnt, output; local in function:parallel 106 for (cnt = 0; cnt < argc; cnt++) { 107 if (strcmp(argv[cnt], "-") == 0) 108 fpp[cnt] = stdin; 109 else if (!(fpp[cnt] = fopen(argv[cnt], "r"))) 110 err(1, "%s", argv[cnt]); 117 for (cnt = 0; cnt < argc; cnt++) 164 int cnt; local in function:sequential 201 int cnt; local in function:tr [all...] |
/src/sys/arch/hpc/stand/hpcboot/menu/ |
platform.cpp | 39 int i, cnt; local in function:HpcMenuInterface::_platform 42 for (i = cnt = 0, name = platid_name_table; 49 if (n == cnt) 55 if (n == cnt) { 64 return reinterpret_cast <void *>(cnt); 67 cnt++;
|
/src/games/battlestar/ |
getcom.c | 78 int cnt; local in function:getword 80 cnt = 1; 88 while (cnt < WORDLEN && *buf1 && 94 cnt++; 97 cnt++; 103 cnt++; 106 cnt++; 110 cnt++; 112 if (cnt == WORDLEN)
|
/src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/disp/ |
nouveau_nvkm_engine_disp_g84.c | 42 .head = { .cnt = nv50_head_cnt, .new = nv50_head_new }, 43 .dac = { .cnt = nv50_dac_cnt, .new = nv50_dac_new }, 44 .sor = { .cnt = nv50_sor_cnt, .new = g84_sor_new }, 45 .pior = { .cnt = nv50_pior_cnt, .new = nv50_pior_new },
|
nouveau_nvkm_engine_disp_g94.c | 42 .head = { .cnt = nv50_head_cnt, .new = nv50_head_new }, 43 .dac = { .cnt = nv50_dac_cnt, .new = nv50_dac_new }, 44 .sor = { .cnt = g94_sor_cnt, .new = g94_sor_new }, 45 .pior = { .cnt = nv50_pior_cnt, .new = nv50_pior_new },
|
nouveau_nvkm_engine_disp_gt200.c | 42 .head = { .cnt = nv50_head_cnt, .new = nv50_head_new }, 43 .dac = { .cnt = nv50_dac_cnt, .new = nv50_dac_new }, 44 .sor = { .cnt = nv50_sor_cnt, .new = g84_sor_new }, 45 .pior = { .cnt = nv50_pior_cnt, .new = nv50_pior_new },
|
nouveau_nvkm_engine_disp_gt215.c | 42 .head = { .cnt = nv50_head_cnt, .new = nv50_head_new }, 43 .dac = { .cnt = nv50_dac_cnt, .new = nv50_dac_new }, 44 .sor = { .cnt = g94_sor_cnt, .new = gt215_sor_new }, 45 .pior = { .cnt = nv50_pior_cnt, .new = nv50_pior_new },
|
nouveau_nvkm_engine_disp_mcp77.c | 40 .head = { .cnt = nv50_head_cnt, .new = nv50_head_new }, 41 .dac = { .cnt = nv50_dac_cnt, .new = nv50_dac_new }, 42 .sor = { .cnt = g94_sor_cnt, .new = mcp77_sor_new }, 43 .pior = { .cnt = nv50_pior_cnt, .new = nv50_pior_new },
|
nouveau_nvkm_engine_disp_mcp89.c | 40 .head = { .cnt = nv50_head_cnt, .new = nv50_head_new }, 41 .dac = { .cnt = nv50_dac_cnt, .new = nv50_dac_new }, 42 .sor = { .cnt = g94_sor_cnt, .new = mcp89_sor_new }, 43 .pior = { .cnt = nv50_pior_cnt, .new = nv50_pior_new },
|
nouveau_nvkm_engine_disp_gk104.c | 43 .head = { .cnt = gf119_head_cnt, .new = gf119_head_new }, 44 .dac = { .cnt = gf119_dac_cnt, .new = gf119_dac_new }, 45 .sor = { .cnt = gf119_sor_cnt, .new = gk104_sor_new },
|
nouveau_nvkm_engine_disp_gk110.c | 43 .head = { .cnt = gf119_head_cnt, .new = gf119_head_new }, 44 .dac = { .cnt = gf119_dac_cnt, .new = gf119_dac_new }, 45 .sor = { .cnt = gf119_sor_cnt, .new = gk104_sor_new },
|
nouveau_nvkm_engine_disp_gm107.c | 43 .head = { .cnt = gf119_head_cnt, .new = gf119_head_new }, 44 .dac = { .cnt = gf119_dac_cnt, .new = gf119_dac_new }, 45 .sor = { .cnt = gf119_sor_cnt, .new = gm107_sor_new },
|
/src/sys/dev/ic/ |
amdccp.c | 74 size_t cnt; local in function:amdccp_rnd_callback 80 for (cnt = 0; cnt < nwords; cnt++) { 81 buf[cnt] = amdccp_rnd_read(sc); 82 if (buf[cnt] == 0) { 86 if (cnt == 0) { 90 const size_t cntby = cnt * sizeof(buf[0]);
|
/src/sys/dev/pci/igc/ |
igc_evcnt.h | 251 #define IGC_GLOBAL_COUNTER(sc, cnt) \ 252 ((sc)->sc_global_evcnts[cnt].ev_count) 253 #define IGC_GLOBAL_COUNTER_ADD(sc, cnt, delta) \ 254 IGC_ATOMIC_ADD(&IGC_GLOBAL_COUNTER(sc, cnt), delta) 255 #define IGC_GLOBAL_COUNTER_STORE(sc, cnt, val) \ 256 IGC_ATOMIC_STORE(&IGC_GLOBAL_COUNTER(sc, cnt), val) 258 #define IGC_DRIVER_COUNTER(sc, cnt) \ 259 ((sc)->sc_driver_evcnts[cnt].ev_count) 260 #define IGC_DRIVER_COUNTER_ADD(sc, cnt, delta) \ 261 IGC_ATOMIC_ADD(&IGC_DRIVER_COUNTER(sc, cnt), delta [all...] |
/src/usr.bin/ctags/ |
print.c | 63 int cnt; local in function:get_line 76 else for (cnt = 0, cp = lbuf; GETC(!=, EOF) && cnt < ENDLINE; ++cnt) { 78 if (cnt > ENDLINE - 2) 81 ++cnt; 84 if (cnt > ENDLINE - 2) 87 ++cnt;
|
/src/lib/libtelnet/ |
misc.c | 80 auth_encrypt_connect(int cnt) 85 printd(const unsigned char *data, int cnt) 87 if (cnt > 16) 88 cnt = 16; 89 while (cnt-- > 0) {
|
/src/bin/dd/ |
conv.c | 64 uint64_t cnt; local in function:def 69 for (inp = in.dbp - (cnt = in.dbrcnt); cnt--; ++inp) 121 uint64_t cnt, maxlen; local in function:block 132 for (inp = in.db, cnt = in.dbrcnt; 133 cnt && *inp++ != '\n'; --cnt); 134 if (!cnt) { 141 in.dbcnt = cnt - 1; 142 in.dbp = inp + cnt - 1 232 uint64_t cnt; local in function:unblock 266 uint64_t cnt; local in function:unblock_close [all...] |
/src/sys/arch/macppc/dev/ |
obiofan.c | 86 int node = ca->ca_node, tc_node, f, cnt; local in function:obiofan_attach 129 cnt = 0; 135 sc->sc_reg[cnt] = tc_regs[num * 7 + 3]; 136 sc->sc_shift[cnt] = ffs(tc_regs[num * 7 + 4]) - 1; 138 DPRINTF("%s: %d %02x %d\n", descr, num, sc->sc_reg[cnt], sc->sc_shift[cnt]); 141 sc->sc_count[cnt] = 142 obio_read_4(sc->sc_reg[cnt]) >> sc->sc_shift[cnt]; 143 sc->sc_rpm[cnt] = -1 [all...] |
/src/lib/libc/gen/ |
ttyslot.c | 60 int cnt; local in function:__weak_alias 65 for (cnt = 0; cnt < 3; ++cnt) { 66 if (ioctl(cnt, TIOCPTSNAME, &ptm) != -1) { 69 } else if ((name = ttyname(cnt)) != NULL) { 91 if (fstat(cnt, &st) == -1)
|
/src/sys/dev/ppbus/ |
ppbus_io.h | 62 #define ppbus_outsb_epp(dev,buf,cnt) \ 63 ppbus_io((dev), PPBUS_OUTSB_EPP, (buf), (cnt), 0) 65 #define ppbus_outsw_epp(dev,buf,cnt) \ 66 ppbus_io((dev), PPBUS_OUTSW_EPP, (buf), (cnt), 0) 68 #define ppbus_outsl_epp(dev,buf,cnt) \ 69 ppbus_io((dev), PPBUS_OUTSL_EPP, (buf), (cnt), 0) 71 #define ppbus_insb_epp(dev,buf,cnt) \ 72 ppbus_io((dev), PPBUS_INSB_EPP, (buf), (cnt), 0) 74 #define ppbus_insw_epp(dev,buf,cnt) \ 75 ppbus_io(( dev), PPBUS_INSW_EPP, (buf), (cnt), 0 [all...] |
/src/sys/external/bsd/drm2/dist/drm/nouveau/include/nvkm/subdev/bios/ |
timing.h | 9 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *snr, u8 *ssz); 11 u8 *ver, u8 *hdr, u8 *cnt, u8 *len); 13 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_ramcfg *);
|