/external/skia/tests/ |
D | FrontBufferedStreamTest.cpp | 57 SkMemoryStream* memStream = SkMemoryStream::MakeDirect(gAbcs, strlen(gAbcs)).release(); in test_incremental_buffering() local 59 auto bufferedStream = SkFrontBufferedStream::Make(std::unique_ptr<SkStream>(memStream), in test_incremental_buffering() 61 test_hasLength(reporter, *bufferedStream, *memStream); in test_incremental_buffering() 86 SkMemoryStream* memStream = SkMemoryStream::MakeDirect(gAbcs, strlen(gAbcs)).release(); in test_perfectly_sized_buffer() local 87 auto bufferedStream = SkFrontBufferedStream::Make(std::unique_ptr<SkStream>(memStream), in test_perfectly_sized_buffer() 89 test_hasLength(reporter, *bufferedStream, *memStream); in test_perfectly_sized_buffer() 101 test_read(reporter, bufferedStream.get(), gAbcs + memStream->getPosition(), 1); in test_perfectly_sized_buffer() 106 SkMemoryStream* memStream = SkMemoryStream::MakeDirect(gAbcs, strlen(gAbcs)).release(); in test_skipping() local 107 auto bufferedStream = SkFrontBufferedStream::Make(std::unique_ptr<SkStream>(memStream), in test_skipping() 109 test_hasLength(reporter, *bufferedStream, *memStream); in test_skipping() [all …]
|
D | StreamTest.cpp | 175 static void TestDereferencingData(SkMemoryStream* memStream) { in TestDereferencingData() argument 176 memStream->read(nullptr, 0); in TestDereferencingData() 177 memStream->getMemoryBase(); in TestDereferencingData() 178 (void)memStream->asData(); in TestDereferencingData() 182 SkMemoryStream memStream(nullptr); in TestNullData() local 183 TestDereferencingData(&memStream); in TestNullData() 185 memStream.setData(nullptr); 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/skqp/tests/ |
D | FrontBufferedStreamTest.cpp | 57 SkMemoryStream* memStream = SkMemoryStream::MakeDirect(gAbcs, strlen(gAbcs)).release(); in test_incremental_buffering() local 59 auto bufferedStream = SkFrontBufferedStream::Make(std::unique_ptr<SkStream>(memStream), in test_incremental_buffering() 61 test_hasLength(reporter, *bufferedStream, *memStream); in test_incremental_buffering() 86 SkMemoryStream* memStream = SkMemoryStream::MakeDirect(gAbcs, strlen(gAbcs)).release(); in test_perfectly_sized_buffer() local 87 auto bufferedStream = SkFrontBufferedStream::Make(std::unique_ptr<SkStream>(memStream), in test_perfectly_sized_buffer() 89 test_hasLength(reporter, *bufferedStream, *memStream); in test_perfectly_sized_buffer() 101 test_read(reporter, bufferedStream.get(), gAbcs + memStream->getPosition(), 1); in test_perfectly_sized_buffer() 106 SkMemoryStream* memStream = SkMemoryStream::MakeDirect(gAbcs, strlen(gAbcs)).release(); in test_skipping() local 107 auto bufferedStream = SkFrontBufferedStream::Make(std::unique_ptr<SkStream>(memStream), in test_skipping() 109 test_hasLength(reporter, *bufferedStream, *memStream); in test_skipping() [all …]
|
D | StreamTest.cpp | 175 static void TestDereferencingData(SkMemoryStream* memStream) { in TestDereferencingData() argument 176 memStream->read(nullptr, 0); in TestDereferencingData() 177 memStream->getMemoryBase(); in TestDereferencingData() 178 (void)memStream->asData(); in TestDereferencingData() 182 SkMemoryStream memStream(nullptr); in TestNullData() local 183 TestDereferencingData(&memStream); in TestNullData() 185 memStream.setData(nullptr); 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/skqp/tools/ |
D | get_images_from_skps.cpp | 187 SkDynamicMemoryWStream memStream; in main() local 188 SkJSONWriter writer(&memStream, SkJSONWriter::Mode::kPretty); in main() 227 auto jsonStream = memStream.detachAsStream(); in main()
|
/external/skia/tools/ |
D | get_images_from_skps.cpp | 187 SkDynamicMemoryWStream memStream; in main() local 188 SkJSONWriter writer(&memStream, SkJSONWriter::Mode::kPretty); in main() 227 auto jsonStream = memStream.detachAsStream(); in main()
|
/external/lzma/CPP/7zip/Compress/ |
D | PpmdDecoder.cpp | 50 HRESULT CDecoder::CodeSpec(Byte *memStream, UInt32 size) in CodeSpec() argument 81 memStream[i] = (Byte)sym; in CodeSpec()
|
D | PpmdDecoder.h | 40 HRESULT CodeSpec(Byte *memStream, UInt32 size);
|
/external/skqp/tools/viewer/ |
D | Viewer.cpp | 2034 SkDynamicMemoryWStream memStream; in updateUIState() local 2035 SkJSONWriter writer(&memStream); in updateUIState() 2110 auto data = memStream.detachAsData(); in updateUIState()
|
/external/skia/tools/viewer/ |
D | Viewer.cpp | 2020 SkDynamicMemoryWStream memStream; in updateUIState() local 2021 SkJSONWriter writer(&memStream); in updateUIState() 2096 auto data = memStream.detachAsData(); in updateUIState()
|