Searched refs:anchored_regex (Results 1 – 3 of 3) sorted by relevance
/external/selinux/libselinux/utils/ |
D | sefcontext_compile.c | 35 char *cp, *anchored_regex; in process_file() local 90 cp = anchored_regex = malloc(regex_len + 3); in process_file() 103 re = pcre_compile(anchored_regex, PCRE_DOTALL, &err, &erroff, NULL); in process_file() 105 … fprintf(stderr, "PCRE compilation failed for %s at offset %d: %s\n", anchored_regex, erroff, err); in process_file() 112 fprintf(stderr, "PCRE study failed for %s: %s\n", anchored_regex, err); in process_file() 115 free(anchored_regex); in process_file()
|
/external/libselinux/src/ |
D | label_file.c | 231 char *reg_buf, *anchored_regex, *cp; in compile_regex() local 248 cp = anchored_regex = (char *) malloc(len + 3); in compile_regex() 249 if (!anchored_regex) in compile_regex() 259 spec->regex = pcre_compile(anchored_regex, PCRE_DOTALL, &tmperrbuf, &erroff, NULL); in compile_regex() 260 free(anchored_regex); in compile_regex()
|
/external/selinux/libselinux/src/ |
D | label_file.c | 106 char *reg_buf, *anchored_regex, *cp; in compile_regex() local 121 cp = anchored_regex = malloc(len + 3); in compile_regex() 122 if (!anchored_regex) in compile_regex() 132 spec->regex = pcre_compile(anchored_regex, PCRE_DOTALL, &tmperrbuf, &erroff, NULL); in compile_regex() 133 free(anchored_regex); in compile_regex()
|