Home
last modified time | relevance | path

Searched refs:strLen (Results 1 – 10 of 10) 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/hwui/
DPathParser.cpp166 const char* pathStr, size_t strLen) { in getPathDataFromAsciiString() argument
175 while (isspace(pathStr[start]) && start < strLen) { in getPathDataFromAsciiString()
178 if (start == strLen) { in getPathDataFromAsciiString()
185 while (end < strLen) { in getPathDataFromAsciiString()
186 end = nextStart(pathStr, strLen, end); in getPathDataFromAsciiString()
205 if ((end - start) == 1 && start < strLen) { in getPathDataFromAsciiString()
238 …arseAsciiStringForSkPath(SkPath* skPath, ParseResult* result, const char* pathStr, size_t strLen) { in parseAsciiStringForSkPath() argument
240 getPathDataFromAsciiString(&pathData, result, pathStr, strLen); in parseAsciiStringForSkPath()
/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.cpp1960 size_t strLen = 0; in android_content_AssetManager_getArrayStringResource() local
1975 const char* str8 = pool->string8At(value.data, &strLen); in android_content_AssetManager_getArrayStringResource()
1979 const char16_t* str16 = pool->stringAt(value.data, &strLen); in android_content_AssetManager_getArrayStringResource()
1981 strLen); in android_content_AssetManager_getArrayStringResource()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp859 ssize_t ResStringPool::indexOfString(const char16_t* str, size_t strLen) const in indexOfString()
869 ALOGI("indexOfString UTF-8: %s", String8(str, strLen).string()); in indexOfString()
880 char16_t* convBuffer = (char16_t*)malloc(strLen+4); in indexOfString()
890 char16_t* end = utf8_to_utf16_n(s, len, convBuffer, strLen+3); in indexOfString()
892 c = strzcmp16(convBuffer, end-convBuffer, str, strLen); in indexOfString()
918 String8 str8(str, strLen); in indexOfString()
936 ALOGI("indexOfString UTF-16: %s", String8(str, strLen).string()); in indexOfString()
948 int c = s ? strzcmp16(s, len, str, strLen) : -1; in indexOfString()
974 if (s && strLen == len && strzcmp16(s, len, str, strLen) == 0) { in indexOfString()
/frameworks/native/libs/binder/
DParcel.cpp785 const size_t strLen= str.length(); in writeUtf8AsUtf16() local
786 const ssize_t utf16Len = utf8_to_utf16_length(strData, strLen); in writeUtf8AsUtf16()
802 utf8_to_utf16(strData, strLen, (char16_t*)dst); in writeUtf8AsUtf16()
/frameworks/base/include/androidfw/
DResourceTypes.h517 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/ ...