Searched refs:wc (Results 26 - 50 of 475) sorted by relevance

1234567891011>>

/freebsd-current/tools/test/stress2/misc/
H A Dprocfs6.sh38 [ `ls /proc | wc -l` -eq 0 ] && { ls -l /proc; exit 1; }
39 [ `ls /proc/$$ | wc -l` -eq 0 ] && { ls -l /proc; exit 1; }
H A Dswap3.sh36 [ `swapinfo | wc -l` -eq 1 ] || { swapoff -a; off=1; }
H A Dtcp.sh37 [ `swapinfo | wc -l` -eq 1 ] && exit 0
48 n=$((n - `ps aux | wc -l`))
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/pid/
H A Dtst.killonerror.ksh39 rc=`$dtrace -c date -n jarod 2>/dev/null | /usr/bin/wc -l`
/freebsd-current/contrib/ncurses/include/
H A DMKhashsize.sh39 TABSIZE=`cat "$@" | grep -v '^[ #]' | grep -v "^$" | grep -v "^capalias"| grep -v "^infoalias" | grep -v "^userdef" | grep -v "^used_by" | wc -l`
/freebsd-current/tools/test/stress2/tools/
H A Dptsleak.sh33 n=`find /dev/pts -mtime +15m 2>/dev/null | wc -l`
H A Dptyleak.sh34 egrep "/dev/pty[p-sP-S][0-9a-v]|/dev/tty[p-sP-S][0-9a-v]" | wc -l`
/freebsd-current/crypto/openssh/regress/
H A Dyes-head.sh6 lines=`${SSH} -F $OBJ/ssh_proxy thishost 'sh -c "while true;do echo yes;done | _POSIX2_VERSION=199209 head -2000"' | (sleep 3 ; wc -l)`
/freebsd-current/contrib/one-true-awk/testdir/
H A DREGRESS12 echo `ls t.* | wc -l` tests; echo
15 echo `ls p.* | wc -l` tests; echo
18 echo `grep '\$awk' T.* | wc -l` tests; echo
21 echo `ls tt.* | wc -l` tests; echo
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/arc/
H A Ddbufstats_002_pos.ksh65 dbuf=$(dbufstat -bxn -i "$DBUFS_FILE" -F "object=$objid" | wc -l)
66 mru=$(dbufstat -bxn -i "$DBUFS_FILE" -F "object=$objid,list=1" | wc -l)
67 mfu=$(dbufstat -bxn -i "$DBUFS_FILE" -F "object=$objid,list=3" | wc -l)
74 dbuf=$(dbufstat -bxn -i "$DBUFS_FILE" -F "object=$objid" | wc -l)
75 mru=$(dbufstat -bxn -i "$DBUFS_FILE" -F "object=$objid,list=1" | wc -l)
76 mfu=$(dbufstat -bxn -i "$DBUFS_FILE" -F "object=$objid,list=3" | wc -l)
/freebsd-current/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_cq.c499 struct ib_wc *wc)
513 wc->status = IB_WC_LOC_LEN_ERR;
516 wc->status = IB_WC_LOC_QP_OP_ERR;
519 wc->status = IB_WC_LOC_PROT_ERR;
522 wc->status = IB_WC_WR_FLUSH_ERR;
525 wc->status = IB_WC_MW_BIND_ERR;
528 wc->status = IB_WC_BAD_RESP_ERR;
531 wc->status = IB_WC_LOC_ACCESS_ERR;
534 wc->status = IB_WC_REM_INV_REQ_ERR;
537 wc
498 mlx4_ib_handle_error_cqe(struct mlx4_err_cqe *cqe, struct ib_wc *wc) argument
573 use_tunnel_data(struct mlx4_ib_qp *qp, struct mlx4_ib_cq *cq, struct ib_wc *wc, unsigned tail, struct mlx4_cqe *cqe, int is_eth) argument
600 mlx4_ib_qp_sw_comp(struct mlx4_ib_qp *qp, int num_entries, struct ib_wc *wc, int *npolled, int is_send) argument
624 mlx4_ib_poll_sw_comp(struct mlx4_ib_cq *cq, int num_entries, struct ib_wc *wc, int *npolled) argument
649 mlx4_ib_poll_one(struct mlx4_ib_cq *cq, struct mlx4_ib_qp **cur_qp, struct ib_wc *wc) argument
867 mlx4_ib_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *wc) argument
[all...]
/freebsd-current/lib/libc/locale/
H A Dgbk.c104 wchar_t wc; local
130 wc = (gs->ch << 8) | (*s & 0xFF);
132 *pwc = wc;
138 wc = *s++ & 0xff;
142 gs->ch = wc;
149 wc = (wc << 8) | (*s++ & 0xff);
151 *pwc = wc;
155 *pwc = wc;
156 return (wc
161 _GBK_wcrtomb(char * __restrict s, wchar_t wc, mbstate_t * __restrict ps) argument
[all...]
H A Dbig5.c102 wchar_t wc; local
128 wc = (bs->ch << 8) | (*s & 0xFF);
130 *pwc = wc;
136 wc = *s++ & 0xff;
140 bs->ch = wc;
147 wc = (wc << 8) | (*s++ & 0xff);
149 *pwc = wc;
153 *pwc = wc;
154 return (wc
159 _BIG5_wcrtomb(char * __restrict s, wchar_t wc, mbstate_t * __restrict ps) argument
[all...]
H A Dgb2312.c113 wchar_t wc; local
139 wc = 0;
142 wc = (wc << 8) | (unsigned char)*s++;
144 *pwc = wc;
146 return (wc == L'\0' ? 0 : len - ocount);
150 _GB2312_wcrtomb(char * __restrict s, wchar_t wc, mbstate_t * __restrict ps) argument
164 if (wc & 0x8000) {
165 *s++ = (wc >> 8) & 0xff;
166 *s = wc
[all...]
/freebsd-current/tools/tools/locale/tools/
H A Dutf8-rollup.pl125 my $wc = hex(shift);
131 if (($wc & ~0x7f) == 0) {
132 return sprintf "%02X", $wc;
133 } elsif (($wc & ~0x7ff) == 0) {
136 } elsif (($wc & ~0xffff) == 0) {
139 } elsif ($wc >= 0 && $wc <= 0x10ffff) {
145 $ret = (sprintf "%02X", ($wc & 0x3f) | 0x80) . $ret;
146 $wc >>= 6;
148 $ret = (sprintf "%02X", ($wc
[all...]
/freebsd-current/usr.bin/talk/
H A Ddisplay.c69 wchar_t wc[2]; local
71 wc[0] = in;
72 wc[1] = L'\0';
74 if (setcchar(&cc, wc, A_NORMAL, 0, NULL) != OK)
85 display(xwin_t *win, wchar_t *wc) argument
92 if (*wc == win->kill)
94 else if (*wc == win->cerase)
96 else if (*wc == win->werase)
99 switch (*wc) {
178 write(STDOUT_FILENO, wc, sizeo
[all...]
/freebsd-current/lib/libiconv_modules/DECHanyu/
H A Dcitrus_dechanyu.c173 wchar_t wc; local
183 wc = (wchar_t)0;
210 wc |= (wchar_t)HANYUBIT;
228 wc |= (wchar_t)HANYUBIT;
252 wc |= (wchar_t)(ch << 8);
256 wc |= (wchar_t)ch;
258 *pwc = wc;
278 char * __restrict s, size_t n, wchar_t wc,
287 if ((uint32_t)wc <= 0x7F) {
288 ch = wc
277 _citrus_DECHanyu_wcrtomb_priv(_DECHanyuEncodingInfo * __restrict ei __unused, char * __restrict s, size_t n, wchar_t wc, _DECHanyuState * __restrict psenc, size_t * __restrict nresult) argument
323 _citrus_DECHanyu_stdenc_wctocs(_DECHanyuEncodingInfo * __restrict ei __unused, _csid_t * __restrict csid, _index_t * __restrict idx, wchar_t wc) argument
352 _citrus_DECHanyu_stdenc_cstowc(_DECHanyuEncodingInfo * __restrict ei __unused, wchar_t * __restrict wc, _csid_t csid, _index_t idx) argument
[all...]
/freebsd-current/contrib/netbsd-tests/bin/sh/
H A Dt_varval.sh135 atf_require_prog wc
142 test $( wc -l < results ) -eq 256 ||
144 test $(wc -c < results) -eq $(( 255 * 14 )) ||
156 atf_require_prog wc
172 test $( wc -l < "prefix/suffix" ) -eq 1 ||
180 test $( wc -l < "prefix${nl}suffix" ) -eq 2 ||
186 test $( ls | wc -l ) -eq 253 ||
188 "Did not create all expected files: wanted: 253, found ($( ls | wc -l ))"
191 test $( ls | wc -c ) -eq $(( 253 * 14 )) ||
203 atf_require_prog wc
[all...]
/freebsd-current/contrib/xz/src/common/
H A Dtuklib_mbstr_width.c42 wchar_t wc;
43 const size_t ret = mbrtowc(&wc, str + i, len - i, &state);
49 const int wc_width = wcwidth(wc);
/freebsd-current/usr.bin/expand/
H A Dexpand.c54 wint_t wc; local
97 while ((wc = getwchar()) != WEOF) {
98 switch (wc) {
135 putwchar(wc);
136 if ((width = wcwidth(wc)) > 0)
141 putwchar(wc);
/freebsd-current/usr.bin/hexdump/
H A Dconv.c49 wchar_t wc; local
101 clen = mbrtowc(&wc, p, bufsize, &pr->mbstate);
116 wc = *p;
131 wc = *p;
134 if (!converr && iswprint(wc)) {
137 (void)printf(pr->fmt, (int)wc);
141 width = wcwidth(wc);
146 (void)printf("%*s%C", pad, "", wc);
/freebsd-current/contrib/ntp/scripts/build/
H A DcheckHtmlFileDates26 set `bk diff --normal $i | wc -l`
/freebsd-current/lib/libiconv_modules/ZW/
H A Dcitrus_zw.c114 wchar_t wc; local
157 wc = (wchar_t)ch;
168 wc = (wchar_t)ch;
181 wc = L'z';
194 wc = (wchar_t)ch;
207 wc = (wchar_t)ch;
214 wc = (wchar_t)ch;
218 wc = (wchar_t)ch;
226 wc = (wchar_t)(ch << 8);
233 wc |
254 _citrus_ZW_wcrtomb_priv(_ZWEncodingInfo * __restrict ei __unused, char *__restrict s, size_t n, wchar_t wc, _ZWState * __restrict psenc, size_t * __restrict nresult) argument
407 _citrus_ZW_stdenc_wctocs(_ZWEncodingInfo * __restrict ei __unused, _csid_t * __restrict csid, _index_t * __restrict idx, wchar_t wc) argument
419 _citrus_ZW_stdenc_cstowc(_ZWEncodingInfo * __restrict ei __unused, wchar_t * __restrict wc, _csid_t csid, _index_t idx) argument
[all...]
/freebsd-current/usr.bin/wc/tests/
H A Dwc_test.sh15 # Size of wc's read buffer.
53 atf_check -o match:"^ +${l} +${w} +${c}\$" wc <"${file}"
54 atf_check -o match:"^ +${l}\$" wc -l <"${file}"
55 atf_check -o match:"^ +${w}\$" wc -w <"${file}"
56 atf_check -o match:"^ +${c}\$" wc -c <"${file}"
57 atf_check -o match:"^ +${m}\$" wc -m <"${file}"
58 atf_check -o match:"^ +${l} +${w} +${c} ${file}\$" wc "$file"
59 atf_check -o match:"^ +${l} ${file}\$" wc -l "$file"
60 atf_check -o match:"^ +${w} ${file}\$" wc -w "$file"
61 atf_check -o match:"^ +${c} ${file}\$" wc
[all...]
/freebsd-current/lib/libiconv_modules/MSKanji/
H A Dcitrus_mskanji.c234 char * __restrict s, size_t n, wchar_t wc,
240 if (wc & ~0xffff) {
245 if (wc & 0xff00) {
251 s[0] = (wc >> 8) & 0xff;
252 s[1] = wc & 0xff;
266 s[0] = wc & 0xff;
285 _csid_t * __restrict csid, _index_t * __restrict idx, wchar_t wc)
290 if ((_wc_t)wc < 0x80) {
293 *idx = (_index_t)wc;
294 } else if ((_wc_t)wc <
233 _citrus_MSKanji_wcrtomb_priv(_MSKanjiEncodingInfo * __restrict ei __unused, char * __restrict s, size_t n, wchar_t wc, _MSKanjiState * __restrict psenc __unused, size_t * __restrict nresult) argument
284 _citrus_MSKanji_stdenc_wctocs(_MSKanjiEncodingInfo * __restrict ei, _csid_t * __restrict csid, _index_t * __restrict idx, wchar_t wc) argument
367 _citrus_MSKanji_stdenc_cstowc(_MSKanjiEncodingInfo * __restrict ei, wchar_t * __restrict wc, _csid_t csid, _index_t idx) argument
[all...]

Completed in 154 milliseconds

1234567891011>>