Lines Matching refs:success
47 ThaiLayoutEngine::ThaiLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode, le_int32 typoFlags, LEErrorCode &success)
48 : LayoutEngine(fontInstance, scriptCode, languageCode, typoFlags, success)
84 le_int32 ThaiLayoutEngine::computeGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool /*rightToLeft*/, LEGlyphStorage &glyphStorage, LEErrorCode &success)
86 if (LE_FAILURE(success)) {
91 success = LE_ILLEGAL_ARGUMENT_ERROR;
103 success = LE_MEMORY_ALLOCATION_ERROR;
107 glyphStorage.allocateGlyphArray(count * 2, FALSE, success);
109 if (LE_FAILURE(success)) {
111 success = LE_MEMORY_ALLOCATION_ERROR;
116 mapCharsToGlyphs(outChars, 0, glyphCount, FALSE, FALSE, glyphStorage, success);
126 LEGlyphStorage &glyphStorage, LEErrorCode &success)
128 if (LE_FAILURE(success)) {
133 success = LE_ILLEGAL_ARGUMENT_ERROR;
138 LETableReference kernTable(fFontInstance, LE_KERN_TABLE_TAG, success);
139 KernTable kt(kernTable, success);
140 kt.process(glyphStorage, success);