Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/foundation/
DAStringUtils.cpp23 int AStringUtils::Compare(const char *a, const char *b, size_t len, bool ignoreCase) { in Compare() argument
25 return ignoreCase ? strncasecmp(a, b, len) : strncmp(a, b, len); in Compare()
30 const char *glob, size_t globLen, const char *str, size_t strLen, bool ignoreCase) { in MatchesGlob() argument
38 if (strLen < globIx || Compare(str, glob, globIx /* len */, ignoreCase)) { in MatchesGlob()
59 return !Compare(tail, pattern, len, ignoreCase); in MatchesGlob()
62 while (ix + len <= strLen && Compare(str + ix, pattern, len, ignoreCase)) { in MatchesGlob()
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
DAStringUtils.h26 static int Compare(const char *a, const char *b, size_t len, bool ignoreCase);
31 const char *glob, size_t globLen, const char *str, size_t strLen, bool ignoreCase);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierResolver.java1031 private static boolean equals(String a, String b, boolean ignoreCase) { in equals() argument
1034 return (ignoreCase) ? a.equalsIgnoreCase(b) : a.equals(b); in equals()