Searched refs:firstByte (Results 1 – 4 of 4) sorted by relevance
65 /* static */ int Utf8Utils::getSequenceSizeByCheckingFirstByte(const uint8_t firstByte) { in getSequenceSizeByCheckingFirstByte() argument67 if ((firstByte & FIRST_BYTE_MARKER_MASKS[i]) == FIRST_BYTE_MARKERS[i]) { in getSequenceSizeByCheckingFirstByte()75 /* static */ AK_FORCE_INLINE int Utf8Utils::maskFirstByte(const uint8_t firstByte, in maskFirstByte() argument77 return firstByte & FIRST_BYTE_CODE_POINT_BITS_MASKS[sequenceSize]; in maskFirstByte()
49 static int getSequenceSizeByCheckingFirstByte(const uint8_t firstByte);50 static int maskFirstByte(const uint8_t firstByte, const int encodeSize);
162 const uint8_t firstByte = readUint8(buffer, *pos); in readCodePointAndAdvancePosition() local163 if (firstByte < MINIMUM_ONE_BYTE_CHARACTER_VALUE) { in readCodePointAndAdvancePosition()164 if (firstByte == CHARACTER_ARRAY_TERMINATOR) { in readCodePointAndAdvancePosition()173 return codePointTable[firstByte - MINIMUM_ONE_BYTE_CHARACTER_VALUE]; in readCodePointAndAdvancePosition()175 return firstByte; in readCodePointAndAdvancePosition()
49 const uint8_t firstByte = ByteArrayUtils::readUint8AndAdvancePosition(buffer, pos); in getPtNodeArraySizeAndAdvancePosition() local50 if (firstByte < 0x80) { in getPtNodeArraySizeAndAdvancePosition()51 return firstByte; in getPtNodeArraySizeAndAdvancePosition()53 return ((firstByte & 0x7F) << 8) ^ ByteArrayUtils::readUint8AndAdvancePosition( in getPtNodeArraySizeAndAdvancePosition()