Lines Matching refs:scope_datum
1494 scope_datum_t *scope_datum; in symtab_insert() local
1516 scope_datum = in symtab_insert()
1518 if (scope_datum == NULL) { in symtab_insert()
1522 if ((scope_datum = malloc(sizeof(*scope_datum))) == NULL) { in symtab_insert()
1526 scope_datum->scope = scope; in symtab_insert()
1527 scope_datum->decl_ids = NULL; in symtab_insert()
1528 scope_datum->decl_ids_len = 0; in symtab_insert()
1531 scope_datum)) != 0) { in symtab_insert()
1533 free(scope_datum); in symtab_insert()
1536 } else if (scope_datum->scope == SCOPE_DECL && scope == SCOPE_DECL) { in symtab_insert()
1560 } else if (scope_datum->scope == SCOPE_REQ && scope == SCOPE_DECL) { in symtab_insert()
1561 scope_datum->scope = SCOPE_DECL; in symtab_insert()
1562 } else if (scope_datum->scope != scope) { in symtab_insert()
1568 for (i = 0; i < scope_datum->decl_ids_len; i++) { in symtab_insert()
1569 if (scope_datum->decl_ids[i] == avrule_decl_id) { in symtab_insert()
1576 &scope_datum->decl_ids_len, in symtab_insert()
1577 &scope_datum->decl_ids) == -1) { in symtab_insert()