Lines Matching refs:mode
57 Wc_t* wc_init(int mode)
68 else if (!(mode & WC_NOUTF8) && (lcinfo(LC_CTYPE)->lc->flags & LC_utf8))
73 w = mode & WC_WORDS;
77 if ((mode & (WC_MBYTE|WC_WORDS)) && wp->mb > 0)
98 wp->mode = mode;
185 if (wp->mb < 0 && (wp->mode & (WC_MBYTE|WC_WORDS)))
230 if (x == -1 && eline != nlines && !(wp->mode & WC_QUIET))
252 if (!(wp->mode & WC_MBYTE))
255 else if (!wp->mb && !(wp->mode & WC_LONGEST) || wp->mb > 0 && !(wp->mode & (WC_MBYTE|WC_WORDS|WC_LONGEST)))
257 if (!(wp->mode & (WC_MBYTE|WC_WORDS|WC_LONGEST)))
387 if(wp->mode&WC_LONGEST)
451 if(eline!=nlines && !(wp->mode & WC_QUIET))
488 if ((wp->mode&WC_LONGEST) && ((endbuff + 1 - start) - adjust - (lastchar == '\n')) > longest)
495 if (wp->mode & WC_MBYTE)