Lines Matching defs:set
185 void *set;
781 static int cil_add_attr_to_list(struct list *attr_list, char *attr_name, int is_type, void *set)
800 attr_list_node->set = set;
809 static int cil_print_attr_strs(int indent, struct policydb *pdb, int is_type, void *set, char *attr_name)
812 // instead we create a CIL type/roleattributeset that matches the set. If
813 // the set has a negative set, then convert it to is (P & !N), where P is
814 // the list of members in the positive set and N is the list of members
815 // in the negative set. Additionally, if the set is complemented, then wrap
832 ts = (struct type_set *)set;
841 rs = (struct role_set *)set;
904 rc = cil_print_attr_strs(indent, pdb, node->is_type, node->set, node->attr_name);
913 static char *search_attr_list(struct list *attr_list, int is_type, void *set)
921 ts1 = (struct type_set *)set;
923 rs1 = (struct role_set *)set;
931 ts2 = (struct type_set *)node->set;
940 rs2 = (struct role_set *)node->set;
952 static int set_to_names(struct policydb *pdb, int is_type, void *set, struct list *attr_list, char ***names, unsigned int *num_names)
960 attr_name = search_attr_list(attr_list, is_type, set);
969 rc = cil_add_attr_to_list(attr_list, attr_name, is_type, set);
3976 // The base module doesn't have its name set, but we use that for some