Home | History | Annotate | Download | only in src

Lines Matching refs:table

53 	filename_trans_t **table;	/* filename_trans chunks with same stype */
54 filename_trans_t **ends; /* pointers to ends of **table chunks */
55 uint32_t length; /* length of the table */
60 probe->table = calloc(length, sizeof(*probe->table));
61 if (probe->table == NULL)
78 free(probe->table);
88 if (probe->table[key] != NULL) {
89 data->next = probe->table[key];
90 probe->table[key] = data;
92 probe->table[key] = probe->ends[key] = data;
100 return probe->table[key];
112 if (probe->table[i] != NULL) {
116 result = probe->table[i];
117 probe->table[i] = probe->ends[i] = NULL;
201 ret = hashtab_insert(state->out->p_types.table,
243 new_type = hashtab_search(state->out->p_types.table, id);
290 ret = hashtab_insert(s->table, new_id, (hashtab_datum_t *) new_perm);
340 hashtab_insert(state->out->p_commons.table, new_id,
350 (common->permissions.table, perm_copy_callback,
535 hashtab_insert(state->out->p_classes.table, new_id,
545 (class->permissions.table, perm_copy_callback,
559 hashtab_search(state->out->p_commons.table,
584 new_class = hashtab_search(state->out->p_classes.table, id);
620 dest = hashtab_search(state->out->p_types.table, (char *)key);
650 dest = hashtab_search(state->out->p_roles.table, (char *)key);
680 dest = hashtab_search(state->out->p_users.table, (char *)key);
695 * the out symbol table will have the type that the alias refers. Otherwise, we
697 * declaration ordering because of the hash table.
757 ret = hashtab_insert(state->out->p_types.table,
834 (role_datum_t *)hashtab_search(state->out->p_roles.table, id);
854 state->out->p_roles.table,
899 (role_datum_t *) hashtab_search(state->out->p_roles.table, id);
919 ret = hashtab_insert(state->out->p_roles.table,
976 levdatum = (level_datum_t *) hashtab_search(p->p_levels.table,
979 ERR(h, "%s: Impossible situation found, nothing in p_levels.table.\n",
1051 (user_datum_t *) hashtab_search(state->out->p_users.table, id);
1070 ret = hashtab_insert(state->out->p_users.table,
1183 ret = hashtab_insert(state->out->p_bools.table,
1234 if (hashtab_insert(state->out->p_levels.table,
1279 if (hashtab_insert(state->out->p_cats.table,
1696 /* Search for an AV tab node within a hash table with the given key.
1725 ERR(handle, "hash table overflow");
3019 if (hashtab_map(state.base->p_types.table, type_copy_callback, &state)) {
3025 (state.base->p_types.table, attr_convert_callback, &state)) {
3031 (state.base->p_commons.table, common_copy_callback, &state)) {
3038 (state.base->p_classes.table, class_copy_callback, &state)) {
3043 if (hashtab_map(state.base->p_types.table,
3048 if (hashtab_map(state.base->p_types.table, alias_copy_callback, &state))
3058 if (hashtab_map(state.base->p_roles.table, role_copy_callback, &state))
3060 if (hashtab_map(state.base->p_roles.table,
3065 if (hashtab_map(state.base->p_roles.table, role_fix_callback, &state))
3070 if (hashtab_map(state.base->p_levels.table, sens_copy_callback, &state))
3072 if (hashtab_map(state.base->p_cats.table, cats_copy_callback, &state))
3080 if (hashtab_map(state.base->p_users.table, user_copy_callback, &state))
3082 if (hashtab_map(state.base->p_users.table,
3087 if (hashtab_map(state.base->p_bools.table, bool_copy_callback, &state))
3111 (decl->p_types.table, attr_convert_callback, &state)) {
3117 (decl->p_roles.table, role_copy_callback, &state))
3122 (decl->p_users.table, user_copy_callback, &state))
3128 if (hashtab_map(state.out->p_roles.table, role_remap_dominates, &state)) {
3139 (state.base->p_classes.table, constraint_copy_callback, &state)) {
3173 if (hashtab_map(state.out->p_types.table, type_attr_map, &state))