Home
last modified time | relevance | path

Searched refs:wcopy (Results 1 – 3 of 3) sorted by relevance

/vim-8.2.3635/src/proto/
H A Dspell.pro32 void onecap_copy(char_u *word, char_u *wcopy, int upper);
33 void allcap_copy(char_u *word, char_u *wcopy);
/vim-8.2.3635/src/
H A Dspellsuggest.c462 char_u wcopy[MAXWLEN + 2]; in spell_suggest() local
590 vim_strncpy(wcopy, stp->st_word, MAXWLEN); in spell_suggest()
592 vim_strncpy(wcopy + stp->st_wordlen, in spell_suggest()
602 vim_snprintf((char *)IObuff, IOSIZE, " \"%s\"", wcopy); in spell_suggest()
718 char_u *wcopy; in spell_suggest_list() local
732 wcopy = alloc(stp->st_wordlen in spell_suggest_list()
734 if (wcopy == NULL) in spell_suggest_list()
736 STRCPY(wcopy, stp->st_word); in spell_suggest_list()
737 STRCPY(wcopy + stp->st_wordlen, sug.su_badptr + stp->st_orglen); in spell_suggest_list()
738 ((char_u **)gap->ga_data)[gap->ga_len++] = wcopy; in spell_suggest_list()
H A Dspell.c2947 char_u *wcopy, in onecap_copy() argument
2964 l = mb_char2bytes(c, wcopy); in onecap_copy()
2968 wcopy[0] = c; in onecap_copy()
2970 vim_strncpy(wcopy + l, p, MAXWLEN - l - 1); in onecap_copy()
2978 allcap_copy(char_u *word, char_u *wcopy) in allcap_copy() argument
2984 d = wcopy; in allcap_copy()
2997 if (d - wcopy >= MAXWLEN - 1) in allcap_copy()
3006 if (d - wcopy >= MAXWLEN - MB_MAXBYTES) in allcap_copy()
3012 if (d - wcopy >= MAXWLEN - 1) in allcap_copy()