Home
last modified time | relevance | path

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

/external/selinux/libselinux/utils/
Dsefcontext_compile.c41 size_t regex_len; in process_file() local
89 regex_len = strlen(regex); in process_file()
90 cp = anchored_regex = malloc(regex_len + 3); in process_file()
96 memcpy(cp, regex, regex_len); in process_file()
97 cp += regex_len; in process_file()
/external/selinux/libsemanage/src/
Dsemanage_store.c2443 size_t start, finish, regex_len, type_len, context_len; in semanage_fc_sort() local
2550 regex_len = finish - start; in semanage_fc_sort()
2552 if (regex_len == 0) { in semanage_fc_sort()
2560 temp->path = (char *)strndup(&line_buf[start], regex_len); in semanage_fc_sort()
2637 temp->path_len = regex_len; in semanage_fc_sort()
2638 temp->effective_len = regex_len - escape_chars; in semanage_fc_sort()