Lines Matching refs:count
231 int count; in shift_line() local
235 count = get_indent(); // get current indent in shift_line()
239 i = count / sw_val; // number of 'shiftwidth' rounded down in shift_line()
240 j = count % sw_val; // extra spaces in shift_line()
251 count = i * sw_val; in shift_line()
257 count -= sw_val * amount; in shift_line()
258 if (count < 0) in shift_line()
259 count = 0; in shift_line()
262 count += sw_val * amount; in shift_line()
267 change_indent(INDENT_SET, count, FALSE, NUL, call_changed_bytes); in shift_line()
269 (void)set_indent(count, call_changed_bytes ? SIN_CHANGED : 0); in shift_line()
483 int count = 0; // extra spaces to replace a cut TAB in block_insert() local
508 count = ts_val - 1; // we're cutting a TAB in block_insert()
518 count = ts_val - 1; // we're cutting a TAB in block_insert()
526 count = spaces; in block_insert()
546 count -= off; in block_insert()
551 newp = alloc(STRLEN(oldp) + s_len + count + 1); in block_insert()
574 count++; in block_insert()
578 offset += count; in block_insert()
1313 int count; in op_tilde() local
1319 count = (int)STRLEN(ptr) - pos.col; in op_tilde()
1320 netbeans_removed(curbuf, pos.lnum, pos.col, (long)count); in op_tilde()
1322 &ptr[pos.col], count); in op_tilde()
1327 count = oap->end.col - pos.col + 1; in op_tilde()
1328 netbeans_removed(curbuf, pos.lnum, pos.col, (long)count); in op_tilde()
1330 &ptr[pos.col], count); in op_tilde()
1928 long count, in do_join() argument
1957 (linenr_T)(curwin->w_cursor.lnum + count)) == FAIL) in do_join()
1963 spaces = lalloc_clear(count, TRUE); in do_join()
1968 comments = lalloc_clear(count * sizeof(int), TRUE); in do_join()
1981 for (t = 0; t < count; ++t) in do_join()
2069 col = sumsize - currsize - spaces[count - 1]; in do_join()
2096 for (t = count - 1; ; --t) in do_join()
2117 curwin->w_cursor.lnum + t, t == count - 1, in do_join()
2151 del_lines(count - 1, FALSE); in do_join()