Lines Matching defs:modules
272 /* disallow declarations in modules */
282 * off). Note: this will break horribly if modules can declare object
362 * modules both declare role foo_r) is checked during
457 * modules both declare type foo_t) is checked during
686 /* disallow declarations in modules */
727 /* disallow declarations in modules */
2458 /* Link a set of modules into a base module. This process is somewhat
2467 policy_module_t **modules = NULL;
2484 if ((modules =
2485 (policy_module_t **) calloc(len, sizeof(*modules))) == NULL) {
2512 if ((modules[i] =
2519 modules[i]->policy = mods[i];
2520 if (prepare_module(&state, modules[i]) == -1) {
2523 num_mod_decls += modules[i]->num_decls;
2531 state.cur = modules[i];
2532 ret = copy_module(&state, modules[i]);
2572 for (i = 0; modules != NULL && i < len; i++) {
2573 policy_module_destroy(modules[i]);
2575 free(modules);