Searched refs:regex2 (Results 1 – 3 of 3) sorted by relevance
/external/libphonenumber/libphonenumber/test/com/google/i18n/phonenumbers/internal/ |
D | RegexCacheTest.java | 36 final String regex2 = "(?:12|34)"; in testRegexInsertion() local 42 regexCache.getPatternForRegex(regex2); in testRegexInsertion() 43 assertTrue(regexCache.containsRegex(regex2)); in testRegexInsertion() 52 assertFalse(regexCache.containsRegex(regex2)); in testRegexInsertion()
|
/external/selinux/libselinux/src/ |
D | regex.c | 242 int regex_cmp(struct regex_data *regex1, struct regex_data *regex2) in regex_cmp() argument 248 rc = pcre2_pattern_info(regex2->regex, PCRE2_INFO_SIZE, &len2); in regex_cmp() 250 if (len1 != len2 || memcmp(regex1->regex, regex2->regex, len1)) in regex_cmp() 480 int regex_cmp(struct regex_data *regex1, struct regex_data *regex2) in regex_cmp() argument 486 rc = pcre_fullinfo(regex2->regex, NULL, PCRE_INFO_SIZE, &len2); in regex_cmp() 488 if (len1 != len2 || memcmp(regex1->regex, regex2->regex, len1)) in regex_cmp()
|
D | regex.h | 153 int regex_cmp(struct regex_data *regex1, struct regex_data *regex2) hidden;
|