Home | History | Annotate | Download | only in src

Lines Matching refs:csf3

1658 static HB_Error  Load_ContextSubst3( HB_ContextSubstFormat3*  csf3,
1675 csf3->GlyphCount = GET_UShort();
1676 csf3->SubstCount = GET_UShort();
1680 csf3->Coverage = NULL;
1682 count = csf3->GlyphCount;
1684 if ( ALLOC_ARRAY( csf3->Coverage, count, HB_Coverage ) )
1687 c = csf3->Coverage;
1705 csf3->SubstLookupRecord = NULL;
1707 count = csf3->SubstCount;
1709 if ( ALLOC_ARRAY( csf3->SubstLookupRecord, count,
1713 slr = csf3->SubstLookupRecord;
1740 static void Free_ContextSubst3( HB_ContextSubstFormat3* csf3 )
1747 FREE( csf3->SubstLookupRecord );
1749 if ( csf3->Coverage )
1751 count = csf3->GlyphCount;
1752 c = csf3->Coverage;
1782 case 3: return Load_ContextSubst3( &cs->csf.csf3, stream );
1798 case 3: Free_ContextSubst3( &cs->csf.csf3 ); break;
1977 HB_ContextSubstFormat3* csf3,
1995 if ( context_length != 0xFFFF && context_length < csf3->GlyphCount )
1998 if ( buffer->in_pos + csf3->GlyphCount > buffer->in_length )
2001 c = csf3->Coverage;
2003 for ( i = 1, j = buffer->in_pos + 1; i < csf3->GlyphCount; i++, j++ )
2010 if ( j + csf3->GlyphCount - i == (HB_Int)buffer->in_length )
2020 return Do_ContextSubst( gsub, csf3->GlyphCount,
2021 csf3->SubstCount, csf3->SubstLookupRecord,
2040 case 3: return Lookup_ContextSubst3( gsub, &cs->csf.csf3, buffer, flags, context_length, nesting_level );