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()
2380 void cil_type_rule_init(struct cil_type_rule **type_rule) in cil_type_rule_init() argument2382 *type_rule = cil_malloc(sizeof(**type_rule)); in cil_type_rule_init()2384 (*type_rule)->rule_kind = CIL_NONE; in cil_type_rule_init()2385 (*type_rule)->src_str = NULL; in cil_type_rule_init()2386 (*type_rule)->src = NULL; in cil_type_rule_init()2387 (*type_rule)->tgt_str = NULL; in cil_type_rule_init()2388 (*type_rule)->tgt = NULL; in cil_type_rule_init()2389 (*type_rule)->obj_str = NULL; in cil_type_rule_init()2390 (*type_rule)->obj = NULL; in cil_type_rule_init()2391 (*type_rule)->result_str = NULL; in cil_type_rule_init()[all …]
1028 void cil_type_rule_init(struct cil_type_rule **type_rule);