Home
last modified time | relevance | path

Searched refs:cnt (Results 126 – 150 of 879) sorted by relevance

12345678910>>...36

/illumos-gate/usr/src/cmd/power/
H A Dparse.c271 int cnt = 0; in build_args() local
290 newarg(arg, cnt++); in build_args()
294 newarg(NULL, cnt); in build_args()
297 mesg(MDEBUG, "\nline %d, found %d args:\n", lineno, cnt); in build_args()
302 return (cnt); in build_args()
376 int linc, cnt; in parse_conf_file() local
433 else if ((cnt = build_args(cline, cline + llen)) != 0) { in parse_conf_file()
437 } else if (cnt != cip->argc && in parse_conf_file()
438 (cip->any == 0 || cnt < cip->argc)) { in parse_conf_file()
440 cnt, cip->argc, cip->any ? "+" : ""); in parse_conf_file()
/illumos-gate/usr/src/cmd/troff/
H A Dn9.c88 int w, cnt, delim, rem, temp; in setline() local
114 if (!(cnt = length / w)) { in setline()
126 if (cnt) { in setline()
128 *i++ = cnt; in setline()
205 int cnt, delim; in setbra() local
212 cnt = 0; in setbra()
223 cnt++; in setbra()
225 if (--cnt < 0) in setbra()
227 else if (!cnt) { in setbra()
250 int cnt, delim, v; in setvline() local
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_rollback/
H A Dzfs_rollback_001_pos.ksh67 typeset -i cnt=$2
71 (( cnt > 3 || pointcnt > cnt )) && \
85 *r*) setup_snap_env $cnt ;;
86 *R*) setup_clone_env $cnt ;;
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dipcsum.c131 #define INC_PTR(cnt) ptr += cnt argument
132 #define INC_ENDPTR(cnt) endptr += cnt argument
136 #define INC_PTR(cnt) startp += (cnt * sizeof (uint32_t))
137 #define INC_ENDPTR(cnt) endp += (cnt * sizeof (uint32_t))
/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Dtls.c50 ulong_t ndx, cnt; in tls_getmodid() local
62 for (cnt = tmid.tmi_lowfree / (sizeof (uint_t) * 8); in tls_getmodid()
63 cnt < tmid.tmi_cnt; cnt++) { in tls_getmodid()
69 if ((tmid.tmi_bits[cnt] ^ ~((uint_t)0)) == 0) in tls_getmodid()
73 if ((tmid.tmi_bits[cnt] & bits) == 0) { in tls_getmodid()
74 tmid.tmi_bits[cnt] |= bits; in tls_getmodid()
75 ndx = (cnt * (sizeof (uint_t)) * 8) + ndx; in tls_getmodid()
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_nt_cancel.c73 int cnt = 0; in smb_com_nt_cancel() local
87 cnt++; in smb_com_nt_cancel()
91 if (cnt != 1) { in smb_com_nt_cancel()
93 uint16_t, sr->smb_mid, int, cnt); in smb_com_nt_cancel()
/illumos-gate/usr/src/uts/common/syscall/
H A Dreadlink.c62 ssize_t cnt; in readlinkat() local
65 if ((cnt = (ssize_t)count) < 0) in readlinkat()
99 aiov.iov_len = cnt; in readlinkat()
105 auio.uio_resid = cnt; in readlinkat()
115 return ((ssize_t)(cnt - auio.uio_resid)); in readlinkat()
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/
H A Dsections.c56 int cnt; in dbg_fmt_isec_name2() local
68 cnt = snprintf(buf, sizeof (dbg_isec_name_buf_t), in dbg_fmt_isec_name2()
76 if ((cnt >= sizeof (dbg_isec_name_buf_t)) && in dbg_fmt_isec_name2()
77 ((*alloc_mem = malloc(cnt + 1)) != NULL)) { in dbg_fmt_isec_name2()
78 (void) snprintf(*alloc_mem, cnt + 1, in dbg_fmt_isec_name2()
97 uint_t cnt; in Dbg_sec_strtab() local
121 for (cnt = 0; cnt < stp->st_hbckcnt; cnt++) { in Dbg_sec_strtab()
122 Str_hash *strhash = stp->st_hashbcks[cnt]; in Dbg_sec_strtab()
127 dbg_print(lml, MSG_INTL(MSG_SEC_STRTAB_BCKT), cnt); in Dbg_sec_strtab()
/illumos-gate/usr/src/lib/libsqlite/test/
H A Dversion.test100 CREATE TABLE cnt(name,ins, del);
101 INSERT INTO cnt VALUES('t1',0,0);
102 INSERT INTO cnt VALUES('t2',0,0);
104 UPDATE cnt SET ins=ins+1 WHERE name='t1';
107 UPDATE cnt SET del=del+1 WHERE name='t1';
110 UPDATE cnt SET ins=ins+1 WHERE name='t2';
113 UPDATE cnt SET del=del+1 WHERE name='t2';
116 CREATE VIEW v2 AS SELECT sum(ins), sum(del) FROM cnt;
131 SELECT * FROM cnt;
142 SELECT * FROM cnt;
[all …]
H A Dthreadtest2.c76 int cnt = 0; in worker() local
77 while( !all_stop && cnt++<10000 ){ in worker()
78 if( cnt%1000==0 ) printf("pid=%d: %d\n", getpid(), cnt); in worker()
/illumos-gate/usr/src/cmd/th_tools/
H A Dth_define.c595 uint_t cnt; in define_op_err() local
596 for (cnt = 0; cnt < NPIO_DEFAULTS; in define_op_err()
619 [cnt]); in define_op_err()
836 uint_t cnt; in define_nerrs() local
837 for (cnt = 0; cnt < NPIO_DEFAULTS; in define_nerrs()
917 cnt += 1; in reduce_log()
959 cnt++; in reduce_log()
1039 *cntp = cnt; in reduce_log()
1748 size_t cnt; in test_driver() local
1797 if (cnt == 0) in test_driver()
[all …]
/illumos-gate/usr/src/common/bignum/i386/
H A Dbignum_i386_asm.S909 subl $1, %ecx / --cnt
925 / cnt = alen - 3;
926 / while (cnt != 0) {
927 / r[cnt] = big_mul_add_vec_sse2_r(r, a, cnt, digit);
930 / --cnt;
940 / cnt = alen - 3;
941 / while (cnt != 0) {
943 / *(r + 4 * cnt) = cy;
946 / --cnt;
966 subl $1, %ecx / --cnt
[all …]
/illumos-gate/usr/src/stand/lib/fs/nfs/
H A Dgetdents.c94 int j, cnt = 0; in nfsgetdents() local
163 return (cnt); in nfsgetdents()
168 return (cnt); in nfsgetdents()
182 cnt++; in nfsgetdents()
186 return (cnt); in nfsgetdents()
H A Dgetdents3.c85 int cnt = 0; in nfs3getdents() local
164 return (cnt); in nfs3getdents()
169 return (cnt); in nfs3getdents()
181 cnt++; in nfs3getdents()
185 return (cnt); in nfs3getdents()
/illumos-gate/usr/src/lib/libsec/common/
H A Daclsort.c158 sortid(aclent_t *ap, int cnt, int type) in sortid() argument
164 for (tp = ap; cnt-- > 0; tp++) { in sortid()
169 for (tp++, cnt--; cnt > 0 && tp->a_type == type; tp++, cnt--) in sortid()
/illumos-gate/usr/src/common/smbsrv/
H A Dsmb_token_xdr.c47 uint32_t cnt; in smb_privset_helper_xdr() local
57 if (!xdr_uint32_t(xdrs, &cnt)) in smb_privset_helper_xdr()
69 cnt = p->priv_cnt; in smb_privset_helper_xdr()
74 + (cnt * sizeof (smb_luid_attrs_t)); in smb_privset_helper_xdr()
131 uint32_t cnt; in smb_posix_grps_helper_xdr() local
140 if (!xdr_uint32_t(xdrs, &cnt)) in smb_posix_grps_helper_xdr()
149 cnt = ((smb_posix_grps_t *)(uintptr_t)*identity)->pg_ngrps; in smb_posix_grps_helper_xdr()
152 len = SMB_POSIX_GRPS_SIZE(cnt); in smb_posix_grps_helper_xdr()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/
H A Dkerberos5.c398 kerberos5_reply(Authenticator *ap, unsigned char *data, int cnt) in kerberos5_reply() argument
403 if (cnt-- < 1) in kerberos5_reply()
407 if (cnt > 0) in kerberos5_reply()
410 "%.*s ]\r\n"), cnt, data); in kerberos5_reply()
433 if (cnt) in kerberos5_reply()
436 cnt, data); in kerberos5_reply()
453 inbuf.length = cnt; in kerberos5_reply()
483 "%.*s ]\r\n"), cnt, data); in kerberos5_reply()
535 if (cnt <= 4) in kerberos5_printsub()
538 for (i = 4; i < cnt; i++) in kerberos5_printsub()
[all …]
/illumos-gate/usr/src/cmd/sendmail/db/log/
H A Dlog.c184 int cnt, found_checkpoint, ret; local
192 if ((ret = __log_find(dblp, 0, &cnt)) != 0)
194 if (cnt == 0)
203 lp->lsn.file = cnt + 1;
205 lsn.file = cnt;
245 while (!found_checkpoint && cnt > 1) {
246 lsn.file = --cnt;
303 int cnt, fcnt, ret; local
334 for (cnt = fcnt, clv = logval = 0; --cnt >= 0;) {
335 if (strncmp(names[cnt], LFPREFIX, sizeof(LFPREFIX) - 1) != 0)
[all …]
/illumos-gate/usr/src/cmd/sgs/librtld/common/
H A Dsyms.c48 Xword symn, cnt; in update_sym() local
62 for (cnt = 0; cnt < symn; cnt++, syms++) { in update_sym()
/illumos-gate/usr/src/cmd/devfsadm/
H A Ddevpolicy.c151 int nalloc = 0, cnt = 0; in loadpolicy() local
171 if (cnt >= nalloc) { in loadpolicy()
191 dp = (devplcysys_t *)(mem + devplcysys_sz * cnt); in loadpolicy()
252 cnt++; in loadpolicy()
261 qsort(mem, cnt, devplcysys_sz, qcmp); in loadpolicy()
263 if ((res = modctl(MODSETDEVPOLICY, cnt, devplcysys_sz, mem)) != 0) in loadpolicy()
/illumos-gate/usr/src/uts/common/io/i40e/core/
H A Di40e_lan_hmc.c130 full_obj->cnt = 0; in i40e_init_lan_hmc()
137 obj->cnt = txq_num; in i40e_init_lan_hmc()
152 full_obj->cnt += obj->cnt; in i40e_init_lan_hmc()
157 obj->cnt = rxq_num; in i40e_init_lan_hmc()
159 (hw->hmc.hmc_obj[I40E_HMC_LAN_TX].cnt * in i40e_init_lan_hmc()
175 full_obj->cnt += obj->cnt; in i40e_init_lan_hmc()
180 obj->cnt = fcoe_cntx_num; in i40e_init_lan_hmc()
182 (hw->hmc.hmc_obj[I40E_HMC_LAN_RX].cnt * in i40e_init_lan_hmc()
198 full_obj->cnt += obj->cnt; in i40e_init_lan_hmc()
203 obj->cnt = fcoe_filt_num; in i40e_init_lan_hmc()
[all …]
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_fc.h747 if (cnt & 0xffff0000) { \
748 if (cnt & 0xff800000) { \
753 if (cnt & 0x00700000) { \
754 if (cnt & 0x00400000) { \
793 if (cnt & 0x0000fe00) { \
794 if (cnt & 0x0000f000) { \
843 if (cnt & 0xffff0000) { \
844 if (cnt & 0xff800000) { \
849 if (cnt & 0x00700000) { \
889 if (cnt & 0x0000fe00) { \
[all …]
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/recno/
H A Drec_delete.c160 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)
/illumos-gate/usr/src/cmd/audio/utilities/
H A DAudioTypeSampleRate.cc171 size_t cnt; in Flush() local
181 cnt = (size_t)nsamp * h.bytes_per_unit; in Flush()
182 tmpbuf = new unsigned char[cnt]; in Flush()
189 cnt = (size_t)nsamp * h.bytes_per_unit; in Flush()
191 err = outbuf->AppendData(tmpbuf, cnt, pos); in Flush()
/illumos-gate/usr/src/test/zfs-tests/tests/functional/projectquota/
H A Dprojectquota_common.kshlib97 typeset cnt=$(zfs projectspace -oname,objused $fs |
99 [[ "$cnt" == "-" ]] && cnt=0 || true
100 echo $cnt

12345678910>>...36