Lines Matching refs:success
23 StateTableProcessor2::StateTableProcessor2(const LEReferenceTo<MorphSubtableHeader2> &morphSubtableHeader, LEErrorCode &success)
24 : SubtableProcessor2(morphSubtableHeader, success),
33 stateTableHeader(morphSubtableHeader, success),
34 stHeader(stateTableHeader, success, (const StateTableHeader2*)&stateTableHeader->stHeader)
36 if (LE_FAILURE(success)) {
44 classTable = LEReferenceTo<LookupTable>(stHeader, success, classTableOffset);
47 stateArray = LEReferenceToArrayOf<EntryTableIndex2>(stHeader, success, stateArrayOffset, LE_UNBOUNDED_ARRAY);
54 void StateTableProcessor2::process(LEGlyphStorage &glyphStorage, LEErrorCode &success)
56 if (LE_FAILURE(success)) return;
76 LEReferenceTo<SimpleArrayLookupTable> lookupTable0(classTable, success);
77 if(LE_FAILURE(success)) break;
79 if (LE_FAILURE(success)) break;
98 EntryTableIndex2 entryTableIndex = SWAPW(stateArray(classCode + currentState * nClasses, success));
107 LEReferenceTo<SegmentSingleLookupTable> lookupTable2(classTable, success);
108 if(LE_FAILURE(success)) break;
110 if (LE_FAILURE(success)) break;
127 lookupTable2->lookupSegment(lookupTable2, lookupTable2->segments, gid, success);
128 if (segment != NULL && LE_SUCCESS(success)) {
133 EntryTableIndex2 entryTableIndex = SWAPW(stateArray(classCode + currentState * nClasses,success));
135 currentState = processStateEntry(glyphStorage, currGlyph, entryTableIndex, success);
145 LEReferenceTo<SingleTableLookupTable> lookupTable6(classTable, success);
147 if (LE_FAILURE(success)) break;
167 const LookupSingle *segment = lookupTable6->lookupSingle(lookupTable6, lookupTable6->entries, gid, success);
173 EntryTableIndex2 entryTableIndex = SWAPW(stateArray(classCode + currentState * nClasses, success));
175 currentState = processStateEntry(glyphStorage, currGlyph, entryTableIndex, success);
181 LEReferenceTo<TrimmedArrayLookupTable> lookupTable8(classTable, success);
182 if (LE_FAILURE(success)) break;
204 EntryTableIndex2 entryTableIndex = SWAPW(stateArray(classCode + currentState * nClasses, success));
206 currentState = processStateEntry(glyphStorage, currGlyph, entryTableIndex, success);