Home
last modified time | relevance | path

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

/aosp12/frameworks/compile/mclinker/lib/Support/
H A DLEB128.cpp17 size_t encode<uint64_t>(ByteType*& pBuf, uint64_t pValue) {
20 ByteType byte = pValue & 0x7f;
38 *pBuf++ = static_cast<ByteType>(pValue);
42 *pBuf++ = static_cast<ByteType>((pValue >> 7) & 0x7f);
72 ByteType byte = pValue & 0x7f;
118 ByteType byte;
136 uint64_t decode<uint64_t>(const ByteType*& pBuf) {
137 ByteType byte;
186 ByteType byte;
205 int64_t decode<int64_t>(const ByteType*& pBuf) {
[all …]
/aosp12/frameworks/compile/mclinker/include/mcld/Support/
H A DLEB128.h19 typedef unsigned char ByteType; typedef
23 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);
79 uint64_t decode<uint64_t>(const ByteType*& pBuf);
85 int64_t decode<int64_t>(const ByteType* pBuf, size_t& pSize);
[all …]
/aosp12/frameworks/compile/mclinker/unittests/
H A DLEB128Test.cpp42 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()
275 const leb128::ByteType* p; in TEST_F()
296 leb128::ByteType* result; in TEST_F()
413 leb128::ByteType* result; in TEST_F()
[all …]
/aosp12/art/runtime/verifier/
H A Dreg_type-inl.h192 inline const ByteType* ByteType::GetInstance() { in GetInstance()
H A Dreg_type.cc46 const ByteType* ByteType::instance_ = nullptr;
102 std::string ByteType::Dump() const { in Dump()
243 const ByteType* ByteType::CreateInstance(ObjPtr<mirror::Class> klass, in CreateInstance()
247 instance_ = new ByteType(klass, descriptor, cache_id); in CreateInstance()
251 void ByteType::Destroy() { in Destroy()
H A Dreg_type_cache-inl.h53 inline const ByteType& RegTypeCache::Byte() { in Byte()
54 return *ByteType::GetInstance(); in Byte()
H A Dreg_type_cache.cc69 entries_.push_back(ByteType::GetInstance()); in FillPrimitiveAndSmallConstantTypes()
125 return *ByteType::GetInstance(); in RegTypeFromPrimitiveType()
317 ByteType::Destroy(); in ShutDown()
377 create_primitive_type_instance(TypeHelper<ByteType>("B")); in CreatePrimitiveAndSmallConstantTypes()
704 ByteType::GetInstance()->VisitRoots(visitor, ri); in VisitStaticRoots()
H A Dreg_type_cache.h43 class ByteType; variable
126 const ByteType& Byte() REQUIRES_SHARED(Locks::mutator_lock_);
H A Dreg_type.h495 class ByteType final : public Cat1Type {
499 static const ByteType* CreateInstance(ObjPtr<mirror::Class> klass,
503 static const ByteType* GetInstance() PURE;
511 ByteType(ObjPtr<mirror::Class> klass, in ByteType() function
517 static const ByteType* instance_;