Home
last modified time | relevance | path

Searched refs:regex1 (Results 1 – 3 of 3) sorted by relevance

/external/libphonenumber/libphonenumber/test/com/google/i18n/phonenumbers/
DRegexCacheTest.java35 final String regex1 = "[1-5]"; in testRegexInsertion() local
39 regexCache.getPatternForRegex(regex1); in testRegexInsertion()
40 assertTrue(regexCache.containsRegex(regex1)); in testRegexInsertion()
44 assertTrue(regexCache.containsRegex(regex1)); in testRegexInsertion()
46 regexCache.getPatternForRegex(regex1); in testRegexInsertion()
47 assertTrue(regexCache.containsRegex(regex1)); in testRegexInsertion()
53 assertTrue(regexCache.containsRegex(regex1)); in testRegexInsertion()
/external/selinux/libselinux/src/
Dregex.c233 int regex_cmp(struct regex_data *regex1, struct regex_data *regex2) in regex_cmp() argument
237 rc = pcre2_pattern_info(regex1->regex, PCRE2_INFO_SIZE, &len1); in regex_cmp()
241 if (len1 != len2 || memcmp(regex1->regex, regex2->regex, len1)) in regex_cmp()
461 int regex_cmp(struct regex_data *regex1, struct regex_data *regex2) in regex_cmp() argument
465 rc = pcre_fullinfo(regex1->regex, NULL, PCRE_INFO_SIZE, &len1); in regex_cmp()
469 if (len1 != len2 || memcmp(regex1->regex, regex2->regex, len1)) in regex_cmp()
Dregex.h148 int regex_cmp(struct regex_data *regex1, struct regex_data *regex2) hidden;