Lines Matching refs:im
119 match_setenv(const struct match *im, struct match *om, const char *key,
122 if (im == NULL)
125 om->m_env = prop_dictionary_copy(im->m_env);
147 pstr_match(const struct parser *p, const struct match *im, struct match *om,
173 if (match_setenv(im, om, ps->ps_key, o) == -1)
184 pinteger_match(const struct parser *p, const struct match *im, struct match *om,
218 if (match_setenv(im, om, pi->pi_key, o) == -1)
299 paddr_match(const struct parser *p, const struct match *im, struct match *om,
329 prop_dictionary_get(im->m_env, pa->pa_activator) == NULL)
333 prop_dictionary_get(im->m_env, pa->pa_deactivator) != NULL)
336 if (!prop_dictionary_get_int64(im->m_env, "af", &af0))
456 if (match_setenv(im, om, pa->pa_addrkey, o) == -1)
497 pterm_match(const struct parser *p, const struct match *im,
509 if (match_setenv(im, om, pt->pt_key, (prop_object_t)b) == -1)
519 piface_match(const struct parser *p, const struct match *im,
535 if (match_setenv(im, om, pif->pif_key, o) == -1)
562 pbranch_match(const struct parser *p, const struct match *im,
581 match_setenv(im, om, NULL, NULL);
589 rc = (*matchfunc)(nextp, im, &tmpm, argidx, arg);
621 pkw_match(const struct parser *p, const struct match *im,
636 prop_dictionary_get(im->m_env, k->k_act) == NULL)
648 prop_dictionary_get(im->m_env, k->k_altdeact) != NULL)
652 prop_dictionary_get(im->m_env, k->k_deact) != NULL)
690 if (match_setenv(im, om, (o == NULL) ? NULL : k->k_key, o) == -1)