Home | History | Annotate | Download | only in layout

Lines Matching refs:success

22 ThaiLayoutEngine::ThaiLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode, le_int32 typoFlags, LEErrorCode &success)
23 : LayoutEngine(fontInstance, scriptCode, languageCode, typoFlags, success)
59 le_int32 ThaiLayoutEngine::computeGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool /*rightToLeft*/, LEGlyphStorage &glyphStorage, LEErrorCode &success)
61 if (LE_FAILURE(success)) {
66 success = LE_ILLEGAL_ARGUMENT_ERROR;
78 success = LE_MEMORY_ALLOCATION_ERROR;
82 glyphStorage.allocateGlyphArray(count * 2, FALSE, success);
84 if (LE_FAILURE(success)) {
86 success = LE_MEMORY_ALLOCATION_ERROR;
91 mapCharsToGlyphs(outChars, 0, glyphCount, FALSE, FALSE, glyphStorage, success);
101 LEGlyphStorage &glyphStorage, LEErrorCode &success)
103 if (LE_FAILURE(success)) {
108 success = LE_ILLEGAL_ARGUMENT_ERROR;