Home | History | Annotate | Download | only in indent

Lines Matching defs:ind

166  * Compute the indentation from starting at 'ind' and adding the text starting
170 ind_add(int ind, const char *s, size_t len)
174 ind = 0;
176 ind = next_tab(ind);
178 ind++;
180 return ind;
290 int ind = 0;
293 ind++;
295 ind = next_tab(ind);
300 ps.ind_level = ps.ind_level_follow = ind / opt.indent_size;
374 int ind = ind_add(base, code.s, code.len);
379 for (int next; (next = next_tab(ind)) <= target; ind = next)
381 for (; ind < target; ind++)
841 int ind = ps.decl_ind - (int)token.len;
842 indent_declarator(ind, ps.tabs_to_var);
973 int ind = ps.ind_level > 0 && ps.decl_level == 0
976 if (ind == 0) {
980 ps.decl_ind = ind;
981 ps.tabs_to_var = opt.use_tabs && ind > 0;