/external/skia/tests/ |
D | FrontBufferedStreamTest.cpp | 52 SkMemoryStream memStream(gAbcs, strlen(gAbcs), false); in test_incremental_buffering() local 54 SkAutoTUnref<SkStream> bufferedStream(SkFrontBufferedStream::Create(&memStream, bufferSize)); in test_incremental_buffering() 55 test_hasLength(reporter, *bufferedStream.get(), memStream); in test_incremental_buffering() 80 SkMemoryStream memStream(gAbcs, strlen(gAbcs), false); in test_perfectly_sized_buffer() local 81 SkAutoTUnref<SkStream> bufferedStream(SkFrontBufferedStream::Create(&memStream, bufferSize)); in test_perfectly_sized_buffer() 82 test_hasLength(reporter, *bufferedStream.get(), memStream); in test_perfectly_sized_buffer() 99 SkMemoryStream memStream(gAbcs, strlen(gAbcs), false); in test_skipping() local 100 SkAutoTUnref<SkStream> bufferedStream(SkFrontBufferedStream::Create(&memStream, bufferSize)); in test_skipping() 101 test_hasLength(reporter, *bufferedStream.get(), memStream); in test_skipping() 150 AndroidLikeMemoryStream memStream((void*)gAbcs, bufferSize, false); in test_read_beyond_buffer() local [all …]
|
D | StreamTest.cpp | 172 static void TestDereferencingData(SkMemoryStream* memStream) { in TestDereferencingData() argument 173 memStream->read(NULL, 0); in TestDereferencingData() 174 memStream->getMemoryBase(); in TestDereferencingData() 175 SkAutoDataUnref data(memStream->copyToData()); in TestDereferencingData() 180 SkMemoryStream memStream(nullData); in TestNullData() local 181 TestDereferencingData(&memStream); in TestNullData() 183 memStream.setData(nullData); in TestNullData() 184 TestDereferencingData(&memStream); in TestNullData()
|
D | FlateTest.cpp | 91 SkMemoryStream memStream; in DEF_TEST() local 92 TestFlate(reporter, &memStream, 512); in DEF_TEST() 93 TestFlate(reporter, &memStream, 10240); in DEF_TEST()
|
/external/chromium_org/third_party/skia/tests/ |
D | FrontBufferedStreamTest.cpp | 52 SkMemoryStream memStream(gAbcs, strlen(gAbcs), false); in test_incremental_buffering() local 54 SkAutoTUnref<SkStream> bufferedStream(SkFrontBufferedStream::Create(&memStream, bufferSize)); in test_incremental_buffering() 55 test_hasLength(reporter, *bufferedStream.get(), memStream); in test_incremental_buffering() 80 SkMemoryStream memStream(gAbcs, strlen(gAbcs), false); in test_perfectly_sized_buffer() local 81 SkAutoTUnref<SkStream> bufferedStream(SkFrontBufferedStream::Create(&memStream, bufferSize)); in test_perfectly_sized_buffer() 82 test_hasLength(reporter, *bufferedStream.get(), memStream); in test_perfectly_sized_buffer() 99 SkMemoryStream memStream(gAbcs, strlen(gAbcs), false); in test_skipping() local 100 SkAutoTUnref<SkStream> bufferedStream(SkFrontBufferedStream::Create(&memStream, bufferSize)); in test_skipping() 101 test_hasLength(reporter, *bufferedStream.get(), memStream); in test_skipping() 150 AndroidLikeMemoryStream memStream((void*)gAbcs, bufferSize, false); in test_read_beyond_buffer() local [all …]
|
D | StreamTest.cpp | 172 static void TestDereferencingData(SkMemoryStream* memStream) { in TestDereferencingData() argument 173 memStream->read(NULL, 0); in TestDereferencingData() 174 memStream->getMemoryBase(); in TestDereferencingData() 175 SkAutoDataUnref data(memStream->copyToData()); in TestDereferencingData() 180 SkMemoryStream memStream(nullData); in TestNullData() local 181 TestDereferencingData(&memStream); in TestNullData() 183 memStream.setData(nullData); in TestNullData() 184 TestDereferencingData(&memStream); in TestNullData()
|
D | FlateTest.cpp | 111 SkMemoryStream memStream; in DEF_TEST() local 112 TestFlate(reporter, &memStream, 512); in DEF_TEST() 113 TestFlate(reporter, &memStream, 10240); in DEF_TEST()
|
/external/lzma/CPP/7zip/Compress/ |
D | PpmdDecoder.h | 39 HRESULT CodeSpec(Byte *memStream, UInt32 size);
|
/external/skia/tools/ |
D | render_pictures_main.cpp | 121 SkMemoryStream memStream(buffer, size); in write_image_to_file() local 123 SkImageDecoder::Format format = SkImageDecoder::GetStreamFormat(&memStream); in write_image_to_file() 133 return SkImageDecoder::DecodeStream(&memStream, bitmap, kUnknown_SkColorType, in write_image_to_file()
|
D | skimage_main.cpp | 683 SkMemoryStream memStream(data); in decodeFileAndWrite() local 686 if (SkImageDecoder::DecodeStream(&memStream, &redecodedBitmap, gPrefColorType, in decodeFileAndWrite()
|
/external/chromium_org/third_party/skia/tools/ |
D | render_pictures_main.cpp | 125 SkMemoryStream memStream(buffer, size); in write_image_to_file() local 127 SkImageDecoder::Format format = SkImageDecoder::GetStreamFormat(&memStream); in write_image_to_file() 137 return SkImageDecoder::DecodeStream(&memStream, bitmap, kUnknown_SkColorType, in write_image_to_file()
|
D | skimage_main.cpp | 684 SkMemoryStream memStream(data); in decodeFileAndWrite() local 687 if (SkImageDecoder::DecodeStream(&memStream, &redecodedBitmap, gPrefColorType, in decodeFileAndWrite()
|