Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkPaint.cpp296 paint->setBlendMode(safe.checkLE(packed & 0xFF, SkBlendMode::kLastMode)); in unpack_v68()
298 paint->setStrokeCap(safe.checkLE(packed & 0x3, SkPaint::kLast_Cap)); in unpack_v68()
300 paint->setStrokeJoin(safe.checkLE(packed & 0x3, SkPaint::kLast_Join)); in unpack_v68()
302 paint->setStyle(safe.checkLE(packed & 0x3, SkPaint::kStrokeAndFill_Style)); in unpack_v68()
304 paint->setFilterQuality(safe.checkLE(packed & 0x3, kLast_SkFilterQuality)); in unpack_v68()
366 paint->setStrokeCap(safe.checkLE((tmp >> 24) & 0xFF, SkPaint::kLast_Cap)); in Unflatten_PreV68()
367 paint->setStrokeJoin(safe.checkLE((tmp >> 16) & 0xFF, SkPaint::kLast_Join)); in Unflatten_PreV68()
368 paint->setStyle(safe.checkLE((tmp >> 12) & 0xF, SkPaint::kStrokeAndFill_Style)); in Unflatten_PreV68()
369 paint->setBlendMode(safe.checkLE(tmp & 0xFF, SkBlendMode::kLastMode)); in Unflatten_PreV68()
DSkSafeRange.h28 template <typename T> T checkLE(uint64_t value, T max) { in checkLE() function
DSkVertices.cpp388 const VertexMode mode = safe.checkLE<VertexMode>(packed & kMode_Mask, in Decode()
/external/skqp/src/core/
DSkPaint.cpp362 paint->setBlendMode(safe.checkLE(packed & 0xFF, SkBlendMode::kLastMode)); in unpack_v68()
364 paint->setStrokeCap(safe.checkLE(packed & 0x3, SkPaint::kLast_Cap)); in unpack_v68()
366 paint->setStrokeJoin(safe.checkLE(packed & 0x3, SkPaint::kLast_Join)); in unpack_v68()
368 paint->setStyle(safe.checkLE(packed & 0x3, SkPaint::kStrokeAndFill_Style)); in unpack_v68()
370 paint->setFilterQuality(safe.checkLE(packed & 0x3, kLast_SkFilterQuality)); in unpack_v68()
433 paint->setStrokeCap(safe.checkLE((tmp >> 24) & 0xFF, SkPaint::kLast_Cap)); in Unflatten_PreV68()
434 paint->setStrokeJoin(safe.checkLE((tmp >> 16) & 0xFF, SkPaint::kLast_Join)); in Unflatten_PreV68()
435 paint->setStyle(safe.checkLE((tmp >> 12) & 0xF, SkPaint::kStrokeAndFill_Style)); in Unflatten_PreV68()
436 paint->setBlendMode(safe.checkLE(tmp & 0xFF, SkBlendMode::kLastMode)); in Unflatten_PreV68()
DSkSafeRange.h24 template <typename T> T checkLE(uint64_t value, T max) { in checkLE() function
DSkVertices.cpp388 const VertexMode mode = safe.checkLE<VertexMode>(packed & kMode_Mask, in Decode()