Home
last modified time | relevance | path

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

/external/sfntly/cpp/src/test/
Dfont_data_test.cc273 WritableFontDataPtr w_slice; in SlicingWriteTest() local
277 w_slice.Attach(down_cast<WritableFontData*>(wfd->Slice(trim, length))); in SlicingWriteTest()
279 WriteFontDataWithSingleByte(r_slice, w_slice); in SlicingWriteTest()
280 EXPECT_TRUE(ReadComparison(trim, length, rfd, w_slice)); in SlicingWriteTest()
286 w_slice.Attach(down_cast<WritableFontData*>(wfd->Slice(trim, length))); in SlicingWriteTest()
288 WriteFontDataWithBuffer(r_slice, w_slice, buffer_size); in SlicingWriteTest()
289 EXPECT_TRUE(ReadComparison(trim, length, rfd, w_slice)); in SlicingWriteTest()
294 w_slice.Attach(down_cast<WritableFontData*>(wfd->Slice(trim, length))); in SlicingWriteTest()
296 WriteFontDataWithSlidingWindow(r_slice, w_slice, window_size); in SlicingWriteTest()
297 EXPECT_TRUE(ReadComparison(trim, length, rfd, w_slice)); in SlicingWriteTest()