Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkUtils.cpp121 hic = SkLeftShift(hic, 1); in SkUTF8_ToUnichar()
125 } while ((hic = SkLeftShift(hic, 1)) < 0); in SkUTF8_ToUnichar()
144 hic = SkLeftShift(hic, 1); in SkUTF8_NextUnicharWithError()
157 } while ((hic = SkLeftShift(hic, 1)) < 0); in SkUTF8_NextUnicharWithError()
175 hic = SkLeftShift(hic, 1); in SkUTF8_NextUnichar()
179 } while ((hic = SkLeftShift(hic, 1)) < 0); in SkUTF8_NextUnichar()
DSkFDot6.h59 SkASSERT((SkLeftShift(x, 10) >> 10) == x); in SkFDot6ToFixed()
61 return SkLeftShift(x, 10); in SkFDot6ToFixed()
72 return SkLeftShift(a, 16) / b; in SkFDot6Div()
DSkEdge.cpp28 return SkLeftShift(value, 16 - 6 - 1); in SkFDot6ToFixedDiv2()
221 SkFDot6 dx = (SkLeftShift(x1, 1) - x0 - x2) >> 2; in setQuadraticWithoutUpdate()
222 SkFDot6 dy = (SkLeftShift(y1, 1) - y0 - y2) >> 2; in setQuadraticWithoutUpdate()
329 SkASSERT((SkLeftShift(x, upShift) >> upShift) == x); in SkFDot6UpShift()
330 return SkLeftShift(x, upShift); in SkFDot6UpShift()
421 fCurveCount = SkToS8(SkLeftShift(-1, shift)); in setCubicWithoutUpdate()
DSkScan_AntiPath.cpp93 fSuperLeft = SkLeftShift(left, SHIFT); in BaseSuperBlitter()
97 fCurrY = SkLeftShift(fTop, SHIFT) - 1; in BaseSuperBlitter()
546 x -= SkLeftShift(fMask.fBounds.fLeft, SHIFT); in blitH()
591 superRect.set(SkLeftShift(clipRect->fLeft, SHIFT), in AntiFillPath()
592 SkLeftShift(clipRect->fTop, SHIFT), in AntiFillPath()
593 SkLeftShift(clipRect->fRight, SHIFT), in AntiFillPath()
594 SkLeftShift(clipRect->fBottom, SHIFT)); in AntiFillPath()
DSkEdge.h17 #define SkEdge_Compute_DY(top, y0) (SkLeftShift(top, 6) + 32 - (y0))
DSkScanPriv.h89 return (SkLeftShift(value, s) >> s) - value; in overflows_short_shift()
DSkScan_Path.cpp445 start_y = SkLeftShift(start_y, shiftEdgesUp); in sk_fill_path()
446 stop_y = SkLeftShift(stop_y, shiftEdgesUp); in sk_fill_path()
DSkScan_Antihair.cpp252 SkASSERT((SkLeftShift(a, 16) >> 16) == a); in fastfixdiv()
254 return SkLeftShift(a, 16) / b; in fastfixdiv()
DSkBitmapProcState_matrixProcs.cpp163 SkFixed s = SkLeftShift(x, 15) >> 31; in fixed_mirror()
DSkMatrix.cpp1707 isrc.fLeft = SkLeftShift(isrc.fLeft, subpixelBits); in SkTreatAsSprite()
1708 isrc.fTop = SkLeftShift(isrc.fTop, subpixelBits); in SkTreatAsSprite()
1709 isrc.fRight = SkLeftShift(isrc.fRight, subpixelBits); in SkTreatAsSprite()
1710 isrc.fBottom = SkLeftShift(isrc.fBottom, subpixelBits); in SkTreatAsSprite()
/external/skia/include/private/
DSkFixed.h87 SkToS32(SkTPin<int64_t>((SkLeftShift((int64_t)(numer), 16) / (denom)), SK_MinS32, SK_MaxS32))
141 #define SkIntToFixed3232(x) (SkLeftShift((SkFixed3232)(x), 32))
143 #define SkFixedToFixed3232(x) (SkLeftShift((SkFixed3232)(x), 16))
DSkFloatBits.h35 x |= SkLeftShift(sign, 31); in Sk2sComplimentToSignBit()
/external/skia/include/core/
DSkTypes.h252 static inline int32_t SkLeftShift(int32_t value, int32_t shift) { in SkLeftShift() function
256 static inline int64_t SkLeftShift(int64_t value, int32_t shift) { in SkLeftShift() function
/external/skia/src/ports/
DSkFontMgr_android_parser.h209 *value = SkLeftShift(n, N) + frac; in parse_fixed()
/external/skia/tests/
DRandomTest.cpp122 value = SkLeftShift(value, 1); in test_single_gorilla()
DMathTest.cpp586 int64_t check = SkLeftShift((int64_t)numer, 16) / denom; in DEF_TEST()
/external/skia/src/shaders/gradients/
DSkGradientShaderPriv.h64 int s = SkLeftShift(x, 15) >> 31; in mirror_tileproc()