Lines Matching refs:gAbcs
49 const char gAbcs[] = "abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwx"; variable
57 SkMemoryStream* memStream = new SkMemoryStream(gAbcs, strlen(gAbcs), false); in test_incremental_buffering()
63 test_read(reporter, bufferedStream, gAbcs, bufferSize / 2); in test_incremental_buffering()
68 test_read(reporter, bufferedStream, gAbcs, bufferSize / 4); in test_incremental_buffering()
71 test_read(reporter, bufferedStream, gAbcs + bufferSize / 4, bufferSize / 2); in test_incremental_buffering()
76 test_read(reporter, bufferedStream, gAbcs, bufferSize << 1); in test_incremental_buffering()
85 SkMemoryStream* memStream = new SkMemoryStream(gAbcs, strlen(gAbcs), false); in test_perfectly_sized_buffer()
90 test_read(reporter, bufferedStream, gAbcs, bufferSize); in test_perfectly_sized_buffer()
96 test_read(reporter, bufferedStream, gAbcs, bufferSize); in test_perfectly_sized_buffer()
99 test_read(reporter, bufferedStream, gAbcs + memStream->getPosition(), 1); in test_perfectly_sized_buffer()
104 SkMemoryStream* memStream = new SkMemoryStream(gAbcs, strlen(gAbcs), false); in test_skipping()
113 test_read(reporter, bufferedStream, gAbcs, bufferSize / 4); in test_skipping()
119 test_read(reporter, bufferedStream, gAbcs + memStream->getPosition(), bufferSize / 4); in test_skipping()
122 test_read(reporter, bufferedStream, gAbcs, bufferSize); in test_skipping()
156 new AndroidLikeMemoryStream((void*)gAbcs, bufferSize, false); in test_read_beyond_buffer()
163 test_read(reporter, bufferedStream.get(), gAbcs, bufferSize + 1); in test_read_beyond_buffer()
167 test_read(reporter, bufferedStream, gAbcs, bufferSize); in test_read_beyond_buffer()
214 SkMemoryStream* memStream = new SkMemoryStream(gAbcs, strlen(gAbcs), false); in test_initial_offset()
234 test_read(reporter, bufferedStream, gAbcs + arbitraryOffset + currentPosition, in test_initial_offset()