Searched refs:readStorage (Results 1 – 4 of 4) sorted by relevance
/external/skia/tests/ |
D | Writer32Test.cpp | 107 SkAutoMalloc readStorage(totalBytes); in testWritePad() local 108 writer->flatten(readStorage.get()); in testWritePad() 110 SkReadBuffer reader(readStorage.get(), totalBytes); in testWritePad()
|
D | StreamTest.cpp | 212 SkAutoMalloc readStorage(bytesToPeek); in compare_peek_to_read() local 271 SkAutoMalloc readStorage(bytesToPeek); in test_peeking_front_buffered_stream() local 285 const size_t bytesRead = bufferedStream->read(readStorage.get(), bytesPeeked); in test_peeking_front_buffered_stream() 287 REPORTER_ASSERT(r, !memcmp(peekStorage.get(), readStorage.get(), bytesPeeked)); in test_peeking_front_buffered_stream()
|
/external/skqp/tests/ |
D | Writer32Test.cpp | 166 SkAutoMalloc readStorage(totalBytes); in testWritePad() local 167 writer->flatten(readStorage.get()); in testWritePad() 170 reader.setMemory(readStorage.get(), totalBytes); in testWritePad()
|
D | StreamTest.cpp | 207 SkAutoMalloc readStorage(bytesToPeek); in compare_peek_to_read() local 264 SkAutoMalloc readStorage(bytesToPeek); in test_peeking_front_buffered_stream() local 278 const size_t bytesRead = bufferedStream->read(readStorage.get(), bytesPeeked); in test_peeking_front_buffered_stream() 280 REPORTER_ASSERT(r, !memcmp(peekStorage.get(), readStorage.get(), bytesPeeked)); in test_peeking_front_buffered_stream()
|