Home
last modified time | relevance | path

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

/external/selinux/policycoreutils/setfiles/
Drestore.c18 int exclude_count; variable
118 tmp_list = realloc(exclude_list, sizeof(char *) * (exclude_count + 2)); in add_exclude()
126 exclude_list[exclude_count] = strdup(directory); in add_exclude()
127 if (!exclude_list[exclude_count]) { in add_exclude()
132 exclude_count++; in add_exclude()
133 exclude_list[exclude_count] = NULL; in add_exclude()
/external/selinux/restorecond/
Drestore.c13 int exclude_count; variable
112 tmp_list = realloc(exclude_list, sizeof(char *) * (exclude_count + 2)); in add_exclude()
120 exclude_list[exclude_count] = strdup(directory); in add_exclude()
121 if (!exclude_list[exclude_count]) { in add_exclude()
126 exclude_count++; in add_exclude()
127 exclude_list[exclude_count] = NULL; in add_exclude()
/external/selinux/libselinux/src/
Dselinux_restorecon.c59 static int exclude_count = 0; variable
134 for (i = 0; i < exclude_count; i++) { in remove_exclude()
138 if (i != exclude_count - 1) in remove_exclude()
139 exclude_lst[i] = exclude_lst[exclude_count - 1]; in remove_exclude()
140 exclude_count--; in remove_exclude()
153 for (i = 0; i < exclude_count; i++) { in add_exclude()
167 sizeof(struct edir) * (exclude_count + 1)); in add_exclude()
177 current = (exclude_lst + exclude_count); in add_exclude()
185 exclude_count++; in add_exclude()
197 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()