Searched refs:gText (Results 1 – 4 of 4) sorted by relevance
/third_party/skia/tests/ |
D | StreamBufferTest.cpp | 16 static const char* gText = "Four score and seven years ago"; variable 23 REPORTER_ASSERT(r, !memcmp(data->data(), gText + position, length)); in test_get_data_at_position() 38 REPORTER_ASSERT(r, !memcmp(buffer.get(), gText, buffered)); in test_buffer_from_beginning() 45 REPORTER_ASSERT(r, !memcmp(buffer.get(), gText, length)); in test_buffer_from_beginning() 61 REPORTER_ASSERT(r, !memcmp(buffer.get(), gText + position, step)); in test_flushing() 76 const size_t size = strlen(gText); in DEF_TEST() 77 sk_sp<SkData> data(SkData::MakeWithoutCopy(gText, size)); in DEF_TEST() 90 writer.write(gText, size); in DEF_TEST() 123 REPORTER_ASSERT(r, !memcmp(buffer.get(), gText, 5)); in DEF_TEST() 128 REPORTER_ASSERT(r, !memcmp(buffer.get(), gText, 14)); in DEF_TEST() [all …]
|
/third_party/skia/gm/ |
D | drawglyphs.cpp | 18 static const char gText[] = "Call me Ishmael. Some years ago—never mind how long precisely"; variable 27 const size_t txtLen = strlen(gText); in onOnceBeforeDraw() 28 fGlyphCount = fFont.countText(gText, txtLen, SkTextEncoding::kUTF8); in onOnceBeforeDraw() 31 fFont.textToGlyphs(gText, txtLen, SkTextEncoding::kUTF8, fGlyphs.begin(), fGlyphCount); in onOnceBeforeDraw()
|
/third_party/skia/bench/ |
D | GlyphQuadFillBench.cpp | 22 static const char* gText = variable 39 size_t len = strlen(gText); in onPerCanvasPreDraw() 42 auto glyphRunList = builder.textToGlyphRunList(font, paint, gText, len, {100, 100}); in onPerCanvasPreDraw()
|
/third_party/skia/samplecode/ |
D | SampleTextBox.cpp | 29 static const char gText[] = variable 60 SkTextBlobBuilderRunHandler builder(gText, { margin, margin }); in drawTest() 65 const char* utf8 = gText; in drawTest() 66 size_t utf8Bytes = sizeof(gText) - 1; in drawTest()
|