Searched refs:aroundChar (Results 1 – 4 of 4) sorted by relevance
37 char16_t aroundChar = 0; in GetGraphemeClusterLength() local40 aroundChar = text[std::max(0, extend - 1)]; in GetGraphemeClusterLength()44 … aroundChar = text[std::min(text.length() ? static_cast<int32_t>(text.length()) - 1 : 0, extend)]; in GetGraphemeClusterLength()47 return StringUtils::NotInUtf16Bmp(aroundChar) ? 2 : 1; in GetGraphemeClusterLength()
380 char16_t aroundChar = 0; local383 aroundChar = text[std::max(0, extend - 1)];387 … aroundChar = text[std::min(text.length() ? static_cast<int32_t>(text.length()) - 1 : 0, extend)];390 return StringUtils::NotInUtf16Bmp(aroundChar) ? 2 : 1;
342 char16_t aroundChar = 0; in GetGraphemeClusterLength() local345 aroundChar = text[std::max(0, extend - 1)]; in GetGraphemeClusterLength()349 aroundChar = text[std::min(static_cast<int32_t>(text.length() - 1), extend)]; in GetGraphemeClusterLength()352 return StringUtils::NotInUtf16Bmp(aroundChar) ? 2 : 1; in GetGraphemeClusterLength()
2687 char16_t aroundChar = 0; in GetGraphemeClusterLength() local2690 aroundChar = text[std::max(0, extend - 1)]; in GetGraphemeClusterLength()2694 aroundChar = text[std::min(static_cast<int32_t>(text.length() - 1), extend)]; in GetGraphemeClusterLength()2697 return StringUtils::NotInUtf16Bmp(aroundChar) ? 2 : 1; in GetGraphemeClusterLength()