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