Searched refs:code_point (Results 1 – 10 of 10) 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()
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()
284 const uint32_t code_point = (ch << 10) + ch2 - 0x035fdc00; in ConvertUtf16ToModifiedUtf8_reference() local285 *utf8_out++ = (code_point >> 18) | 0xf0; in ConvertUtf16ToModifiedUtf8_reference()286 *utf8_out++ = ((code_point >> 12) & 0x3f) | 0x80; in ConvertUtf16ToModifiedUtf8_reference()287 *utf8_out++ = ((code_point >> 6) & 0x3f) | 0x80; in ConvertUtf16ToModifiedUtf8_reference()288 *utf8_out++ = (code_point & 0x3f) | 0x80; in ConvertUtf16ToModifiedUtf8_reference()309 static void codePointToSurrogatePair(uint32_t code_point, uint16_t &first, uint16_t &second) { in codePointToSurrogatePair() argument310 first = (code_point >> 10) + 0xd7c0; in codePointToSurrogatePair()311 second = (code_point & 0x03ff) + 0xdc00; in codePointToSurrogatePair()
155 const uint32_t code_point = (ch << 10) + ch2 - 0x035fdc00; in ConvertUtf16ToModifiedUtf8() local156 *utf8_out++ = (code_point >> 18) | 0xf0; in ConvertUtf16ToModifiedUtf8()157 *utf8_out++ = ((code_point >> 12) & 0x3f) | 0x80; in ConvertUtf16ToModifiedUtf8()158 *utf8_out++ = ((code_point >> 6) & 0x3f) | 0x80; in ConvertUtf16ToModifiedUtf8()159 *utf8_out++ = (code_point & 0x3f) | 0x80; in ConvertUtf16ToModifiedUtf8()
1775 HInstruction* code_point = invoke->InputAt(1); in GenerateStringIndexOf() local1776 if (code_point->IsIntConstant()) { in GenerateStringIndexOf()1777 if (!IsUint<16>(code_point->AsIntConstant()->GetValue())) { in GenerateStringIndexOf()1787 } else if (code_point->GetType() != DataType::Type::kUint16) { in GenerateStringIndexOf()
1695 HInstruction* code_point = invoke->InputAt(1); in GenerateStringIndexOf() local1696 if (code_point->IsIntConstant()) { in GenerateStringIndexOf()1697 if (static_cast<uint32_t>(code_point->AsIntConstant()->GetValue()) > in GenerateStringIndexOf()1707 } else if (code_point->GetType() != DataType::Type::kUint16) { in GenerateStringIndexOf()
1721 HInstruction* code_point = invoke->InputAt(1); in GenerateVisitStringIndexOf() local1722 if (code_point->IsIntConstant()) { in GenerateVisitStringIndexOf()1723 if (static_cast<uint32_t>(code_point->AsIntConstant()->GetValue()) > 0xFFFFU) { in GenerateVisitStringIndexOf()1732 } else if (code_point->GetType() != DataType::Type::kUint16) { in GenerateVisitStringIndexOf()
2205 HInstruction* code_point = invoke->InputAt(1); in GenerateStringIndexOf() local2206 if (code_point->IsIntConstant()) { in GenerateStringIndexOf()2207 if (!IsUint<16>(code_point->AsIntConstant()->GetValue())) { in GenerateStringIndexOf()2217 } else if (code_point->GetType() != DataType::Type::kUint16) { in GenerateStringIndexOf()
1969 HInstruction* code_point = invoke->InputAt(1); in GenerateVisitStringIndexOf() local1970 if (code_point->IsIntConstant()) { in GenerateVisitStringIndexOf()1971 if (static_cast<uint32_t>(Int32ConstantFrom(code_point)) > in GenerateVisitStringIndexOf()1981 } else if (code_point->GetType() != DataType::Type::kUint16) { in GenerateVisitStringIndexOf()
1526 HInstruction* code_point = invoke->InputAt(1); in GenerateStringIndexOf() local1527 if (code_point->IsIntConstant()) { in GenerateStringIndexOf()1528 if (static_cast<uint32_t>(code_point->AsIntConstant()->GetValue()) > in GenerateStringIndexOf()1538 } else if (code_point->GetType() != DataType::Type::kUint16) { in GenerateStringIndexOf()