Home
last modified time | relevance | path

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

/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()
129 uint32_t code_point = get_supplementary(ch, utf16[i + 1u]); in ConvertUtf16ToUtf8() local
132 append((code_point >> 18) | 0xf0); in ConvertUtf16ToUtf8()
133 append(((code_point >> 12) & 0x3f) | 0x80); in ConvertUtf16ToUtf8()
134 append(((code_point >> 6) & 0x3f) | 0x80); in ConvertUtf16ToUtf8()
135 append((code_point & 0x3f) | 0x80); in ConvertUtf16ToUtf8()
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()
/art/test/ti-agent/
Dti_utf.h95 const uint32_t code_point = ((one & 0x0f) << 18) | ((two & 0x3f) << 12) in GetUtf16FromUtf8() local
101 surrogate_pair |= ((code_point >> 10) + 0xd7c0) & 0xffff; in GetUtf16FromUtf8()
103 surrogate_pair |= ((code_point & 0x03ff) + 0xdc00) << 16; in GetUtf16FromUtf8()
141 uint32_t code_point = get_supplementary(ch, utf16[i + 1u]); in ConvertUtf16ToUtf8() local
144 append((code_point >> 18) | 0xf0); in ConvertUtf16ToUtf8()
145 append(((code_point >> 12) & 0x3f) | 0x80); in ConvertUtf16ToUtf8()
146 append(((code_point >> 6) & 0x3f) | 0x80); in ConvertUtf16ToUtf8()
147 append((code_point & 0x3f) | 0x80); in ConvertUtf16ToUtf8()
/art/runtime/native/
Djava_lang_StringFactory.cc206 int code_point = 0; in StringFactory_newStringFromUtf8Bytes() local
236 code_point = b & (0x3f >> utf8_bytes_needed); in StringFactory_newStringFromUtf8Bytes()
250 code_point = 0; in StringFactory_newStringFromUtf8Bytes()
268 code_point = (code_point << 6) | (b & 0x3f); in StringFactory_newStringFromUtf8Bytes()
275 if (code_point < 0x10000) { in StringFactory_newStringFromUtf8Bytes()
276 v[s++] = (jchar) code_point; in StringFactory_newStringFromUtf8Bytes()
278 v[s++] = (jchar) ((code_point >> 10) + 0xd7c0); in StringFactory_newStringFromUtf8Bytes()
279 v[s++] = (jchar) ((code_point & 0x3ff) + 0xdc00); in StringFactory_newStringFromUtf8Bytes()
284 code_point = 0; in StringFactory_newStringFromUtf8Bytes()
/art/compiler/optimizing/
Dintrinsics_x86_64.cc1424 HInstruction* code_point = invoke->InputAt(1); in GenerateStringIndexOf() local
1425 if (code_point->IsIntConstant()) { in GenerateStringIndexOf()
1426 if (static_cast<uint32_t>(code_point->AsIntConstant()->GetValue()) > in GenerateStringIndexOf()
1436 } else if (code_point->GetType() != DataType::Type::kUint16) { in GenerateStringIndexOf()
Dintrinsics_x86.cc1205 HInstruction* code_point = invoke->InputAt(1); in GenerateStringIndexOf() local
1206 if (code_point->IsIntConstant()) { in GenerateStringIndexOf()
1207 if (static_cast<uint32_t>(code_point->AsIntConstant()->GetValue()) > in GenerateStringIndexOf()
1217 } else if (code_point->GetType() != DataType::Type::kUint16) { in GenerateStringIndexOf()
Dintrinsics_arm64.cc2108 HInstruction* code_point = invoke->InputAt(1); in GenerateVisitStringIndexOf() local
2109 if (code_point->IsIntConstant()) { in GenerateVisitStringIndexOf()
2110 if (static_cast<uint32_t>(code_point->AsIntConstant()->GetValue()) > 0xFFFFU) { in GenerateVisitStringIndexOf()
2119 } else if (code_point->GetType() != DataType::Type::kUint16) { in GenerateVisitStringIndexOf()
Dintrinsics_arm_vixl.cc1103 HInstruction* code_point = invoke->InputAt(1); in GenerateVisitStringIndexOf() local
1104 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()
/art/runtime/jni/
Djni_internal.cc190 const uint32_t code_point = ((ptr[0] & 0x0fu) << 18) | in operator ()() local
196 const uint32_t code_point_bits = code_point - 0x10000u; in operator ()()