Searched refs:type_rule (Results 1 – 3 of 3) sorted by relevance
516 struct cil_type_rule *type_rule = (struct cil_type_rule *)node->data; in cil_attrib_type_rule() local518 if (type_rule->src != NULL) { in cil_attrib_type_rule()523 key = type_rule->src_str; in cil_attrib_type_rule()525 type_rule->src_str = __cil_attrib_get_versname(key, args->num); in cil_attrib_type_rule()528 key = type_rule->tgt_str; in cil_attrib_type_rule()530 type_rule->tgt_str = __cil_attrib_get_versname(key, args->num); in cil_attrib_type_rule()
2216 void cil_type_rule_init(struct cil_type_rule **type_rule) in cil_type_rule_init() argument2218 *type_rule = cil_malloc(sizeof(**type_rule)); in cil_type_rule_init()2220 (*type_rule)->rule_kind = CIL_NONE; in cil_type_rule_init()2221 (*type_rule)->src_str = NULL; in cil_type_rule_init()2222 (*type_rule)->src = NULL; in cil_type_rule_init()2223 (*type_rule)->tgt_str = NULL; in cil_type_rule_init()2224 (*type_rule)->tgt = NULL; in cil_type_rule_init()2225 (*type_rule)->obj_str = NULL; in cil_type_rule_init()2226 (*type_rule)->obj = NULL; in cil_type_rule_init()2227 (*type_rule)->result_str = NULL; in cil_type_rule_init()[all …]
1024 void cil_type_rule_init(struct cil_type_rule **type_rule);