Home
last modified time | relevance | path

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

/external/selinux/policycoreutils/setfiles/
Drestore.c10 int exclude_count; variable
114 tmp_list = realloc(exclude_list, sizeof(char *) * (exclude_count + 2)); in add_exclude()
122 exclude_list[exclude_count] = strdup(directory); in add_exclude()
123 if (!exclude_list[exclude_count]) { in add_exclude()
128 exclude_count++; in add_exclude()
129 exclude_list[exclude_count] = NULL; in add_exclude()
/external/selinux/restorecond/
Drestore.c10 int exclude_count; variable
113 tmp_list = realloc(exclude_list, sizeof(char *) * (exclude_count + 2)); in add_exclude()
121 exclude_list[exclude_count] = strdup(directory); in add_exclude()
122 if (!exclude_list[exclude_count]) { in add_exclude()
127 exclude_count++; in add_exclude()
128 exclude_list[exclude_count] = NULL; in add_exclude()
/external/selinux/libselinux/src/
Dselinux_restorecon.c62 static int exclude_count = 0; variable
138 for (i = 0; i < exclude_count; i++) { in remove_exclude()
142 if (i != exclude_count - 1) in remove_exclude()
143 exclude_lst[i] = exclude_lst[exclude_count - 1]; in remove_exclude()
144 exclude_count--; in remove_exclude()
157 for (i = 0; i < exclude_count; i++) { in add_exclude()
171 sizeof(struct edir) * (exclude_count + 1)); in add_exclude()
181 current = (exclude_lst + exclude_count); in add_exclude()
189 exclude_count++; in add_exclude()
201 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()