Searched refs:memStream (Results 1 – 4 of 4) sorted by relevance
/external/skia/tests/ |
D | FrontBufferedStreamTest.cpp | 57 SkMemoryStream* memStream = new SkMemoryStream(gAbcs, strlen(gAbcs), false); in test_incremental_buffering() local 59 SkAutoTDelete<SkStream> bufferedStream(SkFrontBufferedStream::Create(memStream, bufferSize)); in test_incremental_buffering() 60 test_hasLength(reporter, *bufferedStream.get(), *memStream); in test_incremental_buffering() 85 SkMemoryStream* memStream = new SkMemoryStream(gAbcs, strlen(gAbcs), false); in test_perfectly_sized_buffer() local 86 SkAutoTDelete<SkStream> bufferedStream(SkFrontBufferedStream::Create(memStream, bufferSize)); in test_perfectly_sized_buffer() 87 test_hasLength(reporter, *bufferedStream.get(), *memStream); 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() local 105 SkAutoTDelete<SkStream> bufferedStream(SkFrontBufferedStream::Create(memStream, bufferSize)); in test_skipping() 106 test_hasLength(reporter, *bufferedStream.get(), *memStream); in test_skipping() [all …]
|
D | StreamTest.cpp | 174 static void TestDereferencingData(SkMemoryStream* memStream) { in TestDereferencingData() argument 175 memStream->read(nullptr, 0); in TestDereferencingData() 176 memStream->getMemoryBase(); in TestDereferencingData() 177 SkAutoDataUnref data(memStream->copyToData()); in TestDereferencingData() 182 SkMemoryStream memStream(nullData); in TestNullData() local 183 TestDereferencingData(&memStream); in TestNullData() 185 memStream.setData(nullData); in TestNullData() 186 TestDereferencingData(&memStream); in TestNullData() 293 SkMemoryStream memStream(gAbcs, strlen(gAbcs), false); in DEF_TEST() local 294 test_fully_peekable_stream(reporter, &memStream, memStream.getLength()); in DEF_TEST() [all …]
|
/external/lzma/CPP/7zip/Compress/ |
D | PpmdDecoder.cpp | 54 HRESULT CDecoder::CodeSpec(Byte *memStream, UInt32 size) in CodeSpec() argument 85 memStream[i] = (Byte)sym; in CodeSpec()
|
D | PpmdDecoder.h | 39 HRESULT CodeSpec(Byte *memStream, UInt32 size);
|