Home
last modified time | relevance | path

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

/external/selinux/libselinux/src/
Dmatchpathcon.c74 static __thread int con_array_size; variable
83 if (con_array_size) { in add_array_elt()
84 while (con_array_used >= con_array_size) { in add_array_elt()
85 con_array_size *= 2; in add_array_elt()
87 con_array_size); in add_array_elt()
89 con_array_size = con_array_used = 0; in add_array_elt()
94 con_array_size = 1000; in add_array_elt()
95 con_array = (char **)malloc(sizeof(char*) * con_array_size); in add_array_elt()
97 con_array_size = con_array_used = 0; in add_array_elt()
110 con_array_size = con_array_used = 0; in free_array_elts()