Lines Matching refs:success
80 Offset OpenTypeUtilities::getTagOffset(LETag tag, const LEReferenceToArrayOf<TagAndOffsetRecord> &records, LEErrorCode &success)
82 if(LE_FAILURE(success)) return 0;
92 const ATag &aTag = records.getAlias(extra,success)->tag;
98 while (probe > (1 << 0) && LE_SUCCESS(success)) {
102 const ATag &aTag = records.getAlias(index+probe,success)->tag;
110 const ATag &aTag = records.getAlias(index,success)->tag;
112 return SWAPW(records.getAlias(index,success)->offset);
119 le_int32 OpenTypeUtilities::getGlyphRangeIndex(TTGlyphID glyphID, const LEReferenceToArrayOf<GlyphRangeRecord> &records, LEErrorCode &success)
121 if(LE_FAILURE(success)) return -1;
134 if (SWAPW(records(extra,success).firstGlyph) <= glyphID) {
138 while (probe > (1 << 0) && LE_SUCCESS(success)) {
141 if (SWAPW(records(range + probe,success).firstGlyph) <= glyphID) {
146 if (SWAPW(records(range,success).firstGlyph) <= glyphID && SWAPW(records(range,success).lastGlyph) >= glyphID) {