Home | History | Annotate | Download | only in PdfViewer

Lines Matching refs:textIn

81     virtual bool decodeText(const SkUnencodedText& textIn, SkDecodedText* textOut) const = 0;
100 virtual bool decodeText(const SkUnencodedText& textIn, SkDecodedText* textOut) const {
101 // TODO(edisonn): SkASSERT(textIn.len % 2 == 0); or report error?
103 uint16_t* text = (uint16_t*)textIn.text;
104 textOut->text = new uint16_t[textIn.len / 2];
105 textOut->len = textIn.len / 2;
124 virtual bool decodeText(const SkUnencodedText& textIn, SkDecodedText* textOut) const {
125 // TODO(edisonn): SkASSERT(textIn.len % 2 == 0); or report error?
127 unsigned char* text = (unsigned char*)textIn.text;
128 textOut->text = new uint16_t[textIn.len];
129 textOut->len = textIn.len;
147 virtual bool decodeText(const SkUnencodedText& textIn, SkDecodedText* textOut) const {
148 // TODO(edisonn): SkASSERT(textIn.len % 2 == 0); or report error?
150 uint16_t* text = (uint16_t*)textIn.text;
151 textOut->text = new uint16_t[textIn.len / 2];
152 textOut->len = textIn.len / 2;
212 void ToUnicode(const SkDecodedText& textIn, SkUnicodeText* textOut) const {
214 textOut->text = new uint16_t[textIn.len];
215 textOut->len = textIn.len;
216 for (int i = 0; i < textIn.len; i++) {
217 textOut->text[i] = fToUnicode->fCMapEncoding[textIn.text[i]];
220 textOut->text = textIn.text;
221 textOut->len = textIn.len;