Lines Matching defs:om
119 match_setenv(const struct match *im, struct match *om, const char *key,
123 om->m_env = prop_dictionary_create();
125 om->m_env = prop_dictionary_copy(im->m_env);
127 if (om->m_env == NULL)
130 if (key != NULL && !prop_dictionary_set(om->m_env, key, o))
138 prop_object_release((prop_object_t)om->m_env);
139 om->m_env = NULL;
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)
176 om->m_argidx = argidx;
177 om->m_parser = p;
178 om->m_nextparser = p->p_nextparser;
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)
221 om->m_argidx = argidx;
222 om->m_parser = p;
223 om->m_nextparser = p->p_nextparser;
299 paddr_match(const struct parser *p, const struct match *im, struct match *om,
456 if (match_setenv(im, om, pa->pa_addrkey, o) == -1)
479 rc = prop_dictionary_set(om->m_env, pa->pa_maskkey,
490 om->m_argidx = argidx;
491 om->m_parser = p;
492 om->m_nextparser = p->p_nextparser;
498 struct match *om, int argidx, const char *arg)
509 if (match_setenv(im, om, pt->pt_key, (prop_object_t)b) == -1)
512 om->m_argidx = argidx;
513 om->m_parser = p;
514 om->m_nextparser = NULL;
520 struct match *om, int argidx, const char *arg)
535 if (match_setenv(im, om, pif->pif_key, o) == -1)
538 om->m_argidx = argidx;
539 om->m_parser = p;
540 om->m_nextparser = p->p_nextparser;
563 struct match *om, int argidx, const char *arg)
581 match_setenv(im, om, NULL, NULL);
582 om->m_nextparser = NULL;
583 om->m_parser = p;
584 om->m_argidx = argidx;
591 match_copy(om, &tmpm);
614 match_cleanup(om);
622 struct match *om, int argidx, const char *arg)
690 if (match_setenv(im, om, (o == NULL) ? NULL : k->k_key, o) == -1)
693 om->m_argidx = argidx;
694 om->m_parser = p;
695 om->m_nextparser = k->k_nextparser;
696 om->m_exec = k->k_exec;