Home
last modified time | relevance | path

Searched refs:gText (Results 1 – 6 of 6) sorted by relevance

/external/skqp/tests/
DStreamBufferTest.cpp17 static const char* gText = "Four score and seven years ago"; variable
24 REPORTER_ASSERT(r, !memcmp(data->data(), gText + position, length)); in test_get_data_at_position()
39 REPORTER_ASSERT(r, !memcmp(buffer.get(), gText, buffered)); in test_buffer_from_beginning()
46 REPORTER_ASSERT(r, !memcmp(buffer.get(), gText, length)); in test_buffer_from_beginning()
62 REPORTER_ASSERT(r, !memcmp(buffer.get(), gText + position, step)); in test_flushing()
77 const size_t size = strlen(gText); in DEF_TEST()
78 sk_sp<SkData> data(SkData::MakeWithoutCopy(gText, size)); in DEF_TEST()
91 writer.write(gText, size); in DEF_TEST()
122 REPORTER_ASSERT(r, !memcmp(buffer.get(), gText, 5)); in DEF_TEST()
127 REPORTER_ASSERT(r, !memcmp(buffer.get(), gText, 14)); in DEF_TEST()
[all …]
/external/skia/tests/
DStreamBufferTest.cpp16 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()
121 REPORTER_ASSERT(r, !memcmp(buffer.get(), gText, 5)); in DEF_TEST()
126 REPORTER_ASSERT(r, !memcmp(buffer.get(), gText, 14)); in DEF_TEST()
[all …]
/external/skia/samplecode/
DSampleBitmapRect.cpp103 static const char gText[] = in make_big_bitmap() local
113 …const int BIG_W = SkScalarRoundToInt(font.measureText(gText, strlen(gText), SkTextEncoding::kUTF8)… in make_big_bitmap()
120 …canvas.drawSimpleText(gText, strlen(gText), SkTextEncoding::kUTF8, 0, font.getSize()*4/5, font, Sk… in make_big_bitmap()
DSampleTextBox.cpp29 static const char gText[] = variable
59 SkTextBlobBuilderRunHandler builder(gText, { margin, margin }); in drawTest()
64 const char* utf8 = gText; in drawTest()
65 size_t utf8Bytes = sizeof(gText) - 1; in drawTest()
/external/skqp/samplecode/
DSampleBitmapRect.cpp155 static const char gText[] = in make_big_bitmap() local
167 …const int BIG_W = SkScalarRoundToInt(font.measureText(gText, strlen(gText), kUTF8_SkTextEncoding)); in make_big_bitmap()
174 …canvas.drawSimpleText(gText, strlen(gText), kUTF8_SkTextEncoding, 0, font.getSize()*4/5, font, SkP… in make_big_bitmap()
DSampleTextBox.cpp34 static const char gText[] = variable
86 SkPoint end = shaper.shape(&builder, font, gText, strlen(gText), true, in drawTest()