Home | History | Annotate | Download | only in src

Lines Matching refs:cpr

4057 static HB_Error  Load_ChainPosRule( HB_ChainPosRule*  cpr,
4073 cpr->BacktrackGlyphCount = GET_UShort();
4077 cpr->Backtrack = NULL;
4079 count = cpr->BacktrackGlyphCount;
4081 if ( ALLOC_ARRAY( cpr->Backtrack, count, HB_UShort ) )
4084 b = cpr->Backtrack;
4097 cpr->InputGlyphCount = GET_UShort();
4101 cpr->Input = NULL;
4103 count = cpr->InputGlyphCount - 1; /* only InputGlyphCount - 1 elements */
4105 if ( ALLOC_ARRAY( cpr->Input, count, HB_UShort ) )
4108 i = cpr->Input;
4121 cpr->LookaheadGlyphCount = GET_UShort();
4125 cpr->Lookahead = NULL;
4127 count = cpr->LookaheadGlyphCount;
4129 if ( ALLOC_ARRAY( cpr->Lookahead, count, HB_UShort ) )
4132 l = cpr->Lookahead;
4145 cpr->PosCount = GET_UShort();
4149 cpr->PosLookupRecord = NULL;
4151 count = cpr->PosCount;
4153 if ( ALLOC_ARRAY( cpr->PosLookupRecord, count, HB_PosLookupRecord ) )
4156 plr = cpr->PosLookupRecord;
4186 static void Free_ChainPosRule( HB_ChainPosRule* cpr )
4188 FREE( cpr->PosLookupRecord );
4189 FREE( cpr->Lookahead );
4190 FREE( cpr->Input );
4191 FREE( cpr->Backtrack );
4205 HB_ChainPosRule* cpr;
4222 cpr = cprs->ChainPosRule;
4235 ( error = Load_ChainPosRule( &cpr[n], stream ) ) != HB_Err_Ok )
4244 Free_ChainPosRule( &cpr[m] );
4246 FREE( cpr );
4255 HB_ChainPosRule* cpr;
4261 cpr = cprs->ChainPosRule;
4264 Free_ChainPosRule( &cpr[n] );
4266 FREE( cpr );
5016 HB_ChainPosRule* cpr;
5030 cpr = ccpf1->ChainPosRuleSet[index].ChainPosRule;
5035 curr_cpr = cpr[k];