Lines Matching refs:vts
97 tabstop_padding(colnr_T col, int ts_arg, int *vts) in tabstop_padding() argument
105 if (vts == NULL || vts[0] == 0) in tabstop_padding()
108 tabcount = vts[0]; in tabstop_padding()
112 tabcol += vts[t]; in tabstop_padding()
120 padding = vts[tabcount] - (int)((col - tabcol) % vts[tabcount]); in tabstop_padding()
129 tabstop_at(colnr_T col, int ts, int *vts) in tabstop_at() argument
136 if (vts == 0 || vts[0] == 0) in tabstop_at()
139 tabcount = vts[0]; in tabstop_at()
142 tabcol += vts[t]; in tabstop_at()
145 tab_size = vts[t]; in tabstop_at()
150 tab_size = vts[tabcount]; in tabstop_at()
159 tabstop_start(colnr_T col, int ts, int *vts) in tabstop_start() argument
166 if (vts == NULL || vts[0] == 0) in tabstop_start()
169 tabcount = vts[0]; in tabstop_start()
172 tabcol += vts[t]; in tabstop_start()
174 return tabcol - vts[t]; in tabstop_start()
177 excess = tabcol % vts[tabcount]; in tabstop_start()
178 return excess + ((col - excess) / vts[tabcount]) * vts[tabcount]; in tabstop_start()
190 int *vts, in tabstop_fromto() argument
201 if (vts == NULL || vts[0] == 0) in tabstop_fromto()
221 tabcount = vts[0]; in tabstop_fromto()
224 tabcol += vts[t]; in tabstop_fromto()
232 padding = vts[tabcount] - (int)((start_col - tabcol) % vts[tabcount]); in tabstop_fromto()
248 padding = vts[t]; in tabstop_fromto()
258 *ntabs += spaces / vts[tabcount]; in tabstop_fromto()
259 *nspcs = spaces % vts[tabcount]; in tabstop_fromto()
469 get_indent_str_vtab(char_u *ptr, int ts, int *vts, int list) in get_indent_str_vtab() argument
478 count += tabstop_padding(count, ts, vts); in get_indent_str_vtab()