Lines Matching refs:counts
115 COUNT_T counts[NUM_WCS]; in wc_main() local
141 pcounts = counts; in wc_main()
158 memset(counts, 0, sizeof(counts)); in wc_main()
176 ++counts[WC_BYTES]; in wc_main()
180 ++counts[WC_UNICHARS]; in wc_main()
200 if (linepos > counts[WC_LENGTH]) { in wc_main()
201 counts[WC_LENGTH] = linepos; in wc_main()
204 ++counts[WC_LINES]; in wc_main()
214 counts[WC_WORDS] += in_word; in wc_main()
223 if (totals[WC_LENGTH] < counts[WC_LENGTH]) { in wc_main()
224 totals[WC_LENGTH] = counts[WC_LENGTH]; in wc_main()
226 totals[WC_LENGTH] -= counts[WC_LENGTH]; in wc_main()