/opensolaris-onvv-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...] |
/opensolaris-onvv-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";
|
/opensolaris-onvv-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;
|
/opensolaris-onvv-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...] |
/opensolaris-onvv-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...] |
/opensolaris-onvv-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...] |
/opensolaris-onvv-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)
|
/opensolaris-onvv-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...] |
/opensolaris-onvv-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))
|
/opensolaris-onvv-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)
|
/opensolaris-onvv-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--) {
|
/opensolaris-onvv-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--;
|
/opensolaris-onvv-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...] |
/opensolaris-onvv-gate/usr/src/lib/libbc/csu/common/ |
H A D | mon.h | 48 struct cnt { struct
|
/opensolaris-onvv-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...] |
/opensolaris-onvv-gate/usr/src/lib/libc/port/gen/ |
H A D | ldivide.c | 40 int cnt; local 53 for (cnt = 0; cnt < 63; cnt++) {
|
H A D | lmath.c | 59 lshiftl(dl_t op, int cnt) argument 62 if (cnt < 0) 64 r.xword = (long)(*(ulong_t *)&op >> (-cnt)); 67 r.xword = *(long *)&op << cnt;
|
/opensolaris-onvv-gate/usr/src/lib/libntfs/common/libntfs/ |
H A D | security.c | 190 int i, j, cnt; local 202 cnt = ntfs_sid_to_mbs_size(sid); 203 if (cnt < 0) 205 s = ntfs_malloc(cnt); 213 cnt = sid_str_size; 216 i = snprintf(s, cnt, "S-%hhu-", (unsigned char)sid->revision); 217 if (i < 0 || i >= cnt) 220 cnt -= i; 225 i = snprintf(s, cnt, "%lu", (unsigned long)u); 227 i = snprintf(s, cnt, " [all...] |
/opensolaris-onvv-gate/usr/src/cmd/rpcsvc/ |
H A D | spray.c | 67 unsigned int lnth, cnt; local 77 cnt = 0; 90 cnt = (unsigned int) atoi(optarg); 113 if (cnt == 0) 114 cnt = DEFBYTES/lnth; 123 printf("sending %u packets of length %u to %s ...", cnt, lnth, host); 129 for (i = 0; i < cnt; i++) { 139 if (cumul.counter < cnt) 141 cnt - cumul.counter, 142 100.0 * (cnt [all...] |
/opensolaris-onvv-gate/usr/src/cmd/ssh/libopenbsd-compat/common/ |
H A D | setenv.c | 109 register int cnt; local 112 for (P = environ, cnt = 0; *P; ++P, ++cnt); 115 (size_t)(sizeof(char *) * (cnt + 2))); 123 (cnt + 2))); 126 memmove(P, environ, cnt * sizeof(char *)); 129 environ[cnt + 1] = NULL; 130 offset = cnt;
|
/opensolaris-onvv-gate/usr/src/lib/libresolv2/common/bsd/ |
H A D | setenv.c | 77 int cnt; local 80 for (p = environ, cnt = 0; *p; ++p, ++cnt); 83 (size_t)(sizeof(char *) * (cnt + 2))); 89 p = malloc((size_t)(sizeof(char *) * (cnt + 2))); 92 memcpy(p, environ, cnt * sizeof(char *)); 95 environ[cnt + 1] = NULL; 96 offset = cnt;
|
/opensolaris-onvv-gate/usr/src/lib/libc/port/stdio/ |
H A D | getline.c | 49 size_t cnt; local 66 cnt = 0; 77 if (++cnt == size) { /* must reallocate */ 94 if (cnt > SSIZE_MAX) { 98 return (cnt ? cnt : -1);
|
/opensolaris-onvv-gate/usr/src/cmd/sgs/tools/common/ |
H A D | leb128.c | 246 uint_t cnt; local 249 for (cnt = 0; cnt < fsize; 250 cnt++, dot++) { 253 result |= val << (cnt * 8); 259 uint_t cnt; local 261 for (cnt = 0; cnt < fsize; 262 cnt++, dot++) { 265 result |= val << ((fsize - cnt [all...] |