Lines Matching refs:cpf1
3269 static HB_Error Load_ContextPos1( HB_ContextPosFormat1* cpf1,
3291 ( error = _HB_OPEN_Load_Coverage( &cpf1->Coverage, stream ) ) != HB_Err_Ok )
3298 count = cpf1->PosRuleSetCount = GET_UShort();
3302 cpf1->PosRuleSet = NULL;
3304 if ( ALLOC_ARRAY( cpf1->PosRuleSet, count, HB_PosRuleSet ) )
3307 prs = cpf1->PosRuleSet;
3334 _HB_OPEN_Free_Coverage( &cpf1->Coverage );
3339 static void Free_ContextPos1( HB_ContextPosFormat1* cpf1 )
3346 if ( cpf1->PosRuleSet )
3348 count = cpf1->PosRuleSetCount;
3349 prs = cpf1->PosRuleSet;
3357 _HB_OPEN_Free_Coverage( &cpf1->Coverage );
3765 return Load_ContextPos1( &cp->cpf.cpf1, stream );
3787 case 1: Free_ContextPos1( &cp->cpf.cpf1 ); break;
3796 HB_ContextPosFormat1* cpf1,
3816 error = _HB_OPEN_Coverage_Index( &cpf1->Coverage, IN_CURGLYPH(), &index );
3820 pr = cpf1->PosRuleSet[index].PosRule;
3821 numpr = cpf1->PosRuleSet[index].PosRuleCount;
4034 return Lookup_ContextPos1( gpi, &cp->cpf.cpf1, buffer,