Lines Matching refs:di
4117 dictitem_T *di; in f_searchcount() local
4127 di = dict_find(dict, (char_u *)"timeout", -1); in f_searchcount()
4128 if (di != NULL) in f_searchcount()
4130 timeout = (long)tv_get_number_chk(&di->di_tv, &error); in f_searchcount()
4134 di = dict_find(dict, (char_u *)"maxcount", -1); in f_searchcount()
4135 if (di != NULL) in f_searchcount()
4137 maxcount = (int)tv_get_number_chk(&di->di_tv, &error); in f_searchcount()
4142 di = dict_find(dict, (char_u *)"pattern", -1); in f_searchcount()
4143 if (di != NULL) in f_searchcount()
4145 pattern = tv_get_string_chk(&di->di_tv); in f_searchcount()
4149 di = dict_find(dict, (char_u *)"pos", -1); in f_searchcount()
4150 if (di != NULL) in f_searchcount()
4152 if (di->di_tv.v_type != VAR_LIST) in f_searchcount()
4157 if (list_len(di->di_tv.vval.v_list) != 3) in f_searchcount()
4162 li = list_find(di->di_tv.vval.v_list, 0L); in f_searchcount()
4169 li = list_find(di->di_tv.vval.v_list, 1L); in f_searchcount()
4176 li = list_find(di->di_tv.vval.v_list, 2L); in f_searchcount()
4822 dictitem_T *di; in do_fuzzymatch() local
4833 if ((di = dict_find(d, (char_u *)"key", -1)) != NULL) in do_fuzzymatch()
4835 if (di->di_tv.v_type != VAR_STRING in do_fuzzymatch()
4836 || di->di_tv.vval.v_string == NULL in do_fuzzymatch()
4837 || *di->di_tv.vval.v_string == NUL) in do_fuzzymatch()
4839 semsg(_(e_invarg2), tv_get_string(&di->di_tv)); in do_fuzzymatch()
4842 key = tv_get_string(&di->di_tv); in do_fuzzymatch()
4844 else if ((di = dict_find(d, (char_u *)"text_cb", -1)) != NULL) in do_fuzzymatch()
4846 cb = get_callback(&di->di_tv); in do_fuzzymatch()