• Home
  • Raw
  • Download

Lines Matching +full:2 +full:i

87     for (uint32_t i = 0; i < str.size(); ++i) {  in AppendValueToQuotedString()  local
88 const auto ch = static_cast<uint8_t>(str[i]); in AppendValueToQuotedString()
113 ++i; in AppendValueToQuotedString()
116 if (i + 2 < str.size() && // 2: Check 2 more characters in AppendValueToQuotedString()
117 …static_cast<uint8_t>(str[i + 1]) >= ALONE_SURROGATE_3B_SECOND_START && // 1: 1th character after ch in AppendValueToQuotedString()
118 … static_cast<uint8_t>(str[i + 1]) <= ALONE_SURROGATE_3B_SECOND_END && // 1: 1th character after ch in AppendValueToQuotedString()
119 … static_cast<uint8_t>(str[i + 2]) >= ALONE_SURROGATE_3B_THIRD_START && // 2: 2nd character after ch in AppendValueToQuotedString()
120 … static_cast<uint8_t>(str[i + 2]) <= ALONE_SURROGATE_3B_THIRD_END) { // 2: 2nd character after ch in AppendValueToQuotedString()
122 … reinterpret_cast<const uint8_t*>(str.c_str() + i), 3); // 3: Parse 3 characters in AppendValueToQuotedString()
125 i += 2; // 2 : Skip 2 characters in AppendValueToQuotedString()
149 for (uint32_t i = 0; i < sp.size(); ++i) { in AppendValueToQuotedString() local
150 const auto ch = sp[i]; in AppendValueToQuotedString()
175 ++i; in AppendValueToQuotedString()
178 if (i + 2 < sp.size() && // 2: Check 2 more characters in AppendValueToQuotedString()
179 sp[i + 1] >= ALONE_SURROGATE_3B_SECOND_START && // 1: 1st character after ch in AppendValueToQuotedString()
180 sp[i + 1] <= ALONE_SURROGATE_3B_SECOND_END && // 1: 1st character after ch in AppendValueToQuotedString()
181 sp[i + 2] >= ALONE_SURROGATE_3B_THIRD_START && // 2: 2nd character after ch in AppendValueToQuotedString()
182 sp[i + 2] <= ALONE_SURROGATE_3B_THIRD_END) { // 2: 2nd character after ch in AppendValueToQuotedString()
183 … auto unicodeRes = utf_helper::ConvertUtf8ToUnicodeChar(sp.data() + i, 3); // 3: Parse 3 characters in AppendValueToQuotedString()
186 i += 2; // 2 : Skip 2 characters in AppendValueToQuotedString()