Searched refs:charsWritten (Results 1 – 1 of 1) sorted by relevance
2819 size_t charsWritten = 0; in getBcp47Locale() local2824 charsWritten += 3; in getBcp47Locale()2826 charsWritten += unpackLanguage(str); in getBcp47Locale()2831 if (charsWritten > 0) { in getBcp47Locale()2832 str[charsWritten++] = '-'; in getBcp47Locale()2834 memcpy(str + charsWritten, localeScript, sizeof(localeScript)); in getBcp47Locale()2835 charsWritten += sizeof(localeScript); in getBcp47Locale()2839 if (charsWritten > 0) { in getBcp47Locale()2840 str[charsWritten++] = '-'; in getBcp47Locale()2842 charsWritten += unpackRegion(str + charsWritten); in getBcp47Locale()[all …]