Lines Matching defs:args
5162 if (call->args != NULL) {
5163 cil_list_destroy(&call->args, 1);
5169 void cil_destroy_args(struct cil_args *args)
5171 if (args == NULL) {
5175 if (args->arg_str != NULL) {
5176 args->arg_str = NULL;
5177 } else if (args->arg != NULL) {
5178 struct cil_tree_node *node = args->arg->nodes->head->data;
5179 switch (args->flavor) {
5183 cil_destroy_catset((struct cil_catset *)args->arg);
5187 cil_destroy_level((struct cil_level *)args->arg);
5191 cil_destroy_levelrange((struct cil_levelrange *)args->arg);
5195 cil_destroy_ipaddr((struct cil_ipaddr *)args->arg);
5199 cil_destroy_classpermission((struct cil_classpermission *)args->arg);
5203 cil_log(CIL_ERR, "Destroying arg with the unexpected flavor=%d\n",args->flavor);
5208 args->param_str = NULL;
5209 args->arg = NULL;
5211 free(args);
5843 struct cil_args_build *args = NULL;
5857 args = extra_args;
5858 ast_current = args->ast;
5859 db = args->db;
5860 macro = args->macro;
5861 boolif = args->boolif;
5862 tunif = args->tunif;
5863 in = args->in;
6211 args->macro = ast_current;
6215 args->boolif = ast_current;
6219 args->tunif = ast_current;
6223 args->in = ast_current;
6232 args->ast = ast_current;
6245 struct cil_args_build *args = NULL;
6251 args = extra_args;
6252 ast = args->ast;
6259 args->ast = ast->parent;
6262 args->macro = NULL;
6266 args->boolif = NULL;
6270 args->tunif = NULL;
6274 args->in = NULL;