Searched refs:wc (Results 1 - 25 of 35) sorted by relevance

12

/ast/src/lib/libast/features/
H A Dsig.sh67 else e=`wc -l $tmp.e`
72 case `wc -l $tmp.e` in
/ast/src/lib/libast/regex/
H A Dregcoll.c37 * >=0 size with 0-terminated mb character (*wc != 0)
38 * or collating element (*wc == 0) in buf
42 regcollate(register const char* s, char** e, char* buf, size_t size, wchar_t* wc) argument
109 if (wc)
110 *wc = w;
H A Dregclass.c53 _reg_iswblank(wint_t wc) argument
63 return iswctype(wc, wt);
/ast/src/cmd/ksh93/tests/
H A Dlocale.sh103 if (( $($SHELL -c $'export LC_ALL='$locale$'; print -r "\342\202\254\342\202\254\342\202\254\342\202\254w\342\202\254\342\202\254\342\202\254\342\202\254" | wc -m' 2>/dev/null) == 10 ))
114 command wc -C < $tmp/two_euro_chars.txt
116 command wc -C < $tmp/two_euro_chars.txt
118 command wc -C < $tmp/two_euro_chars.txt
121 [[ $got == $exp ]] || err_exit "command wc LC_ALL default failed -- expected '$exp', got '$got'"
123 if builtin wc 2>/dev/null || builtin -f cmd wc 2>/dev/null
127 wc -C < $tmp/two_euro_chars.txt
129 wc -C < $tmp/two_euro_chars.txt
131 wc
[all...]
H A Dvartree2.sh257 (( $(print -r -- "${mytree_global1}" | wc -l) > 10 )) || err_exit "compound tree 'mytree_global1' too small"
261 (( $(print -r -- "${mytree_global2}" | wc -l) > 10 )) || err_exit "compound tree 'mytree_global2' too small"
270 (( $(print -r -- "${mytree_local1}" | wc -l) > 10 )) || err_exit "compound tree 'mytree_local1' too small"
274 (( $(print -r -- "${mytree_local2}" | wc -l) > 10 )) || err_exit "compound tree 'mytree_local2' too small"
H A Dvartree1.sh185 (( $(print -r -- "${mytree_global}" | wc -l) > 10 )) || err_exit "compound tree 'mytree_global' too small"
192 (( $(print -r -- "${mytree_local}" | wc -l) > 10 )) || err_exit "compound tree 'mytree_local' too small"
H A Dsubshell.sh606 wc=$(whence wc) head=$(whence head)
607 print > /dev/null $( ( $head -c 1 /dev/zero | ( $wc -c) 3>&1 ) 3>&1) &
H A Dheredoc.sh279 set -- $(wc < $tmpfile2)
294 [[ $($SHELL -c 'wc -c <<< ""' 2> /dev/null) == *1 ]] || err_exit '<<< with empty string not working'
H A Dbuiltins.sh234 if (( $(printf 'x\0y' | wc -c) != 3 ))
542 n=$(printf "%b" 'a\0b\0c' | wc -c)
H A Doptions.sh402 ) | wc >/dev/null
519 date | wc > /dev/null
/ast/src/lib/libast/sfio/
H A Dsfvscanf.c129 wchar_t wc; member in struct:_accept_s
193 static int _sfwaccept(wchar_t wc, Accept_t* ac) argument
195 static int _sfwaccept(wc, ac)
196 wchar_t wc;
219 wc == fwc )
228 #define SFgetwc(sc,wc,fmt,ac,mbs) _sfgetwc(sc,wc,fmt,ac,(Void_t*)(mbs))
230 #define SFgetwc(sc,wc,fmt,ac,mbs) _sfgetwc(sc,wc,fmt,ac,NIL(Void_t*))
234 static int _sfgetwc(Scan_t* sc, wchar_t* wc, in argument
327 wchar_t wc; local
[all...]
H A Dsfvprintf.c137 int n_w, wc; local
614 argv.wc = (wchar_t)va_arg(args,uint);
615 else argv.wc = va_arg(args,wchar_t);
679 wc = (flags & SFFMT_LDOUBLE) && mbwide();
715 if(wc)
728 if(!wc)
733 else if (wc)
789 else if (wc)
838 wc = (flags & SFFMT_LDOUBLE) && mbwide();
851 { wsp = &argv.wc;
[all...]
H A Dsftable.c451 fp[n].argv.wc = (wchar_t)va_arg(args,int);
452 else fp[n].argv.wc = va_arg(args,wchar_t);
/ast/src/lib/libcmd/
H A DMakefile21 cmd.h rev.h wc.h \
27 vmstate.c wc.c revlib.c wclib.c sumlib.o \
H A Dwc.c30 "[-?\n@(#)$Id: wc (AT&T Research) 2009-11-28 $\n]"
32 "[+NAME?wc - print the number of bytes, words, and lines in files]"
69 #include <wc.h>
/ast/src/lib/libast/comp/
H A Dwc.c138 NoN(wc)
/ast/src/cmd/std/
H A Dshar.sh271 if test "`echo -n | wc -c`" -gt 0
402 # If the receiving machine has cksum, it will be used instead of wc
424 then wc "$@" | sed 's=[^ ]*/=='
425 else wc $contents | sed 's=[^ ]*/=='
429 cksum=wc
443 elif (( $size && $(wc -c < /tmp/shar$$.1) > $size ))
/ast/src/cmd/msgcc/
H A Dmsgcc.sh372 __oz__[__i__]=$(print -r -- "\"${__text__[$__old__]}\"" | gzip | wc -c)
376 __nz__=$(print -r -- "\"${__text__[$__num__]}\"" | gzip | wc -c)
381 then __z__=$(print -r -- "\"${__text__[$__old__]}\"""\"${__text__[$__num__]}\"" | gzip | wc -c)
/ast/src/cmd/builtin/
H A DMakefile90 look mkdir mkfifo mktemp mv nl od paste rm tail tr uniq uuencode wc
H A Dtr.c140 wchar_t wc; local
215 if ((q = regcollate((char*)tr->next, (char**)&e, buf, sizeof(buf), &wc)) >= 0)
/ast/src/cmd/proto/
H A Dsear.sh176 size=$(wc -c < "$out")
/ast/src/cmd/ksh93/data/
H A Dbuiltins.c145 CMDLIST(wc)
/ast/src/cmd/ksh93/sh/
H A Dlex.c55 local_iswblank(wchar_t wc) argument
65 return(iswctype(wc, wt));
/ast/src/cmd/3d/
H A Dstrmatch.c113 iswblank(wint_t wc) argument
123 return iswctype(wc, wt);
/ast/src/cmd/INIT/
H A Diffe.sh3424 then e=`wc -l ${tmp}s.e`
3434 case `wc -l ${tmp}s.e` in
3441 case `wc -l ${tmp}s.e` in
3562 then e=`wc -l $tmp.e`
3572 case `wc -l $tmp.e` in
3579 case `wc -l $tmp.e` in
3814 wi=`wc < "$i"`
3815 wj=`wc < "$j"`

Completed in 70 milliseconds

12