Searched refs:srcChar (Results 1 – 2 of 2) sorted by relevance
76 void Utf32CodePointToUtf8(uint8_t* dstP, char32_t srcChar, size_t bytes) in Utf32CodePointToUtf8() argument81 srcChar >>= UTF8_OFFSET; in Utf32CodePointToUtf8()86 srcChar >>= UTF8_OFFSET; in Utf32CodePointToUtf8()91 srcChar >>= UTF8_OFFSET; in Utf32CodePointToUtf8()95 *--dstP = static_cast<uint8_t>(srcChar | UTF8_FIRST_BYTE_MARK[bytes]); in Utf32CodePointToUtf8()99 size_t Utf32CodePointUtf8Length(char32_t srcChar) in Utf32CodePointUtf8Length() argument101 if (srcChar < ONE_BYTE_UTF8) { in Utf32CodePointUtf8Length()103 } else if (srcChar < TWO_BYTES_UTF8) { in Utf32CodePointUtf8Length()105 } else if (srcChar < THREE_BYTES_UTF8) { in Utf32CodePointUtf8Length()106 if ((srcChar < UNICODE_RESERVED_START) || (srcChar > UNICODE_RESERVED_END)) { in Utf32CodePointUtf8Length()[all …]
914 char srcChar = MIN_SHORT_OCTET + 1; variable915 mmsDecodeBuffer.pduBuffer_[mmsDecodeBuffer.curPosition_] = srcChar;917 mmsDecodeBuffer.pduBuffer_[mmsDecodeBuffer.curPosition_] = srcChar + 1;923 mmsDecodeBuffer.pduBuffer_[mmsDecodeBuffer.curPosition_] = srcChar;925 mmsDecodeBuffer.pduBuffer_[mmsDecodeBuffer.curPosition_] = srcChar + 1;