Lines Matching refs:compIndex

332     int compIndex  = CalcSheetIndex(adjustedIndex);  in GetGlyph()  local
333 int cacheIndex = GetCacheIndex(compIndex); in GetGlyph()
337 cacheIndex = LoadSheet(compIndex); in GetGlyph()
364 int compIndex = GetSheetIndex(c); in PreloadSheet() local
365 int cacheIndex = GetCacheIndex(compIndex); in PreloadSheet()
369 cacheIndex = LoadSheet(compIndex); in PreloadSheet()
382 int compIndex = GetSheetIndex(c); in LockSheet() local
383 int cacheIndex = GetCacheIndex(compIndex); in LockSheet()
393 cacheIndex = LoadSheet(compIndex); in LockSheet()
407 int compIndex = GetSheetIndex(c); in UnlockSheet() local
408 int cacheIndex = GetCacheIndex(compIndex); in UnlockSheet()
422 UnloadSheet(compIndex); in UnlockSheet()
674 PackedFont::LoadSheet(int compIndex) const in LoadSheet()
680 const u8* pCompSheet = GetCompSheet(compIndex); in LoadSheet()
688 SetCacheUser(compIndex, nextCacheIndex); in LoadSheet()
694 PackedFont::UnloadSheet(int compIndex) const in UnloadSheet()
696 int cacheIndex = GetCacheIndex(compIndex); in UnloadSheet()
697 ResetCacheUser(compIndex, cacheIndex); in UnloadSheet()
726 PackedFont::GetCacheIndex(int compIndex) const in GetCacheIndex()
728 NW_FONT_MINMAX_ASSERT( compIndex, 0, m_NumCompSheet - 1 ); in GetCacheIndex()
729 return m_pCacheIndexArray[compIndex]; in GetCacheIndex()
741 int compIndex, in SetCacheUser() argument
745 NW_FONT_MINMAX_ASSERT( compIndex, 0, m_NumCompSheet - 1 ); in SetCacheUser()
747 m_pCacheIndexArray[compIndex] = static_cast<u16>(cacheIndex); in SetCacheUser()
748 m_pCacheUserArray[cacheIndex] = static_cast<u16>(compIndex); in SetCacheUser()
753 int compIndex, in ResetCacheUser() argument
757 NW_FONT_MINMAX_ASSERT( compIndex, 0, m_NumCompSheet - 1 ); in ResetCacheUser()
759 NN_ASSERT( m_pCacheIndexArray[compIndex] == cacheIndex ); in ResetCacheUser()
760 NN_ASSERT( m_pCacheUserArray[cacheIndex] == compIndex ); in ResetCacheUser()
761 m_pCacheIndexArray[compIndex] = SHEET_INDEX_NOT_LOADED; in ResetCacheUser()
775 PackedFont::GetCompSheet(int compIndex) const in GetCompSheet()
777 NW_FONT_MINMAX_ASSERT( compIndex, 0, m_NumCompSheet - 1 ); in GetCompSheet()
778 return m_pCompSheetArray[compIndex]; in GetCompSheet()