Lines Matching refs:success
47 const LEReferenceTo<MorphSubtableHeader2> &morphSubtableHeader, LEErrorCode &success)
48 : StateTableProcessor2(morphSubtableHeader, success), contextualGlyphHeader(morphSubtableHeader, success)
50 if(LE_FAILURE(success)) return;
52 perGlyphTable = LEReferenceToArrayOf<le_uint32> (stHeader, success, perGlyphTableOffset, LE_UNBOUNDED_ARRAY);
53 entryTable = LEReferenceToArrayOf<ContextualGlyphStateEntry2>(stHeader, success, entryTableOffset, LE_UNBOUNDED_ARRAY);
66 EntryTableIndex2 index, LEErrorCode &success)
68 if(LE_FAILURE(success)) return 0;
69 const ContextualGlyphStateEntry2 *entry = entryTable.getAlias(index, success);
70 if(LE_FAILURE(success)) return 0;
77 le_uint32 offset = SWAPL(perGlyphTable(markIndex, success));
79 TTGlyphID newGlyph = lookup(offset, mGlyph, success);
84 le_uint32 offset = SWAPL(perGlyphTable(currIndex, success));
86 TTGlyphID newGlyph = lookup(offset, thisGlyph, success);
101 TTGlyphID ContextualGlyphSubstitutionProcessor2::lookup(le_uint32 offset, LEGlyphID gid, LEErrorCode &success)
104 if(LE_FAILURE(success)) return newGlyph;
105 LEReferenceTo<LookupTable> lookupTable(perGlyphTable, success, offset);
106 if(LE_FAILURE(success)) return newGlyph;
113 LEReferenceTo<SimpleArrayLookupTable> lookupTable0(lookupTable, success);
114 LEReferenceToArrayOf<LookupValue> valueArray(lookupTable0, success, &lookupTable0->valueArray[0], LE_UNBOUNDED_ARRAY);
115 if(LE_FAILURE(success)) return newGlyph;
117 newGlyph = SWAPW(lookupTable0->valueArray(glyphCode, success));
149 LEReferenceTo<TrimmedArrayLookupTable> lookupTable8(lookupTable, success);
150 if (LE_FAILURE(success)) return newGlyph;
156 LEReferenceToArrayOf<LookupValue> valueArray(lookupTable8, success, &lookupTable8->valueArray[0], glyphCount);
157 newGlyph = SWAPW(valueArray(glyphCode - firstGlyph, success));