Lines Matching refs:cols
199 void do_indent(ssize_t cols)
215 /* If cols is zero, get out. */
216 if (cols == 0)
219 /* If cols is negative, make it positive and set unindent to
221 if (cols < 0) {
222 cols = -cols;
241 line_indent = charalloc(cols + 1);
244 /* Set the indentation to cols spaces. */
245 charset(line_indent, ' ', cols);
246 line_indent_len = cols;
248 /* Set the indentation to (cols / tabsize) tabs and (cols %
250 size_t num_tabs = cols / tabsize;
251 size_t num_spaces = cols % tabsize;
295 if (cols <= indent_col) {
297 cols);
304 /* If we're unindenting, and there's at least cols