Home
last modified time | relevance | path

Searched refs:FontRamAllocator (Results 1 - 7 of 7) sorted by relevance

/foundation/arkui/ui_lite/frameworks/font/
H A Dfont_ram_allocator.h25 class FontRamAllocator : public HeapBase { class
28 FontRamAllocator();
30 FontRamAllocator(const FontRamAllocator&) = delete;
32 FontRamAllocator& operator=(const FontRamAllocator&) = delete;
34 FontRamAllocator(const FontRamAllocator&&) = delete;
36 FontRamAllocator& operator=(const FontRamAllocator
[all...]
H A Dfont_ram_allocator.cpp20 FontRamAllocator::FontRamAllocator() : ramAddr_(0), ramLen_(0), currentRamAddr_(0), dynamicAddr_(0) {} in FontRamAllocator() function in OHOS::FontRamAllocator
21 FontRamAllocator::~FontRamAllocator() {} in ~FontRamAllocator()
23 void FontRamAllocator::SetRamAddr(uintptr_t ramAddr, uint32_t ramLen) in SetRamAddr()
38 void* FontRamAllocator::Allocate(uint32_t size) in Allocate()
57 uint32_t FontRamAllocator::GetRamUsedLen() in GetRamUsedLen()
62 void FontRamAllocator::ClearRam() in ClearRam()
71 void* FontRamAllocator::DynamicAllocate(uint32_t size) in DynamicAllocate()
83 void FontRamAllocator
[all...]
H A Dglyphs_cache.cpp37 cacheStatus_ = reinterpret_cast<CacheState*>(FontRamAllocator::GetInstance().DynamicAllocate(sizeof(CacheState))); in CacheInit()
48 nodeCache_ = reinterpret_cast<CacheType*>(FontRamAllocator::GetInstance().DynamicAllocate(sizeof(CacheType))); in CacheInit()
H A Dui_font_cache_manager.cpp70 reinterpret_cast<uint8_t*>(FontRamAllocator::GetInstance().DynamicAllocate(bitmapCacheSize_)); in BitmapCacheInit()
H A Dglyphs_file.cpp55 indexCache_ = reinterpret_cast<uint8_t*>(FontRamAllocator::GetInstance().Allocate(size)); in CacheInit()
161 fontHeaderCache_ = reinterpret_cast<FontHeader*>(FontRamAllocator::GetInstance().Allocate(size)); in SetFile()
H A Dui_font_bitmap.cpp390 FontRamAllocator::GetInstance().SetRamAddr(psramAddr, psramLen); in SetPsramMemory()
H A Dui_font_vector.cpp1069 FontRamAllocator::GetInstance().SetRamAddr(psramAddr, psramLen); in SetPsramMemory()
1075 FontRamAllocator::GetInstance().ClearRam(); in SetCurrentLangId()

Completed in 5 milliseconds