Home
last modified time | relevance | path

Searched refs:ValidArgs (Results 1 – 1 of 1) sorted by relevance

/external/skia/src/image/
DSkImage_Raster.cpp25 static bool ValidArgs(const Info& info, size_t rowBytes, bool hasColorTable, in ValidArgs() function in SkImage_Raster
201 if (!SkImage_Raster::ValidArgs(info, rowBytes, ctable != nullptr, &size) || !pixels) { in NewRasterCopy()
213 if (!SkImage_Raster::ValidArgs(info, rowBytes, false, &size) || !data) { in NewRasterData()
229 if (!SkImage_Raster::ValidArgs(info, rowBytes, false, &size) || !pixels) { in NewFromRaster()
240 if (!SkImage_Raster::ValidArgs(info, rowBytes, false, nullptr)) { in SkNewImageFromPixelRef()
255 if (!SkImage_Raster::ValidArgs(bm.info(), bm.rowBytes(), hasColorTable, nullptr)) { in SkNewImageFromRasterBitmap()