Searched refs:cnt (Results 526 - 550 of 1625) sorted by relevance

<<21222324252627282930>>

/netbsd-current/external/bsd/openldap/dist/libraries/librewrite/
H A Dmap.c48 int l, cnt, mtx = 0, rc = 0; local
59 for ( p = string, cnt = 1; p[ 0 ] != '\0' && cnt > 0; p++ ) {
65 cnt++;
71 cnt++;
80 cnt--;
83 if ( cnt != 0 ) {
/netbsd-current/sys/ufs/ffs/
H A Dffs_subr.c144 ffs_fragacct(struct fs *fs, int fragmap, uint32_t fraglist[], int cnt, argument
161 ufs_rw32(fraglist[siz], needswap) + cnt,
282 * Cnt == 1 means free; cnt == -1 means allocating.
285 ffs_clusteracct(struct fs *fs, struct cg *cgp, int32_t blkno, int cnt) argument
303 if (cnt > 0)
356 ufs_add32(sump[i], cnt, needswap);
358 ufs_add32(sump[back], -cnt, needswap);
360 ufs_add32(sump[forw], -cnt, needswap);
/netbsd-current/external/lgpl3/mpfr/dist/src/
H A Dset_ld.c64 int inexact, k, cnt; local
122 count_leading_zeros (cnt, tmpmant[0]);
123 tmpmant[0] <<= cnt; local
150 count_leading_zeros (cnt, tmpmant[i - 1]);
151 if (cnt != 0)
152 mpn_lshift (tmpmant + k, tmpmant, i, cnt);
169 MPFR_SET_EXP (tmp, exp - cnt - k * GMP_NUMB_BITS);
/netbsd-current/external/lgpl3/gmp/dist/demos/
H A Dpexpr.c750 int cnt; local
756 cnt = matchp (fns[i].spelling, str);
757 if (cnt != 0)
759 str = expr (str + cnt, &e1);
776 cnt = matchp (fns[i].spelling, str);
777 if (cnt != 0)
779 str = expr (str + cnt, &e1);
1009 unsigned long int cnt; local
1018 cnt = mpz_scan1 (lhs, 0);
1020 cnt
1141 { long int cnt; local
1147 { long int cnt; local
1159 { unsigned long int cnt; local
1170 { unsigned long int cnt; local
[all...]
/netbsd-current/external/bsd/ppp/dist/pppdump/
H A Dpppdump.c234 int cnt; member in struct:pkt
262 spkt.cnt = rpkt.cnt = 0;
280 if (spkt.cnt > 0)
282 spkt.cnt);
283 if (rpkt.cnt > 0)
285 rpkt.cnt);
288 if (pkt->cnt > 0) {
294 nb = pkt->cnt;
296 pkt->cnt
[all...]
/netbsd-current/games/hack/
H A Dhack.objnam.c453 int cnt, spe, spesgn, typ, heavy; local
457 cnt = spe = spesgn = typ = heavy = 0;
467 cnt = 1;
470 cnt = 1;
473 if (!cnt && digit(*bp)) {
474 cnt = atoi(bp);
480 if (!cnt)
481 cnt = 1; /* %% what with "gems" etc. ? */
529 if (cnt != 1) {
649 if (cnt >
[all...]
H A Dhack.mon.c320 int nx, ny, omx, omy, appr, nearer, cnt, i, j; local
463 cnt = mfndpos(mtmp, poss, info,
470 for (i = 0; i < cnt; i++) {
473 for (j = 0; j < MTSZ && j < cnt - 1; j++)
475 if (rn2(4 * (cnt - j)))
578 int x, y, nx, ny, cnt = 0, ntyp; local
601 info[cnt] = 0;
605 info[cnt] = ALLOW_U;
609 info[cnt] = ALLOW_M;
613 info[cnt] |
[all...]
/netbsd-current/sys/arch/dreamcast/dev/g1/
H A Dgdrom.c265 * 8 cnt(hi) cnt(mid)
266 * 10 cnt(lo) -
270 int sector, cnt; local
277 cnt = bp->b_bcount >> 11;
286 cmd[8] = cnt >> 16;
287 cmd[9] = cnt >> 8;
288 cmd[10] = cnt;
377 int s, error, unit, cnt; local
397 for (cnt
[all...]
/netbsd-current/external/gpl3/binutils.old/dist/gprofng/src/
H A DStringBuilder.cc453 int cnt; local
458 cnt = vsnprintf (value, maxCapacity, fmt, vp);
460 if (cnt < maxCapacity)
462 count = cnt;
467 ensureCapacity (cnt + 1);
479 int cnt = vsnprintf (value + count, maxCapacity - count, fmt, vp); local
481 if (cnt + count < maxCapacity)
483 count += cnt;
488 ensureCapacity (count + cnt + 1);
/netbsd-current/external/gpl3/binutils/dist/gprofng/src/
H A DStringBuilder.cc461 int cnt; local
466 cnt = vsnprintf (value, maxCapacity, fmt, vp);
468 if (cnt < maxCapacity)
470 count = cnt;
475 ensureCapacity (cnt + 1);
487 int cnt = vsnprintf (value + count, maxCapacity - count, fmt, vp); local
489 if (cnt + count < maxCapacity)
491 count += cnt;
496 ensureCapacity (count + cnt + 1);
/netbsd-current/regress/sys/net/frag/
H A Dip4_frag_1.c254 int cnt, left, off; local
266 cnt = IP_MAXPACKET / 1480;
267 left = IP_MAXPACKET - (1480 * cnt);
270 for (off = 0; cnt != 0; cnt--) {
/netbsd-current/usr.bin/xargs/
H A Dxargs.c79 static int cnt, Iflag, jfound, Lflag, Sflag, wasquoted, xflag; variable
233 cnt = strlen(*bxp++ = echo);
241 cnt += strlen(*avj) + 1;
244 cnt += strlen(*bxp++ = *argv) + 1;
263 nline -= cnt;
421 cnt = ebp - argp;
422 (void)memcpy(bbp, argp, (size_t)cnt);
423 p = (argp = bbp) + cnt;
/netbsd-current/external/gpl2/gettext/dist/gettext-tools/src/
H A Dmsgcat.c105 int cnt; local
305 for (cnt = optind; cnt < argc; ++cnt)
306 string_list_append_unique (file_list, argv[cnt]);
H A Dmsgcomm.c108 int cnt; local
298 for (cnt = optind; cnt < argc; ++cnt)
299 string_list_append_unique (file_list, argv[cnt]);
/netbsd-current/external/lgpl3/gmp/dist/mpn/x86_64/zen/
H A Daorrlsh_n.asm63 define(`cnt', `%r8')
93 sub cnt, tnc
146 shlx( cnt, %r10, %rax)
152 L(e7): shlx( cnt, %r11, %rax)
158 L(e6): shlx( cnt, %r10, %rax)
164 L(e5): shlx( cnt, %r11, %rax)
170 L(e4): shlx( cnt, %r10, %rax)
176 L(e3): shlx( cnt, %r11, %rax)
182 L(e2): shlx( cnt, %r10, %rax)
190 L(e1): shlx( cnt,
[all...]
/netbsd-current/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/bios/
H A Dnouveau_nvkm_subdev_bios_therm.c34 therm_table(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *len, u8 *cnt) argument
57 *cnt = nvbios_rd08(bios, therm + 3);
64 u8 hdr, cnt; local
65 u32 therm = therm_table(bios, ver, &hdr, len, &cnt);
66 if (therm && idx < cnt)
/netbsd-current/external/ibm-public/postfix/dist/src/util/
H A Dvbuf_print.c114 _ret = snprintf((char *) (bp)->ptr, (bp)->cnt, (fmt), (arg)); \
117 if (_ret >= (bp)->cnt) \
119 myname, mystrdup(fmt), (long) (bp)->cnt); \
132 while ((bp)->cnt > 0 && *(bp)->ptr) \
133 (bp)->ptr++, (bp)->cnt--; \
/netbsd-current/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_mutex.cpp76 int cnt[kMutexTypeMax]; local
77 internal_memset(&cnt, 0, sizeof(cnt));
99 cnt[t]++;
108 CHECK_EQ(cnt[t], 0);
/netbsd-current/crypto/external/bsd/openssl/dist/crypto/
H A Do_str.c145 size_t cnt; local
147 for (p = (const unsigned char *)str, q = buf, cnt = 0; *p; ) {
163 cnt++;
165 if (cnt > buf_n) {
174 *buflen = cnt;
/netbsd-current/crypto/external/bsd/openssl/dist/crypto/bn/asm/
H A Darmv8-mont.pl664 my ($cnt,$carry,$topmost)=("x27","x28","x30");
693 sub $cnt,$num,#8*8
697 sub $cnt,$cnt,#8*8
708 cbnz $cnt,.Lsqr8x_zero
879 sub $cnt,$ap_end,$ap // done yet?
887 cbz $cnt,.Lsqr8x_outer_break
909 mov $cnt,#-8*8
937 add $cnt,$cnt,#
[all...]
/netbsd-current/sys/dev/pci/igc/
H A Dif_igc.c974 for (int cnt = 0; cnt < IGC_GLOBAL_COUNTERS; cnt++) {
975 evcnt_attach_dynamic(&sc->sc_global_evcnts[cnt],
976 igc_global_counters[cnt].type, NULL,
977 device_xname(sc->sc_dev), igc_global_counters[cnt].name);
984 for (int cnt = 0; cnt < IGC_DRIVER_COUNTERS; cnt++) {
985 evcnt_attach_dynamic(&sc->sc_driver_evcnts[cnt],
[all...]
/netbsd-current/sys/arch/sparc/dev/
H A Dcgfourteen.c175 #define sxi(inst, a, b, d, cnt) \
177 sx_write(sc->sc_sx, SX_INSTRUCTIONS, inst((a), (b), (d), (cnt)))
1274 int line, cnt, pre, words; local
1290 cnt = wi;
1294 cnt -= pre;
1297 while(cnt > 3) {
1298 words = uimin(32, cnt >> 2);
1301 cnt -= words << 2;
1304 if (cnt > 0)
1305 sxm(SX_STBS, pptr, 8, cnt
1337 int line, cnt, pre, words, pwrds = 0, post, reg; local
1387 cg14_slurp(int reg, uint32_t addr, int cnt) argument
1400 cg14_spit(int reg, uint32_t addr, int cnt) argument
1418 int line, cnt, stride = sc->sc_fb.fb_type.fb_width; local
1499 int line, cnt = wi, stride = sc->sc_fb.fb_type.fb_width; local
1677 int i, j, x, y, wi, he, r, g, b, aval, cnt, reg; local
[all...]
/netbsd-current/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/disp/
H A Dnouveau_nvkm_engine_disp_nv50.c95 if (func->wndw.cnt) {
96 disp->wndw.nr = func->wndw.cnt(&disp->base, &disp->wndw.mask);
101 disp->head.nr = func->head.cnt(&disp->base, &disp->head.mask);
110 if (func->dac.cnt) {
111 disp->dac.nr = func->dac.cnt(&disp->base, &disp->dac.mask);
121 if (func->pior.cnt) {
122 disp->pior.nr = func->pior.cnt(&disp->base, &disp->pior.mask);
132 disp->sor.nr = func->sor.cnt(&disp->base, &disp->sor.mask);
188 u8 *ver, u8 *hdr, u8 *cnt, u8 *len,
195 u32 data = nvbios_outp_match(bios, t, m, ver, hdr, cnt, le
187 nv50_disp_super_iedt(struct nvkm_head *head, struct nvkm_outp *outp, u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_outp *iedt) argument
210 u8 ver, hdr, cnt, len, flags = 0x00; local
262 u8 ver, hdr, cnt, len; local
[all...]
/netbsd-current/lib/libc/citrus/
H A Dcitrus_ctype_template.h236 int err, cnt; local
251 err = cnt = 0;
260 cnt = -1;
275 cnt++;
283 *nresult = (size_t)cnt;
296 size_t cnt, siz; local
310 cnt = 0;
317 cnt = (size_t)-1;
336 cnt++;
344 *nresult = cnt;
357 size_t cnt, siz; local
416 int cnt = 0, err; local
[all...]
/netbsd-current/sbin/newfs_udf/
H A Dudf_core.c519 uint8_t *pos, sum, cnt; local
525 for(cnt = 0; cnt < 16; cnt++) {
526 if (cnt != 4)
585 uint8_t *pos, sum, cnt; local
591 for (cnt = 0; cnt < 16; cnt++) {
592 if (cnt !
733 size_t cnt; local
1350 uint32_t loc, cnt; local
1506 uint32_t cnt, num_partmappings; local
1642 uint32_t cnt; local
1674 uint32_t cnt; local
1708 uint32_t cnt, bit; local
4023 uint32_t phys, cnt; local
4043 uint32_t phys, cnt; local
4561 int error, cnt, dpos; local
4717 uint32_t cnt, loc, len; local
[all...]

Completed in 560 milliseconds

<<21222324252627282930>>