Lines Matching +full:- +full:encoded
16 // represent the value in little-endian format. in bejGetNnint()
30 if (val == 0 || val == -1) in bejIntLengthOfValue()
36 uint8_t byteIndex = sizeof(uint64_t) - 1; in bejIntLengthOfValue()
44 byteLength--; in bejIntLengthOfValue()
45 byteIndex--; in bejIntLengthOfValue()
49 // If the value is positive and encoded MSBbit is 1 we need to add 0x00 to in bejIntLengthOfValue()
50 // the encoded value as padding. in bejIntLengthOfValue()
56 // If the value is negative and encoded MSBbit is 0 we need to add 0xFF to in bejIntLengthOfValue()
57 // the encoded value as padding. in bejIntLengthOfValue()
81 // From the size of the encoded value, we need 1 byte for the length field. in bejNnintLengthFieldOfUInt()
82 return bejNnintEncodingSizeOfUInt(val) - 1; in bejNnintLengthFieldOfUInt()