Home | History | Annotate | Download | only in layout

Lines Matching refs:success

21                                 le_int32 typoFlags, LEErrorCode &success) const
23 if(LE_FAILURE(success)) return;
26 LEReferenceTo<ChainHeader2> chainHeader(base, success, &chains[0]);
34 for (chain = 0; LE_SUCCESS(success) && (chain < chainCount); chain++) {
37 chainHeader.addOffset(chainLength, success); // Don't increment the first time
43 success, (const MorphSubtableHeader2 *)&chainHeader->featureTable[nFeatureEntries]);
45 if(LE_FAILURE(success)) break; // malformed table
49 LEReferenceToArrayOf<FeatureTableEntry> featureTableRef(chainHeader, success, &chainHeader->featureTable[0], nFeatureEntries);
50 if(LE_FAILURE(success)) break;
53 const FeatureTableEntry &featureTableEntry = featureTableRef(featureEntry, success);
163 for (subtable = 0; LE_SUCCESS(success) && subtable < nSubtables; subtable++) {
166 subtableHeader.addOffset(length, success); // Don't addOffset for the last entry.
172 subtableHeader->process(subtableHeader, glyphStorage, success);
178 void MorphSubtableHeader2::process(const LEReferenceTo<MorphSubtableHeader2> &base, LEGlyphStorage &glyphStorage, LEErrorCode &success) const
185 processor = new IndicRearrangementProcessor2(base, success);
189 processor = new ContextualGlyphSubstitutionProcessor2(base, success);
193 processor = new LigatureSubstitutionProcessor2(base, success);
200 processor = NonContextualGlyphSubstitutionProcessor2::createInstance(base, success);
205 processor = new ContextualGlyphInsertionProcessor2(base, success);
214 processor->process(glyphStorage, success);
217 if(LE_SUCCESS(success)) {
218 success = LE_MEMORY_ALLOCATION_ERROR; // because ptr is null and we didn't break out.