Searched refs:checkLE (Results 1 – 6 of 6) sorted by relevance
/external/skqp/src/core/ |
D | SkPaint.cpp | 362 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()
|
D | SkSafeRange.h | 24 template <typename T> T checkLE(uint64_t value, T max) { in checkLE() function
|
D | SkVertices.cpp | 388 const VertexMode mode = safe.checkLE<VertexMode>(packed & kMode_Mask, in Decode()
|
/external/skia/src/core/ |
D | SkPaint.cpp | 246 paint->setBlendMode(safe.checkLE(packed & 0xFF, SkBlendMode::kLastMode)); in unpack_v68() 248 paint->setStrokeCap(safe.checkLE(packed & 0x3, SkPaint::kLast_Cap)); in unpack_v68() 250 paint->setStrokeJoin(safe.checkLE(packed & 0x3, SkPaint::kLast_Join)); in unpack_v68() 252 paint->setStyle(safe.checkLE(packed & 0x3, SkPaint::kStrokeAndFill_Style)); in unpack_v68() 255 paint->setFilterQuality(safe.checkLE(packed & 0x3, kLast_SkFilterQuality)); in unpack_v68()
|
D | SkSafeRange.h | 28 template <typename T> T checkLE(uint64_t value, T max) { in checkLE() function
|
D | SkVertices.cpp | 283 const SkVertices::VertexMode mode = safe.checkLE<SkVertices::VertexMode>( in Decode()
|