HomeSort by relevance Sort by last modified time
    Searched refs:hashtab_key_t (Results 1 - 23 of 23) sorted by null

  /external/libsepol/include/sepol/policydb/
hashtab.h 22 typedef char *hashtab_key_t; /* generic key type */ typedef
28 hashtab_key_t key;
37 unsigned int (*hash_value) (struct hashtab_val * h, hashtab_key_t key); /* hash function */
38 int (*keycmp) (struct hashtab_val * h, hashtab_key_t key1, hashtab_key_t key2); /* key comparison function */
50 const hashtab_key_t
53 const hashtab_key_t key1,
54 const hashtab_key_t key2),
63 extern int hashtab_insert(hashtab_t h, hashtab_key_t k, hashtab_datum_t d);
73 extern int hashtab_remove(hashtab_t h, hashtab_key_t k
    [all...]
conditional.h 124 extern int cond_destroy_bool(hashtab_key_t key, hashtab_datum_t datum, void *p);
126 extern int cond_index_bool(hashtab_key_t key, hashtab_datum_t datum,
policydb.h 595 extern int scope_destroy(hashtab_key_t key, hashtab_datum_t datum, void *p);
596 typedef void (*hashtab_destroy_func_t) (hashtab_key_t k, hashtab_datum_t d,
636 hashtab_key_t key, hashtab_datum_t datum,
  /external/checkpolicy/
module_compiler.h 30 hashtab_key_t key, hashtab_datum_t datum,
44 hashtab_key_t key, hashtab_datum_t datum,
68 int is_id_in_scope(uint32_t symbol_type, hashtab_key_t id);
73 int is_perm_in_scope(hashtab_key_t perm_id, hashtab_key_t class_id);
policy_define.c 480 (hashtab_key_t) id, (hashtab_datum_t) comdatum);
511 (hashtab_key_t) perm,
563 (hashtab_key_t) id);
588 (hashtab_key_t) id);
626 (hashtab_key_t) id);
634 (hashtab_key_t) id,
814 (hashtab_key_t) id);
963 static int clone_level(hashtab_key_t key, hashtab_datum_t datum, void *arg)
1006 (hashtab_key_t) id);
1035 (hashtab_key_t)
    [all...]
