/frameworks/compile/mclinker/unittests/ |
LEB128Test.cpp | 9 #include "mcld/Support/LEB128.h" 42 leb128::ByteType buffer[2]; 43 leb128::ByteType* result; 47 size = leb128::encode<uint32_t>(result, 2); 53 size = leb128::encode<uint32_t>(result, 127); 59 size = leb128::encode<uint32_t>(result, 128); 66 size = leb128::encode<uint32_t>(result, 129); 73 size = leb128::encode<uint32_t>(result, 130); 80 size = leb128::encode<uint32_t>(result, 12857); 88 leb128::ByteType buffer[2] [all...] |
/frameworks/compile/mclinker/lib/Target/ |
ELFAttributeData.cpp | 11 #include "mcld/Support/LEB128.h" 24 leb128::decode<uint64_t>(pBuf, size)); 41 uint64_t int_value = leb128::decode<uint64_t>(pBuf, size); 68 leb128::encode<uint32_t>(pBuf, pTag); 72 leb128::encode<uint32_t>(pBuf, pValue.getIntValue());
|
ELFAttributeValue.cpp | 14 #include "mcld/Support/LEB128.h" 22 size += leb128::size<uint32_t>(m_IntValue);
|
ELFAttribute.cpp | 17 #include "mcld/Support/LEB128.h" 209 uint64_t tag = leb128::decode<uint64_t>(subsubsection_data, tag_size);
|
/frameworks/compile/mclinker/include/mcld/Support/ |
LEB128.h | 1 //===- LEB128.h -----------------------------------------------------------===// 17 namespace leb128 { namespace in namespace:mcld 58 * Encoding functions for signed LEB128. 82 * Decoding functions for signed LEB128. 92 * rid of annoying type conversions when using the LEB128 encoding/decoding APIs 110 } // namespace leb128
|
/frameworks/compile/mclinker/lib/Support/ |
LEB128.cpp | 1 //===- LEB128.cpp ---------------------------------------------------------===// 9 #include "mcld/Support/LEB128.h" 13 namespace leb128 { namespace in namespace:mcld 15 //===---------------------- LEB128 Encoding APIs -------------------------===// 93 //===---------------------- LEB128 Decoding APIs -------------------------===// 179 * Signed LEB128 decoding is Similar to the unsigned version but setup the sign 223 } // namespace leb128
|
/frameworks/compile/mclinker/lib/Target/ARM/ |
ARMELFAttributeData.cpp | 13 #include "mcld/Support/LEB128.h" 114 // Though the integer is in LEB128 format, but they occupy only 1 byte in [all...] |