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/internal/
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.c242 int regex_cmp(struct regex_data *regex1, struct regex_data *regex2) in regex_cmp() argument
246 rc = pcre2_pattern_info(regex1->regex, PCRE2_INFO_SIZE, &len1); 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
484 rc = pcre_fullinfo(regex1->regex, NULL, PCRE_INFO_SIZE, &len1); in regex_cmp()
488 if (len1 != len2 || memcmp(regex1->regex, regex2->regex, len1)) in regex_cmp()
Dregex.h153 int regex_cmp(struct regex_data *regex1, struct regex_data *regex2) hidden;