Home
last modified time | relevance | path

Searched refs:strLen (Results 1 – 8 of 8) sorted by relevance

/frameworks/av/media/libstagefright/foundation/
DAStringUtils.cpp30 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()
55 if (ix + len > strLen) { in MatchesGlob()
58 const char *tail = str + strLen - len; in MatchesGlob()
62 while (ix + len <= strLen && Compare(str + ix, pattern, len, ignoreCase)) { in MatchesGlob()
65 if (ix + len > strLen) { in MatchesGlob()
73 return ix == strLen; in MatchesGlob()
/frameworks/base/libs/androidfw/tests/
DIdmap_test.cpp80 size_t strLen; in TEST_F() local
81 const char16_t* targetStr16 = pool->stringAt(val.data, &strLen); in TEST_F()
83 ASSERT_EQ(String16("test2"), String16(targetStr16, strLen)); in TEST_F()
95 targetStr16 = pool->stringAt(val.data, &strLen); in TEST_F()
97 ASSERT_EQ(String16("test2-overlay"), String16(targetStr16, strLen)); in TEST_F()
/frameworks/av/include/media/stagefright/foundation/
DAStringUtils.h31 const char *glob, size_t globLen, const char *str, size_t strLen, bool ignoreCase);
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
DTimeZoneFilterTypeAdapter.java274 final int strLen = string.length(); in isStartingInitialsFor() local
278 for (int i = 0; i < strLen; i++) { in isStartingInitialsFor()
/frameworks/base/core/jni/
Dandroid_util_AssetManager.cpp1885 size_t strLen = 0; in android_content_AssetManager_getArrayStringResource() local
1900 const char* str8 = pool->string8At(value.data, &strLen); in android_content_AssetManager_getArrayStringResource()
1904 const char16_t* str16 = pool->stringAt(value.data, &strLen); in android_content_AssetManager_getArrayStringResource()
1906 strLen); in android_content_AssetManager_getArrayStringResource()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp857 ssize_t ResStringPool::indexOfString(const char16_t* str, size_t strLen) const in indexOfString()
867 ALOGI("indexOfString UTF-8: %s", String8(str, strLen).string()); in indexOfString()
878 char16_t* convBuffer = (char16_t*)malloc(strLen+4); in indexOfString()
888 char16_t* end = utf8_to_utf16_n(s, len, convBuffer, strLen+3); in indexOfString()
890 c = strzcmp16(convBuffer, end-convBuffer, str, strLen); in indexOfString()
916 String8 str8(str, strLen); in indexOfString()
934 ALOGI("indexOfString UTF-16: %s", String8(str, strLen).string()); in indexOfString()
946 int c = s ? strzcmp16(s, len, str, strLen) : -1; in indexOfString()
972 if (s && strLen == len && strzcmp16(s, len, str, strLen) == 0) { in indexOfString()
/frameworks/base/include/androidfw/
DResourceTypes.h511 ssize_t indexOfString(const char16_t* str, size_t strLen) const;
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...