Lines Matching refs:itr
937 input_set_state(struct input_ctx *ictx, const struct input_transition *itr)
941 ictx->state = itr->state;
952 const struct input_transition *itr = NULL;
961 itr == NULL ||
962 ictx->ch < itr->first ||
963 ictx->ch > itr->last) {
964 itr = ictx->state->transitions;
965 while (itr->first != -1 && itr->last != -1) {
966 if (ictx->ch >= itr->first &&
967 ictx->ch <= itr->last)
969 itr++;
971 if (itr->first == -1 || itr->last == -1) {
985 if (itr->handler != input_print)
992 if (itr->handler != NULL && itr->handler(ictx) != 0)
996 if (itr->state != NULL)
997 input_set_state(ictx, itr);