Home | History | Annotate | Download | only in src

Lines Matching refs:ccpf2

4365 		   HB_ChainContextPosFormat2*  ccpf2,
4386 if ( cpcr->BacktrackGlyphCount > ccpf2->MaxBacktrackLength )
4387 ccpf2->MaxBacktrackLength = cpcr->BacktrackGlyphCount;
4411 if ( cpcr->InputGlyphCount > ccpf2->MaxInputLength )
4412 ccpf2->MaxInputLength = cpcr->InputGlyphCount;
4440 if ( cpcr->LookaheadGlyphCount > ccpf2->MaxLookaheadLength )
4441 ccpf2->MaxLookaheadLength = cpcr->LookaheadGlyphCount;
4516 HB_ChainContextPosFormat2* ccpf2,
4556 ( error = Load_ChainPosClassRule( ccpf2, &cpcr[n],
4595 static HB_Error Load_ChainContextPos2( HB_ChainContextPosFormat2* ccpf2,
4618 ( error = _HB_OPEN_Load_Coverage( &ccpf2->Coverage, stream ) ) != HB_Err_Ok )
4633 count = ccpf2->ChainPosClassSetCount = GET_UShort();
4637 if ( ( error = _HB_OPEN_Load_EmptyOrClassDefinition( &ccpf2->BacktrackClassDef, 65535,
4641 if ( ( error = _HB_OPEN_Load_EmptyOrClassDefinition( &ccpf2->InputClassDef, count,
4645 if ( ( error = _HB_OPEN_Load_EmptyOrClassDefinition( &ccpf2->LookaheadClassDef, 65535,
4650 ccpf2->ChainPosClassSet = NULL;
4651 ccpf2->MaxBacktrackLength = 0;
4652 ccpf2->MaxInputLength = 0;
4653 ccpf2->MaxLookaheadLength = 0;
4655 if ( ALLOC_ARRAY( ccpf2->ChainPosClassSet, count, HB_ChainPosClassSet ) )
4658 cpcs = ccpf2->ChainPosClassSet;
4673 ( error = Load_ChainPosClassSet( ccpf2, &cpcs[n],
4682 ccpf2->ChainPosClassSet[n].ChainPosClassRuleCount = 0;
4683 ccpf2->ChainPosClassSet[n].ChainPosClassRule = NULL;
4696 _HB_OPEN_Free_ClassDefinition( &ccpf2->LookaheadClassDef );
4699 _HB_OPEN_Free_ClassDefinition( &ccpf2->InputClassDef );
4702 _HB_OPEN_Free_ClassDefinition( &ccpf2->BacktrackClassDef );
4705 _HB_OPEN_Free_Coverage( &ccpf2->Coverage );
4710 static void Free_ChainContextPos2( HB_ChainContextPosFormat2* ccpf2 )
4717 if ( ccpf2->ChainPosClassSet )
4719 count = ccpf2->ChainPosClassSetCount;
4720 cpcs = ccpf2->ChainPosClassSet;
4728 _HB_OPEN_Free_ClassDefinition( &ccpf2->LookaheadClassDef );
4729 _HB_OPEN_Free_ClassDefinition( &ccpf2->InputClassDef );
4730 _HB_OPEN_Free_ClassDefinition( &ccpf2->BacktrackClassDef );
4732 _HB_OPEN_Free_Coverage( &ccpf2->Coverage );
4972 return Load_ChainContextPos2( &ccp->ccpf.ccpf2, stream );
4992 case 2: Free_ChainContextPos2( &ccp->ccpf.ccpf2 ); break;
5130 HB_ChainContextPosFormat2* ccpf2,
5167 error = _HB_OPEN_Coverage_Index( &ccpf2->Coverage, IN_CURGLYPH(), &index );
5171 if ( ALLOC_ARRAY( backtrack_classes, ccpf2->MaxBacktrackLength, HB_UShort ) )
5175 if (ccpf2->MaxInputLength < 1)
5178 if ( ALLOC_ARRAY( input_classes, ccpf2->MaxInputLength, HB_UShort ) )
5182 if ( ALLOC_ARRAY( lookahead_classes, ccpf2->MaxLookaheadLength, HB_UShort ) )
5186 error = _HB_OPEN_Get_Class( &ccpf2->InputClassDef, IN_CURGLYPH(),
5191 cpcs = &ccpf2->ChainPosClassSet[input_classes[0]];
5237 error = _HB_OPEN_Get_Class( &ccpf2->BacktrackClassDef, IN_GLYPH( j ),
5267 error = _HB_OPEN_Get_Class( &ccpf2->InputClassDef, IN_GLYPH( j ),
5297 error = _HB_OPEN_Get_Class( &ccpf2->LookaheadClassDef, IN_GLYPH( j ),
5462 return Lookup_ChainContextPos2( gpi, &ccp->ccpf.ccpf2, buffer,