Lines Matching refs:textOut
81 virtual bool decodeText(const SkUnencodedText& textIn, SkDecodedText* textOut) const = 0;
100 virtual bool decodeText(const SkUnencodedText& textIn, SkDecodedText* textOut) const { in decodeText() argument
104 textOut->text = new uint16_t[textIn.len / 2]; in decodeText()
105 textOut->len = textIn.len / 2; in decodeText()
107 for (int i = 0; i < textOut->len; i++) { in decodeText()
108 textOut->text[i] = ((text[i] << 8) & 0xff00) | ((text[i] >> 8) & 0x00ff); in decodeText()
124 virtual bool decodeText(const SkUnencodedText& textIn, SkDecodedText* textOut) const { in decodeText() argument
128 textOut->text = new uint16_t[textIn.len]; in decodeText()
129 textOut->len = textIn.len; in decodeText()
131 for (int i = 0; i < textOut->len; i++) { in decodeText()
132 textOut->text[i] = text[i]; in decodeText()
147 virtual bool decodeText(const SkUnencodedText& textIn, SkDecodedText* textOut) const { in decodeText() argument
151 textOut->text = new uint16_t[textIn.len / 2]; in decodeText()
152 textOut->len = textIn.len / 2; in decodeText()
154 for (int i = 0; i < textOut->len; i++) { in decodeText()
155 textOut->text[i] = ((text[i] << 8) & 0xff00) | ((text[i] >> 8) & 0x00ff); in decodeText()
212 void ToUnicode(const SkDecodedText& textIn, SkUnicodeText* textOut) const { in ToUnicode() argument
214 textOut->text = new uint16_t[textIn.len]; in ToUnicode()
215 textOut->len = textIn.len; in ToUnicode()
217 textOut->text[i] = fToUnicode->fCMapEncoding[textIn.text[i]]; in ToUnicode()
220 textOut->text = textIn.text; in ToUnicode()
221 textOut->len = textIn.len; in ToUnicode()