Lines Matching refs:success
53 le_int32 typoFlags, le_bool version2, const LEReferenceTo<GlyphSubstitutionTableHeader> &gsubTable, LEErrorCode &success)
54 : OpenTypeLayoutEngine(fontInstance, scriptCode, languageCode, typoFlags, gsubTable, success), fMPreFixups(NULL)
66 IndicOpenTypeLayoutEngine::IndicOpenTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode, le_int32 typoFlags, LEErrorCode &success)
67 : OpenTypeLayoutEngine(fontInstance, scriptCode, languageCode, typoFlags, success), fMPreFixups(NULL)
82 LEGlyphStorage &glyphStorage, LEErrorCode &success)
84 if (LE_FAILURE(success)) {
89 success = LE_ILLEGAL_ARGUMENT_ERROR;
93 le_int32 retCount = OpenTypeLayoutEngine::glyphProcessing(chars, offset, count, max, rightToLeft, glyphStorage, success);
95 if (LE_FAILURE(success)) {
102 OpenTypeLayoutEngine::glyphSubstitution(count,max, rightToLeft, glyphStorage, success);
104 IndicReordering::adjustMPres(fMPreFixups, glyphStorage, success);
113 LEUnicode *&outChars, LEGlyphStorage &glyphStorage, LEErrorCode &success)
115 if (LE_FAILURE(success)) {
120 success = LE_ILLEGAL_ARGUMENT_ERROR;
129 success = LE_MEMORY_ALLOCATION_ERROR;
133 glyphStorage.allocateGlyphArray(worstCase, rightToLeft, success);
134 glyphStorage.allocateAuxData(success);
136 if (LE_FAILURE(success)) {
148 outCharCount = IndicReordering::reorder(&chars[offset], count, fScriptCode, outChars, glyphStorage, &fMPreFixups, success);
151 if (LE_FAILURE(success)) {