Home
last modified time | relevance | path

Searched defs:datum (Results 1 – 25 of 45) sorted by relevance

12

/third_party/selinux/libsepol/cil/src/
Dcil_symtab.c62 void cil_symtab_datum_init(struct cil_symtab_datum *datum) in cil_symtab_datum_init()
70 void cil_symtab_datum_destroy(struct cil_symtab_datum *datum) in cil_symtab_datum_destroy()
76 void cil_symtab_datum_remove_node(struct cil_symtab_datum *datum, struct cil_tree_node *node) in cil_symtab_datum_remove_node()
88 int cil_symtab_insert(symtab_t *symtab, hashtab_key_t key, struct cil_symtab_datum *datum, struct c… in cil_symtab_insert()
106 void cil_symtab_remove_datum(struct cil_symtab_datum *datum) in cil_symtab_remove_datum()
119 int cil_symtab_get_datum(symtab_t *symtab, char *key, struct cil_symtab_datum **datum) in cil_symtab_get_datum()
138 struct cil_symtab_datum *datum = d; in __cil_symtab_destroy_helper() local
169 struct cil_complex_symtab_datum *datum) in cil_complex_symtab_insert()
Dcil_fqn.c49 struct cil_symtab_datum *datum = (struct cil_symtab_datum *)d; in __cil_fqn_qualify_decls() local
77 struct cil_symtab_datum *datum = (struct cil_symtab_datum *)block; in __cil_fqn_qualify_blocks() local
Dcil_copy_ast.c104 struct cil_symtab_datum *datum = NULL; in cil_copy_block() local
158 struct cil_symtab_datum *datum = NULL; in cil_copy_policycap() local
176 struct cil_symtab_datum *datum = NULL; in cil_copy_perm() local
247 struct cil_symtab_datum *datum = NULL; in cil_copy_class() local
284 struct cil_symtab_datum *datum = NULL; in cil_copy_classpermission() local
338 struct cil_symtab_datum *datum = NULL; in cil_copy_sid() local
390 struct cil_symtab_datum *datum = NULL; in cil_copy_user() local
409 struct cil_symtab_datum *datum = NULL; in cil_copy_userattribute() local
514 struct cil_symtab_datum *datum = NULL; in cil_copy_role() local
547 struct cil_symtab_datum *datum = NULL; in cil_copy_roleattribute() local
[all …]
Dcil_internal.h346 struct cil_symtab_datum datum; member
368 struct cil_symtab_datum datum; member
372 struct cil_symtab_datum datum; member
378 struct cil_symtab_datum datum; member
402 struct cil_symtab_datum datum; member
423 struct cil_symtab_datum datum; member
433 struct cil_symtab_datum datum; member
449 struct cil_symtab_datum datum; member
458 struct cil_symtab_datum datum; member
503 struct cil_symtab_datum datum; member
[all …]
Dcil_resolve_ast.c81 struct cil_symtab_datum *datum = NULL; in __cil_insert_name() local
162 struct cil_symtab_datum *datum = NULL; in cil_resolve_classperms() local
197 struct cil_symtab_datum *datum = NULL; in cil_resolve_classperms_set() local
249 struct cil_symtab_datum *datum; in cil_resolve_classpermissionset() local
278 static void cil_type_used(struct cil_symtab_datum *datum, int used) in cil_type_used()
809 struct cil_symtab_datum *datum = NULL; in cil_resolve_classmapping() local
1485 struct cil_symtab_datum *datum = NULL; in cil_resolve_classorder() local
1535 struct cil_symtab_datum *datum = NULL; in cil_resolve_sidorder() local
1632 struct cil_symtab_datum *datum = NULL; in cil_resolve_sensitivityorder() local
2622 struct cil_symtab_datum *datum; in cil_resolve_default() local
[all …]
Dcil_binary.c79 static int __cil_get_sepol_user_datum(policydb_t *pdb, struct cil_symtab_datum *datum, user_datum_t… in __cil_get_sepol_user_datum()
90 static int __cil_get_sepol_role_datum(policydb_t *pdb, struct cil_symtab_datum *datum, role_datum_t… in __cil_get_sepol_role_datum()
101 static int __cil_get_sepol_type_datum(policydb_t *pdb, struct cil_symtab_datum *datum, type_datum_t… in __cil_get_sepol_type_datum()
112 static int __cil_get_sepol_class_datum(policydb_t *pdb, struct cil_symtab_datum *datum, class_datum… in __cil_get_sepol_class_datum()
123 static int __cil_get_sepol_cat_datum(policydb_t *pdb, struct cil_symtab_datum *datum, cat_datum_t *… in __cil_get_sepol_cat_datum()
134 static int __cil_get_sepol_level_datum(policydb_t *pdb, struct cil_symtab_datum *datum, level_datum… in __cil_get_sepol_level_datum()
145 static int __cil_expand_user(struct cil_symtab_datum *datum, ebitmap_t *new) in __cil_expand_user()
173 static int __cil_expand_role(struct cil_symtab_datum *datum, ebitmap_t *new) in __cil_expand_role()
199 static int __cil_expand_type(struct cil_symtab_datum *datum, ebitmap_t *new) in __cil_expand_type()
1294 static int __perm_str_to_datum(char *perm_str, class_datum_t *sepol_class, uint32_t *datum) in __perm_str_to_datum()
[all …]
Dcil_post.c889 static int __cil_type_to_bitmap(struct cil_symtab_datum *datum, ebitmap_t *bitmap, struct cil_db *d… in __cil_type_to_bitmap()
941 static int __cil_user_to_bitmap(struct cil_symtab_datum *datum, ebitmap_t *bitmap, struct cil_db *d… in __cil_user_to_bitmap()
989 static int __cil_role_to_bitmap(struct cil_symtab_datum *datum, ebitmap_t *bitmap, struct cil_db *d… in __cil_role_to_bitmap()
1058 static int __cil_permx_to_bitmap(struct cil_symtab_datum *datum, ebitmap_t *bitmap, __attribute__((… in __cil_permx_to_bitmap()
1081 static int __cil_perm_to_bitmap(struct cil_symtab_datum *datum, ebitmap_t *bitmap, __attribute__((u… in __cil_perm_to_bitmap()
1140 static int __cil_cat_to_bitmap(struct cil_symtab_datum *datum, ebitmap_t *bitmap, struct cil_db *db) in __cil_cat_to_bitmap()
1602 static int __cil_role_assign_types(struct cil_role *role, struct cil_symtab_datum *datum) in __cil_role_assign_types()
1693 static int __cil_user_assign_roles(struct cil_user *user, struct cil_symtab_datum *datum) in __cil_user_assign_roles()
Dcil_symtab.h62 struct cil_complex_symtab_datum *datum; member
/third_party/selinux/libsepol/tests/
Dtest-common.c60 static int common_test_index(hashtab_key_t key, hashtab_datum_t datum, void *data) in common_test_index()
69 static int class_test_index(hashtab_key_t key, hashtab_datum_t datum, void *data) in class_test_index()
79 static int role_test_index(hashtab_key_t key, hashtab_datum_t datum, void *data) in role_test_index()
89 static int type_test_index(hashtab_key_t key, hashtab_datum_t datum, void *data) in type_test_index()
103 static int user_test_index(hashtab_key_t key, hashtab_datum_t datum, void *data) in user_test_index()
113 static int cond_test_index(hashtab_key_t key, hashtab_datum_t datum, void *data) in cond_test_index()
123 static int level_test_index(hashtab_key_t key, hashtab_datum_t datum, void *data) in level_test_index()
132 static int cat_test_index(hashtab_key_t key, hashtab_datum_t datum, void *data) in cat_test_index()
/third_party/selinux/libsepol/src/
Dlink.c124 static int permission_copy_callback(hashtab_key_t key, hashtab_datum_t datum, in permission_copy_callback()
245 static int class_copy_callback(hashtab_key_t key, hashtab_datum_t datum, in class_copy_callback()
348 static int role_copy_callback(hashtab_key_t key, hashtab_datum_t datum, in role_copy_callback()
438 static int type_copy_callback(hashtab_key_t key, hashtab_datum_t datum, in type_copy_callback()
533 static int user_copy_callback(hashtab_key_t key, hashtab_datum_t datum, in user_copy_callback()
600 static int bool_copy_callback(hashtab_key_t key, hashtab_datum_t datum, in bool_copy_callback()
669 static int sens_copy_callback(hashtab_key_t key, hashtab_datum_t datum, in sens_copy_callback()
711 static int cat_copy_callback(hashtab_key_t key, hashtab_datum_t datum, in cat_copy_callback()
763 hashtab_datum_t datum, void *data) in type_bounds_copy_callback()
792 hashtab_datum_t datum, void *data) in role_bounds_copy_callback()
[all …]
Dpolicydb.c940 __attribute__ ((unused)), hashtab_datum_t datum, in policydb_role_cache()
958 __attribute__ ((unused)), hashtab_datum_t datum, in policydb_user_cache()
1003 static int common_index(hashtab_key_t key, hashtab_datum_t datum, void *datap) in common_index()
1019 static int class_index(hashtab_key_t key, hashtab_datum_t datum, void *datap) in class_index()
1036 static int role_index(hashtab_key_t key, hashtab_datum_t datum, void *datap) in role_index()
1053 static int type_index(hashtab_key_t key, hashtab_datum_t datum, void *datap) in type_index()
1073 static int user_index(hashtab_key_t key, hashtab_datum_t datum, void *datap) in user_index()
1091 static int sens_index(hashtab_key_t key, hashtab_datum_t datum, void *datap) in sens_index()
1110 static int cat_index(hashtab_key_t key, hashtab_datum_t datum, void *datap) in cat_index()
1299 static int perm_destroy(hashtab_key_t key, hashtab_datum_t datum, void *p in perm_destroy()
[all …]
Dexpand.c106 static int type_copy_callback(hashtab_key_t key, hashtab_datum_t datum, in type_copy_callback()
176 static int attr_convert_callback(hashtab_key_t key, hashtab_datum_t datum, in attr_convert_callback()
219 static int perm_copy_callback(hashtab_key_t key, hashtab_datum_t datum, in perm_copy_callback()
256 static int common_copy_callback(hashtab_key_t key, hashtab_datum_t datum, in common_copy_callback()
445 static int class_copy_callback(hashtab_key_t key, hashtab_datum_t datum, in class_copy_callback()
532 static int constraint_copy_callback(hashtab_key_t key, hashtab_datum_t datum, in constraint_copy_callback()
564 hashtab_datum_t datum, void *data) in type_bounds_copy_callback()
594 hashtab_datum_t datum, void *data) in role_bounds_copy_callback()
624 hashtab_datum_t datum, void *data) in user_bounds_copy_callback()
658 static int alias_copy_callback(hashtab_key_t key, hashtab_datum_t datum, in alias_copy_callback()
[all …]
Dwrite.c450 static int sens_write(hashtab_key_t key, hashtab_datum_t datum, void *ptr) in sens_write()
478 static int cat_write(hashtab_key_t key, hashtab_datum_t datum, void *ptr) in cat_write()
577 filename_trans_datum_t *datum = data; in filename_write_one_compat() local
613 filename_trans_datum_t *datum; in filename_write_one() local
718 static int cond_write_bool(hashtab_key_t key, hashtab_datum_t datum, void *ptr) in cond_write_bool()
921 static int perm_write(hashtab_key_t key, hashtab_datum_t datum, void *ptr) in perm_write()
946 static int common_write(hashtab_key_t key, hashtab_datum_t datum, void *ptr) in common_write()
1027 static int class_write(hashtab_key_t key, hashtab_datum_t datum, void *ptr) in class_write()
1130 static int role_write(hashtab_key_t key, hashtab_datum_t datum, void *ptr) in role_write()
1209 static int type_write(hashtab_key_t key, hashtab_datum_t datum, void *ptr) in type_write()
[all …]
Davtab.c94 avtab_datum_t * datum) in avtab_insert_node()
136 int avtab_insert(avtab_t * h, avtab_key_t * key, avtab_datum_t * datum) in avtab_insert()
181 avtab_insert_nonunique(avtab_t * h, avtab_key_t * key, avtab_datum_t * datum) in avtab_insert_nonunique()
442 avtab_datum_t datum; in avtab_read_item() local
Dhierarchy.c43 avtab_key_t *avtab_key, avtab_datum_t *datum) in bounds_insert_helper()
58 avtab_key_t *avtab_key, avtab_datum_t *datum) in bounds_insert_rule()
104 avtab_datum_t datum; in bounds_expand_rule() local
250 avtab_datum_t *datum = avtab_search(cur_avtab, avtab_key); in bounds_not_covered() local
334 avtab_datum_t *datum = &ap->datum; in bounds_check_cond_rules() local
Dbooleans.c22 cond_bool_datum_t *datum; in bool_update() local
/third_party/node/test/parallel/
Dtest-stringbytes-external.js92 const datum = b; constant
113 const datum = b; constant
/third_party/selinux/checkpolicy/
Dmodule_compiler.c155 static int create_symbol(uint32_t symbol_type, hashtab_key_t key, hashtab_datum_t datum, in create_symbol()
198 hashtab_key_t key, hashtab_datum_t datum, in declare_symbol()
256 role_datum_t *datum = NULL; in create_role() local
391 type_datum_t *datum; in create_type() local
501 user_datum_t *datum = NULL; in create_user() local
717 hashtab_key_t key, hashtab_datum_t datum, in require_symbol()
764 static int perm_destroy(hashtab_key_t key, hashtab_datum_t datum, void *p in perm_destroy()
786 class_datum_t *datum = NULL; in require_class() local
Dpolicy_define.c151 class_datum_t *datum = 0; in define_class() local
705 level_datum_t *datum = 0, *aliasdatum = 0; in define_sens() local
835 level_datum_t *datum; in define_dominance() local
884 cat_datum_t *datum = 0, *aliasdatum = 0; in define_category() local
1003 static int clone_level(hashtab_key_t key __attribute__ ((unused)), hashtab_datum_t datum, void *arg) in clone_level()
1458 type_datum_t *datum, *attr; in define_type() local
1607 type_datum_t *datum; in define_compute_type_helper() local
1745 cond_bool_datum_t *datum; in define_bool_tunable() local
2903 hashtab_datum_t datum, void *arg) in dominate_role_recheck()
3044 static int role_val_to_name_helper(hashtab_key_t key, hashtab_datum_t datum, in role_val_to_name_helper()
Dcheckpolicy.c151 static int find_perm(hashtab_key_t key, hashtab_datum_t datum, void *p) in find_perm()
369 static int check_level(hashtab_key_t key, hashtab_datum_t datum, void *arg __attribute__ ((unused))) in check_level()
/third_party/python/Lib/turtledemo/
Dclock.py88 def datum(z): function
/third_party/selinux/libsepol/include/sepol/policydb/
Dhashtab.h33 hashtab_datum_t datum; member
/third_party/skia/third_party/externals/angle2/src/common/
DMemoryBuffer.cpp65 void MemoryBuffer::fill(uint8_t datum) in fill()
/third_party/ffmpeg/libavcodec/
Dhcom.c107 int16_t datum; in hcom_decode() local
/third_party/selinux/checkpolicy/test/
Ddispol.c87 static int render_av_rule(avtab_key_t * key, avtab_datum_t * datum, uint32_t what, in render_av_rule()
335 hashtab_datum_t datum, in filenametr_display()

12