Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/
DResourceTypes.cpp2931 size_t charsWritten = 0; in getBcp47Locale() local
2936 charsWritten += 3; in getBcp47Locale()
2938 charsWritten += unpackLanguage(str); in getBcp47Locale()
2943 if (charsWritten > 0) { in getBcp47Locale()
2944 str[charsWritten++] = '-'; in getBcp47Locale()
2946 memcpy(str + charsWritten, localeScript, sizeof(localeScript)); in getBcp47Locale()
2947 charsWritten += sizeof(localeScript); in getBcp47Locale()
2951 if (charsWritten > 0) { in getBcp47Locale()
2952 str[charsWritten++] = '-'; in getBcp47Locale()
2954 charsWritten += unpackRegion(str + charsWritten); in getBcp47Locale()
[all …]