Lines Matching refs:dc_condition

10582 	zbx_dc_action_condition_t	*dc_condition;  in dc_action_copy_conditions()  local
10588 dc_condition = (zbx_dc_action_condition_t *)dc_action->conditions.values[i]; in dc_action_copy_conditions()
10592 condition->conditionid = dc_condition->conditionid; in dc_action_copy_conditions()
10594 condition->conditiontype = dc_condition->conditiontype; in dc_action_copy_conditions()
10595 condition->op = dc_condition->op; in dc_action_copy_conditions()
10596 condition->value = zbx_strdup(NULL, dc_condition->value); in dc_action_copy_conditions()
10597 condition->value2 = zbx_strdup(NULL, dc_condition->value2); in dc_action_copy_conditions()
10758 static void dc_corr_condition_copy(const zbx_dc_corr_condition_t *dc_condition, zbx_corr_condition_… in dc_corr_condition_copy() argument
10760 condition->type = dc_condition->type; in dc_corr_condition_copy()
10767 condition->data.tag.tag = zbx_strdup(NULL, dc_condition->data.tag.tag); in dc_corr_condition_copy()
10770 condition->data.tag_pair.oldtag = zbx_strdup(NULL, dc_condition->data.tag_pair.oldtag); in dc_corr_condition_copy()
10771 condition->data.tag_pair.newtag = zbx_strdup(NULL, dc_condition->data.tag_pair.newtag); in dc_corr_condition_copy()
10776 condition->data.tag_value.tag = zbx_strdup(NULL, dc_condition->data.tag_value.tag); in dc_corr_condition_copy()
10777 condition->data.tag_value.value = zbx_strdup(NULL, dc_condition->data.tag_value.value); in dc_corr_condition_copy()
10778 condition->data.tag_value.op = dc_condition->data.tag_value.op; in dc_corr_condition_copy()
10781 condition->data.group.groupid = dc_condition->data.group.groupid; in dc_corr_condition_copy()
10782 condition->data.group.op = dc_condition->data.group.op; in dc_corr_condition_copy()
10829 const zbx_dc_corr_condition_t *dc_condition; in dc_correlation_formula_dup() local
10835 dc_condition = (const zbx_dc_corr_condition_t *)dc_correlation->conditions.values[0]; in dc_correlation_formula_dup()
10850 dc_condition->corr_conditionid); in dc_correlation_formula_dup()
10854 dc_condition = (const zbx_dc_corr_condition_t *)dc_correlation->conditions.values[i]; in dc_correlation_formula_dup()
10858 dc_condition->corr_conditionid); in dc_correlation_formula_dup()
10864 last_id = dc_condition->corr_conditionid; in dc_correlation_formula_dup()
10865 last_type = dc_condition->type; in dc_correlation_formula_dup()
10869 dc_condition = (const zbx_dc_corr_condition_t *)dc_correlation->conditions.values[i]; in dc_correlation_formula_dup()
10871 if (last_type == dc_condition->type) in dc_correlation_formula_dup()
10891 last_type = dc_condition->type; in dc_correlation_formula_dup()
10892 last_id = dc_condition->corr_conditionid; in dc_correlation_formula_dup()
10944 const zbx_dc_corr_condition_t *dc_condition; in zbx_dc_correlation_rules_get() local
10974 dc_condition = (const zbx_dc_corr_condition_t *)dc_correlation->conditions.values[i]; in zbx_dc_correlation_rules_get()
10975 condition_local.corr_conditionid = dc_condition->corr_conditionid; in zbx_dc_correlation_rules_get()
10977 dc_corr_condition_copy(dc_condition, condition); in zbx_dc_correlation_rules_get()