Lines Matching refs:RE_SEARCH
179 if (pat_save == RE_SEARCH || pat_save == RE_BOTH) in search_regcomp()
180 save_re_pat(RE_SEARCH, pat, magic); in search_regcomp()
345 saved_last_search_spat = spats[RE_SEARCH]; in save_last_search_pattern()
346 if (spats[RE_SEARCH].pat != NULL) in save_last_search_pattern()
347 saved_last_search_spat.pat = vim_strsave(spats[RE_SEARCH].pat); in save_last_search_pattern()
364 vim_free(spats[RE_SEARCH].pat); in restore_last_search_pattern()
365 spats[RE_SEARCH] = saved_last_search_spat; in restore_last_search_pattern()
377 return spats[RE_SEARCH].pat; in last_search_pattern()
655 if (search_regcomp(pat, RE_SEARCH, pat_use, in searchit()
1313 if (spats[RE_SEARCH].pat == NULL) // no previous pattern in do_search()
2899 if (search_regcomp(pattern, RE_SEARCH, RE_SEARCH, in is_zero_width()
2918 SEARCH_KEEP + flag, RE_SEARCH, NULL) != FAIL) in is_zero_width()
3020 SEARCH_KEEP | flags, RE_SEARCH, NULL); in current_search()