Home
last modified time | relevance | path

Searched refs:WC_WORDS (Results 1 – 3 of 3) sorted by relevance

/titanic_50/usr/src/lib/libcmd/common/
H A Dwc.c78 if (mode&WC_WORDS) in printout()
125 mode |= WC_WORDS; in b_wc()
147 if (!(mode&(WC_WORDS|WC_CHARS|WC_LINES|WC_MBYTE|WC_LONGEST))) in b_wc()
148 mode |= (WC_WORDS|WC_CHARS|WC_LINES); in b_wc()
165 if (!(mode&(WC_WORDS|WC_LINES|WC_MBYTE|WC_LONGEST)) && fstat(sffileno(fp),&statb)>=0 in b_wc()
H A Dwclib.c73 w = mode & WC_WORDS; in wc_init()
77 if ((mode & (WC_MBYTE|WC_WORDS)) && wp->mb > 0) in wc_init()
185 if (wp->mb < 0 && (wp->mode & (WC_MBYTE|WC_WORDS))) in wc_count()
255 …else if (!wp->mb && !(wp->mode & WC_LONGEST) || wp->mb > 0 && !(wp->mode & (WC_MBYTE|WC_WORDS|WC_L… in wc_count()
257 if (!(wp->mode & (WC_MBYTE|WC_WORDS|WC_LONGEST))) in wc_count()
H A Dwc.h35 #define WC_WORDS 0x02 macro