Home
last modified time | relevance | path

Searched refs:dest (Results 1 – 25 of 40) sorted by relevance

12

/vim-8.2.3635/src/libvterm/src/
H A Dvterm.c301 VTermRect dest; in vterm_scroll_rect() local
327 dest.end_col = rect.end_col; in vterm_scroll_rect()
341 dest.end_row = rect.end_row; in vterm_scroll_rect()
347 (*moverect)(dest, src, user); in vterm_scroll_rect()
376 init_row = dest.end_row - 1; in vterm_copy_cells()
377 test_row = dest.start_row - 1; in vterm_copy_cells()
381 init_row = dest.start_row; in vterm_copy_cells()
382 test_row = dest.end_row; in vterm_copy_cells()
387 init_col = dest.end_col - 1; in vterm_copy_cells()
392 init_col = dest.start_col; in vterm_copy_cells()
[all …]
H A Dscreen.c220 static int moverect_internal(VTermRect dest, VTermRect src, void *user) in moverect_internal() argument
225 dest.start_row == 0 && dest.start_col == 0 && // starts top-left corner in moverect_internal()
235 int downward = src.start_row - dest.start_row; in moverect_internal()
240 init_row = dest.end_row - 1; in moverect_internal()
241 test_row = dest.start_row - 1; in moverect_internal()
245 init_row = dest.start_row; in moverect_internal()
246 test_row = dest.end_row; in moverect_internal()
251 memmove(getcell(screen, row, dest.start_col), in moverect_internal()
259 static int moverect_user(VTermRect dest, VTermRect src, void *user) in moverect_user() argument
268 if((*screen->callbacks->moverect)(dest, src, screen->cbdata)) in moverect_user()
[all …]
/vim-8.2.3635/src/testdir/
H A Dtest_lispwords.vim40 \ '(defmacro with-link (dest &rest body)',
42 \ '(format t "<a href=\"~A\">" (html-file ,dest))',
75 \ '(defmacro with-link (dest &rest body)',
77 \ ' (format t "<a href=\"~A\">" (html-file ,dest))',
/vim-8.2.3635/src/
H A Dvim9type.c1036 *dest = type1; in common_type()
1044 *dest = type2; in common_type()
1049 *dest = type1; in common_type()
1061 *dest = get_list_type(common, type_gap); in common_type()
1063 *dest = get_dict_type(common, type_gap); in common_type()
1077 *dest = alloc_func_type(common, argcount, type_gap); in common_type()
1080 if (func_type_add_arg_types(*dest, argcount, in common_type()
1084 &(*dest)->tt_args[i], type_gap); in common_type()
1090 *dest = alloc_func_type(common, -1, type_gap); in common_type()
1093 (*dest)->tt_min_argcount = in common_type()
[all …]
H A Dex_cmds.c688 if (dest >= line1 && dest < line2) in do_move()
696 if (dest == line1 - 1 || dest == line2) in do_move()
700 if (dest >= line1) in do_move()
714 if (u_save(dest, dest + 1) == FAIL) in do_move()
723 if (dest < line1) in do_move()
745 if (dest >= line2) in do_move()
796 if (dest >= line1) in do_move()
801 if (line1 < dest) in do_move()
803 dest += num_lines + 1; in do_move()
805 if (dest > last_line + 1) in do_move()
[all …]
H A Dregexp.c1702 static int vim_regsub_both(char_u *source, typval_T *expr, char_u *dest, int copy, int magic, int b…
1894 char_u *dest, in vim_regsub() argument
1913 result = vim_regsub_both(source, expr, dest, copy, magic, backslash); in vim_regsub()
1927 char_u *dest, in vim_regsub_multi() argument
1947 result = vim_regsub_both(source, NULL, dest, copy, magic, backslash); in vim_regsub_multi()
1960 char_u *dest, in vim_regsub_both() argument
1980 if ((source == NULL && expr == NULL) || dest == NULL) in vim_regsub_both()
1988 dst = dest; in vim_regsub_both()
2004 STRCPY(dest, eval_result); in vim_regsub_both()
2359 return (int)((dst - dest) + 1); in vim_regsub_both()
H A Dgui_haiku.cc1229 char_u *dest = km.chars; in KeyDown() local
1252 memcpy((char *)dest, bytes, numBytes); in KeyDown()
1382 *dest++ = CSI; in KeyDown()
1383 *dest++ = KS_MODIFIER; in KeyDown()
1384 *dest++ = modifiers; in KeyDown()
1388 memcpy((char *)dest, string, len); in KeyDown()
1782 BRect source, dest; in mchDeleteLines() local
1789 dest.top = FILL_Y(row); in mchDeleteLines()
1795 CopyBits(source, dest); in mchDeleteLines()
1817 BRect source, dest; in mchInsertLines() local
[all …]
H A Dfilepath.c1868 char_u *dest = p - 2; in read_file_or_blob() local
1872 if (start == dest) in read_file_or_blob()
1879 if (dest < buf) in read_file_or_blob()
1883 dest = buf; in read_file_or_blob()
1889 p = dest - 1; in read_file_or_blob()
3008 char_u *dest; in concat_fnames() local
3011 if (dest != NULL) in concat_fnames()
3013 STRCPY(dest, fname1); in concat_fnames()
3015 add_pathsep(dest); in concat_fnames()
3016 STRCAT(dest, fname2); in concat_fnames()
[all …]
H A Dfold.c3075 linenr_T move_len = dest - line2; in foldMoveRange()
3081 if (fold_end(fp) > dest) in foldMoveRange()
3086 fp->fd_top, dest - fp->fd_top); in foldMoveRange()
3108 if (!valid_fold(fp, gap) || fp->fd_top > dest) in foldMoveRange()
3116 for (; valid_fold(fp, gap) && fold_end(fp) <= dest; fp++) in foldMoveRange()
3120 if (valid_fold(fp, gap) && fp->fd_top <= dest) in foldMoveRange()
3123 truncate_fold(fp, dest); in foldMoveRange()
3128 else if (fold_end(fp) > dest) in foldMoveRange()
3143 for (; valid_fold(fp, gap) && fp->fd_top <= dest; fp++) in foldMoveRange()
3160 if (fold_end(fp) > dest) in foldMoveRange()
[all …]
H A Devalvars.c4404 dest->cb_name = vim_strsave(src->cb_name); in set_callback()
4405 dest->cb_free_name = TRUE; in set_callback()
4410 dest->cb_name = src->cb_name; in set_callback()
4411 dest->cb_free_name = FALSE; in set_callback()
4413 dest->cb_partial = src->cb_partial; in set_callback()
4422 dest->cb_partial = src->cb_partial; in copy_callback()
4423 if (dest->cb_partial != NULL) in copy_callback()
4425 dest->cb_name = src->cb_name; in copy_callback()
4426 dest->cb_free_name = FALSE; in copy_callback()
4427 ++dest->cb_partial->pt_refcount; in copy_callback()
[all …]
H A Dvim9script.c972 find_typval_in_script(typval_T *dest) in find_typval_in_script() argument
989 if (sv->sv_name != NULL && sv->sv_tv == dest) in find_typval_in_script()
1002 typval_T *dest, in check_script_var_type() argument
1007 svar_T *sv = find_typval_in_script(dest); in check_script_var_type()
H A Dfileio.c1772 char_u *dest; in readfile() local
1783 dest = ptr + real_size; in readfile()
1952 dest -= utf_char2len(u8c); in readfile()
1957 --dest; in readfile()
1968 ++dest; in readfile()
1970 *dest = u8c; in readfile()
1972 *dest = bad_char_behavior; in readfile()
1974 *dest = 0xBF; in readfile()
1977 *dest = u8c; in readfile()
1982 line_start = dest - linerest; in readfile()
[all …]
H A Dstrings.c750 char_u *dest; in concat_str() local
753 dest = alloc(l + (str2 == NULL ? 0 : STRLEN(str2)) + 1L); in concat_str()
754 if (dest != NULL) in concat_str()
757 *dest = NUL; in concat_str()
759 STRCPY(dest, str1); in concat_str()
761 STRCPY(dest + l, str2); in concat_str()
763 return dest; in concat_str()
H A Dinsexpand.c215 static unsigned quote_meta(char_u *dest, char_u *str, int len);
4283 quote_meta(char_u *dest, char_u *src, int len) in quote_meta() argument
4310 if (dest != NULL) in quote_meta()
4311 *dest++ = '\\'; in quote_meta()
4314 if (dest != NULL) in quote_meta()
4315 *dest++ = *src; in quote_meta()
4327 if (dest != NULL) in quote_meta()
4328 *dest++ = *src; in quote_meta()
4332 if (dest != NULL) in quote_meta()
4333 *dest = NUL; in quote_meta()
H A Dblob.c395 blob_set_range(blob_T *dest, long n1, long n2, typval_T *src) in blob_set_range() argument
407 blob_set(dest, il, blob_get(src->vval.v_blob, ir++)); in blob_set_range()
H A Dgui_gtk.c266 lookup_menu_iconfile(char_u *iconfile, char_u *dest) in lookup_menu_iconfile() argument
268 expand_env(iconfile, dest, MAXPATHL); in lookup_menu_iconfile()
270 if (mch_isFullName(dest)) in lookup_menu_iconfile()
272 return vim_fexists(dest); in lookup_menu_iconfile()
281 if (gui_find_bitmap(dest, buf, (char *)suffixes[i]) == OK) in lookup_menu_iconfile()
283 STRCPY(dest, buf); in lookup_menu_iconfile()
/vim-8.2.3635/src/libvterm/include/
H A Dvterm.h392 int (*moverect)(VTermRect dest, VTermRect src, void *user);
495 int (*moverect)(VTermRect dest, VTermRect src, void *user);
586 int (*moverect)(VTermRect src, VTermRect dest, void *user),
590 void vterm_copy_cells(VTermRect dest,
592 void (*copycell)(VTermPos dest, VTermPos src, void *user),
/vim-8.2.3635/src/proto/
H A Dvim9script.pro18 svar_T *find_typval_in_script(typval_T *dest);
19 int check_script_var_type(typval_T *dest, typval_T *value, char_u *name, where_T where);
H A Dregexp.pro9 int vim_regsub(regmatch_T *rmp, char_u *source, typval_T *expr, char_u *dest, int copy, int magic, …
10 int vim_regsub_multi(regmmatch_T *rmp, linenr_T lnum, char_u *source, char_u *dest, int copy, int m…
H A Devalvars.pro102 void set_callback(callback_T *dest, callback_T *src);
103 void copy_callback(callback_T *dest, callback_T *src);
H A Dblob.pro20 int blob_set_range(blob_T *dest, long n1, long n2, typval_T *src);
H A Dvim9type.pro23 void common_type(type_T *type1, type_T *type2, type_T **dest, garray_T *type_gap);
H A Dfold.pro38 void foldMoveRange(garray_T *gap, linenr_T line1, linenr_T line2, linenr_T dest);
H A Dex_cmds.pro5 int do_move(linenr_T line1, linenr_T line2, linenr_T dest);
/vim-8.2.3635/src/libvterm/t/
H A Dharness.c264 static int moverect(VTermRect dest, VTermRect src, void *user UNUSED) in moverect() argument
271 dest.start_row, dest.end_row, dest.start_col, dest.end_col); in moverect()

12