Lines Matching refs:kep
792 const struct kw_entry *kep;
794 for (kep = key_list; kep->kwe_word != NULL; kep++)
795 if (kep->kwe_out == kstate)
796 return (kep->kwe_word);
841 const struct kw_entry *kep;
849 for (kep = key_list; kep->kwe_word != NULL; kep++) {
850 if (kep->kwe_in == psp->ps_state &&
851 (*kep->kwe_word == '\0' ||
852 strcasecmp(kep->kwe_word, keybuf) == 0)) {
853 if (kep->kwe_func != NULL)
854 retv = (*kep->kwe_func)(psp->ps_csvc, keybuf);
855 psp->ps_state = kep->kwe_out;