Searched refs:fReader (Results 1 – 10 of 10) sorted by relevance
/external/skia/src/core/ |
D | SkReadBuffer.cpp | 45 fReader.setMemory(data, size); in SkReadBuffer() 67 fReader.setMemory(fMemoryPtr, length); in SkReadBuffer() 88 return fReader.readBool(); in readBool() 92 return fReader.readInt(); in readColor() 96 return fReader.readS32(); in readFixed() 100 return fReader.readInt(); in readInt() 104 return fReader.readScalar(); in readScalar() 108 return fReader.readU32(); in readUInt() 112 return fReader.readInt(); in read32() 117 const char* strContents = fReader.readString(&len); in readString() [all …]
|
D | SkValidatingReadBuffer.cpp | 26 fReader.skip(fReader.available()); in validate() 39 fReader.setMemory(data, size); in setMemory() 45 const void* addr = fReader.peek(); in skip() 46 this->validate(IsPtrAlign4(addr) && fReader.isAvailable(inc)); in skip() 48 fReader.skip(size); in skip() 75 this->validate(IsPtrAlign4(fReader.peek()) && fReader.isAvailable(inc)); in readInt() 76 return fError ? 0 : fReader.readInt(); in readInt() 81 this->validate(IsPtrAlign4(fReader.peek()) && fReader.isAvailable(inc)); in readScalar() 82 return fError ? 0 : fReader.readScalar(); in readScalar() 95 const void* ptr = fReader.peek(); in readString() [all …]
|
D | SkReadBuffer.h | 93 SkReader32* getReader32() { return &fReader; } in getReader32() 95 size_t size() { return fReader.size(); } in size() 96 size_t offset() { return fReader.offset(); } in offset() 97 bool eof() { return fReader.eof(); } in eof() 98 virtual const void* skip(size_t size) { return fReader.skip(size); } in skip() 99 void* readFunctionPtr() { return fReader.readPtr(); } in readFunctionPtr() 217 SkReader32 fReader;
|
/external/skia/src/pipe/utils/ |
D | SamplePipeControllers.cpp | 16 :fReader(target) { in PipeController() 19 fReader.setBitmapDecoder(proc); in PipeController() 36 fStatus = fReader.playback(this->getData(), bytes); in notifyWritten() 67 fReader.setCanvas(canvas); in TiledPipeController()
|
D | SamplePipeControllers.h | 25 SkGPipeReader fReader; variable
|
/external/skia/experimental/DrawingBoard/ |
D | SkNetPipeController.cpp | 9 SkNetPipeController::SkNetPipeController(SkCanvas* target) : fReader(target) { in SkNetPipeController() 42 fStatus = fReader.playback((const char*)fBlock + fBytesWritten, bytes); in notifyWritten()
|
D | SkNetPipeController.h | 26 SkGPipeReader fReader;
|
/external/skia/src/pipe/ |
D | SkGPipeRead.cpp | 111 fReader = reader; in setReader() 127 SkFlattenable* obj = fReader->readFlattenable(paintflat_to_flattype(pf)); in defFlattenable() 157 fReader->readBitmap(bm); in addBitmap() 195 size_t size = fReader->read32(); in addTypeface() 196 const void* data = fReader->skip(SkAlign4(size)); in addTypeface() 211 if (NULL == fReader) { in updateReader() 215 fReader->setFlags(SkSetClearMask(fReader->getFlags(), crossProcess, in updateReader() 218 fReader->setFactoryArray(&fFactoryArray); in updateReader() 220 fReader->setFactoryArray(NULL); in updateReader() 224 fReader->setBitmapStorage(this); in updateReader() [all …]
|
/external/skia/src/utils/ |
D | SkDeferredCanvas.cpp | 105 SkGPipeReader fReader; member in DeferredPipeController 119 fReader.setCanvas(canvas); in setPlaybackCanvas() 142 fReader.playback(fBlockList[currentBlock].fBlock, fBlockList[currentBlock].fSize, in playback() 148 fReader.playback(fBlock, fBytesWritten, flags); in playback()
|
/external/skia/samplecode/ |
D | SampleApp.cpp | 2065 SkGPipeReader fReader; member in SimplePC 2075 SimplePC::SimplePC(SkCanvas* target) : fReader(target) { in SimplePC() 2081 fReader.setBitmapDecoder(&SkImageDecoder::DecodeMemory); in SimplePC() 2118 fStatus = fReader.playback((const char*)fBlock + fBytesWritten, bytes); in notifyWritten()
|