Home
last modified time | relevance | path

Searched refs:cnt (Results 1 – 25 of 893) sorted by relevance

12345678910>>...36

/illumos-gate/usr/src/cmd/mdb/common/modules/qlc/
H A Dqlc.c1906 for (cnt = 0; cnt < mbox_cnt; cnt++) { in ql_23xx_dump_dcmd()
2060 for (cnt = 0; cnt < REQUEST_QUEUE_SIZE / 4; cnt++) { in ql_23xx_dump_dcmd()
2080 for (cnt = 0; cnt < 0xf000; cnt++) { in ql_23xx_dump_dcmd()
2361 for (cnt = 0; cnt < REQUEST_QUEUE_SIZE / 4; cnt++) { in ql_24xx_dump_dcmd()
2384 for (cnt = 0; cnt < FWEXTSIZE / 4; cnt++) { in ql_24xx_dump_dcmd()
2400 for (cnt = 0; cnt < FWFCESIZE / 4; cnt++) { in ql_24xx_dump_dcmd()
2734 for (cnt = 0; cnt < REQUEST_QUEUE_SIZE / 4; cnt++) { in ql_25xx_dump_dcmd()
2757 for (cnt = 0; cnt < FWEXTSIZE / 4; cnt++) { in ql_25xx_dump_dcmd()
2773 for (cnt = 0; cnt < FWFCESIZE / 4; cnt++) { in ql_25xx_dump_dcmd()
3133 for (cnt = 0; cnt < FWEXTSIZE / 4; cnt++) { in ql_81xx_dump_dcmd()
[all …]
/illumos-gate/usr/src/cmd/vi/port/
H A Dex_vwind.c84 if (cnt > 0) in vupdown()
115 cnt = i; in vup()
125 cnt <= WTOP - ZERO && vfit(dot - cnt, cnt) <= WTOP - ZERO) in vup()
136 vrollR(cnt); in vup()
163 cnt = i; in vdown()
181 if (cnt > 0) in vdown()
327 int cnt; in vback()
338 cnt -= d;
353 cnt--; in vfit()
388 for (; cnt > 0 && Peekkey != ATTN; cnt--) { in vroll()
[all …]
H A Dex_vadj.c56 int cnt; in vopen() local
98 if (cnt > 0) { in vopen()
99 p -= cnt; in vopen()
404 int cnt; in vrollup() local
415 vscroll(cnt); in vrollup()
477 if (cnt < 0 || cnt > TUBELINES) in vscroll()
980 cnt += l; in vreplace()
993 if (cnt < 0) in vreplace()
994 cnt = 0; in vreplace()
1012 if (cnt > 1 && l + cnt > vcnt) in vreplace()
[all …]
H A Dex_vget.c99 int cnt; in getbr() local
384 verbalize(cnt, cmdstr, sgn) in verbalize() argument
385 int cnt; in verbalize()
394 viprintf((cnt == 1) ?
448 gettext("%d more lines"), cnt);
451 gettext("%d fewer lines"), cnt);
771 int c, cnt; in vgetcnt() local
773 cnt = 0; in vgetcnt()
778 cnt *= 10, cnt += c - '0'; in vgetcnt()
782 Xcnt = cnt; in vgetcnt()
[all …]
/illumos-gate/usr/src/cmd/tail/
H A Dread.c161 cnt = 0; in lines()
174 if (cnt) { in lines()
185 for (cnt = recno - 1; cnt >= 0; --cnt) in lines()
186 WR(llines[cnt].l, llines[cnt].len); in lines()
188 for (cnt = off - 1; cnt >= recno; --cnt) in lines()
189 WR(llines[cnt].l, llines[cnt].len); in lines()
192 for (cnt = recno; cnt < off; ++cnt) in lines()
193 WR(llines[cnt].l, llines[cnt].len); in lines()
194 for (cnt = 0; cnt < recno; ++cnt) in lines()
195 WR(llines[cnt].l, llines[cnt].len); in lines()
[all …]
/illumos-gate/usr/src/uts/common/io/bnx/include/
H A Dlistq.h135 s_list->cnt++; in s_list_push_head()
243 s_list->cnt += s_list_head->cnt; in s_list_add_head()
262 s_list->cnt += s_list_tail->cnt; in s_list_add_tail()
288 s_list->cnt = s_list->cnt - entry_cnt; in s_list_split()
370 (_s_list)->cnt += (_s_list_head)->cnt; \
382 (_s_list)->cnt += (_s_list_tail)->cnt; \
398 (_s_list)->cnt = (_s_list)->cnt - (_entry_cnt); \
679 d_list->cnt += d_list_head->cnt; in d_list_add_head()
701 d_list->cnt += d_list_tail->cnt; in d_list_add_tail()
889 (_d_list)->cnt += (_d_list_head)->cnt
[all …]
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/include/
H A Dlistq.h127 s_list->cnt++; in s_list_push_head()
235 s_list->cnt += s_list_head->cnt; in s_list_add_head()
254 s_list->cnt += s_list_tail->cnt; in s_list_add_tail()
280 s_list->cnt = s_list->cnt - entry_cnt; in s_list_split()
362 (_s_list)->cnt += (_s_list_head)->cnt; \
374 (_s_list)->cnt += (_s_list_tail)->cnt; \
390 (_s_list)->cnt = (_s_list)->cnt - (_entry_cnt); \
671 d_list->cnt += d_list_head->cnt; in d_list_add_head()
693 d_list->cnt += d_list_tail->cnt; in d_list_add_tail()
881 (_d_list)->cnt += (_d_list_head)->cnt
[all …]
/illumos-gate/usr/src/uts/common/ipp/dscpmk/
H A Ddscpmkddi.c171 for (cnt = 0; cnt < DSCPMK_ARRAY_COUNT; cnt++) { in dscpmk_create_action()
174 dscpmk_data->dscp_map[cnt] = tbl[cnt]; in dscpmk_create_action()
201 for (cnt = 0; cnt < DSCPMK_ARRAY_COUNT; cnt++) { in dscpmk_create_action()
214 for (cnt = 0; cnt < DSCPMK_ARRAY_COUNT; cnt++) { in dscpmk_create_action()
241 for (cnt = 0; cnt < DSCPMK_ARRAY_COUNT; cnt++) { in dscpmk_create_action()
323 for (cnt = 0; cnt < DSCPMK_ARRAY_COUNT; cnt++) { in dscpmk_modify_action()
326 dscpmk_data->dscp_map[cnt] = tbl[cnt]; in dscpmk_modify_action()
358 for (cnt = 0; cnt < DSCPMK_ARRAY_COUNT; cnt++) { in dscpmk_modify_action()
372 for (cnt = 0; cnt < DSCPMK_ARRAY_COUNT; cnt++) { in dscpmk_modify_action()
405 for (cnt = 0; cnt < DSCPMK_ARRAY_COUNT; cnt++) { in dscpmk_destroy_action()
[all …]
/illumos-gate/usr/src/test/libc-tests/tests/wcsrtombs/
H A Dwcsrtombs_test.c100 size_t cnt; in test_wcsrtombs_1() local
146 size_t cnt; in test_wcsrtombs_l() local
181 size_t cnt; in test_wcsrtombs_thr_iter() local
232 size_t cnt; in test_wcsrtombs_partial() local
245 if (cnt != 0) { in test_wcsrtombs_partial()
253 if (cnt != 2) { in test_wcsrtombs_partial()
256 dst += cnt; in test_wcsrtombs_partial()
259 dst += cnt; in test_wcsrtombs_partial()
281 int cnt; in test_wcsrtombs_negative() local
312 size_t cnt; in test_wcsnrtombs_partial() local
[all …]
/illumos-gate/usr/src/cmd/audio/utilities/
H A DAudioBuffer.cc70 size_t cnt; in alloc() local
151 ncpy = (cnt < size) ? (unsigned int)cnt : in alloc()
313 off_t cnt; in ReadData() local
345 cnt = resid; in ReadData()
352 (int)cnt); in ReadData()
378 off_t cnt; in WriteData() local
410 cnt = resid; in WriteData()
417 (int)cnt); in WriteData()
469 size_t cnt; in AsyncCopy() local
506 if (cnt == 0) { in AsyncCopy()
[all …]
H A DAudioHdr.cc123 off_t cnt) const // byte count in Bytes_to_Time()
129 cnt -= (cnt % (bytes_per_unit * channels)); in Bytes_to_Time()
131 return (Double) ((double)cnt / in Bytes_to_Time()
160 off_t& cnt) const in Bytes_to_Bytes()
166 cnt -= (cnt % (bytes_per_unit * channels)); in Bytes_to_Bytes()
167 return (cnt); in Bytes_to_Bytes()
173 size_t& cnt) const in Bytes_to_Bytes()
179 cnt -= (cnt % (bytes_per_unit * channels)); in Bytes_to_Bytes()
180 return (cnt); in Bytes_to_Bytes()
187 unsigned long cnt) const // sample frame count in Samples_to_Time()
[all …]
H A DAudioUnixfile.cc99 int cnt; in decode_filehdr() local
318 off_t cnt; in ReadData() local
322 cnt = (off_t)len; in ReadData()
353 cnt = read(fd, (char *)buf, (int)cnt); in ReadData()
354 if (cnt < 0) { in ReadData()
380 if (cnt == 0) { in ReadData()
408 off_t cnt; in WriteData() local
412 cnt = (off_t)len; in WriteData()
444 cnt = write(fd, (char *)buf, (int)cnt); in WriteData()
445 if (cnt < 0) { in WriteData()
[all …]
H A Dg721.c179 int cnt; in _g721_update() local
288 for (cnt = 0; cnt < 6; cnt++) { in _g721_update()
289 state_ptr->b[cnt] -= state_ptr->b[cnt] >> 8; in _g721_update()
300 for (cnt = 5; cnt > 0; cnt--) in _g721_update()
301 state_ptr->dq[cnt] = state_ptr->dq[cnt-1]; in _g721_update()
603 int cnt, cnta; in g721_encode() local
659 for (cnt = 1; cnt < 6; cnt++) in g721_encode()
663 for (cnt = 1; cnt > -1; cnt--) in g721_encode()
744 int cnt, cnta; in g721_decode() local
758 for (cnt = 1; cnt < 6; cnt++) in g721_decode()
[all …]
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dt-sem.c207 cnt = 0;
214 ++cnt;
222 cnt = 0;
229 ++cnt;
237 cnt = 0;
244 ++cnt;
252 cnt = 0;
259 ++cnt;
266 cnt = 0;
273 ++cnt;
[all …]
/illumos-gate/usr/src/cmd/tr/
H A Dtr.c89 wint_t ch, cnt, lastch; in main() local
230 s1.cnt == 1 && s2.cnt == 1) { in main()
247 s1.cnt == 1 && s2.cnt == 1) { in main()
284 for (cnt = 0; cnt < WCHAR_MAX; cnt++) { in main()
293 (void) cmap_add(map, cnt, cnt); in main()
295 cnt >= cmap_max(map)) in main()
300 for (p = carray, cnt = 0; cnt < NCHARS_SB; cnt++) { in main()
301 if (cmap_lookup(map, cnt) == OOBCH && iswrune(cnt)) in main()
302 *p++ = cnt; in main()
304 (void) cmap_add(map, cnt, cnt); in main()
[all …]
/illumos-gate/usr/src/cmd/format/
H A Dix_altsctr.c180 int cnt; in chk_badsec() local
183 for (cnt = 0; cnt < ap->ap_gbadcnt; cnt++) { in chk_badsec()
242 int cnt; in init_altsctr() local
253 for (cnt = 0; cnt < 5; cnt++) in init_altsctr()
256 for (cnt = 0; cnt < ap->ap_gbadcnt; cnt++) { in init_altsctr()
388 int cnt; in get_badsec() local
613 int cnt;
643 int cnt;
677 int cnt;
748 int cnt;
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Dmove.c66 ulong_t cnt; in uiomove() local
109 n -= cnt; in uiomove()
140 n -= cnt; in uio_prefaultpages()
145 while (cnt) { in uio_prefaultpages()
159 cnt -= incr; in uio_prefaultpages()
189 ulong_t cnt; in uiocopy() local
229 n -= cnt; in uiocopy()
447 int cnt; in uioamove() local
491 cnt = MIN(cnt, PAGESIZE - soff); in uioamove()
492 cnt = MIN(cnt, PAGESIZE - doff); in uioamove()
[all …]
/illumos-gate/usr/src/lib/libc/sparc/gen/
H A Dlshiftl.s62 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
72 sll %o2,%o1,%o2 ! R.h = R.h << cnt
78 subcc %o4,32,%o5 ! cnt - 32 (also test cnt >= 32)
80 add %o1,32,%o1 ! 32 - cnt (actually ((-cnt) + 32)
81 srl %o2,%o5,%o3 ! R.l = R.h >> (cnt - 32)
87 srl %o3,%o4,%o3 ! R.l = R.l >> cnt
[all …]
/illumos-gate/usr/src/cmd/sendmail/db/os/
H A Dos_dir.c54 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) in __os_dirfree() argument
93 int cnt;
96 __db_jump.j_dirfree(names, cnt);
98 while (cnt > 0)
[all …]
/illumos-gate/usr/src/cmd/addbadsec/
H A Dix_altsctr.c82 int cnt, int dir);
184 int cnt; in chk_badsec() local
187 for (cnt = 0; cnt < ap->ap_gbadcnt; cnt++) { in chk_badsec()
246 int cnt; in init_altsctr() local
257 for (cnt = 0; cnt < 5; cnt++) in init_altsctr()
260 for (cnt = 0; cnt < ap->ap_gbadcnt; cnt++) { in init_altsctr()
384 int cnt; in get_badsec() local
392 cnt = count_badsec(); in get_badsec()
393 if (!cnt) { in get_badsec()
418 cnt++; in get_badsec()
[all …]
/illumos-gate/usr/src/lib/crypt_modules/sha256/
H A Dtest.c103 int cnt; in main() local
115 for (cnt = 0; cnt < ntests2; ++cnt) { in main()
117 fprintf(stderr, "test %d (outlen=%d): ", cnt, in main()
118 strlen(tests2[cnt].expected)); in main()
120 tests2[cnt].input, tests2[cnt].salt, NULL); in main()
122 if (cp == NULL || (strcmp(cp, tests2[cnt].expected) != 0)) { in main()
125 strlen(tests2[cnt].expected), tests2[cnt].expected, in main()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/nc/
H A Dsocks.c158 size_t cnt; in socks_connect() local
193 if (cnt != 3) in socks_connect()
194 err(1, "write failed (%d/3)", cnt); in socks_connect()
197 if (cnt != 2) in socks_connect()
198 err(1, "read failed (%d/3)", cnt); in socks_connect()
252 if (cnt != wlen) in socks_connect()
261 if (cnt != 10) in socks_connect()
279 if (cnt != wlen) in socks_connect()
287 if (cnt != 8) in socks_connect()
288 err(1, "read failed (%d/8)", cnt); in socks_connect()
[all …]
/illumos-gate/usr/src/lib/libfakekernel/common/
H A Duio.c33 ulong_t cnt; in uiomove() local
37 cnt = MIN(iov->iov_len, n); in uiomove()
38 if (cnt == 0L) { in uiomove()
51 bcopy(p, iov->iov_base, cnt); in uiomove()
53 bcopy(iov->iov_base, p, cnt); in uiomove()
56 iov->iov_base += cnt; in uiomove()
57 iov->iov_len -= cnt; in uiomove()
58 uio->uio_resid -= cnt; in uiomove()
59 uio->uio_loffset += cnt; in uiomove()
60 p = (caddr_t)p + cnt; in uiomove()
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/snapshot/
H A Dsnapshot_015_pos.ksh85 typeset -i cnt=0
86 while ((cnt < snap_cnt)); do
87 testfile=$mntpnt/testfile.$cnt
89 log_must mkdir $snapdir/snapshot/snap.$cnt
90 if ! datasetexists $fs@snap.$cnt ; then
94 ((cnt += 1))
98 ((cnt = RANDOM % snap_cnt))
99 log_must zfs rollback -r $fs@snap.$cnt
104 if ((i <= cnt)); then
118 log_must rmdir $snapdir/snapshot/snap.$cnt
[all …]
/illumos-gate/usr/src/cmd/rpcsvc/
H A Drpc.rusersd.c198 int cnt = 0; local
242 uav[cnt].ut_host =
254 uav[cnt].ut_idle =
255 min(uav[cnt].ut_idle,
260 uav[cnt].ut_line, uav[cnt].ut_user,
262 uav[cnt].ut_idle, uav[cnt].ut_host);
266 cnt++;
268 return (cnt);
314 int cnt; local
364 alloc_array_len = cnt;
[all …]

12345678910>>...36