Searched refs:fromstr (Results 1 – 2 of 2) sorted by relevance
1471 char_u *fromstr; in f_tr() local1492 fromstr = tv_get_string_buf_chk(&argvars[1], buf); in f_tr()1498 if (fromstr == NULL || tostr == NULL) in f_tr()1504 if (STRLEN(fromstr) != STRLEN(tostr)) in f_tr()1507 semsg(_(e_invarg2), fromstr); in f_tr()1521 for (p = fromstr; *p != NUL; p += fromlen) in f_tr()1567 p = vim_strchr(fromstr, *in_str); in f_tr()1569 ga_append(&ga, tostr[p - fromstr]); in f_tr()
3130 tr({src}, {fromstr}, {tostr}) String translate chars of {src} in {fromstr}11654 tr({src}, {fromstr}, {tostr}) *tr()*11656 which appear in {fromstr} replaced by the character in that11658 {fromstr} is translated into the first character in {tostr}