Home
last modified time | relevance | path

Searched refs:class_value (Results 1 – 3 of 3) sorted by relevance

/external/selinux/checkpolicy/
Dmodule_compiler.c735 int add_perm_to_class(uint32_t perm_value, uint32_t class_value) in add_perm_to_class() argument
741 assert(class_value >= 1); in add_perm_to_class()
743 if (class_value > scope->class_perms_len) { in add_perm_to_class()
746 class_value * sizeof(*new_map)); in add_perm_to_class()
751 for (i = scope->class_perms_len; i < class_value; i++) { in add_perm_to_class()
754 scope->class_perms_len = class_value; in add_perm_to_class()
756 if (ebitmap_set_bit(scope->class_perms_map + class_value - 1, in add_perm_to_class()
1140 static int is_perm_in_scope_index(uint32_t perm_value, uint32_t class_value, in is_perm_in_scope_index() argument
1143 if (class_value > scope->class_perms_len) { in is_perm_in_scope_index()
1146 if (ebitmap_get_bit(scope->class_perms_map + class_value - 1, in is_perm_in_scope_index()
[all …]
Dmodule_compiler.h49 int add_perm_to_class(uint32_t perm_value, uint32_t class_value);
/external/tensorflow/tensorflow/python/data/experimental/ops/
Dresampling.py165 return filtered_ds.map(lambda class_value, _, data: (class_value, data))