Searched refs:ByteType (Results 1 – 3 of 3) sorted by relevance
17 size_t encode<uint64_t>(ByteType *&pBuf, uint64_t pValue) { in encode()20 ByteType byte = pValue & 0x7f; in encode()36 size_t encode<uint32_t>(ByteType *&pBuf, uint32_t pValue) { in encode()38 *pBuf++ = static_cast<ByteType>(pValue); in encode()41 *pBuf++ = static_cast<ByteType>((pValue & 0x7f) | 0x80); in encode()42 *pBuf++ = static_cast<ByteType>((pValue >> 7) & 0x7f); in encode()45 *pBuf++ = static_cast<ByteType>((pValue & 0x7f) | 0x80); in encode()46 *pBuf++ = static_cast<ByteType>(((pValue >> 7) & 0x7f) | 0x80); in encode()47 *pBuf++ = static_cast<ByteType>((pValue >> 14) & 0x7f); in encode()50 *pBuf++ = static_cast<ByteType>((pValue & 0x7f) | 0x80); in encode()[all …]
20 typedef unsigned char ByteType; typedef24 size_t encode(ByteType *&pBuf, IntType pValue);27 IntType decode(const ByteType *pBuf, size_t &pSize);30 IntType decode(const ByteType *&pBuf);53 size_t encode<uint64_t>(ByteType *&pBuf, uint64_t pValue);56 size_t encode<uint32_t>(ByteType *&pBuf, uint32_t pValue);62 size_t encode<int64_t>(ByteType *&pBuf, int64_t pValue);65 size_t encode<int32_t>(ByteType *&pBuf, int32_t pValue);73 uint64_t decode<uint64_t>(const ByteType *pBuf, size_t &pSize);80 uint64_t decode<uint64_t>(const ByteType *&pBuf);[all …]
47 leb128::ByteType buffer[2]; in TEST_F()48 leb128::ByteType *result; in TEST_F()93 leb128::ByteType buffer[2]; in TEST_F()94 leb128::ByteType *result; in TEST_F()139 leb128::ByteType buffer[2]; in TEST_F()140 leb128::ByteType *result; in TEST_F()199 leb128::ByteType buffer[2]; in TEST_F()235 leb128::ByteType buffer[2]; in TEST_F()280 leb128::ByteType content[2]; in TEST_F()281 const leb128::ByteType *p; in TEST_F()[all …]