Home
last modified time | relevance | path

Searched refs:needle (Results 1 – 7 of 7) sorted by relevance

/vim-8.2.3635/src/
H A Dstrings.c1062 char_u *needle; in f_stridx() local
1074 needle = tv_get_string_chk(&argvars[1]); in f_stridx()
1077 if (needle == NULL || haystack == NULL) in f_stridx()
1091 pos = (char_u *)strstr((char *)haystack, (char *)needle); in f_stridx()
1373 char_u *needle; in f_strridx() local
1385 needle = tv_get_string_chk(&argvars[1]); in f_strridx()
1389 if (needle == NULL || haystack == NULL) in f_strridx()
1403 if (*needle == NUL) in f_strridx()
1412 rest = (char_u *)strstr((char *)rest, (char *)needle); in f_strridx()
/vim-8.2.3635/src/testdir/
H A Dtest_matchfuzzy.vim59 eval ['somebuf', 'anotherone', 'needle', 'yetanotherone']->map({_, v -> bufadd(v) + bufload(v)})
62 call assert_match('needle', l[0])
/vim-8.2.3635/runtime/autoload/
H A Dphpcomplete.vim2775needle [, int $offset = 0] | int','stripslashes(':'string $str | string','stristr(':'string $hayst…
2777needle, array $haystack [, bool $strict = false] | mixed','array_shift(':'array &$array | mixed','…
2800 …ring $needle [, int $offset = 0 [, string $charset = ini_get("iconv.internal_encoding")]] | int','…
2803needle [, int $offset = 0 [, string $encoding = mb_internal_encoding()]] | int','mb_stristr(':'str…
/vim-8.2.3635/runtime/doc/
H A Dif_pyth.txt93 needle = vim.eval('@a')
97 return str.replace(needle, replacement)
H A Deval.txt3027 stridx({haystack}, {needle} [, {start}])
3028 Number index of {needle} in {haystack}
3036 strridx({haystack}, {needle} [, {start}])
3037 Number last index of {needle} in {haystack}
10899 stridx({haystack}, {needle} [, {start}]) *stridx()*
10901 {haystack} of the first occurrence of the String {needle}.
10908 -1 is returned if the {needle} does not occur in {haystack}.
10919 GetHaystack()->stridx(needle)
11012 strridx({haystack}, {needle} [, {start}]) *strridx()*
11014 {haystack} of the last occurrence of the String {needle}.
[all …]
H A Dversion7.txt1762 strridx() did not work well when the needle is empty. (Ciaran McCreesh)
/vim-8.2.3635/runtime/syntax/
H A Dsas.vim151 …parm highlow histogram hline inset keylegend label lineparm loess matrix needle parent panelby pbs…