Lines Matching refs:success
48 StateTableProcessor2::StateTableProcessor2(const LEReferenceTo<MorphSubtableHeader2> &morphSubtableHeader, LEErrorCode &success)
49 : SubtableProcessor2(morphSubtableHeader, success), stateTableHeader(morphSubtableHeader, success),
50 stHeader(stateTableHeader, success, (const StateTableHeader2*)&stateTableHeader->stHeader),
54 if (LE_FAILURE(success)) {
62 classTable = LEReferenceTo<LookupTable>(stHeader, success, classTableOffset);
65 stateArray = LEReferenceToArrayOf<EntryTableIndex2>(stHeader, success, stateArrayOffset, LE_UNBOUNDED_ARRAY);
72 void StateTableProcessor2::process(LEGlyphStorage &glyphStorage, LEErrorCode &success)
74 if (LE_FAILURE(success)) return;
94 LEReferenceTo<SimpleArrayLookupTable> lookupTable0(classTable, success);
95 if(LE_FAILURE(success)) break;
97 if (LE_FAILURE(success)) break;
116 EntryTableIndex2 entryTableIndex = SWAPW(stateArray(classCode + currentState * nClasses, success));
125 LEReferenceTo<SegmentSingleLookupTable> lookupTable2(classTable, success);
126 if(LE_FAILURE(success)) break;
128 if (LE_FAILURE(success)) break;
145 lookupTable2->lookupSegment(lookupTable2, lookupTable2->segments, gid, success);
146 if (segment != NULL && LE_SUCCESS(success)) {
151 EntryTableIndex2 entryTableIndex = SWAPW(stateArray(classCode + currentState * nClasses,success));
153 currentState = processStateEntry(glyphStorage, currGlyph, entryTableIndex, success);
163 LEReferenceTo<SingleTableLookupTable> lookupTable6(classTable, success);
165 if (LE_FAILURE(success)) break;
185 const LookupSingle *segment = lookupTable6->lookupSingle(lookupTable6, lookupTable6->entries, gid, success);
191 EntryTableIndex2 entryTableIndex = SWAPW(stateArray(classCode + currentState * nClasses, success));
193 currentState = processStateEntry(glyphStorage, currGlyph, entryTableIndex, success);
199 LEReferenceTo<TrimmedArrayLookupTable> lookupTable8(classTable, success);
200 if (LE_FAILURE(success)) break;
222 EntryTableIndex2 entryTableIndex = SWAPW(stateArray(classCode + currentState * nClasses, success));
224 currentState = processStateEntry(glyphStorage, currGlyph, entryTableIndex, success);