Lines Matching refs:buffer
908 SkUnichar buffer[kMaxLength];
916 buffer[j] = value + ranges[i][0];
927 utf8len += SkUTF::ToUTF8(buffer[j], nullptr);
931 ptr += SkUTF::ToUTF8(buffer[j], ptr);
937 utf16len += SkUTF::ToUTF16(buffer[j]);
941 ptr += SkUTF::ToUTF16(buffer[j], ptr);
945 memcpy(array.append(length * sizeof(SkUnichar)), buffer, length * sizeof(SkUnichar));
976 const SkTextBlobBuilder::RunBuffer* buffer;
985 buffer = &textBlobBuilder.allocRun(font, glyphCount, x, y);
986 (void)font.textToGlyphs(textPtr, textLen, encoding, buffer->glyphs, glyphCount);
991 buffer = &textBlobBuilder.allocRunPosH(font, glyphCount, y);
992 (void)font.textToGlyphs(textPtr, textLen, encoding, buffer->glyphs, glyphCount);
993 fuzz->nextN(buffer->pos, glyphCount);
997 buffer = &textBlobBuilder.allocRunPos(font, glyphCount);
998 (void)font.textToGlyphs(textPtr, textLen, encoding, buffer->glyphs, glyphCount);
999 fuzz->nextN(buffer->pos, glyphCount * 2);