Home
last modified time | relevance | path

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

/frameworks/av/media/module/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.cpp216 const char* pathStr, size_t strLen) { in getPathDataFromAsciiString() argument
225 while (isspace(pathStr[start]) && start < strLen) { in getPathDataFromAsciiString()
228 if (start == strLen) { in getPathDataFromAsciiString()
235 while (end < strLen) { in getPathDataFromAsciiString()
236 end = nextStart(pathStr, strLen, end); in getPathDataFromAsciiString()
253 if ((end - start) == 1 && start < strLen) { in getPathDataFromAsciiString()
288 size_t strLen) { in parseAsciiStringForSkPath() argument
290 getPathDataFromAsciiString(&pathData, result, pathStr, strLen); in parseAsciiStringForSkPath()
/frameworks/av/media/module/foundation/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/libs/androidfw/
DResourceTypes.cpp1067 size_t strLen) const in indexOfString()
1075 ALOGI("indexOfString UTF-8: %s", String8(str, strLen).c_str()); in indexOfString()
1086 size_t convBufferLen = strLen + 4; in indexOfString()
1102 c = strzcmp16(convBuffer.data(), end-convBuffer.data(), str, strLen); in indexOfString()
1124 String8 str8(str, strLen); in indexOfString()
1160 ALOGI("indexOfString UTF-16: %s", String8(str, strLen).c_str()); in indexOfString()
1175 int c = s.has_value() ? strzcmp16(s->data(), s->size(), str, strLen) : -1; in indexOfString()
1199 if (auto it = mIndexLookupCache->second.find({str, strLen}); in indexOfString()
1216 if (strLen == s->size() && strzcmp16(s->data(), s->size(), str, strLen) == 0) { in indexOfString()
/frameworks/native/libs/binder/
DParcel.cpp1242 const size_t strLen= str.length(); in writeUtf8AsUtf16() local
1243 const ssize_t utf16Len = utf8_to_utf16_length(strData, strLen); in writeUtf8AsUtf16()
1259 utf8_to_utf16(strData, strLen, (char16_t*)dst, (size_t) utf16Len + 1); in writeUtf8AsUtf16()
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTypes.h547 base::expected<size_t, NullOrIOError> indexOfString(const char16_t* str, size_t strLen) const;