| /vim-8.2.3635/src/ |
| H A D | optionstr.c | 399 *varp = s; in set_string_option_direct() 518 oldval = *varp; in set_string_option() 526 *varp = s; in set_string_option() 748 else if (varp == &p_bex || varp == &p_pm) in did_set_string_option() 869 else if (varp == &p_ambw || varp == &p_emoji) in did_set_string_option() 997 *varp = p; in did_set_string_option() 1771 if (**varp != NUL && STRCMP("camel", *varp) != 0) in did_set_string_option() 1822 s = *varp; in did_set_string_option() 2061 if (**varp != NUL && strstr((char *)*varp, "%s") == NULL) in did_set_string_option() 2225 if (!(*varp)[0] || ((*varp)[0] == '0' && !(*varp)[1])) in did_set_string_option() [all …]
|
| H A D | typval.c | 53 free_tv(typval_T *varp) in free_tv() argument 55 if (varp != NULL) in free_tv() 57 switch (varp->v_type) in free_tv() 97 vim_free(varp); in free_tv() 107 if (varp != NULL) in clear_tv() 109 switch (varp->v_type) in clear_tv() 163 varp->v_lock = 0; in clear_tv() 173 if (varp != NULL) in init_tv() 174 CLEAR_POINTER(varp); in init_tv() 1007 clear_tv(varp); in tv_stringify() [all …]
|
| H A D | option.c | 3000 else if ((int *)varp == &p_title || (int *)varp == &p_icon) in set_bool_option() 3969 char_u *varp; in get_option_value() local 4125 varp = p->var; in get_option_value_strict() 4135 varp = NULL; in get_option_value_strict() 4142 varp = NULL; in get_option_value_strict() 4335 char_u *varp; in set_option_value() local 4433 varp = *(char_u **)(varp); in get_term_code() 4434 return varp; in get_term_code() 4548 varp = NULL; in showoptions() 6659 varp = *(char_u **)(varp); in option_value2string() [all …]
|
| H A D | evalvars.c | 3743 if (varp->v_type == VAR_BOOL) in set_option_from_tv() 3745 numval = (long)varp->vval.v_number; in set_option_from_tv() 3769 typval_T *varp; in setwinvar() local 3781 varp = &argvars[off + 2]; in setwinvar() 3798 set_var(winvarname, varp, TRUE); in setwinvar() 4212 typval_T *varp; in f_settabvar() local 4224 varp = &argvars[2]; in f_settabvar() 4236 set_var(tabvarname, varp, TRUE); in f_settabvar() 4283 typval_T *varp; in f_setbufvar() local 4295 varp = &argvars[2]; in f_setbufvar() [all …]
|
| H A D | screen.c | 4814 set_chars_option(win_T *wp, char_u **varp) in set_chars_option() argument 4857 if (varp == &p_lcs || varp == &wp->w_p_lcs) in set_chars_option() 4862 if (varp == &wp->w_p_lcs && wp->w_p_lcs[0] == NUL) in set_chars_option() 4863 varp = &p_lcs; in set_chars_option() 4881 ((varp == &p_lcs || varp == &wp->w_p_lcs) ? NUL : ' '); in set_chars_option() 4883 if (varp == &p_lcs || varp == &wp->w_p_lcs) in set_chars_option() 4904 p = *varp; in set_chars_option() 4957 if ((varp == &p_lcs || varp == &wp->w_p_lcs) in set_chars_option()
|
| H A D | job.c | 1989 job_to_string_buf(typval_T *varp, char_u *buf) in job_to_string_buf() argument 1991 job_T *job = varp->vval.v_job; in job_to_string_buf()
|
| H A D | eval.c | 5229 typval_T *varp, in var2fpos() argument 5239 if (varp->v_type == VAR_LIST) in var2fpos() 5246 l = varp->vval.v_list; in var2fpos() 5288 if (in_vim9script() && check_for_string_arg(varp, 0) == FAIL) in var2fpos() 5291 name = tv_get_string_chk(varp); in var2fpos()
|
| H A D | channel.c | 5090 channel_to_string_buf(typval_T *varp, char_u *buf) in channel_to_string_buf() argument 5092 channel_T *channel = varp->vval.v_channel; in channel_to_string_buf()
|
| H A D | evalfunc.c | 7962 get_search_arg(typval_T *varp, int *flagsp) in get_search_arg() argument 7969 if (varp->v_type != VAR_UNKNOWN) in get_search_arg() 7971 flags = tv_get_string_buf_chk(varp, nbuf); in get_search_arg()
|
| /vim-8.2.3635/src/proto/ |
| H A D | typval.pro | 4 void free_tv(typval_T *varp); 5 void clear_tv(typval_T *varp); 6 void init_tv(typval_T *varp); 7 varnumber_T tv_get_number(typval_T *varp); 9 varnumber_T tv_get_bool(typval_T *varp); 10 varnumber_T tv_get_bool_chk(typval_T *varp, int *denote); 11 float_T tv_get_float(typval_T *varp); 46 char_u *tv_get_string(typval_T *varp); 47 char_u *tv_get_string_strict(typval_T *varp); 49 char_u *tv_get_string_chk(typval_T *varp); [all …]
|
| H A D | optionstr.pro | 12 char *did_set_string_option(int opt_idx, char_u **varp, int new_value_alloced, char_u *oldval, char…
|
| H A D | job.pro | 36 char_u *job_to_string_buf(typval_T *varp, char_u *buf);
|
| H A D | channel.pro | 60 char_u *channel_to_string_buf(typval_T *varp, char_u *buf);
|
| H A D | screen.pro | 58 char *set_chars_option(win_T *wp, char_u **varp);
|
| H A D | eval.pro | 60 pos_T *var2fpos(typval_T *varp, int dollar_lnum, int *fnum, int charcol);
|
| /vim-8.2.3635/runtime/doc/ |
| H A D | version8.txt | 18952 Solution: Avoid using invalid "varp" value. Allow using :wincmd if buffer
|