Searched refs:regex_len (Results 1 – 2 of 2) sorted by relevance
41 size_t regex_len; in process_file() local89 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()
2443 size_t start, finish, regex_len, type_len, context_len; in semanage_fc_sort() local2550 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()