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