Home
last modified time | relevance | path

Searched refs:exclude_count (Results 1 – 4 of 4) sorted by relevance

/external/selinux/restorecond/
Drestore.c13 int exclude_count; variable
116 tmp_list = realloc(exclude_list, sizeof(char *) * (exclude_count + 2)); in add_exclude()
124 exclude_list[exclude_count] = strdup(directory); in add_exclude()
125 if (!exclude_list[exclude_count]) { in add_exclude()
130 exclude_count++; in add_exclude()
131 exclude_list[exclude_count] = NULL; in add_exclude()
/external/selinux/policycoreutils/setfiles/
Drestore.c18 int exclude_count; variable
122 tmp_list = realloc(exclude_list, sizeof(char *) * (exclude_count + 2)); in add_exclude()
130 exclude_list[exclude_count] = strdup(directory); in add_exclude()
131 if (!exclude_list[exclude_count]) { in add_exclude()
136 exclude_count++; in add_exclude()
137 exclude_list[exclude_count] = NULL; in add_exclude()
/external/selinux/libselinux/src/
Dselinux_restorecon.c63 static int exclude_count = 0; variable
139 for (i = 0; i < exclude_count; i++) { in remove_exclude()
143 if (i != exclude_count - 1) in remove_exclude()
144 exclude_lst[i] = exclude_lst[exclude_count - 1]; in remove_exclude()
145 exclude_count--; in remove_exclude()
158 for (i = 0; i < exclude_count; i++) { in add_exclude()
172 sizeof(struct edir) * (exclude_count + 1)); in add_exclude()
182 current = (exclude_lst + exclude_count); in add_exclude()
190 exclude_count++; in add_exclude()
202 for (i = 0; i < exclude_count; i++) { in check_excluded()
/external/squashfs-tools/squashfs-tools/
Daction.c63 static int exclude_count = 0; variable
563 spec_count = exclude_count ++; in parse_action()
971 return exclude_count; in exclude_actions()
988 for (i = 0; i < exclude_count && !match; i++) in eval_exclude_actions()
3194 dump_action_list(exclude_spec, exclude_count); in dump_actions()