Home
last modified time | relevance | path

Searched refs:currentRamAddr_ (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/arkui/ui_lite/frameworks/font/
H A Dfont_ram_allocator.cpp20 FontRamAllocator::FontRamAllocator() : ramAddr_(0), ramLen_(0), currentRamAddr_(0), dynamicAddr_(0)… in FontRamAllocator()
32 currentRamAddr_ = AlignUp(ramAddr); in SetRamAddr()
34 currentRamAddr_ = ramAddr; in SetRamAddr()
48 if ((size + currentRamAddr_) > (ramAddr_ + ramLen_)) { in Allocate()
52 void* addr = reinterpret_cast<void *>(currentRamAddr_); in Allocate()
53 currentRamAddr_ += size; in Allocate()
59 return (currentRamAddr_ - ramAddr_); in GetRamUsedLen()
65 currentRamAddr_ = dynamicAddr_; in ClearRam()
74 dynamicAddr_ = currentRamAddr_; in DynamicAllocate()
77 currentRamAddr_ = ramAddr_ + ramLen_; in DynamicAllocate()
H A Dfont_ram_allocator.h60 uintptr_t currentRamAddr_; variable