Home
last modified time | relevance | path

Searched refs:code_point (Results 1 – 8 of 8) sorted by relevance

/art/test/ti-agent/
Dti_utf.h94 const uint32_t code_point = ((one & 0x0f) << 18) | ((two & 0x3f) << 12) in GetUtf16FromUtf8() local
100 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() local
140 *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()
/art/libdexfile/dex/
Dutf-inl.h59 const uint32_t code_point = ((one & 0x0f) << 18) | ((two & 0x3f) << 12) in GetUtf16FromUtf8() local
65 surrogate_pair |= ((code_point >> 10) + 0xd7c0) & 0xffff; in GetUtf16FromUtf8()
67 surrogate_pair |= ((code_point & 0x03ff) + 0xdc00) << 16; in GetUtf16FromUtf8()
Dutf_test.cc286 const uint32_t code_point = (ch << 10) + ch2 - 0x035fdc00; in ConvertUtf16ToModifiedUtf8_reference() local
287 *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() argument
312 first = (code_point >> 10) + 0xd7c0; in codePointToSurrogatePair()
313 second = (code_point & 0x03ff) + 0xdc00; in codePointToSurrogatePair()
Dutf.cc154 const uint32_t code_point = (ch << 10) + ch2 - 0x035fdc00; in ConvertUtf16ToModifiedUtf8() local
155 *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()
/art/compiler/optimizing/
Dintrinsics_x86_64.cc1398 HInstruction* code_point = invoke->InputAt(1); in GenerateStringIndexOf() local
1399 if (code_point->IsIntConstant()) { in GenerateStringIndexOf()
1400 if (static_cast<uint32_t>(code_point->AsIntConstant()->GetValue()) > in GenerateStringIndexOf()
1410 } else if (code_point->GetType() != DataType::Type::kUint16) { in GenerateStringIndexOf()
Dintrinsics_arm_vixl.cc1672 HInstruction* code_point = invoke->InputAt(1); in GenerateVisitStringIndexOf() local
1673 if (code_point->IsIntConstant()) { in GenerateVisitStringIndexOf()
1674 if (static_cast<uint32_t>(Int32ConstantFrom(code_point)) > in GenerateVisitStringIndexOf()
1684 } else if (code_point->GetType() != DataType::Type::kUint16) { in GenerateVisitStringIndexOf()
Dintrinsics_x86.cc1201 HInstruction* code_point = invoke->InputAt(1); in GenerateStringIndexOf() local
1202 if (code_point->IsIntConstant()) { in GenerateStringIndexOf()
1203 if (static_cast<uint32_t>(code_point->AsIntConstant()->GetValue()) > in GenerateStringIndexOf()
1213 } else if (code_point->GetType() != DataType::Type::kUint16) { in GenerateStringIndexOf()
Dintrinsics_arm64.cc1610 HInstruction* code_point = invoke->InputAt(1); in GenerateVisitStringIndexOf() local
1611 if (code_point->IsIntConstant()) { in GenerateVisitStringIndexOf()
1612 if (static_cast<uint32_t>(code_point->AsIntConstant()->GetValue()) > 0xFFFFU) { in GenerateVisitStringIndexOf()
1621 } else if (code_point->GetType() != DataType::Type::kUint16) { in GenerateVisitStringIndexOf()