Home | History | Annotate | Download | only in src

Lines Matching refs:csr

2052 static HB_Error  Load_ChainSubRule( HB_ChainSubRule*  csr,
2068 csr->BacktrackGlyphCount = GET_UShort();
2072 csr->Backtrack = NULL;
2074 count = csr->BacktrackGlyphCount;
2076 if ( ALLOC_ARRAY( csr->Backtrack, count, HB_UShort ) )
2079 b = csr->Backtrack;
2092 csr->InputGlyphCount = GET_UShort();
2096 csr->Input = NULL;
2098 count = csr->InputGlyphCount - 1; /* only InputGlyphCount - 1 elements */
2100 if ( ALLOC_ARRAY( csr->Input, count, HB_UShort ) )
2103 i = csr->Input;
2116 csr->LookaheadGlyphCount = GET_UShort();
2120 csr->Lookahead = NULL;
2122 count = csr->LookaheadGlyphCount;
2124 if ( ALLOC_ARRAY( csr->Lookahead, count, HB_UShort ) )
2127 l = csr->Lookahead;
2140 csr->SubstCount = GET_UShort();
2144 csr->SubstLookupRecord = NULL;
2146 count = csr->SubstCount;
2148 if ( ALLOC_ARRAY( csr->SubstLookupRecord, count, HB_SubstLookupRecord ) )
2151 slr = csr->SubstLookupRecord;
2181 static void Free_ChainSubRule( HB_ChainSubRule* csr )
2183 FREE( csr->SubstLookupRecord );
2184 FREE( csr->Lookahead );
2185 FREE( csr->Input );
2186 FREE( csr->Backtrack );
2200 HB_ChainSubRule* csr;
2217 csr = csrs->ChainSubRule;
2230 ( error = Load_ChainSubRule( &csr[n], stream ) ) != HB_Err_Ok )
2239 Free_ChainSubRule( &csr[m] );
2241 FREE( csr );
2250 HB_ChainSubRule* csr;
2256 csr = csrs->ChainSubRule;
2259 Free_ChainSubRule( &csr[n] );
2261 FREE( csr );
3005 HB_ChainSubRule* csr;
3019 csr = ccsf1->ChainSubRuleSet[index].ChainSubRule;
3024 curr_csr = csr[k];