/illumos-gate/usr/src/cmd/mdb/common/modules/qlc/ |
H A D | qlc.c | 1858 uint32_t cnt = 0; local 1883 for (cnt = 0; cnt < sizeof (fw->pbiu_reg) / 2; cnt++) { 1884 if (cnt % 8 == 0) { 1887 mdb_printf("%04x ", fw->pbiu_reg[cnt]); 1892 for (cnt = 0; cnt < sizeof (fw->risc_host_reg) / 2; cnt++) { 1893 if (cnt 2112 uint32_t cnt = 0; local 2432 uint32_t cnt = 0; local 2808 uint32_t cnt = 0; local [all...] |
/illumos-gate/usr/src/cmd/tail/ |
H A D | read.c | 137 int blen, cnt, recno, wrap; local 143 blen = cnt = recno = wrap = 0; 147 if (++cnt > blen) { 150 p = sp + cnt - 1; 154 if ((int)llines[recno].blen < cnt) { 155 llines[recno].blen = cnt + 256; 160 bcopy(sp, llines[recno].l, llines[recno].len = cnt); 161 cnt = 0; 174 if (cnt) { 177 llines[recno].len = cnt; [all...] |
/illumos-gate/usr/src/cmd/sgs/packages/common/ |
H A D | readme_revision | 60 use vars qw($script $usage $readme $cnt); 85 $cnt = scalar @ARGV; 87 if ($cnt == 0) { 92 if ($cnt == 1) { 111 $cnt = 1000; 118 $cnt++; 126 print "1.$cnt\n"; 138 print "1.$cnt:$wsname-$ENV{USER}-$last_cr-$date\n";
|
/illumos-gate/usr/src/cmd/ipf/lib/common/ |
H A D | count4bits.c | 20 int cnt = 0, i, j; local 26 cnt++; 30 for (i = 32, j = cnt; i; i--, j--) { 36 return cnt;
|
/illumos-gate/usr/src/cmd/sendmail/db/os/ |
H A D | os_dir.c | 54 int arraysz, cnt, ret; local 63 for (arraysz = cnt = 0; (dp = readdir(dirp)) != NULL; ++cnt) { 64 if (cnt >= arraysz) { 70 if ((ret = __os_strdup(dp->d_name, &names[cnt])) != 0) 76 *cntp = cnt; 80 __os_dirfree(names, cnt); 91 __os_dirfree(names, cnt) 93 int cnt; 96 __db_jump.j_dirfree(names, cnt); [all...] |
/illumos-gate/usr/src/lib/crypt_modules/sha256/ |
H A D | test.c | 103 int cnt; local 115 for (cnt = 0; cnt < ntests2; ++cnt) { 117 fprintf(stderr, "test %d (outlen=%d): ", cnt, 118 strlen(tests2[cnt].expected)); 120 tests2[cnt].input, tests2[cnt].salt, NULL); 122 if (cp == NULL || (strcmp(cp, tests2[cnt].expected) != 0)) { 125 strlen(tests2[cnt] [all...] |
/illumos-gate/usr/src/lib/libfakekernel/common/ |
H A D | uio.c | 33 ulong_t cnt; local 37 cnt = MIN(iov->iov_len, n); 38 if (cnt == 0L) { 51 bcopy(p, iov->iov_base, cnt); 53 bcopy(iov->iov_base, p, cnt); 56 iov->iov_base += cnt; 57 iov->iov_len -= cnt; 58 uio->uio_resid -= cnt; 59 uio->uio_loffset += cnt; 60 p = (caddr_t)p + cnt; [all...] |
/illumos-gate/usr/src/cmd/vi/port/ |
H A D | ex_vwind.c | 78 * Go up or down cnt (negative is up) to new position curs. 81 vupdown(int cnt, unsigned char *curs) argument 84 if (cnt > 0) 85 vdown(cnt, 0, 0); 86 else if (cnt < 0) 87 vup(-cnt, 0, 0); 95 * Go up cnt lines, afterwards preferring to be ind 101 vup(int cnt, int ind, bool scroll) argument 111 if (cnt > i) { 112 ind -= cnt 149 vdown(int cnt, int ind, bool scroll) argument 263 int cnt = addr - dot; local 347 vfit(line *tp, int cnt) argument 366 vroll(int cnt) argument 407 vrollR(int cnt) argument 449 vcookit(int cnt) argument [all...] |
H A D | ex_addr.c | 93 int cnt; local 102 cnt = getnum(); 103 if (cnt <= 0) 107 addr2 += cnt - 1; 115 * setcount2(): a version of setcount() which sets addr2 based on addr1 + cnt. 132 int cnt; local 140 cnt = getnum(); 141 if (cnt <= 0) 145 addr2 = addr1 + (cnt - 1); 162 int cnt; local [all...] |
/illumos-gate/usr/src/test/zfs-tests/tests/functional/redundancy/ |
H A D | redundancy_003_pos.ksh | 53 typeset -i cnt=$(random 2 5) 54 setup_test_env $TESTPOOL mirror $cnt 61 while (( i < cnt )); do 73 while (( i < cnt )); do 85 while (( i < cnt )); do
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/acl/nontrivial/ |
H A D | zfs_acl_chmod_001_neg.ksh | 74 typeset -i cnt 76 cnt=$(count_ACE $node) 77 while (( cnt > 0 )); do 78 if (( cnt == 1 )); then 84 (( cnt -= 1 )) 94 typeset -i cnt 96 cnt=$(count_ACE $node) 99 (( max = max - cnt + 1 )) 106 ((cnt = 1024 - max)) 107 log_fail "Add No.$cnt AC [all...] |
/illumos-gate/usr/src/lib/libbc/libc/stdio/common/ |
H A D | tmpnam.c | 43 register int cnt = 0; local 53 cnt++; 55 if (cnt < 3)
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/snapshot/ |
H A D | snapshot_015_pos.ksh | 85 typeset -i cnt=0 86 while ((cnt < snap_cnt)); do 87 testfile=$mntpnt/testfile.$cnt 89 log_must mkdir $snapdir/snapshot/snap.$cnt 90 if ! datasetexists $fs@snap.$cnt ; then 91 log_fail "ERROR: $fs@snap.$cnt should exists." 94 ((cnt += 1)) 98 ((cnt = RANDOM % snap_cnt)) 99 log_must zfs rollback -r $fs@snap.$cnt 104 if ((i <= cnt)); the [all...] |
/illumos-gate/usr/src/cmd/dtrace/test/tst/sparc/ustack/ |
H A D | tst.trapstat.ksh | 48 cnt=0 50 while [ $cnt -lt 10 ]; do 53 cnt=$(($cnt+1))
|
/illumos-gate/usr/src/cmd/audio/utilities/ |
H A D | AudioHdr.cc | 123 off_t cnt) const // byte count 125 if ((cnt == AUDIO_UNKNOWN_SIZE) || (Validate() != AUDIO_SUCCESS)) 129 cnt -= (cnt % (bytes_per_unit * channels)); 131 return (Double) ((double)cnt / 160 off_t& cnt) const 166 cnt -= (cnt % (bytes_per_unit * channels)); 167 return (cnt); 173 size_t& cnt) cons [all...] |
H A D | AudioBuffer.cc | 70 size_t cnt; local 80 cnt = GetByteCount(); 83 getid(), cnt, size)); 135 if ((cnt <= MIN_ZBUFFER) && (size <= MIN_ZBUFFER) && 151 ncpy = (cnt < size) ? (unsigned int)cnt : 159 if ((cnt > MIN_ZBUFFER) && (zflag != 0)) { 313 off_t cnt; local 318 cnt = (off_t)len; 326 if ((pos < 0.) || (cnt < 378 off_t cnt; local 469 size_t cnt; local [all...] |
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb2_cancel.c | 55 int cnt = 0; local 64 cnt++; 68 if (cnt != 1) { 70 uint64_t, sr->smb2_messageid, int, cnt); 80 int cnt = 0; local 89 cnt++; 93 if (cnt != 1) { 95 uint64_t, sr->smb2_async_id, int, cnt);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/ |
H A D | authenc.c | 136 printd(unsigned char *data, int cnt) argument 138 cnt = (cnt < MAXNETDATA) ? cnt:MAXNETDATA; 139 while (cnt-- > 0)
|
/illumos-gate/usr/src/lib/libtnfctl/ |
H A D | prb_findexec.c | 86 int cnt = PATH_MAX + 1; local 90 if (cnt > 0) { 92 cnt--; 96 if (si != s && cnt > 0) { 98 cnt--; 100 while (*s2 && cnt > 0) { 102 cnt--;
|
/illumos-gate/usr/src/common/net/dhcp/ |
H A D | udp_sum.c | 57 uint16_t cnt; local 77 cnt = ntohs(ck.len) + sizeof (ck); 78 if (cnt & 1) { 80 cnt++; /* make even */ 83 for (cnt >>= 1; cnt != 0; cnt--) {
|
/illumos-gate/usr/src/test/libc-tests/tests/wcsrtombs/ |
H A D | wcsrtombs_test.c | 100 size_t cnt; local 104 cnt = wcsrtombs(mbs, &wcs, sizeof (mbs), &ms); 105 if (cnt != strlen(test[i].mbs)) { 107 cnt, strlen(test[i].mbs)); 146 size_t cnt; local 150 cnt = wcsrtombs_l(mbs, &wcs, sizeof (mbs), &ms, loc); 151 if (cnt != strlen(test[i].mbs)) { 153 cnt, strlen(test[i].mbs)); 181 size_t cnt; local 185 cnt 232 size_t cnt; local 281 int cnt; local 312 size_t cnt; local [all...] |
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/include/ |
H A D | listq.h | 10 * void s_list_init (s_list_t *, *head, *tail, cnt) 25 * void d_list_init (d_list_t *, *head, *tail, cnt) 80 unsigned long cnt; member in struct:_s_list_t 98 s_list->cnt = entry_cnt; 109 s_list->cnt = 0; 127 s_list->cnt++; 147 s_list->cnt--; 172 s_list->cnt++; 208 return s_list->cnt; 217 return s_list->cnt 415 unsigned long cnt; member in struct:_d_list_t 912 unsigned long cnt; member in struct:_q_list_t [all...] |
/illumos-gate/usr/src/lib/libc/sparc/gen/ |
H A D | lshiftl.s | 36 * lshiftl (op, cnt) 38 * int cnt; 55 subcc %g0,%o1,%o4 ! test cnt < 0 and save reciprocol 62 subcc %o1,32,%o5 ! cnt - 32 (also test cnt >= 32) 64 add %o4,32,%o4 ! 32 - cnt (actually ((-cnt) + 32) 65 sll %o3,%o5,%o2 ! R.h = R.l << (cnt - 32) 70 srl %o3,%o4,%o5 ! temp = R.l >> (31 - cnt) 71 sll %o3,%o1,%o3 ! R.l = R.l << cnt [all...] |
/illumos-gate/usr/src/lib/libbc/libc/gen/common/ |
H A D | xccs.multibyte.c | 182 int cnt = 0; local 205 ++cnt; 252 ++cnt; 255 return (cnt); 268 int cnt = 0; local 288 ++cnt; 293 ++cnt; 304 *s++ = CS377; ++cnt; --n; 305 *s++ = CS377; ++cnt; --n; 306 *s++ = 0; ++cnt; [all...] |
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | ldivide.c | 40 int cnt; local 53 for (cnt = 0; cnt < 63; cnt++) {
|