Home
last modified time | relevance | path

Searched refs:current_mapping (Results 1 – 2 of 2) sorted by relevance

/third_party/selinux/libselinux/src/
Dmapping.c26 static struct selinux_mapping *current_mapping = NULL; variable
43 free(current_mapping); in selinux_set_mapping()
44 current_mapping = NULL; in selinux_set_mapping()
60 current_mapping = (struct selinux_mapping *)calloc(++i, size); in selinux_set_mapping()
61 if (!current_mapping) in selinux_set_mapping()
68 struct selinux_mapping *p_out = current_mapping + j; in selinux_set_mapping()
113 free(current_mapping); in selinux_set_mapping()
114 current_mapping = NULL; in selinux_set_mapping()
128 return current_mapping[tclass].value; in unmap_class()
146 for (i = 0; i < current_mapping[tclass].num_perms; i++) in unmap_perm()
[all …]
/third_party/glib/glib/
Dupdate-gtranslit.py142 current_mapping = None
156 if current_mapping:
157 self.chain.append(current_mapping)
164 current_mapping = None
173 if not current_mapping:
174 current_mapping = Mapping()
176 current_mapping.consider_mapping_line(line)
191 if current_mapping:
192 self.chain.append(current_mapping)