Home
last modified time | relevance | path

Searched refs:strLen (Results 1 – 7 of 7) 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.cpp218 const char* pathStr, size_t strLen) { in getPathDataFromAsciiString() argument
227 while (isspace(pathStr[start]) && start < strLen) { in getPathDataFromAsciiString()
230 if (start == strLen) { in getPathDataFromAsciiString()
237 while (end < strLen) { in getPathDataFromAsciiString()
238 end = nextStart(pathStr, strLen, end); in getPathDataFromAsciiString()
255 if ((end - start) == 1 && start < strLen) { in getPathDataFromAsciiString()
290 size_t strLen) { in parseAsciiStringForSkPath() argument
292 getPathDataFromAsciiString(&pathData, result, pathStr, strLen); in parseAsciiStringForSkPath()
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
DAStringUtils.h31 const char *glob, size_t globLen, const char *str, size_t strLen, bool ignoreCase);
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/javanano/src/main/java/com/google/protobuf/nano/
DMessageNanoPrinter.java240 int strLen = str.length(); in escapeString() local
241 StringBuilder b = new StringBuilder(strLen); in escapeString()
242 for (int i = 0; i < strLen; i++) { in escapeString()
/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.cpp923 ssize_t ResStringPool::indexOfString(const char16_t* str, size_t strLen) const in indexOfString()
933 ALOGI("indexOfString UTF-8: %s", String8(str, strLen).string()); in indexOfString()
944 size_t convBufferLen = strLen + 4; in indexOfString()
956 c = strzcmp16(convBuffer, end-convBuffer, str, strLen); in indexOfString()
982 String8 str8(str, strLen); in indexOfString()
1000 ALOGI("indexOfString UTF-16: %s", String8(str, strLen).string()); in indexOfString()
1012 int c = s ? strzcmp16(s, len, str, strLen) : -1; in indexOfString()
1038 if (s && strLen == len && strzcmp16(s, len, str, strLen) == 0) { in indexOfString()
/frameworks/native/libs/binder/
DParcel.cpp810 const size_t strLen= str.length(); in writeUtf8AsUtf16() local
811 const ssize_t utf16Len = utf8_to_utf16_length(strData, strLen); in writeUtf8AsUtf16()
827 utf8_to_utf16(strData, strLen, (char16_t*)dst, (size_t) utf16Len + 1); in writeUtf8AsUtf16()