/netbsd-current/sys/external/bsd/drm2/dist/drm/ast/ |
H A D | ast_post.c | 625 u32 gold_sadj[2], dllmin[16], dllmax[16], dlli, data, cnt, mask, passcnt, retry = 0; local 628 for (cnt = 0; cnt < 16; cnt++) { 629 dllmin[cnt] = 0xff; 630 dllmax[cnt] = 0x0; 639 for (cnt = 0; cnt < 16; cnt++) { 641 if (dllmin[cnt] > dll [all...] |
/netbsd-current/external/bsd/nvi/dist/ex/ |
H A D | ex_argv.c | 310 for (cnt = 0; cnt < exp->argsoff; ++cnt) 311 vtrace(sp, "arg %d: {%s}\n", cnt, exp->argv[cnt]); 425 int cnt, off; local 435 cnt = exp->argscnt + INCREMENT; 436 REALLOC(sp, exp->args, ARGS **, cnt * sizeof(ARGS *)); 442 exp->argscnt = cnt;
|
/netbsd-current/usr.bin/rpcinfo/ |
H A D | rpcinfo.c | 1003 size_t cnt, flen; local 1055 cnt = 0; 1058 cnt += pa->success; 1059 (void)snprintf(fieldbuf, sizeof(fieldbuf), "%zu/", cnt); 1062 cnt = 0; 1065 cnt += pr->success; 1066 (void)snprintf(fieldbuf, sizeof(fieldbuf), "%zu/", cnt); 1078 fieldbuf, spaces(cnt = ((TABSTOP * (1 + flen / TABSTOP)) 1080 lp += (flen + cnt); 1110 cnt [all...] |
/netbsd-current/sys/arch/evbmips/rmixl/ |
H A D | machdep.c | 757 u_int cnt; local 821 cnt = 0; 825 mem_clusters[cnt].start = map->entry[i].start; 828 mem_clusters[cnt].size = sz; 832 rmixl_puthex64(mem_clusters[cnt].start); 851 mem_clusters[cnt].size = sz; 852 cnt++; 856 cnt++; 858 mem_cluster_cnt = cnt;
|
/netbsd-current/usr.sbin/mopd/common/ |
H A D | file.c | 88 mopFilePutLX(u_char *buf, int idx, u_int32_t value, int cnt) argument 91 for (i = 0; i < cnt; i++) { 98 mopFilePutBX(u_char *buf, int idx, u_int32_t value, int cnt) argument 101 for (i = 0; i < cnt; i++) { 102 buf[idx+cnt-1-i] = value % 256; 108 mopFileGetLX(u_char *buf, int idx, int cnt) argument 113 for (i = 0; i < cnt; i++) { 114 int j = idx + cnt - 1 - i; 124 mopFileGetBX(u_char *buf, int idx, int cnt) argument 129 for (i = 0; i < cnt; 140 mopFileSwapX(u_char *buf, int idx, int cnt) argument [all...] |
/netbsd-current/sys/arch/amiga/dev/ |
H A D | if_es.c | 541 short cnt; local 619 cnt = (len - 4) / 4; 620 while (cnt--) 628 cnt = (len - 4) / 2; 629 while (cnt--) 694 cnt = len / 2; 695 while (cnt--) 757 short cnt; local 850 cnt = pktlen / 4; 851 while (cnt [all...] |
/netbsd-current/sys/dev/ic/ |
H A D | tpm.c | 885 size_t cnt; local 888 cnt = 0; 898 cnt++; 903 if ((flags & TPM_PARAM_SIZE) == 0 && cnt >= 6) 908 *count = cnt; 917 size_t cnt; local 925 cnt = 0; 926 while (cnt < len - 1) { 927 for (r = tpm_getburst(sc); r > 0 && cnt < len - 1; r--) { 929 cnt 1068 size_t cnt, len = 0/*XXXGCC*/; local [all...] |
/netbsd-current/sys/dev/hdaudio/ |
H A D | hdafg.c | 444 enum hdaudio_pindir dir, int index, int cnt) 463 if (found == cnt || cnt <= 0) 1119 int i, j, cnt, maxassocs, type, assoc, seq, first, hpredir; local 1156 cnt = 0; 1157 for (j = 1; j < HDAUDIO_MAXPINS && cnt < maxassocs; j++) { 1170 KASSERT(cnt < maxassocs); 1186 if (as[cnt].as_pincnt == 0) { 1187 as[cnt].as_enable = true; 1188 as[cnt] 443 hdafg_control_lookup(struct hdafg_softc *sc, int nid, enum hdaudio_pindir dir, int index, int cnt) argument 1237 int i, j, cnt, maxctls, ocap, icap; local 2283 hdafg_control_amp_get(struct hdafg_softc *sc, int nid, enum hdaudio_pindir dir, int index, int cnt) argument [all...] |
/netbsd-current/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/ |
H A D | RetainCountChecker.cpp | 54 unsigned cnt = getCount(); local 55 if (cnt) Out << " (+ " << cnt << ")"; local 61 unsigned cnt = getCount(); local 62 if (cnt) Out << " (+ " << cnt << ")"; local 68 unsigned cnt = getCount(); local 69 if (cnt) Out << " (+ " << cnt << ")"; local 75 unsigned cnt local 76 if (cnt) Out << " (+ " << cnt << ")"; local 1000 unsigned cnt = X.getCount(); local 1008 unsigned cnt = X.getCount(); local [all...] |
/netbsd-current/external/bsd/top/dist/machine/ |
H A D | m_sunos4.c | 534 register int cnt; local 542 for (cnt = count; --cnt >= 0; pp++) 965 register int cnt; local 970 cnt = pref_len; 971 while (--cnt >= 0)
|
/netbsd-current/sys/arch/emips/stand/common/ |
H A D | ace.c | 247 printf("\tSECCNTCMDREG %x = %s cnt=%d\n", Interface->SECCNTCMDREG, 627 size_t cnt; local 671 i = acestrategy(sc, F_READ, (daddr_t)LABELSECTOR, DEV_BSIZE, buf, &cnt); 672 if (i || cnt != DEV_BSIZE) { 708 size_t *cnt) /* out: number of bytes transferred */ 725 *cnt = 0; 744 *cnt = reqcnt; 702 acestrategy( void *devdata, int rw, daddr_t bn, size_t reqcnt, void *addr, size_t *cnt) argument
|
/netbsd-current/sys/arch/mips/atheros/dev/ |
H A D | arspi.c | 287 uint32_t ctl, cnt; local 329 cnt = 1; /* opcode */ 330 cnt += job->job_addrcnt + job->job_txcnt; 331 ctl |= (cnt << ARSPI_CTL_TXCNT_SHIFT); 334 cnt = job->job_rxcnt; 335 ctl |= (cnt << ARSPI_CTL_RXCNT_SHIFT);
|
/netbsd-current/sys/arch/newsmips/apbus/ |
H A D | apbus.c | 305 int i, j, cnt; local 307 cnt = round_page(map->_dm_size) / PAGE_SIZE; 311 for (j = 0; j < cnt; j++) { 315 if (j == cnt) { 316 for (j = 0; j < cnt; j++) 319 map->_dm_maptblcnt = cnt;
|
/netbsd-current/external/bsd/openldap/dist/contrib/slapd-modules/dupent/ |
H A D | dupent.c | 78 ber_len_t cnt = sizeof(struct berval); local 118 if ( ber_scanf( ber, "{M}", &AttributeDescriptionList, &cnt, off ) 145 sizeof(dupent_t) + sizeof(AttributeName)*cnt, 150 if ( cnt == 0 ) { 158 for ( i = 0, c = 0; i < cnt; i++ ) { 246 int cnt; member in struct:valnum_t
|
/netbsd-current/sys/dev/ppbus/ |
H A D | ppbus_base.c | 58 ppbus_io(device_t dev, int iop, u_char * addr, int cnt, u_char byte) argument 61 return (bus->ppbus_io(device_parent(dev), iop, addr, cnt, byte)); 224 ppbus_write(device_t dev, char * buf, int len, int how, size_t * cnt) argument 236 return (bus->ppbus_write(device_parent(bus->sc_dev), buf, len, how, cnt)); 241 ppbus_read(device_t dev, char * buf, int len, int how, size_t * cnt) argument 253 return (bus->ppbus_read(device_parent(dev), buf, len, how, cnt));
|
/netbsd-current/crypto/external/bsd/openssl/dist/providers/implementations/macs/ |
H A D | kmac_prov.c | 450 unsigned int cnt = 0, sz = sizeof(size_t); local 452 while (bits && (cnt < sz)) { 453 ++cnt; 457 if (cnt == 0) 458 cnt = 1; 459 return cnt;
|
/netbsd-current/sys/dev/pci/ |
H A D | if_enavar.h | 220 struct evcnt cnt; member in struct:ena_stats_tx 234 struct evcnt cnt; member in struct:ena_stats_rx 502 #define counter_u64_add(x, cnt) (x).ev_count += (cnt) 506 #define counter_u64_add_protected(x, cnt) (x).ev_count += (cnt)
|
/netbsd-current/external/gpl3/binutils.old/dist/gprof/ |
H A D | gmon_io.c | 220 gmon_read_raw_arc (FILE *ifp, bfd_vma *fpc, bfd_vma *spc, unsigned long *cnt) 234 *cnt = cnt32; 240 *cnt = cnt64; 250 gmon_write_raw_arc (FILE *ofp, bfd_vma fpc, bfd_vma spc, unsigned long cnt) 260 if (gmon_io_write_32 (ofp, (unsigned int) cnt)) 265 if (gmon_io_write_64 (ofp, (uint64_t) cnt)) 219 gmon_read_raw_arc(FILE *ifp, bfd_vma *fpc, bfd_vma *spc, unsigned long *cnt) argument 249 gmon_write_raw_arc(FILE *ofp, bfd_vma fpc, bfd_vma spc, unsigned long cnt) argument
|
/netbsd-current/external/gpl3/binutils/dist/gprof/ |
H A D | gmon_io.c | 220 gmon_read_raw_arc (FILE *ifp, bfd_vma *fpc, bfd_vma *spc, unsigned long *cnt) 234 *cnt = cnt32; 240 *cnt = cnt64; 250 gmon_write_raw_arc (FILE *ofp, bfd_vma fpc, bfd_vma spc, unsigned long cnt) 260 if (gmon_io_write_32 (ofp, (unsigned int) cnt)) 265 if (gmon_io_write_64 (ofp, (uint64_t) cnt)) 219 gmon_read_raw_arc(FILE *ifp, bfd_vma *fpc, bfd_vma *spc, unsigned long *cnt) argument 249 gmon_write_raw_arc(FILE *ofp, bfd_vma fpc, bfd_vma spc, unsigned long cnt) argument
|
/netbsd-current/external/gpl2/gettext/dist/gettext-tools/src/ |
H A D | msgmerge.c | 836 size_t len, cnt; local 869 for (cnt = 0; 870 cnt < sizeof (known_fields) / sizeof (known_fields[0]); 871 ++cnt) 872 if (c_strncasecmp (cp, known_fields[cnt].name, known_fields[cnt].len) 876 if (cnt < sizeof (known_fields) / sizeof (known_fields[0])) 878 header_fields[cnt].string = &cp[known_fields[cnt].len]; 879 header_fields[cnt] [all...] |
/netbsd-current/sys/arch/evbppc/mpc85xx/ |
H A D | machdep.c | 543 u_int cnt = mr - physmemr; local 544 if (cnt > 1) { 545 for (u_int i = 0; i < cnt - 1; i++) { 546 for (u_int j = i + 1; j < cnt; j++) { 555 for (u_int i = 0; i + 1 < cnt; i++, mr++) { 558 for (u_int j = 1; i + j + 1 < cnt; j++) 560 cnt--; 563 } else if (cnt == 0) { 570 memcpy(availmemr, physmemr, cnt * sizeof(physmemr[0])); 579 for (u_int i = 0; i < cnt; [all...] |
/netbsd-current/sbin/dump/ |
H A D | traverse.c | 481 int ind_level, cnt, last, added; local 581 cnt = UFS_NDADDR * ufsib->ufs_frag; 584 cnt = howmany(DIP(dp, size), ufsib->ufs_fsize); 588 blksout64(dp, &dp->dp2.di_db[0], cnt, ino, last); 590 blksout32(&dp->dp1.di_db[0], cnt, ino); 611 int i, cnt, last; local 626 cnt = howmany(*size, ufsib->ufs_fsize); 629 cnt = ufsib->ufs_nindir * ufsib->ufs_frag; 634 blksout64(dp, &idblk.i64[0], cnt, ino, last); 636 blksout32(&idblk.i32[0], cnt, in 878 int32_t sum, cnt, *lp; local [all...] |
/netbsd-current/usr.sbin/dumplfs/ |
H A D | dumplfs.c | 473 int cnt, max, entsize; local 483 for (ip = pp, cnt = i; cnt < max; cnt++, ip += entsize) 484 print_ientry(cnt, lfsp, (IFILE *)ip); 492 int cnt, max; local 496 for (sp = (SEGUSE *)pp, cnt = i; 497 cnt < lfs_sb_getnseg(lfsp) && cnt < max; cnt [all...] |
/netbsd-current/external/gpl3/gdb/dist/gdb/ |
H A D | sparc64-tdep.c | 301 adi_is_addr_mapped (CORE_ADDR vaddr, size_t cnt) 325 if (++i == cnt) 382 adi_print_versions (CORE_ADDR vaddr, size_t cnt, gdb_byte *tags) 389 while (cnt > 0) 395 for (int i = maxelts; i > 0 && cnt > 0; i--, cnt--) 401 if (cnt > 1) 416 int cnt = adi_convert_byte_count (vaddr, bcnt, vstart); 417 gdb::byte_vector buf (cnt); 418 int read_cnt = adi_read_versions (vstart, cnt, bu 300 adi_is_addr_mapped(CORE_ADDR vaddr, size_t cnt) argument 381 adi_print_versions(CORE_ADDR vaddr, size_t cnt, gdb_byte *tags) argument 415 int cnt = adi_convert_byte_count (vaddr, bcnt, vstart); local 433 int cnt = adi_convert_byte_count (vaddr, bcnt, vstart); local 460 int cnt = 1; local 506 size_t cnt = 1; local [all...] |
/netbsd-current/external/gpl3/gdb.old/dist/gdb/ |
H A D | sparc64-tdep.c | 300 adi_is_addr_mapped (CORE_ADDR vaddr, size_t cnt) 324 if (++i == cnt) 381 adi_print_versions (CORE_ADDR vaddr, size_t cnt, gdb_byte *tags) 388 while (cnt > 0) 393 for (int i = maxelts; i > 0 && cnt > 0; i--, cnt--) 399 if (cnt > 1) 414 int cnt = adi_convert_byte_count (vaddr, bcnt, vstart); 415 gdb::def_vector<gdb_byte> buf (cnt); 416 int read_cnt = adi_read_versions (vstart, cnt, bu 299 adi_is_addr_mapped(CORE_ADDR vaddr, size_t cnt) argument 380 adi_print_versions(CORE_ADDR vaddr, size_t cnt, gdb_byte *tags) argument 413 int cnt = adi_convert_byte_count (vaddr, bcnt, vstart); local 430 int cnt = adi_convert_byte_count (vaddr, bcnt, vstart); local 457 int cnt = 1; local 503 size_t cnt = 1; local [all...] |