Lines Matching refs:cpf3
3640 static HB_Error Load_ContextPos3( HB_ContextPosFormat3* cpf3,
3657 cpf3->GlyphCount = GET_UShort();
3658 cpf3->PosCount = GET_UShort();
3662 cpf3->Coverage = NULL;
3664 count = cpf3->GlyphCount;
3666 if ( ALLOC_ARRAY( cpf3->Coverage, count, HB_Coverage ) )
3669 c = cpf3->Coverage;
3687 cpf3->PosLookupRecord = NULL;
3689 count = cpf3->PosCount;
3691 if ( ALLOC_ARRAY( cpf3->PosLookupRecord, count, HB_PosLookupRecord ) )
3694 plr = cpf3->PosLookupRecord;
3721 static void Free_ContextPos3( HB_ContextPosFormat3* cpf3 )
3728 FREE( cpf3->PosLookupRecord );
3730 if ( cpf3->Coverage )
3732 count = cpf3->GlyphCount;
3733 c = cpf3->Coverage;
3768 return Load_ContextPos3( &cp->cpf.cpf3, stream );
3786 case 3: Free_ContextPos3( &cp->cpf.cpf3 ); break;
3968 HB_ContextPosFormat3* cpf3,
3987 if ( context_length != 0xFFFF && context_length < cpf3->GlyphCount )
3990 if ( buffer->in_pos + cpf3->GlyphCount > buffer->in_length )
3993 c = cpf3->Coverage;
3995 for ( i = 1, j = 1; i < cpf3->GlyphCount; i++, j++ )
4002 if ( j + cpf3->GlyphCount - i == (HB_Int)buffer->in_length )
4012 return Do_ContextPos( gpi, cpf3->GlyphCount,
4013 cpf3->PosCount, cpf3->PosLookupRecord,
4039 return Lookup_ContextPos3( gpi, &cp->cpf.cpf3, buffer,