Lines Matching defs:block

1618 	/* copy the scoping information for this avrule decl block */
1709 avrule_block_t * block)
1721 new_block->flags = block->flags;
1723 for (decl = block->branch_list; decl != NULL; decl = decl->next) {
1926 * block) this returns 1. */
2122 * 2b) If the decl is optional, disable the block and mark changed = 1
2125 * decl. If the block has an else decl, enable.
2133 avrule_block_t *block;
2143 for (block = pol->global; block != NULL; block = block->next) {
2144 block->enabled = block->branch_list;
2145 block->enabled->enabled = 1;
2146 for (decl = block->branch_list->next; decl != NULL;
2154 for (block = pol->global; block != NULL; block = block->next) {
2155 if (block->enabled == NULL) {
2158 decl = block->branch_list;
2171 block->enabled = NULL;
2173 if (!(block->flags & AVRULE_OPTIONAL)) {
2174 print_missing_requirements(state, block,
2186 * global block, is required to be present, and cannot have an else).
2187 * If the block is disabled and has an else decl, enable that.
2189 * This code assumes that the second block in the branch list is the else
2190 * block. This is currently supported by the compiler.
2192 for (block = pol->global->next; block != NULL; block = block->next) {
2193 if (block->enabled == NULL) {
2194 if (block->branch_list->next != NULL) {
2195 block->enabled = block->branch_list->next;
2196 block->branch_list->next->enabled = 1;
2214 avrule_block_t *block;
2215 for (block = p->global; block != NULL; block = block->next) {
2217 for (decl = block->branch_list; decl != NULL; decl = decl->next) {
2316 /* This allocates the decl block to module mapping used for error reporting */
2433 avrule_block_t *block;
2441 * global block, is required to be present and can't have an else).
2442 * If the block is disabled or not having an enabled decl, skip it.
2444 for (block = pol->global->next; block != NULL; block = block->next)
2446 decl = block->enabled;