Home
last modified time | relevance | path

Searched refs:Chunk (Results 1 - 2 of 2) sorted by relevance

/foundation/arkui/ui_lite/frameworks/font/
H A Dui_font_allocator.cpp34 if (size <= sizeof(struct Chunk) * 2) { // 2 : head and tail two chunk in SetRamAddr()
46 struct Chunk* chunk = nullptr; in SetRamAddr()
47 ramSize_ = size - sizeof(struct Chunk) * 2; // head and tail two chunk in SetRamAddr()
48 chunk = reinterpret_cast<struct Chunk*>(ram_); in SetRamAddr()
49 chunk->next = size - sizeof(struct Chunk); in SetRamAddr()
53 end_ = reinterpret_cast<struct Chunk*>(ram_ + size - sizeof(struct Chunk)); in SetRamAddr()
54 end_->next = size - sizeof(struct Chunk); in SetRamAddr()
55 end_->prev = size - sizeof(struct Chunk); in SetRamAddr()
59 freeSize_ = size - sizeof(struct Chunk); in SetRamAddr()
[all...]
H A Dui_font_allocator.h26 struct UI_STRUCT_ALIGN Chunk { struct in OHOS::UIFontAllocator
64 void CombineFree(Chunk* cache);
70 struct Chunk* end_;
71 struct Chunk* free_;

Completed in 1 milliseconds