Searched refs:cnt (Results 251 - 275 of 889) sorted by relevance

<<11121314151617181920>>

/opensolaris-onvv-gate/usr/src/lib/libsqlite/test/
H A Dthreadtest1.c202 int i, cnt; local
212 for(cnt=0; cnt<10; cnt++){
/opensolaris-onvv-gate/usr/src/lib/smbsrv/libsmbrdr/common/
H A Dsmbrdr_netbios.c74 static int nb_read_itter(int fd, unsigned char *buf, unsigned cnt);
371 nb_read_itter(int fd, unsigned char *buf, unsigned cnt) argument
376 for (ix = 0; ix < cnt; ix += rc) {
380 if ((rc = read(fd, buf+ix, cnt-ix)) < 0)
/opensolaris-onvv-gate/usr/src/stand/lib/sa/
H A Dstdio.c111 ssize_t cnt; local
117 cnt = read(stream->_file, &s[bytes], 1);
118 if (cnt < 0) {
126 } else if (cnt == 0) {
/opensolaris-onvv-gate/usr/src/ucblib/libtermcap/
H A Dtermcap.c73 ssize_t cnt = 0; local
111 if (i == cnt) {
112 cnt = read(tf, ibuf, BUFSIZ);
113 if (cnt <= 0) {
/opensolaris-onvv-gate/usr/src/uts/common/sys/
H A Dddi_timer.h114 uint_t cnt; /* invoke counter */ member in struct:tm_req
/opensolaris-onvv-gate/usr/src/uts/i86pc/io/
H A Dhrtimers.c141 int cnt; local
161 for (cnt = 0; cnt < uap->cmds; cnt++, hrcmdp++) {
H A Drootnex.c2878 uint_t cnt; local
2891 cnt = 0;
2966 sgl[cnt].dmac_laddress = raddr;
2967 sgl[cnt].dmac_size = psize;
2968 sgl[cnt].dmac_type = 0;
2995 sgl[cnt].dmac_type = ROOTNEX_USES_COPYBUF;
2996 if ((cnt + 1) < sglinfo->si_max_pages) {
2997 cnt++;
2998 sgl[cnt].dmac_laddress = 0;
2999 sgl[cnt]
3158 uint_t cnt; local
[all...]
/opensolaris-onvv-gate/usr/src/uts/i86pc/sys/
H A Dxpv_support.h66 extern void *xen_alloc_pages(pgcnt_t cnt);
/opensolaris-onvv-gate/usr/src/cmd/auditrecord/
H A Dauditrecord.pl92 my ($cnt, $error);
95 ($cnt, $error) = $parse->readControl('ignore');
96 print STDERR $error if ($cnt);
99 ($cnt, $error) = $parse->readUser('ignore');
100 print STDERR $error if ($cnt);
103 ($cnt, $error) = $parse->ckAttrEvent();
104 print STDERR $error if ($cnt);
/opensolaris-onvv-gate/usr/src/cmd/fps/fptest/
H A Dbenchmarks.c411 uint32_t cnt; local
447 for (cnt = 0; cnt < loop; cnt++) {
452 memsize, f0, f2, bmask[cnt % 20]);
470 offset + start + i, loop, cnt);
501 loop, cnt);
539 "Start = %2.2d offset = %2.2d loop = %d cnt = %d",
/opensolaris-onvv-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_getdevs.c163 mgd.cnt = 0;
175 } else if (mgd.cnt <= 0) {
176 assert(mgd.cnt >= 0);
182 mydevs = Zalloc(sizeof (*mydevs) * mgd.cnt);
194 } else if (mgd.cnt <= 0) {
195 assert(mgd.cnt >= 0);
200 for (i = 0; (i < mgd.cnt); ++i) {
/opensolaris-onvv-gate/usr/src/uts/i86pc/vm/
H A Dhment.c672 uint_t cnt; local
679 cnt = 0;
681 cnt = 1;
683 cnt = pp->p_share;
698 ++cnt;
703 ++cnt;
709 return (cnt);
/opensolaris-onvv-gate/usr/src/cmd/audio/audiorecord/
H A Daudiorecord.c178 int cnt; local
647 cnt = read(Audio_fd, (char *)buf,
651 if (cnt == 0) /* normally, eof can't happen */
655 if (cnt < 0) {
676 swab((char *)buf, swapBuf, cnt);
677 err = write(ofd, swapBuf, cnt);
679 err = write(ofd, (char *)buf, cnt);
686 if (err != cnt) {
691 Size += cnt;
693 Limit -= cnt;
[all...]
/opensolaris-onvv-gate/usr/src/cmd/listen/
H A Dnlps_serv.c228 short cnt; local
284 cnt = (int)*(tmp - 1) * 2 + 2;
286 if ((size += cnt) > RCVBUFSZ) {
291 if (l_rcv(tmp, cnt, &flags) != cnt) {
295 tmp += cnt;
297 getword(tmp - 2, &cnt);
299 if ((size += cnt) > RCVBUFSZ) {
304 if (l_rcv(tmp, cnt, &flags) != cnt) {
[all...]
/opensolaris-onvv-gate/usr/src/cmd/sendmail/db/btree/
H A Dbt_put.c472 db_indx_t cnt, lo, ln, min, off, prefix, suffix; local
542 for (cnt = 0; cnt < NUM_ENT(h); ++cnt)
543 if (h->inp[cnt] <= off)
544 h->inp[cnt] += nbytes;
577 db_indx_t cnt, cpindx, first, sz; local
584 for (cnt = 0, sz = 0, first = indx;; ++cnt, indx += P_INDX) {
609 * key of the first duplicate key/data pair, cnt i
[all...]
/opensolaris-onvv-gate/usr/src/cmd/troff/nroff.d/
H A Dn10.c384 int cnt; local
427 cnt = 0;
428 while ((*q & MBMASK1) && (cnt + 1 < (int)MB_CUR_MAX)) {
429 cnt++;
432 if ((cnt && !(*q & CSMASK)) || (*q & MBMASK1)) {
433 q -= cnt;
434 cnt = 0;
492 for (qq = q - cnt; qq <= q;)
495 for (jj = cnt + 1; jj > 0; jj--)
497 for (qq = q - cnt; q
[all...]
/opensolaris-onvv-gate/usr/src/cmd/vi/port/
H A Dex_temp.c363 int cnt; local
425 cnt = ((dol - a) + 2) * sizeof (line);
426 if (cnt > BUFSIZE)
427 cnt = BUFSIZE;
428 if (write(tfile, (char *)a, cnt) != cnt) {
585 int cnt; local
610 cnt = append(getREG, addr2);
617 killcnt(cnt);
618 notecnt = cnt;
[all...]
/opensolaris-onvv-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/
H A Dbt_delete.c387 indx_t cnt, idx, *ip, offset; local
442 for (cnt = idx, ip = &pg->linp[0]; cnt--; ++ip)
445 for (cnt = NEXTINDEX(pg) - idx; --cnt; ++ip)
483 indx_t cnt, *ip, offset; local
511 for (cnt = idx, ip = &h->linp[0]; cnt--; ++ip)
514 for (cnt = NEXTINDEX(h) - idx; --cnt;
[all...]
/opensolaris-onvv-gate/usr/src/lib/libdladm/common/
H A Dpropfuncs.c522 uint_t cnt; local
558 cnt = pdp->pd_nmodval;
559 if (cnt == 0) {
561 } else if (cnt > *val_cntp) {
564 for (i = 0; i < cnt; i++) {
568 *val_cntp = cnt;
585 uint_t cnt; local
602 cnt = val_cnt;
611 cnt = 1;
614 status = pdp->pd_set(handle, name, vdp, cnt);
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsmb_smb.c551 uint16_t bc, cnt, dlen, rcnt, todo; local
557 cnt = (uint16_t)*lenp;
567 mb_put_uint16le(mbp, cnt);
604 if (rcnt > cnt) {
605 SMBSDEBUG("bad server! rcnt %d, cnt %d\n",
606 (int)rcnt, (int)cnt);
607 rcnt = cnt;
630 uint16_t cnt, rcnt, todo; local
636 cnt = (uint16_t)*lenp;
646 mb_put_uint16le(mbp, cnt);
[all...]
/opensolaris-onvv-gate/usr/src/cmd/grpck/
H A Dgrpck.c74 int cnt; member in struct:group
148 t->groups->cnt = 1;
330 t->groups->cnt = 1;
346 if (gp->cnt++ == 1) {
359 gp->cnt = 1;
/opensolaris-onvv-gate/usr/src/cmd/isns/isnsd/
H A Ddoor.c156 int i, cnt; local
232 cnt = r_nodes->nodeNr;
235 for (i = 0; i < cnt; i++) {
344 int i, cnt, obj = 0; local
437 cnt = r_nodes->nodeNr;
440 /* for (i = cnt - 1; i >= 0; i--) { */
441 for (i = 0; i < cnt; i++) {
483 int i, cnt; local
516 cnt = r_nodes->nodeNr;
520 for (i = 0; i < cnt;
673 int i, cnt; local
[all...]
/opensolaris-onvv-gate/usr/src/ucblib/librpcsoc/
H A Dsvc_tcp.c330 register int i, cnt; local
332 for (cnt = len; cnt > 0; cnt -= i, buf += i) {
333 if ((i = write(xprt->xp_sock, buf, cnt)) < 0) {
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/
H A Dipsecalgs.c247 int cnt, req_len; local
295 cnt = write(sfd, sync_req_buf, req_len);
296 if (cnt != req_len) {
297 if (cnt < 0) {
305 cnt = read(sfd, sync_req_buf, req_len);
307 if (cnt == -1) {
311 if (cnt < sizeof (struct spd_msg)) {
333 int cnt, retval; local
354 cnt = write(sfd, &msg, sizeof (msg));
355 if (cnt !
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/inet/
H A Dsqueue.c147 #define ENQUEUE_CHAIN(sqp, mp, tail, cnt) { \
158 (sqp)->sq_count += (cnt); \
161 mblk_t *, mp, mblk_t *, tail, int, cnt); \
396 * a chain), while tail points to the end and cnt in number of
416 squeue_enter(squeue_t *sqp, mblk_t *mp, mblk_t *tail, uint32_t cnt, argument
426 ASSERT(cnt > 0);
428 ASSERT(ira == NULL || cnt == 1);
444 if (sqp->sq_first == NULL && cnt == 1) {
510 ASSERT(cnt == 1);
534 ENQUEUE_CHAIN(sqp, mp, tail, cnt);
1016 uint_t cnt; local
[all...]

Completed in 229 milliseconds

<<11121314151617181920>>