/osnet-11/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;
|
/osnet-11/usr/src/grub/grub2/grub-core/lib/ |
H A D | hexdump.c | 32 int cnt, i; local 35 cnt = 16; 36 if (cnt > len) 37 cnt = len; 39 for (i = 0; i < cnt; i++) 56 for (i = 0; i < cnt; i++) 83 len -= cnt;
|
/osnet-11/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/ |
H A D | bt_utils.c | 250 register size_t cnt, len; local 252 cnt = 1; 254 for (p1 = a->data, p2 = b->data; len--; ++p1, ++p2, ++cnt) 256 return (cnt);
|
/osnet-11/usr/src/lib/krb5/plugins/kdb/db2/libdb2/recno/ |
H A D | rec_delete.c | 160 indx_t *ip, cnt, offset; local 189 for (cnt = &h->linp[idx] - (ip = &h->linp[0]); cnt--; ++ip) 192 for (cnt = &h->linp[NEXTINDEX(h)] - ip; --cnt; ++ip)
|
/osnet-11/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...] |
/osnet-11/usr/src/cmd/sendmail/db/btree/ |
H A D | bt_compare.c | 181 size_t cnt, len; local 184 cnt = 1; 186 for (p1 = a->data, p2 = b->data; len--; ++p1, ++p2, ++cnt) 188 return (cnt);
|
/osnet-11/usr/src/cmd/sendmail/db/log/ |
H A D | log_get.c | 100 int cnt, ret; local 128 if ((ret = __log_find(dblp, 1, &cnt)) != 0) 136 if (cnt == 0) 137 cnt = 1; 139 nlsn.file = cnt;
|
/osnet-11/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...] |
/osnet-11/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);
|
/osnet-11/usr/src/lib/libsqlite/src/ |
H A D | vdbe.h | 46 int cnt; /* Number of times this instruction was executed */ member in struct:VdbeOp
|
H A D | encode.c | 129 int cnt[256]; local 137 memset(cnt, 0, sizeof(cnt)); 138 for(i=n-1; i>=0; i--){ cnt[in[i]]++; } 143 sum = cnt[i] + cnt[(i+1)&0xff] + cnt[(i+'\'')&0xff];
|
/osnet-11/usr/src/lib/libsqlite/test/ |
H A D | crashtest1.c | 34 int cnt = 0; local 55 cnt++; 66 printf("pid %d: cnt=%d\n", getpid(), cnt);
|
H A D | threadtest2.c | 79 int cnt = 0; local 80 while( !all_stop && cnt++<10000 ){ 81 if( cnt%1000==0 ) printf("pid=%d: %d\n", getpid(), cnt);
|
/osnet-11/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;
|
/osnet-11/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/ |
H A D | ldap_handle.c | 101 int cnt=0; local 103 while (ldap_context->server_info_list[cnt] != NULL) { 104 ldap_server_info = ldap_context->server_info_list[cnt]; 124 ++cnt;
|
/osnet-11/usr/src/grub/grub2/grub-core/commands/ |
H A D | help.c | 35 int cnt = 0; local 83 if (!(cnt % 2)) 88 if (cnt % 2) 90 cnt++; 96 if (!(cnt % 2)) 113 if (cnt++ > 0)
|
/osnet-11/usr/src/cmd/sendmail/libsm/ |
H A D | t-sem.c | 164 int cnt = 0; local 207 cnt = 0; 214 ++cnt; 216 } while (r < 0 && cnt <= MAX_CNT); 222 cnt = 0; 229 ++cnt; 231 } while (r < 0 && cnt <= MAX_CNT); 237 cnt = 0; 244 ++cnt; 246 } while (r <= 0 && cnt < [all...] |
/osnet-11/usr/src/lib/libxcurses/src/libc/gen/ |
H A D | base.c | 133 int cnt; local 138 for (cnt=argc--;argc;argc--) { 139 tmp = strdup(argv[cnt-argc]); 141 dirname(argv[cnt-argc]),
|
/osnet-11/usr/src/lib/libsec/common/ |
H A D | aclsort.c | 159 sortid(aclent_t *ap, int cnt, int type) argument 165 for (tp = ap; cnt-- > 0; tp++) { 170 for (tp++, cnt--; cnt > 0 && tp->a_type == type; tp++, cnt--)
|
/osnet-11/usr/src/lib/libsmbfs/common/ |
H A D | smbfs_nb_ssn.c | 150 int cnt, len, err, moreflag; local 163 cnt = t_rcv(fd, &hdrbuf, sizeof (hdrbuf), &moreflag); 164 if (cnt < 0) { 170 if (cnt != sizeof (hdrbuf)) { 171 DPRINT("hdr cnt %d", cnt); 201 cnt = t_rcv(fd, buf, len, &moreflag); 202 if (cnt < 0) { 207 buf += cnt; 208 len -= cnt; 224 int cnt, err; local [all...] |
/osnet-11/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...] |
/osnet-11/usr/src/lib/libdiskmgt/common/ |
H A D | bus.c | 167 int cnt; local 180 for (cnt = 0; allbuses[cnt]; cnt++); 183 buses = (descriptor_t **)calloc(cnt + 1, sizeof (descriptor_t *)); 219 int cnt; local 225 for (cnt = 0; bp->controllers[cnt]; cnt++); 228 controllers = (descriptor_t **)calloc(cnt [all...] |
/osnet-11/usr/src/lib/libeti/panel/common/ |
H A D | misc.c | 257 * The cnt parameter is the(worst case) number of overlap nodes which 261 _alloc_overlap(int cnt) argument 266 for (i = cnt-_Free_list_cnt; i > 0; i--) {
|
/osnet-11/usr/src/lib/libgss/ |
H A D | g_utils.c | 241 int i, cnt = 0; local 256 if (cnt >= MAX_QOPS_PER_MECH) { 259 qops[cnt++] = qop_num_pairs[i].qop; 262 qops[cnt] = NULL; 279 int cnt = 0; local 293 if (cnt >= MAX_QOPS_PER_MECH) { 296 mechqops[cnt++] = qop_num_pairs[i]; 299 *numqop = cnt;
|