Searched refs:SkToS16 (Results 1 – 12 of 12) sorted by relevance
24 fRuns[0] = SkToS16(width); in reset()50 runs[0] = SkToS16(x); in Break()51 runs[x] = SkToS16(n - x); in Break()71 runs[0] = SkToS16(x); in Break()72 runs[x] = SkToS16(n - x); in Break()
169 runs[0] = SkToS16(x); in BreakAt()170 runs[x] = SkToS16(n - x); in BreakAt()
34 int16_t SkToS16(long x) in SkToS16() function
290 fCurveCount = SkToS16(count); in updateQuadratic()468 fCurveCount = SkToS16(count); in updateCubic()
85 fX = SkToS16(x); in DeviceCM()86 fY = SkToS16(y); in DeviceCM()
91 runs[0] = SkToS16(n); in call_hline_blitter()
427 ((int16_t*)runs)[index] = SkToS16(left - prevRite); in blitAntiH()
30 SkASSERT(SkToS16(x) == x); in SkIntToFDot6()
125 int16_t SkToS16(long);132 #define SkToS16(x) ((int16_t)(x)) macro
568 glyph->fTop = -SkToS16(bbox.yMax >> 6); in generateMetrics()569 glyph->fLeft = SkToS16(bbox.xMin >> 6); in generateMetrics()575 glyph->fTop = -SkToS16(fFace->glyph->bitmap_top); in generateMetrics()576 glyph->fLeft = SkToS16(fFace->glyph->bitmap_left); in generateMetrics()
185 SkToS16(32768); in TestMath()186 SkToS16(-32769); in TestMath()
36 fFrameCount = SkToS16(frameCount); in reset()