Home
last modified time | relevance | path

Searched refs:cols (Results 1 – 25 of 61) sorted by relevance

123

/vim-8.2.3635/src/xxd/
H A Dxxd.c294 int cols, in huntype() argument
323 if (!hextype && (p >= cols)) in huntype()
356 if (!hextype && (++p >= cols)) in huntype()
368 p = cols; in huntype()
619 if (!cols) in main()
642 && (cols > COLS))) in main()
649 octspergrp = cols; in main()
775 p = cols; in main()
787 p = cols; in main()
792 if (p < cols) in main()
[all …]
/vim-8.2.3635/src/libvterm/src/
H A Dscreen.c56 int cols; member
81 if(col < 0 || col >= screen->cols) in getcell()
164 rect.end_col = screen->cols; in damagescreen()
253 cols * sizeof(ScreenCell)); in moverect_internal()
502 int old_cols = screen->cols; in resize_buffer()
609 int old_cols = screen->cols; in resize()
626 screen->cols = new_cols; in resize()
667 rect.end_col = newinfo->doublewidth ? screen->cols / 2 : screen->cols; in setlineinfo()
703 int rows, cols; in screen_new() local
721 screen->cols = cols; in screen_new()
[all …]
H A Dstate.c48 if(rect.end_col == state->cols) { in erase()
71 state->cols = vt->cols; in vterm_state_new()
116 int cols; in scroll() local
127 if(rightward > cols) in scroll()
128 rightward = cols; in scroll()
129 else if(rightward < -cols) in scroll()
130 rightward = -cols; in scroll()
1774 if(cols != state->cols) { in on_resize()
1781 for(col = 0; col < state->cols && col < cols; col++) { in on_resize()
1829 state->cols = cols; in on_resize()
[all …]
H A Dvterm.c35 VTerm *vterm_new(int rows, int cols) in vterm_new() argument
37 return vterm_new_with_allocator(rows, cols, &default_allocator, NULL); in vterm_new()
40 VTerm *vterm_new_with_allocator(int rows, int cols, VTermAllocatorFunctions *funcs, void *allocdata) in vterm_new_with_allocator() argument
51 vt->cols = cols; in vterm_new_with_allocator()
114 *colsp = vt->cols; in vterm_get_size()
117 void vterm_set_size(VTerm *vt, int rows, int cols) in vterm_set_size() argument
120 vt->cols = cols; in vterm_set_size()
123 (*vt->parser.callbacks->resize)(rows, cols, vt->parser.cbdata); in vterm_set_size()
H A Dvterm_internal.h72 int cols; member
85 ….leftrightmargin && (state)->scrollregion_right > -1 ? (state)->scrollregion_right : (state)->cols)
95 …ne ROWWIDTH(state,row) ((state)->lineinfo[(row)].doublewidth ? ((state)->cols / 2) : (state)->cols)
166 int cols; member
/vim-8.2.3635/src/testdir/
H A Dterm_util.vim54 " "cols" - width of the terminal window (max. 78)
82 let cols = get(a:options, 'cols', 75)
96 let options.term_cols = cols
106 if term_getsize(buf) != [rows, cols]
107 call term_setsize(buf, rows, cols)
109 call assert_equal([rows, cols], term_getsize(buf))
112 let cols = term_getsize(buf)[1]
123 …l WaitFor({-> len(term_getline(buf, rows)) >= cols - 1 || len(term_getline(buf, rows - statusoff))…
H A Dtest_balloon.vim34 let buf = RunVimInTerminal('-S XTest_beval', {'rows': 10, 'cols': 50})
59 let buf = RunVimInTerminal('-S XTest_beval_visual', {'rows': 10, 'cols': 50})
H A Dtest_vartabs.vim402 inoremap <expr> <F2> s:SaveCol(g:cols)
406 let g:cols = []
409 call assert_equal([[7, 7], [2, 9], [7, 14], [3, 17]], g:cols)
411 let g:cols = []
414 call assert_equal([[3, 17], [7, 14], [2, 9], [7, 7], [1, 1]], g:cols)
H A Dtest_display.vim176 let buf = RunVimInTerminal('-S '.filename, #{rows: 5, cols: 50})
213 let buf = RunVimInTerminal('-S '.filename, #{rows: 9, cols: 50})
251 let buf = RunVimInTerminal('', #{cols: 20})
H A Dtest_search.vim899 let buf = RunVimInTerminal('-S Xscript', {'rows': 9, 'cols': 70})
928 let buf = RunVimInTerminal('-S Xis_search_script', {'rows': 9, 'cols': 70})
957 let buf = RunVimInTerminal('-S Xhlsearch_script', {'rows': 6, 'cols': 50})
978 let buf = RunVimInTerminal('-S Xhlvisual_script', {'rows': 6, 'cols': 40})
995 let buf = RunVimInTerminal('-S Xhlsearch_block', {'rows': 9, 'cols': 60})
1054 let buf = RunVimInTerminal('-S Xis_subst_script', {'rows': 9, 'cols': 70})
1184 let buf = RunVimInTerminal('-S Xis_change_script', {'rows': 9, 'cols': 70})
1207 let buf = RunVimInTerminal('-S Xis_sort_script', {'rows': 9, 'cols': 70})
1233 let buf = RunVimInTerminal('-S Xis_vimgrep_script', {'rows': 9, 'cols': 70})
1866 let buf = RunVimInTerminal('-S Xincsearch_nl', {'rows': 5, 'cols': 10})
[all …]
H A Dtest_xxd.vim85 exe '0r! ' . s:xxd_cmd . ' -s 0x36 ' . arg . ' -cols 13 ' . man_copy
198 " Test 15: cols with decimal offset: -c 21 -d
H A Dtest_mksession.vim413 call assert_match('terminal ++curwin ++cols=\d\+ ++rows=\d\+\s*.*$', term_cmd)
504 call assert_match('terminal ++curwin ++cols=\d\+ ++rows=\d\+.*other', term_cmd)
526 call assert_match('terminal ++curwin ++cols=\d\+ ++rows=\d\+', line)
/vim-8.2.3635/src/libvterm/include/
H A Dvterm.h303 VTerm *vterm_new(int rows, int cols);
306 VTerm *vterm_new_with_allocator(int rows, int cols, VTermAllocatorFunctions *funcs, void *allocdata…
314 void vterm_set_size(VTerm *vt, int rows, int cols);
378 int (*resize)(int rows, int cols, void *user);
400 int (*resize)(int rows, int cols, VTermStateFields *fields, void *user);
499 int (*resize)(int rows, int cols, void *user);
503 int (*sb_pushline)(int cols, const VTermScreenCell *cells, void *user);
504 int (*sb_popline)(int cols, VTermScreenCell *cells, void *user);
/vim-8.2.3635/src/
H A Ddrawscreen.c2895 int cols = screen_Columns; in redraw_asap() local
2941 (size_t)cols * sizeof(schar_T)); in redraw_asap()
2944 (size_t)cols * sizeof(sattr_T)); in redraw_asap()
2953 (size_t)cols * sizeof(u8char_T)); in redraw_asap()
2972 screenline + r * cols, in redraw_asap()
2975 screenattr + r * cols, in redraw_asap()
2980 screenlineUC + r * cols, in redraw_asap()
2984 screenlineC[i] + r * cols, in redraw_asap()
2989 screenline2 + r * cols, in redraw_asap()
2990 (size_t)cols * sizeof(schar_T)); in redraw_asap()
[all …]
H A Dterminal.c257 *cols = 0; in parse_termwinsize()
281 int rows, cols; in set_term_and_win_size() local
302 if (term->tl_cols < cols) in set_term_and_win_size()
303 term->tl_cols = cols; in set_term_and_win_size()
311 else if (cols != 0) in set_term_and_win_size()
312 term->tl_cols = cols; in set_term_and_win_size()
384 opt->jo_term_cols = cols; in setup_job_options()
3716 int rows, cols; in term_update_window() local
3766 newcols = cols == 0 ? newcols : minsize ? MAX(cols, newcols) : cols; in term_update_window()
5929 cols = cols <= 0 ? term->tl_cols : cols; in f_term_setsize()
[all …]
H A Dpopupwin.c3427 int cols, cole; in popup_update_mask() local
3432 if (cols < 0) in popup_update_mask()
3433 cols = width + cols + 1; in popup_update_mask()
3434 if (cols <= 0) in popup_update_mask()
3435 cols = 1; in popup_update_mask()
3487 int cols, cole; in update_popup_transparent() local
3495 if (cols < 0) in update_popup_transparent()
3496 cols = width + cols + 1; in update_popup_transparent()
3510 --cols; in update_popup_transparent()
3512 if (cols < 0) in update_popup_transparent()
[all …]
H A Dchange.c475 int cols; in changed_common() local
514 cols = comp_textwidth(FALSE); in changed_common()
515 if (cols == 0) in changed_common()
516 cols = 79; in changed_common()
517 add = (p->col + cols < col || col + cols < p->col); in changed_common()
H A Dregexp.c1278 colnr_T cols; in reg_match_visual() local
1336 cols = win_linetabsize(wp, rex.line, (colnr_T)(rex.input - rex.line)); in reg_match_visual()
1337 if (cols < start || cols > end - (*p_sel == 'e')) in reg_match_visual()
/vim-8.2.3635/src/libvterm/t/
H A Dharness.c471 static int screen_sb_pushline(int cols, const VTermScreenCell *cells, void *user UNUSED) in screen_sb_pushline() argument
479 eol = cols; in screen_sb_pushline()
483 printf("sb_pushline %d =", cols); in screen_sb_pushline()
491 static int screen_sb_popline(int cols, VTermScreenCell *cells, void *user UNUSED) in screen_sb_popline() argument
499 for(col = 0; col < cols; col++) { in screen_sb_popline()
508 printf("sb_popline %d\n", cols); in screen_sb_popline()
651 int rows, cols; in main() local
655 sscanf(linep, "%d, %d", &rows, &cols); in main()
656 vterm_set_size(vt, rows, cols); in main()
/vim-8.2.3635/runtime/doc/
H A Dxxd.man30 notation. Thus -c8, -c 8, -c 010 and -cols 8 are all equivalent.
43 -c cols | -cols cols
44 Format <cols> octets per line. Default 16 (-i: 12, -ps: 30, -b:
H A Dterminal.txt252 ++cols={width} Use {width} for the terminal window
335 2. The 'termwinsize' option is "rows*cols", where "rows" is the minimal number
336 of screen rows and "cols" is the minimal number of cells.
663 numbers: [rows, cols]. This is the size of the terminal, not
820 terminal ++curwin ++cols=%d ++rows=%d {command}
830 term_setsize({buf}, {rows}, {cols}) *term_setsize()* *E955*
833 If {rows} or {cols} is zero or negative, that dimension is not
841 GetBufnr()->term_setsize(rows, cols)
/vim-8.2.3635/runtime/autoload/
H A Dsqlcomplete.vim713 function! s:SQLCAddAlias(table_name, table_alias, cols) argument
717 let cols = a:cols
756 let cols = substitute(cols, '\<\w', table_alias.'&', 'g')
760 return cols
986 let cols = join(table_cols, ', ')
987 let cols = s:SQLCAddAlias(table_name, table_alias, cols)
988 let table_cols = [cols]
/vim-8.2.3635/src/proto/
H A Dos_unix.pro58 int mch_report_winsize(int fd, int rows, int cols);
/vim-8.2.3635/runtime/syntax/
H A Dterminfo.vim32 syn keyword terminfoNumerics cols it lh lw lines lm xmc ma colors pairs wnum
/vim-8.2.3635/runtime/autoload/xml/
H A Dhtml32.vim250 \ { 'name': [], 'rows': [], 'cols': []}
301 \ 'cols' : ['*Number', ''],

123