Searched refs:code_point (Results 1 – 9 of 9) sorted by relevance
94 const uint32_t code_point = ((one & 0x0f) << 18) | ((two & 0x3f) << 12) in GetUtf16FromUtf8() local100 surrogate_pair |= ((code_point >> 10) + 0xd7c0) & 0xffff; in GetUtf16FromUtf8()102 surrogate_pair |= ((code_point & 0x03ff) + 0xdc00) << 16; in GetUtf16FromUtf8()139 const uint32_t code_point = (ch << 10) + ch2 - 0x035fdc00; in ConvertUtf16ToModifiedUtf8() local140 *utf8_out++ = (code_point >> 18) | 0xf0; in ConvertUtf16ToModifiedUtf8()141 *utf8_out++ = ((code_point >> 12) & 0x3f) | 0x80; in ConvertUtf16ToModifiedUtf8()142 *utf8_out++ = ((code_point >> 6) & 0x3f) | 0x80; in ConvertUtf16ToModifiedUtf8()143 *utf8_out++ = (code_point & 0x3f) | 0x80; in ConvertUtf16ToModifiedUtf8()
176 int code_point = 0; in StringFactory_newStringFromUtf8Bytes() local206 code_point = b & (0x3f >> utf8_bytes_needed); in StringFactory_newStringFromUtf8Bytes()220 code_point = 0; in StringFactory_newStringFromUtf8Bytes()238 code_point = (code_point << 6) | (b & 0x3f); in StringFactory_newStringFromUtf8Bytes()245 if (code_point < 0x10000) { in StringFactory_newStringFromUtf8Bytes()246 v[s++] = (jchar) code_point; in StringFactory_newStringFromUtf8Bytes()248 v[s++] = (jchar) ((code_point >> 10) + 0xd7c0); in StringFactory_newStringFromUtf8Bytes()249 v[s++] = (jchar) ((code_point & 0x3ff) + 0xdc00); in StringFactory_newStringFromUtf8Bytes()254 code_point = 0; in StringFactory_newStringFromUtf8Bytes()
59 const uint32_t code_point = ((one & 0x0f) << 18) | ((two & 0x3f) << 12) in GetUtf16FromUtf8() local65 surrogate_pair |= ((code_point >> 10) + 0xd7c0) & 0xffff; in GetUtf16FromUtf8()67 surrogate_pair |= ((code_point & 0x03ff) + 0xdc00) << 16; in GetUtf16FromUtf8()
286 const uint32_t code_point = (ch << 10) + ch2 - 0x035fdc00; in ConvertUtf16ToModifiedUtf8_reference() local287 *utf8_out++ = (code_point >> 18) | 0xf0; in ConvertUtf16ToModifiedUtf8_reference()288 *utf8_out++ = ((code_point >> 12) & 0x3f) | 0x80; in ConvertUtf16ToModifiedUtf8_reference()289 *utf8_out++ = ((code_point >> 6) & 0x3f) | 0x80; in ConvertUtf16ToModifiedUtf8_reference()290 *utf8_out++ = (code_point & 0x3f) | 0x80; in ConvertUtf16ToModifiedUtf8_reference()311 static void codePointToSurrogatePair(uint32_t code_point, uint16_t &first, uint16_t &second) { in codePointToSurrogatePair() argument312 first = (code_point >> 10) + 0xd7c0; in codePointToSurrogatePair()313 second = (code_point & 0x03ff) + 0xdc00; in codePointToSurrogatePair()
154 const uint32_t code_point = (ch << 10) + ch2 - 0x035fdc00; in ConvertUtf16ToModifiedUtf8() local155 *utf8_out++ = (code_point >> 18) | 0xf0; in ConvertUtf16ToModifiedUtf8()156 *utf8_out++ = ((code_point >> 12) & 0x3f) | 0x80; in ConvertUtf16ToModifiedUtf8()157 *utf8_out++ = ((code_point >> 6) & 0x3f) | 0x80; in ConvertUtf16ToModifiedUtf8()158 *utf8_out++ = (code_point & 0x3f) | 0x80; in ConvertUtf16ToModifiedUtf8()
1340 HInstruction* code_point = invoke->InputAt(1); in GenerateStringIndexOf() local1341 if (code_point->IsIntConstant()) { in GenerateStringIndexOf()1342 if (static_cast<uint32_t>(code_point->AsIntConstant()->GetValue()) > in GenerateStringIndexOf()1352 } else if (code_point->GetType() != DataType::Type::kUint16) { in GenerateStringIndexOf()
1158 HInstruction* code_point = invoke->InputAt(1); in GenerateStringIndexOf() local1159 if (code_point->IsIntConstant()) { in GenerateStringIndexOf()1160 if (static_cast<uint32_t>(code_point->AsIntConstant()->GetValue()) > in GenerateStringIndexOf()1170 } else if (code_point->GetType() != DataType::Type::kUint16) { in GenerateStringIndexOf()
1908 HInstruction* code_point = invoke->InputAt(1); in GenerateVisitStringIndexOf() local1909 if (code_point->IsIntConstant()) { in GenerateVisitStringIndexOf()1910 if (static_cast<uint32_t>(code_point->AsIntConstant()->GetValue()) > 0xFFFFU) { in GenerateVisitStringIndexOf()1919 } else if (code_point->GetType() != DataType::Type::kUint16) { in GenerateVisitStringIndexOf()
1103 HInstruction* code_point = invoke->InputAt(1); in GenerateVisitStringIndexOf() local1104 if (code_point->IsIntConstant()) { in GenerateVisitStringIndexOf()1105 if (static_cast<uint32_t>(Int32ConstantFrom(code_point)) > in GenerateVisitStringIndexOf()1115 } else if (code_point->GetType() != DataType::Type::kUint16) { in GenerateVisitStringIndexOf()