Home
last modified time | relevance | path

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

/external/skia/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/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/samplecode/
DSampleTextBox.cpp28 static const char gText[] = variable
61 SkTextBlobBuilderRunHandler builder(gText); in drawTest()
65 SkPoint end = fShaper->shape(&builder, font, gText, strlen(gText), true, in drawTest()
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()
/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()