module_compiler.c 127 hashtab_key_t key, hashtab_datum_t datum,
622 hashtab_key_t key, hashtab_datum_t datum,
722 static int perm_destroy(hashtab_key_t key, hashtab_datum_t datum, void *p
1247 int is_id_in_scope(uint32_t symbol_type, hashtab_key_t id)
1294 int is_perm_in_scope(hashtab_key_t perm_id, hashtab_key_t class_id)
    [all...]
checkpolicy.c 144 static int find_perm(hashtab_key_t key, hashtab_datum_t datum, void *p)
364 static int check_level(hashtab_key_t key, hashtab_datum_t datum, void *arg)
  /external/libsepol/src/
symtab.c 14 static unsigned int symhash(hashtab_t h, hashtab_key_t key)
30 __attribute__ ((unused)), hashtab_key_t key1,
31 hashtab_key_t key2)
hashtab.c 36 const hashtab_key_t key),
38 const hashtab_key_t key1,
39 const hashtab_key_t key2),
66 int hashtab_insert(hashtab_t h, hashtab_key_t key, hashtab_datum_t datum)
103 int hashtab_remove(hashtab_t h, hashtab_key_t key,
104 void (*destroy) (hashtab_key_t k,
136 int hashtab_replace(hashtab_t h, hashtab_key_t key, hashtab_datum_t datum,
137 void (*destroy) (hashtab_key_t k,
178 hashtab_datum_t hashtab_search(hashtab_t h, const hashtab_key_t key)
223 int (*apply) (hashtab_key_t k
    [all...]
roles.c 17 (const hashtab_key_t)role) != NULL);
users.c 138 (const hashtab_key_t)cname);
162 (const hashtab_key_t)roles[i]);
298 (const hashtab_key_t)cname) != NULL);
327 (const hashtab_key_t)cname);
util.c 62 static int perm_name(hashtab_key_t key, hashtab_datum_t datum, void *data)
context.c 169 (hashtab_key_t) user);
178 (hashtab_key_t) role);
187 (hashtab_key_t) type);
link.c 123 static int permission_copy_callback(hashtab_key_t key, hashtab_datum_t datum,
163 (hashtab_key_t) new_id,
243 static int class_copy_callback(hashtab_key_t key, hashtab_datum_t datum,
307 (hashtab_key_t) new_id,
346 static int role_copy_callback(hashtab_key_t key, hashtab_datum_t datum,
395 (hashtab_key_t) new_id,
436 static int type_copy_callback(hashtab_key_t key, hashtab_datum_t datum,
493 (hashtab_key_t) new_id,
531 static int user_copy_callback(hashtab_key_t key, hashtab_datum_t datum,
561 (hashtab_key_t) new_id
    [all...]
hierarchy.c 125 static int check_type_hierarchy_callback(hashtab_key_t k, hashtab_datum_t d,
402 static int check_role_hierarchy_callback(hashtab_key_t k
428 static int check_user_hierarchy_callback(hashtab_key_t k
expand.c 150 static int type_copy_callback(hashtab_key_t key, hashtab_datum_t datum,
202 (hashtab_key_t) new_id,
220 static int attr_convert_callback(hashtab_key_t key, hashtab_datum_t datum,
263 static int perm_copy_callback(hashtab_key_t key, hashtab_datum_t datum,
300 static int common_copy_callback(hashtab_key_t key, hashtab_datum_t datum,
486 static int class_copy_callback(hashtab_key_t key, hashtab_datum_t datum,
573 static int constraint_copy_callback(hashtab_key_t key, hashtab_datum_t datum,
604 static int type_bounds_copy_callback(hashtab_key_t key,
634 static int role_bounds_copy_callback(hashtab_key_t key,
664 static int user_bounds_copy_callback(hashtab_key_t key
    [all...]
policydb.c 763 int policydb_role_cache(hashtab_key_t key
781 int policydb_user_cache(hashtab_key_t key
827 static int common_index(hashtab_key_t key, hashtab_datum_t datum, void *datap)
841 static int class_index(hashtab_key_t key, hashtab_datum_t datum, void *datap)
856 static int role_index(hashtab_key_t key, hashtab_datum_t datum, void *datap)
871 static int type_index(hashtab_key_t key, hashtab_datum_t datum, void *datap)
889 static int user_index(hashtab_key_t key, hashtab_datum_t datum, void *datap)
906 static int sens_index(hashtab_key_t key, hashtab_datum_t datum, void *datap)
924 static int cat_index(hashtab_key_t key, hashtab_datum_t datum, void *datap)
941 static int (*index_f[SYM_NUM]) (hashtab_key_t key, hashtab_datum_t datum
    [all...]
write.c 411 static int sens_write(hashtab_key_t key, hashtab_datum_t datum, void *ptr)
439 static int cat_write(hashtab_key_t key, hashtab_datum_t datum, void *ptr)
603 static int cond_write_bool(hashtab_key_t key, hashtab_datum_t datum, void *ptr)
806 static int perm_write(hashtab_key_t key, hashtab_datum_t datum, void *ptr)
831 static int common_write(hashtab_key_t key, hashtab_datum_t datum, void *ptr)
913 static int class_write(hashtab_key_t key, hashtab_datum_t datum, void *ptr)
1007 static int role_write(hashtab_key_t key, hashtab_datum_t datum, void *ptr)
1069 static int type_write(hashtab_key_t key, hashtab_datum_t datum, void *ptr)
1147 static int user_write(hashtab_key_t key, hashtab_datum_t datum, void *ptr)
1205 static int (*write_f[SYM_NUM]) (hashtab_key_t key, hashtab_datum_t datum
    [all...]
mls.c 358 (hashtab_key_t) scontextp);
384 (hashtab_key_t)
401 (hashtab_key_t)
services.c 1115 (hashtab_key_t)perm_name);
1126 (hashtab_key_t)perm_name);
    [all...]
conditional.c 534 int cond_destroy_bool(hashtab_key_t key, hashtab_datum_t datum, void *p
543 int cond_index_bool(hashtab_key_t key, hashtab_datum_t datum, void *datap)
  /external/libsepol/tests/
test-common.c 57 static int common_test_index(hashtab_key_t key, hashtab_datum_t datum, void *data)
66 static int class_test_index(hashtab_key_t key, hashtab_datum_t datum, void *data)
76 static int role_test_index(hashtab_key_t key, hashtab_datum_t datum, void *data)
86 static int type_test_index(hashtab_key_t key, hashtab_datum_t datum, void *data)
100 static int user_test_index(hashtab_key_t key, hashtab_datum_t datum, void *data)
110 static int cond_test_index(hashtab_key_t key, hashtab_datum_t datum, void *data)
120 static int level_test_index(hashtab_key_t key, hashtab_datum_t datum, void *data)
129 static int cat_test_index(hashtab_key_t key, hashtab_datum_t datum, void *data)
138 static int (*test_index_f[SYM_NUM]) (hashtab_key_t key, hashtab_datum_t datum, void *p) = {
  /external/checkpolicy/test/
dismod.c 292 int display_type_callback(hashtab_key_t key, hashtab_datum_t datum, void *data)
496 int role_display_callback(hashtab_key_t key __attribute__((unused)),

Completed in 1585 milliseconds