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 …]
19 typedef unsigned char ByteType; typedef23 size_t encode(ByteType*& pBuf, IntType pValue);26 IntType decode(const ByteType* pBuf, size_t& pSize);29 IntType decode(const ByteType*& pBuf);52 size_t encode<uint64_t>(ByteType*& pBuf, uint64_t pValue);55 size_t encode<uint32_t>(ByteType*& pBuf, uint32_t pValue);61 size_t encode<int64_t>(ByteType*& pBuf, int64_t pValue);64 size_t encode<int32_t>(ByteType*& pBuf, int32_t pValue);72 uint64_t decode<uint64_t>(const ByteType* pBuf, size_t& pSize);79 uint64_t decode<uint64_t>(const ByteType*& pBuf);[all …]
42 leb128::ByteType buffer[2]; in TEST_F()43 leb128::ByteType* result; in TEST_F()88 leb128::ByteType buffer[2]; in TEST_F()89 leb128::ByteType* result; in TEST_F()134 leb128::ByteType buffer[2]; in TEST_F()135 leb128::ByteType* result; in TEST_F()194 leb128::ByteType buffer[2]; in TEST_F()229 leb128::ByteType buffer[2]; in TEST_F()274 leb128::ByteType content[2]; in TEST_F()275 const leb128::ByteType* p; in TEST_F()[all …]