Home
last modified time | relevance | path

Searched refs:unicode32 (Results 1 – 5 of 5) sorted by relevance

/external/icu4c/samples/layout/
Dcmaps.cpp123 LEGlyphID CMAPFormat4Mapper::unicodeToGlyph(LEUnicode32 unicode32) const in unicodeToGlyph()
125 if (unicode32 >= 0x10000) { in unicodeToGlyph()
129 LEUnicode16 unicode = (LEUnicode16) unicode32; in unicodeToGlyph()
178 LEGlyphID CMAPGroupMapper::unicodeToGlyph(LEUnicode32 unicode32) const in unicodeToGlyph()
183 if (SWAPU32(fGroups[fRangeOffset].startCharCode) <= unicode32) { in unicodeToGlyph()
190 if (SWAPU32(fGroups[range + probe].startCharCode) <= unicode32) { in unicodeToGlyph()
195 …if (SWAPU32(fGroups[range].startCharCode) <= unicode32 && SWAPU32(fGroups[range].endCharCode) >= u… in unicodeToGlyph()
196 …return (LEGlyphID) (SWAPU32(fGroups[range].startGlyphCode) + unicode32 - SWAPU32(fGroups[range].st… in unicodeToGlyph()
Dcmaps.h23 virtual LEGlyphID unicodeToGlyph(LEUnicode32 unicode32) const = 0;
45 virtual LEGlyphID unicodeToGlyph(LEUnicode32 unicode32) const;
66 virtual LEGlyphID unicodeToGlyph(LEUnicode32 unicode32) const;
/external/icu4c/test/letest/
Dcmaps.cpp117 LEGlyphID CMAPFormat4Mapper::unicodeToGlyph(LEUnicode32 unicode32) const in unicodeToGlyph()
119 if (unicode32 >= 0x10000) { in unicodeToGlyph()
123 LEUnicode16 unicode = (LEUnicode16) unicode32; in unicodeToGlyph()
172 LEGlyphID CMAPGroupMapper::unicodeToGlyph(LEUnicode32 unicode32) const in unicodeToGlyph()
177 if (SWAPU32(fGroups[fRangeOffset].startCharCode) <= unicode32) { in unicodeToGlyph()
184 if (SWAPU32(fGroups[range + probe].startCharCode) <= unicode32) { in unicodeToGlyph()
189 …if (SWAPU32(fGroups[range].startCharCode) <= unicode32 && SWAPU32(fGroups[range].endCharCode) >= u… in unicodeToGlyph()
190 …return (LEGlyphID) (SWAPU32(fGroups[range].startGlyphCode) + unicode32 - SWAPU32(fGroups[range].st… in unicodeToGlyph()
Dcmaps.h19 virtual LEGlyphID unicodeToGlyph(LEUnicode32 unicode32) const = 0;
41 virtual LEGlyphID unicodeToGlyph(LEUnicode32 unicode32) const;
62 virtual LEGlyphID unicodeToGlyph(LEUnicode32 unicode32) const;
DFontObject.cpp153 LEGlyphID FontObject::unicodeToGlyph(LEUnicode32 unicode32) in unicodeToGlyph() argument
155 if (unicode32 >= 0x10000) { in unicodeToGlyph()
159 LEUnicode16 unicode = (LEUnicode16) unicode32; in unicodeToGlyph()