Home
last modified time | relevance | path

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

/foundation/arkui/ui_lite/frameworks/font/
H A Dglyphs_file.cpp32 fontHeaderCache_(nullptr),
52 size += fontHeaderCache_[i].indexLen; in CacheInit()
161 fontHeaderCache_ = reinterpret_cast<FontHeader*>(FontRamAllocator::GetInstance().Allocate(size)); in SetFile()
162 if (fontHeaderCache_ == nullptr) { in SetFile()
167 ret = read(fp_, fontHeaderCache_, size); in SetFile()
173 FontHeader* last = fontHeaderCache_ + fontNum_ - 1; in SetFile()
179 size += fontHeaderCache_[i].glyphNum * sizeof(GlyphNode); in SetFile()
223 if (fontHeaderCache_[mid].fontId == fontId) { in GetGlyphInfo()
227 } else if (fontHeaderCache_[mid].fontId > fontId) { in GetGlyphInfo()
229 } else if (fontHeaderCache_[mi in GetGlyphInfo()
[all...]
H A Dglyphs_file.h82 FontHeader* fontHeaderCache_; member in OHOS::GlyphsFile

Completed in 1 milliseconds