Lines Matching refs:ts
99 int ts = ts_arg == 0 ? 8 : ts_arg; in tabstop_padding() local
106 return ts - (col % ts); in tabstop_padding()
129 tabstop_at(colnr_T col, int ts, int *vts) in tabstop_at() argument
137 return ts; in tabstop_at()
159 tabstop_start(colnr_T col, int ts, int *vts) in tabstop_start() argument
167 return (col / ts) * ts; in tabstop_start()
199 int ts = ts_arg == 0 ? curbuf->b_p_ts : ts_arg; in tabstop_fromto() local
206 initspc = ts - (start_col % ts); in tabstop_fromto()
212 tabs += spaces / ts; in tabstop_fromto()
213 spaces -= (spaces / ts) * ts; in tabstop_fromto()
308 tabstop_count(int *ts) in tabstop_count() argument
310 return ts != NULL ? ts[0] : 0; in tabstop_count()
317 tabstop_first(int *ts) in tabstop_first() argument
319 return ts != NULL ? ts[1] : 8; in tabstop_first()
437 int ts, in get_indent_str() argument
448 count += ts - (count % ts); in get_indent_str()
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()