Lines Matching defs:tab_size
39 static void expand(FILE *file, unsigned tab_size, unsigned opt)
46 /* Increment tab_size by 1 locally.*/
47 tab_size++;
56 for (; pos < tab_size; pos++) {
65 if (pos == tab_size) {
76 static void unexpand(FILE *file, unsigned int tab_size, unsigned opt)
91 pos += (*line == ' ') ? 1 : tab_size;
94 if ((opt & OPT_ALL) && column == tab_size) {
100 i = pos / tab_size;
107 for (i = pos % tab_size; i > 0; i--) {
134 unsigned tab_size;
165 tab_size = xatou_range(opt_t, 1, UINT_MAX);
188 USE_EXPAND(expand(file, tab_size, opt));
190 USE_UNEXPAND(unexpand(file, tab_size, opt));