Lines Matching refs:compIndex
334 int compIndex = CalcSheetIndex(adjustedIndex); in GetGlyph() local
335 int cacheIndex = GetCacheIndex(compIndex); in GetGlyph()
339 cacheIndex = LoadSheet(compIndex); in GetGlyph()
366 int compIndex = GetSheetIndex(c); in PreloadSheet() local
367 int cacheIndex = GetCacheIndex(compIndex); in PreloadSheet()
371 cacheIndex = LoadSheet(compIndex); in PreloadSheet()
384 int compIndex = GetSheetIndex(c); in LockSheet() local
385 int cacheIndex = GetCacheIndex(compIndex); in LockSheet()
395 cacheIndex = LoadSheet(compIndex); in LockSheet()
409 int compIndex = GetSheetIndex(c); in UnlockSheet() local
410 int cacheIndex = GetCacheIndex(compIndex); in UnlockSheet()
424 UnloadSheet(compIndex); in UnlockSheet()
676 PackedFont::LoadSheet(int compIndex) const in LoadSheet()
682 const u8* pCompSheet = GetCompSheet(compIndex); in LoadSheet()
690 SetCacheUser(compIndex, nextCacheIndex); in LoadSheet()
696 PackedFont::UnloadSheet(int compIndex) const in UnloadSheet()
698 int cacheIndex = GetCacheIndex(compIndex); in UnloadSheet()
699 ResetCacheUser(compIndex, cacheIndex); in UnloadSheet()
728 PackedFont::GetCacheIndex(int compIndex) const in GetCacheIndex()
730 NW_FONT_MINMAX_ASSERT( compIndex, 0, m_NumCompSheet - 1 ); in GetCacheIndex()
731 return m_pCacheIndexArray[compIndex]; in GetCacheIndex()
743 int compIndex, in SetCacheUser() argument
747 NW_FONT_MINMAX_ASSERT( compIndex, 0, m_NumCompSheet - 1 ); in SetCacheUser()
749 m_pCacheIndexArray[compIndex] = static_cast<u16>(cacheIndex); in SetCacheUser()
750 m_pCacheUserArray[cacheIndex] = static_cast<u16>(compIndex); in SetCacheUser()
755 int compIndex, in ResetCacheUser() argument
759 NW_FONT_MINMAX_ASSERT( compIndex, 0, m_NumCompSheet - 1 ); in ResetCacheUser()
761 NN_ASSERT( m_pCacheIndexArray[compIndex] == cacheIndex ); in ResetCacheUser()
762 NN_ASSERT( m_pCacheUserArray[cacheIndex] == compIndex ); in ResetCacheUser()
763 m_pCacheIndexArray[compIndex] = SHEET_INDEX_NOT_LOADED; in ResetCacheUser()
777 PackedFont::GetCompSheet(int compIndex) const in GetCompSheet()
779 NW_FONT_MINMAX_ASSERT( compIndex, 0, m_NumCompSheet - 1 ); in GetCompSheet()
780 return m_pCompSheetArray[compIndex]; in GetCompSheet()