Searched refs:cnt (Results 101 - 125 of 868) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/cmd/audio/utilities/
H A DAudioTypeSampleRate.cc171 size_t cnt; local
181 cnt = (size_t)nsamp * h.bytes_per_unit;
182 tmpbuf = new unsigned char[cnt];
189 cnt = (size_t)nsamp * h.bytes_per_unit;
191 err = outbuf->AppendData(tmpbuf, cnt, pos);
H A DAudioFile.cc435 size_t cnt; local
451 cnt = (size_t)len;
459 if (Undefined(pos) || (pos < 0.) || ((int)cnt < 0))
470 } else if ((offset + hdrsize + cnt) > maplen) {
471 // re-adjust cnt so it reads up to the end of file
472 cnt = (size_t)(maplen - (offset + hdrsize));
476 if (GetHeader().Bytes_to_Bytes(cnt) == 0) {
482 memcpy((void*)buf, (void*)cp, cnt);
486 len = cnt;
570 size_t cnt; local
[all...]
/illumos-gate/usr/src/lib/krb5/kdb/
H A Dkdb_convert.c161 int cnt, princ_type tp) {
172 p = &ULOG_ENTRY(upd, cnt).av_princ; /* or av_mod_princ */
294 int i, j, k, cnt, final, nattrs, tmpint, nprincs; local
482 for (cnt = 0; cnt < ent->key_data[j].key_data_ver; cnt++) {
483 ULOG_ENTRY_KEYVAL(upd, final, j).k_enctype.k_enctype_val[cnt] = ent->key_data[j].key_data_type[cnt];
484 ULOG_ENTRY_KEYVAL(upd, final, j).k_contents.k_contents_val[cnt].utf8str_t_len = ent->key_data[j].key_data_length[cnt];
160 conv_princ_2ulog(krb5_principal princ, kdb_incr_update_t *upd, int cnt, princ_type tp) argument
616 int i, j, cnt = 0, mod_time = 0, nattrs, nprincs = 0; local
859 int i, j, k, cnt; local
[all...]
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dcontroller.c240 int cnt; local
246 for (cnt = 0; cp->disks[cnt]; cnt++);
249 drives = (descriptor_t **)calloc(cnt + 1, sizeof (descriptor_t *));
273 int cnt; local
280 cnt = 0;
282 for (; pp[cnt]; cnt++);
286 paths = (descriptor_t **)calloc(cnt
[all...]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dmon.c183 struct cnt *_mcount_newent(void);
239 ssiz = ((sizeof (struct hdr) + nfunc * sizeof (struct cnt)) /
319 countlimit = countbase + (nfunc * sizeof (struct cnt));
396 amt = ap->monBuffer->nfns * sizeof (struct cnt);
405 (histp->monBuffer->nfns * sizeof (struct cnt));
441 THISMANYFCNS * sizeof (struct cnt))) /* Region 2 */ \
477 countlimit = countbase + (THISMANYFCNS * sizeof (struct cnt));
489 * (struct cnt, in the region allocated by monitor()), or to return
540 struct cnt *
550 struct cnt *cur_countbas
[all...]
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dlm_send.c111 u32_t cnt; local
117 for(cnt = 0; cnt < frags->cnt; cnt++)
120 sum_frag_size += (u16_t)frags->frag_arr[cnt].size;
145 u32_t cnt = 0; local
213 for(cnt = 1; cnt < frags->cnt; cn
272 u32_t coalesce_buf_cnt, cnt; local
354 u32_t cnt; local
589 u32_t cnt = 0; local
[all...]
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dnl7curi.h72 uint32_t cnt; /* Reference count */ member in struct:ref_s
78 (container)->ref.cnt = (count); \
84 atomic_inc_32(&(container)->ref.cnt); \
85 ASSERT((container)->ref.cnt != 0); \
89 if (atomic_dec_32_nv(&(container)->ref.cnt) == 0) { \
95 #define REF_COUNT(container) (container)->ref.cnt
98 ASSERT((container)->ref.cnt == (count));
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_api.c3250 uint32_t cnt; local
3415 cnt = CHAR_TO_SHORT(
3419 if (cnt < *count) {
3435 cnt = CHAR_TO_SHORT(
3439 if (cnt < *count) {
3813 uint16_t cnt; local
3816 for (cnt = 0; cnt < REQUEST_ENTRY_CNT; cnt++) {
3998 uint32_t cnt; local
5680 uint32_t cnt; local
5775 uint32_t cnt; local
5868 uint32_t cnt; local
6285 int cnt = 5; local
7048 uint32_t cnt; local
7188 uint32_t cnt; local
7234 uint32_t cnt; local
10765 uint32_t cnt; local
10899 uint32_t cnt; local
10997 uint32_t cnt; local
11302 uint32_t cnt, rest_addr, fdata, wc; local
11985 uint32_t cnt; local
12287 uint32_t cnt; local
12701 uint32_t cnt; local
13159 uint32_t cnt; local
13867 uint32_t cnt; local
13883 uint32_t cnt; local
13916 uint32_t cnt; local
13933 uint32_t cnt; local
14402 uint32_t cnt; local
14418 uint32_t cnt; local
14453 uint32_t cnt; local
14470 uint32_t cnt; local
14945 uint32_t cnt; local
14961 uint32_t cnt; local
14996 uint32_t cnt; local
15013 uint32_t cnt; local
15057 uint32_t cnt; local
15414 uint32_t cnt; local
15811 uint32_t cnt = mem->cookie_count; local
16078 size_t cnt; local
16107 int mul, num, cnt, pos; local
[all...]
/illumos-gate/usr/src/common/util/
H A Dqsort.c42 static void swapp32(uint32_t *r1, uint32_t *r2, size_t cnt);
43 static void swapp64(uint64_t *r1, uint64_t *r2, size_t cnt);
44 static void swapi(uint32_t *r1, uint32_t *r2, size_t cnt);
45 static void swapb(char *r1, char *r2, size_t cnt);
480 swapp32(uint32_t *r1, uint32_t *r2, size_t cnt) argument
491 swapp64(uint64_t *r1, uint64_t *r2, size_t cnt) argument
501 swapi(uint32_t *r1, uint32_t *r2, size_t cnt) argument
506 while (cnt--) {
514 swapb(char *r1, char *r2, size_t cnt) argument
519 while (cnt
[all...]
/illumos-gate/usr/src/uts/common/sys/ib/adapters/hermon/
H A Dhermon_fm.h221 #define PIO_END(st, hdl, cnt, tst) hermon_PIO_end(st, hdl, &cnt, tst)
226 #define PIO_END(st, hdl, cnt, tst) hermon_PIO_end(st, hdl, &cnt, NULL)
232 #define hermon_pio_init(cnt, status, tst) \
235 int cnt = HCA_PIO_RETRY_CNT
241 #define hermon_pio_start(st, hdl, label, cnt, status, tst) \
249 cnt = HCA_PIO_RETRY_CNT; \
266 #define hermon_pio_end(st, hdl, label, cnt, status, tst) \
273 if ((status = PIO_END(st, hdl, cnt, ts
[all...]
/illumos-gate/usr/src/uts/common/io/audio/drv/audioemu10k/dsp/
H A Dasm10k.c146 #define CHECK_COUNT(tokens, cnt, mincnt, maxcnt) \
147 if (cnt < mincnt) { \
149 tokens[0], cnt - 1, mincnt - 1); \
152 if (cnt > maxcnt) { \
154 tokens[0], cnt - 1, maxcnt - 1); \
174 int cnt, tokcnt; local
240 cnt = 0;
242 while (cnt < 10) {
243 tokens[cnt++] = s;
326 compile_gpr(char **tokens, int cnt) argument
337 compile_rem(char **tokens, int cnt) argument
389 compile_const(char **tokens, int cnt) argument
404 compile_bool(char **tokens, int cnt) argument
436 compile_mono(char **tokens, int cnt) argument
468 compile_stereo(char **tokens, int cnt) argument
505 compile_input(char **tokens, int cnt) argument
520 compile_send(char **tokens, int cnt) argument
535 compile_output(char **tokens, int cnt) argument
550 compile_directive(char **tokens, int cnt) argument
605 compile_asm(char **tokens, int cnt) argument
[all...]
/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dkdb_ldap_conn.c276 int cnt=0, version=LDAP_VERSION3; local
294 while (ldap_context->server_info_list[cnt] != NULL) {
297 server_info = ldap_context->server_info_list[cnt];
308 cnt++;
325 ++cnt;
348 int cnt=0; local
351 while (ldap_context->server_info_list[cnt] != NULL) {
352 server_info = ldap_context->server_info_list[cnt];
360 ++cnt;
365 cnt
[all...]
/illumos-gate/usr/src/uts/common/io/bnx/570x/driver/common/lmdev/
H A Dbnx_hw_nvram.c176 u32_t j, cnt; local
180 cnt = NVRAM_TIMEOUT_COUNT;
181 if (CHIP_REV(pdev) == CHIP_REV_FPGA) cnt *= 10;
182 else if (CHIP_REV(pdev) == CHIP_REV_IKOS) cnt *= 100;
189 for(j = 0; j < cnt*10; j++)
223 u32_t j, cnt; local
230 cnt = NVRAM_TIMEOUT_COUNT;
231 if (CHIP_REV(pdev) == CHIP_REV_FPGA) cnt *= 10;
232 else if (CHIP_REV(pdev) == CHIP_REV_IKOS) cnt *= 100;
236 for(j = 0; j < cnt;
262 u32_t val, j, cnt; local
414 u32_t j, cnt; local
474 u32_t j, cnt; local
559 u32_t j, cnt; local
932 u32_t cnt, idx, ret_val = (u32_t)-1; local
[all...]
H A Dbnx_lm_send.c40 u32_t cnt; local
65 if(frags->cnt == 0)
74 packet->u1.tx.dbg_frag_cnt = (u16_t) frags->cnt;
79 if(frags->cnt > txq->bd_left)
88 txq->bd_left -= (u16_t) frags->cnt;
217 for(cnt = 0; cnt < frags->cnt; cnt++)
249 if(cnt
345 u32_t cnt; local
[all...]
/illumos-gate/usr/src/uts/common/io/ipw/
H A Dipw2100_hw.c81 uint32_t off, uint16_t *buf, size_t cnt)
85 cnt, DDI_DEV_NO_AUTOINCR);
110 uint32_t off, uint8_t *buf, size_t cnt)
113 cnt, DDI_DEV_NO_AUTOINCR);
142 uint32_t addr, uint16_t *buf, size_t cnt)
145 ipw2100_csr_rep_get16(sc, IPW2100_CSR_INDIRECT_DATA, buf, cnt);
171 uint32_t addr, uint8_t *buf, size_t cnt)
174 ipw2100_csr_rep_put8(sc, IPW2100_CSR_INDIRECT_DATA, buf, cnt);
179 uint32_t addr, uint8_t *buf, size_t cnt)
181 for (; cnt >
80 ipw2100_csr_rep_get16(struct ipw2100_softc *sc, uint32_t off, uint16_t *buf, size_t cnt) argument
109 ipw2100_csr_rep_put8(struct ipw2100_softc *sc, uint32_t off, uint8_t *buf, size_t cnt) argument
141 ipw2100_imem_rep_get16(struct ipw2100_softc *sc, uint32_t addr, uint16_t *buf, size_t cnt) argument
170 ipw2100_imem_rep_put8(struct ipw2100_softc *sc, uint32_t addr, uint8_t *buf, size_t cnt) argument
178 ipw2100_imem_getbuf(struct ipw2100_softc *sc, uint32_t addr, uint8_t *buf, size_t cnt) argument
189 ipw2100_imem_putbuf(struct ipw2100_softc *sc, uint32_t addr, uint8_t *buf, size_t cnt) argument
233 uint16_t cnt, size; local
[all...]
/illumos-gate/usr/src/cmd/nl/
H A Dnl.c57 static char nbuf[100]; /* Declare bufsize used in convert/pad/cnt routines */
104 int cnt; /* line counter */ local
524 /* ON FIRST PASS ONLY, SET LINE COUNTER (cnt) = startcnt & */
527 cnt = startcnt;
548 cnt = startcnt;
555 cnt = startcnt;
563 cnt = startcnt;
593 pnum(cnt, sep);
594 cnt += increment;
604 pnum(cnt, se
[all...]
/illumos-gate/usr/src/cmd/devfsadm/
H A Ddevpolicy.c153 int nalloc = 0, cnt = 0; local
173 if (cnt >= nalloc) {
193 dp = (devplcysys_t *)(mem + devplcysys_sz * cnt);
254 cnt++;
263 qsort(mem, cnt, devplcysys_sz, qcmp);
265 if ((res = modctl(MODSETDEVPOLICY, cnt, devplcysys_sz, mem)) != 0)
/illumos-gate/usr/src/test/smbclient-tests/cmd/rw_mmap/
H A Drw_mmap.c50 size_t cnt = 1; local
61 cnt = (size_t)strtoul(optarg, &suffix, 0);
62 if (cnt == 0)
84 cnt = cnt * mul;
113 filesize = cnt;
/illumos-gate/usr/src/cmd/fs.d/smbclnt/fksmbcl/
H A Dfksmbcl_main.c425 int cnt; local
445 cnt = fake_getdents(vp, &off, tbuf, TBUFSZ);
446 if (cnt < 0) {
447 fprintf(stderr, "do_dir, getdents %d\n", -cnt);
450 show_dents(vp, &off, tbuf, cnt);
451 } while (cnt > 0);
463 int cnt; local
483 cnt = fake_getdents(vp, &off, tbuf, TBUFSZ);
484 if (cnt < 0) {
485 fprintf(stderr, "do_dirx, getdents %d\n", -cnt);
496 show_dents(vnode_t *dvp, offset_t *offp, char *buf, int cnt) argument
563 ssize_t cnt, x; local
641 ssize_t cnt, x; local
[all...]
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Ddoulimit.c122 int cnt = 0; local
127 if (!isdigit(fslimit[cnt]))
129 } while (fslimit[++cnt]);
/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dipft_ef.c70 static int etherf_readip(buf, cnt, ifn, dir)
72 int cnt, *dir;
125 i = MIN(cnt, slen);
/illumos-gate/usr/src/uts/common/io/nxge/npi/
H A Dnpi_espc.h39 uint32_t cnt = MAX_PIO_RETRIES;\
43 val_p); cnt--;\
44 } while (((val & comp_bit) == 0) && (cnt > 0));\
/illumos-gate/usr/src/lib/krb5/kadm5/srv/
H A Dsvr_policy.c174 int cnt=1; local
184 if((ret = krb5_db_get_policy(handle->context, name, &entry,&cnt)))
186 if( cnt != 1 )
221 int cnt=1; local
232 if ((ret = krb5_db_get_policy(handle->context, entry->policy, &p, &cnt)))
234 if (cnt != 1)
284 int cnt=1; local
304 if((ret = krb5_db_get_policy(handle->context, name, &t, &cnt)))
307 if( cnt != 1 )
/illumos-gate/usr/src/cmd/sendmail/db/btree/
H A Dbt_compare.c181 size_t cnt, len; local
184 cnt = 1;
186 for (p1 = a->data, p2 = b->data; len--; ++p1, ++p2, ++cnt)
188 return (cnt);
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dratectrl.c229 int cnt; local
234 cnt = 0;
409 cnt += ct->ct_Count;
414 "cln: cnt=(%d), CHTSIZE=(%d), ChtGran=(%d)",
415 cnt, CHTSIZE, ChtGran);
417 return cnt;
440 int cnt = 0; local
474 cnt += ct->ct_Count;
479 "srv: cnt=(%d), CHTSIZE=(%d), ChtGran=(%d)",
480 cnt, CHTSIZ
[all...]

Completed in 81 milliseconds

1234567891011>>