Home
last modified time | relevance | path

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

/openbmc/libbej/src/
H A Dbej_common.c39 uint8_t currentByte = (val >> (bitsPerByte * byteIndex)) & 0xFF; in bejIntLengthOfValue() local
42 while ((val > 0 && currentByte == 0) || (val < 0 && currentByte == 0xFF)) in bejIntLengthOfValue()
46 currentByte = (val >> (bitsPerByte * byteIndex)) & 0xFF; in bejIntLengthOfValue()
51 if (val > 0 && (currentByte & 0x80)) in bejIntLengthOfValue()
58 if (val < 0 && !(currentByte & 0x80)) in bejIntLengthOfValue()