Home
last modified time | relevance | path

Searched refs:c2 (Results 1 - 2 of 2) sorted by relevance

/commonlibrary/ets_utils/js_api_module/buffer/
H A Dconverter.cpp33 uint8_t c2 = data[++index]; // The second byte in Utf8ToUtf16BEToData() local
40 ((c2 & LOWER_6_BITS_MASK) << (2 * UTF8_VALID_BITS)) | in Utf8ToUtf16BEToData()
75 uint8_t c2 = data[++i]; // The second byte in Utf8ToUtf16BE() local
81 ((c2 & LOWER_6_BITS_MASK) << UTF8_VALID_BITS) | in Utf8ToUtf16BE()
88 uint8_t c2 = data[++i]; // The second byte in Utf8ToUtf16BE() local
92 (c2 & LOWER_6_BITS_MASK); in Utf8ToUtf16BE()
/commonlibrary/ets_utils/platform/ohos/
H A Dutil_helper.cpp189 uint8_t c2 = data[++i]; in Utf8ToUtf16BE() local
193 ((c2 & LOWER_6_BITS_MASK) << (2 * UTF8_VALID_BITS)) | // 2:multiple in Utf8ToUtf16BE()
205 uint8_t c2 = data[++i]; in Utf8ToUtf16BE() local
208 ((c2 & LOWER_6_BITS_MASK) << UTF8_VALID_BITS) | (c3 & LOWER_6_BITS_MASK); in Utf8ToUtf16BE()
214 uint8_t c2 = data[++i]; in Utf8ToUtf16BE() local
215 uint32_t codePoint = ((c1 & LOWER_5_BITS_MASK) << UTF8_VALID_BITS) | (c2 & LOWER_6_BITS_MASK); in Utf8ToUtf16BE()

Completed in 2 milliseconds