| /vim-8.2.3635/src/ |
| H A D | pty.c | 211 vim_strncpy((char_u *)TtyName, (char_u *)m, sizeof(TtyName) - 1); in mch_openpty() 251 vim_strncpy((char_u *)PtyName, (char_u *)m, sizeof(PtyName) - 1); in mch_openpty() 252 vim_strncpy((char_u *)TtyName, (char_u *)s, sizeof(TtyName) - 1); in mch_openpty() 338 vim_strncpy((char_u *)TtyName, (char_u *)m, sizeof(TtyName) - 1); in mch_openpty() 362 vim_strncpy((char_u *)TtyName, (char_u *)ttyname(f), sizeof(TtyName) - 1); in mch_openpty()
|
| H A D | spell.c | 742 vim_strncpy(fword, ptr, endlen[endidxcnt]); in find_word() 1526 vim_strncpy(buf + n, p, maxlen - 1 - n); in spell_cat_line() 1825 vim_strncpy(buf, word, len); in count_common_word() 1901 vim_strncpy(syl->sy_chars, s, l); in init_syl_tab() 2047 vim_strncpy(region_cp, p + 1, 2); in did_set_spelllang() 2199 vim_strncpy(lang, gettail(spf_name), MAXWLEN); in did_set_spelllang() 2336 vim_strncpy(bp + n, p, l); in use_midword() 2970 vim_strncpy(wcopy + l, p, MAXWLEN - l - 1); in onecap_copy() 3242 vim_strncpy(word, s, MAXWLEN - 1); in spell_soundfold_sal() 4217 vim_strncpy(prefix + depth, word, MAXWLEN - depth - 1); in dump_prefixes() [all …]
|
| H A D | os_amiga.c | 682 vim_strncpy(s, (char_u *)pwd->pw_name, len - 1); in mch_get_user_name() 699 vim_strncpy(s, "Amiga", len - 1); in mch_get_host_name() 769 vim_strncpy(buf + i, fname, len - i - 1); in mch_FullName()
|
| H A D | buffer.c | 3223 vim_strncpy(NameBuff, buf_spname(buf), MAXPATHL - 1); in buflist_list() 3680 vim_strncpy((char_u *)p, buf_spname(curbuf), IOSIZE - (p - buffer) - 1); in fileinfo() 3852 vim_strncpy(buf, (char_u *)_("[No Name]"), SPACE_FOR_FNAME); in maketitle() 3856 vim_strncpy(buf, term_get_status_text(curbuf->b_term), in maketitle() 3863 vim_strncpy(buf, p, SPACE_FOR_FNAME); in maketitle() 3905 vim_strncpy(buf + off, (char_u *)_("help"), in maketitle() 3917 vim_strncpy(buf + off, p, (size_t)(SPACE_FOR_DIR - off)); in maketitle() 3922 vim_strncpy(buf + off, (char_u *)"...", in maketitle() 4498 vim_strncpy(NameBuff, buf_spname(wp->w_buffer), MAXPATHL - 1); in build_stl_str_hl() 5079 vim_strncpy(buf, (char_u *)(above == 0 ? _("All") : _("Bot")), in get_rel_pos() [all …]
|
| H A D | os_qnx.c | 145 vim_strncpy(text_clip, str, len); in clip_mch_set_selection()
|
| H A D | tag.c | 1047 vim_strncpy(tag_name, tagp.tagname, len); in add_llist_tags() 1054 vim_strncpy(fname, p, MAXPATHL); in add_llist_tags() 2103 vim_strncpy(tag_fname, fullpath_ebuf, in find_tags() 2570 vim_strncpy(mfp, tagp.command + 2, len); in find_tags() 2581 vim_strncpy(mfp, tagp.tagname, len); in find_tags() 2928 vim_strncpy(buf, ((char_u **)(tag_fnames.ga_data))[ in get_tagfname() 3752 vim_strncpy(retval + (p - tag_fname), fname, in expand_tag_fname() 3984 vim_strncpy(buf, start, len); in add_tag_field()
|
| H A D | version.c | 8657 vim_strncpy(modby, (char_u *)_("Modified by "), MODBY_LEN - 1); in do_intro_line() 8659 vim_strncpy(modby + l, (char_u *)MODIFIED_BY, MODBY_LEN - l - 1); in do_intro_line()
|
| H A D | hardcopy.c | 1679 vim_strncpy(resource->name, (char_u *)name, 63); in prt_find_resource() 1920 vim_strncpy(resource->title, dsc_line.string, dsc_line.len); in prt_open_resource() 1927 vim_strncpy(resource->version, dsc_line.string, dsc_line.len); in prt_open_resource() 2235 vim_strncpy((char_u *)fontname, name, name_len); in prt_build_cid_fontname() 2427 vim_strncpy((char_u *)prt_cmap, in mch_print_init() 2440 vim_strncpy((char_u *)prt_cmap, p_pmcs, sizeof(prt_cmap) - 3); in mch_print_init()
|
| H A D | spellfile.c | 2611 vim_strncpy(key, items[1], AH_KEY_LEN - 1); in spell_read_aff() 3295 vim_strncpy(key, prevp, p - prevp); in process_compflags() 3761 vim_strncpy(key, prevp, p - prevp); in get_pfxlist() 3801 vim_strncpy(key, prevp, p - prevp); in get_compflags() 3901 vim_strncpy(newword, ae->ae_add, MAXWLEN - 1); in store_aff_word() 3920 vim_strncpy(newword, word, MAXWLEN - 1); in store_aff_word() 4010 vim_strncpy(pfx_pfxlist, use_pfxlist, use_pfxlen); in store_aff_word() 5528 vim_strncpy(fname, wfname, MAXPATHL - 1); in spell_make_sugfile() 5949 vim_strncpy(wfname, fnames[0], MAXPATHL - 1); in mkspell() 6387 vim_strncpy(buf, curbuf->b_s.b_p_spl, in init_spellfile() [all …]
|
| H A D | spellsuggest.c | 590 vim_strncpy(wcopy, stp->st_word, MAXWLEN); in spell_suggest() 592 vim_strncpy(wcopy + stp->st_wordlen, in spell_suggest() 793 vim_strncpy(su->su_badword, su->su_badptr, su->su_badlen); in spell_find_suggest() 1503 vim_strncpy(preword + sp->ts_prewordlen, in suggest_trie_walk() 3034 vim_strncpy(goodword + stp->st_wordlen, in stp_sal_score() 3623 vim_strncpy(longword, stp[i].st_word, MAXWLEN); in check_suggestions() 3625 vim_strncpy(longword + len, su->su_badptr + stp[i].st_orglen, in check_suggestions()
|
| H A D | time.c | 52 vim_strncpy((char_u *)tz_cache, (char_u *)tz, sizeof(tz_cache) - 1); in vim_localtime() 93 vim_strncpy((char_u *)buf, (char_u *)_("(Invalid)"), sizeof(buf) - 1); in get_ctime()
|
| H A D | filepath.c | 189 vim_strncpy(save_fname, short_fname, len); in shortpath_for_invalid_fname() 194 vim_strncpy(*fname + len, endp, sfx_len); in shortpath_for_invalid_fname() 2743 vim_strncpy(exp1, s1, MAXPATHL - 1); in fullpathcmp() 2781 vim_strncpy(exp1, s1, MAXPATHL - 1); in fullpathcmp() 4204 vim_strncpy(buf, fname, len - 1); in vim_FullName()
|
| H A D | cmdexpand.c | 461 vim_strncpy(ss, xp->xp_files[0], (size_t)len); in ExpandOne() 865 vim_strncpy(retval, fname, len); in addstar() 2377 vim_strncpy(buf, s, l); in expand_shellcmd() 2380 vim_strncpy(buf + l, pat, MAXPATHL - 1 - l); in expand_shellcmd()
|
| H A D | os_unix.c | 2425 vim_strncpy(s, (char_u *)cuserid(NULL), len - 1); in mch_get_user_name() 2445 vim_strncpy(s, (char_u *)pw->pw_name, len - 1); in mch_get_uname() 2466 vim_strncpy(s, (char_u *)vutsname.nodename, len - 1); in mch_get_host_name() 2648 vim_strncpy(buf, fname, p - fname); in mch_FullName() 2779 vim_strncpy(newname, name, MAXPATHL); in fname_case() 2780 vim_strncpy(newname + (tail - name), (char_u *)dp->d_name, in fname_case() 3242 vim_strncpy(buf, p, e - p); in mch_can_exe()
|
| H A D | float.c | 60 vim_strncpy(buf, (char_u *)s, 99); in string2float()
|
| H A D | quickfix.c | 676 vim_strncpy(state->linebuf, p_str, state->linelen); in qf_get_next_str_line() 719 vim_strncpy(state->linebuf, p_li->li_tv.vval.v_string, state->linelen); in qf_get_next_list_line() 753 vim_strncpy(state->linebuf, p_buf, state->linelen); in qf_get_next_buf_line() 1013 vim_strncpy(fields->errmsg, linebuf, linelen); in copy_nonerror_line() 1039 vim_strncpy(fields->errmsg, rmp->startp[midx], len); in qf_parse_fmt_m() 4543 vim_strncpy(IObuff, qftf_str, IOSIZE - 1); in qf_buf_add_line() 4548 vim_strncpy(IObuff, qfp->qf_module, IOSIZE - 1); in qf_buf_add_line() 4556 vim_strncpy(IObuff, gettail(errbuf->b_fname), IOSIZE - 1); in qf_buf_add_line() 4569 vim_strncpy(IObuff, errbuf->b_fname, IOSIZE - 1); in qf_buf_add_line()
|
| H A D | mark.c | 511 vim_strncpy(NameBuff + len, fm->fname + 2, MAXPATHL - len - 1); in fname2fnum() 514 vim_strncpy(NameBuff, fm->fname, MAXPATHL - 1); in fname2fnum()
|
| H A D | menu.c | 1324 vim_strncpy(path_name, arg, after_dot - arg - 1); in set_context_in_menu_cmd() 1507 vim_strncpy(tbuffer, menu->en_dname, TBUFFER_LEN - 2); in get_menu_names() 1511 vim_strncpy(tbuffer, menu->dname, TBUFFER_LEN - 2); in get_menu_names()
|
| H A D | os_win32.c | 2250 vim_strncpy(buf, p, e - p); in executable_exists() 2281 vim_strncpy(buf + tmplen, p, e2 - p); in executable_exists() 3035 vim_strncpy(name, q, (len > 0) ? len - 1 : flen); in fname_case() 3060 vim_strncpy(s, p, len - 1); in mch_get_user_name() 3087 vim_strncpy(s, p, len - 1); in mch_get_host_name() 3159 vim_strncpy(buf, p, len - 1); in mch_dirname()
|
| H A D | if_cscope.c | 333 vim_strncpy(buf, (char_u *)p, size - 1); in cs_fgets() 2363 vim_strncpy(csdir, (char_u *)csinfo[i].fname, in cs_resolve_file()
|
| H A D | misc1.c | 1214 vim_strncpy(NameBuff, var + 1, p - (var + 1)); in init_homedir() 1365 vim_strncpy(dst, var, len); in expand_env_esc()
|
| H A D | findfile.c | 370 vim_strncpy(ff_expand_buffer, rel_fname, len); in vim_findfile_init() 1383 vim_strncpy(ff_expand_buffer, fname, MAXPATHL - 1); in ff_check_visited()
|
| H A D | vim9script.c | 491 vim_strncpy(from_name, si->sn_name, tail - si->sn_name); in handle_import()
|
| H A D | memline.c | 995 vim_strncpy(b0p->b0_fname, buf->b_ffname, B0_FNAME_SIZE_CRYPT - 1); in set_b0_fname() 1018 vim_strncpy(b0p->b0_fname, buf->b_ffname, in set_b0_fname() 1398 vim_strncpy(NameBuff, buf_spname(curbuf), MAXPATHL - 1); in ml_recover() 4410 vim_strncpy(tmp, fname, MAXPATHL - 1); in resolve_symlink()
|
| /vim-8.2.3635/src/proto/ |
| H A D | strings.pro | 13 void vim_strncpy(char_u *to, char_u *from, size_t len);
|