Lines Matching refs:vim_strsave
369 if (p != NULL && (p = vim_strsave(p)) != NULL) in set_init_1()
436 p = vim_strsave((char_u *)ENC_DFLT); in set_init_1()
455 p_enc = vim_strsave((char_u *)"cp936"); in set_init_1()
504 p_tenc = vim_strsave((char_u *)buf); in set_init_1()
682 p = vim_strsave(val); in set_string_default_esc()
1126 p_hlg = vim_strsave(lang); in set_helplang_default()
1790 newval = vim_strsave(s); in do_set()
1796 newval = vim_strsave(*(char_u **)get_varp_scope( in do_set()
1830 *(char_u **)varp = vim_strsave( in do_set()
1834 *(char_u **)varp = vim_strsave( in do_set()
1838 *(char_u **)varp = vim_strsave( in do_set()
2084 saved_origval = vim_strsave(origval); in do_set()
2087 saved_newval = vim_strsave(newval); in do_set()
2089 saved_origval_l = vim_strsave(origval_l); in do_set()
2091 saved_origval_g = vim_strsave(origval_g); in do_set()
3997 *stringval = vim_strsave(p); in get_option_value()
4016 *stringval = vim_strsave((char_u *)"*****"); in get_option_value()
4019 *stringval = vim_strsave(*(char_u **)(varp)); in get_option_value()
4174 *stringval = vim_strsave(*(char_u **)(varp)); in get_option_value_strict()
5610 to->wo_lcs = vim_strsave(from->wo_lcs); in copy_winopt()
5613 to->wo_ve = vim_strsave(from->wo_ve); in copy_winopt()
5620 to->wo_rlc = vim_strsave(from->wo_rlc); in copy_winopt()
5623 to->wo_sbr = vim_strsave(from->wo_sbr); in copy_winopt()
5626 to->wo_stl = vim_strsave(from->wo_stl); in copy_winopt()
5635 to->wo_briopt = vim_strsave(from->wo_briopt); in copy_winopt()
5637 to->wo_wcr = vim_strsave(from->wo_wcr); in copy_winopt()
5648 to->wo_culopt = vim_strsave(from->wo_culopt); in copy_winopt()
5649 to->wo_cc = vim_strsave(from->wo_cc); in copy_winopt()
5656 to->wo_cocu = vim_strsave(from->wo_cocu); in copy_winopt()
5660 to->wo_twk = vim_strsave(from->wo_twk); in copy_winopt()
5661 to->wo_tws = vim_strsave(from->wo_tws); in copy_winopt()
5668 to->wo_fdi = vim_strsave(from->wo_fdi); in copy_winopt()
5672 to->wo_fdm = vim_strsave(from->wo_fdm); in copy_winopt()
5674 ? vim_strsave(from->wo_fdm_save) : empty_option; in copy_winopt()
5677 to->wo_fde = vim_strsave(from->wo_fde); in copy_winopt()
5678 to->wo_fdt = vim_strsave(from->wo_fdt); in copy_winopt()
5680 to->wo_fmr = vim_strsave(from->wo_fmr); in copy_winopt()
5683 to->wo_scl = vim_strsave(from->wo_scl); in copy_winopt()
5889 buf->b_p_fenc = vim_strsave(p_fenc); in buf_copy_options()
5893 buf->b_p_ff = vim_strsave((char_u *)FF_MAC); break; in buf_copy_options()
5895 buf->b_p_ff = vim_strsave((char_u *)FF_DOS); break; in buf_copy_options()
5897 buf->b_p_ff = vim_strsave((char_u *)FF_UNIX); break; in buf_copy_options()
5899 buf->b_p_ff = vim_strsave(p_ff); in buf_copy_options()
5944 buf->b_p_cpt = vim_strsave(p_cpt); in buf_copy_options()
5947 buf->b_p_csl = vim_strsave(p_csl); in buf_copy_options()
5951 buf->b_p_cfu = vim_strsave(p_cfu); in buf_copy_options()
5953 buf->b_p_ofu = vim_strsave(p_ofu); in buf_copy_options()
5957 buf->b_p_tfu = vim_strsave(p_tfu); in buf_copy_options()
5964 buf->b_p_vsts = vim_strsave(p_vsts); in buf_copy_options()
5971 ? vim_strsave(p_vsts_nopaste) : NULL; in buf_copy_options()
5975 buf->b_p_com = vim_strsave(p_com); in buf_copy_options()
5978 buf->b_p_cms = vim_strsave(p_cms); in buf_copy_options()
5981 buf->b_p_fo = vim_strsave(p_fo); in buf_copy_options()
5983 buf->b_p_flp = vim_strsave(p_flp); in buf_copy_options()
5987 buf->b_p_nf = vim_strsave(p_nf); in buf_copy_options()
5989 buf->b_p_mps = vim_strsave(p_mps); in buf_copy_options()
6000 buf->b_p_cink = vim_strsave(p_cink); in buf_copy_options()
6002 buf->b_p_cino = vim_strsave(p_cino); in buf_copy_options()
6010 buf->b_p_cinw = vim_strsave(p_cinw); in buf_copy_options()
6025 buf->b_s.b_p_spc = vim_strsave(p_spc); in buf_copy_options()
6028 buf->b_s.b_p_spf = vim_strsave(p_spf); in buf_copy_options()
6030 buf->b_s.b_p_spl = vim_strsave(p_spl); in buf_copy_options()
6032 buf->b_s.b_p_spo = vim_strsave(p_spo); in buf_copy_options()
6036 buf->b_p_inde = vim_strsave(p_inde); in buf_copy_options()
6038 buf->b_p_indk = vim_strsave(p_indk); in buf_copy_options()
6043 buf->b_p_fex = vim_strsave(p_fex); in buf_copy_options()
6047 buf->b_p_key = vim_strsave(p_key); in buf_copy_options()
6051 buf->b_p_sua = vim_strsave(p_sua); in buf_copy_options()
6055 buf->b_p_keymap = vim_strsave(p_keymap); in buf_copy_options()
6091 buf->b_p_inex = vim_strsave(p_inex); in buf_copy_options()
6101 buf->b_p_qe = vim_strsave(p_qe); in buf_copy_options()
6137 buf->b_p_isk = vim_strsave(p_isk); in buf_copy_options()
6142 buf->b_p_vts = vim_strsave(p_vts); in buf_copy_options()
6449 (*file)[count++] = vim_strsave((char_u *)names[match]); in ExpandSettings()
6494 (*file)[count++] = vim_strsave(str); in ExpandSettings()
6534 (*file)[count++] = vim_strsave(name_buf); in ExpandSettings()
6553 (*file)[count++] = vim_strsave(name_buf); in ExpandSettings()
6745 ? vim_strsave(buf->b_p_vsts) : NULL; in paste_option_changed()
6768 p_vsts_nopaste = p_vsts && p_vsts != empty_option ? vim_strsave(p_vsts) : NULL; in paste_option_changed()
6835 ? vim_strsave(buf->b_p_vsts_nopaste) : empty_option; in paste_option_changed()
6866 p_vsts = p_vsts_nopaste ? vim_strsave(p_vsts_nopaste) : empty_option; in paste_option_changed()
7219 tv = alloc_string_tv(vim_strsave(optval)); in option_set_callback_func()