Home
last modified time | relevance | path

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

/external/selinux/libselinux/src/
Dmatchpathcon.c16 static __thread int con_array_size; variable
25 if (con_array_size) { in add_array_elt()
26 while (con_array_used >= con_array_size) { in add_array_elt()
27 con_array_size *= 2; in add_array_elt()
29 con_array_size); in add_array_elt()
31 con_array_size = con_array_used = 0; in add_array_elt()
36 con_array_size = 1000; in add_array_elt()
37 con_array = (char **)malloc(sizeof(char*) * con_array_size); in add_array_elt()
39 con_array_size = con_array_used = 0; in add_array_elt()
52 con_array_size = con_array_used = 0; in free_array_elts()