Lines Matching refs:cpf3
3643 static HB_Error Load_ContextPos3( HB_ContextPosFormat3* cpf3, in Load_ContextPos3() argument
3660 cpf3->GlyphCount = GET_UShort(); in Load_ContextPos3()
3661 cpf3->PosCount = GET_UShort(); in Load_ContextPos3()
3665 cpf3->Coverage = NULL; in Load_ContextPos3()
3667 count = cpf3->GlyphCount; in Load_ContextPos3()
3669 if ( ALLOC_ARRAY( cpf3->Coverage, count, HB_Coverage ) ) in Load_ContextPos3()
3672 c = cpf3->Coverage; in Load_ContextPos3()
3690 cpf3->PosLookupRecord = NULL; in Load_ContextPos3()
3692 count = cpf3->PosCount; in Load_ContextPos3()
3694 if ( ALLOC_ARRAY( cpf3->PosLookupRecord, count, HB_PosLookupRecord ) ) in Load_ContextPos3()
3697 plr = cpf3->PosLookupRecord; in Load_ContextPos3()
3724 static void Free_ContextPos3( HB_ContextPosFormat3* cpf3 ) in Free_ContextPos3() argument
3731 FREE( cpf3->PosLookupRecord ); in Free_ContextPos3()
3733 if ( cpf3->Coverage ) in Free_ContextPos3()
3735 count = cpf3->GlyphCount; in Free_ContextPos3()
3736 c = cpf3->Coverage; in Free_ContextPos3()
3771 return Load_ContextPos3( &cp->cpf.cpf3, stream ); in Load_ContextPos()
3789 case 3: Free_ContextPos3( &cp->cpf.cpf3 ); break; in Free_ContextPos()
3971 HB_ContextPosFormat3* cpf3, in Lookup_ContextPos3() argument
3990 if ( context_length != 0xFFFF && context_length < cpf3->GlyphCount ) in Lookup_ContextPos3()
3993 if ( buffer->in_pos + cpf3->GlyphCount > buffer->in_length ) in Lookup_ContextPos3()
3996 c = cpf3->Coverage; in Lookup_ContextPos3()
3998 for ( i = 1, j = 1; i < cpf3->GlyphCount; i++, j++ ) in Lookup_ContextPos3()
4005 if ( j + cpf3->GlyphCount - i == (HB_Int)buffer->in_length ) in Lookup_ContextPos3()
4015 return Do_ContextPos( gpi, cpf3->GlyphCount, in Lookup_ContextPos3()
4016 cpf3->PosCount, cpf3->PosLookupRecord, in Lookup_ContextPos3()
4042 return Lookup_ContextPos3( gpi, &cp->cpf.cpf3, buffer, in Lookup_ContextPos()