Searched refs:SkAlign4 (Results 1 – 19 of 19) sorted by relevance
14 SkASSERT(SkAlign4(size) == size); in alloc()31 SkASSERT(SkAlign4(size) == size); in Create()62 SkASSERT(SkAlign4(size) == size); in reserve()85 SkASSERT(SkAlign4(offset) == offset); in peek32()119 size_t alignedSize = SkAlign4(size); in writePad()
55 : fBlock(NULL), fMinSize(SkAlign4(minSize)), fPool(NULL), fTotalCapacity(0) in SkChunkAlloc()104 bytes = SkAlign4(bytes); in alloc()
40 size_t n = SkAlign4(pos) - pos; in skipToAlign4()63 size_t n = SkAlign4(pos) - pos; in padToAlign4()
50 return (uint8_t*)sk_malloc_throw(SkAlign4(size)); in AllocImage()
53 return SkAlign4(size) + sizeof(uint32_t) * ((fWidth + 2) * fHeight); in computeImageSize()55 return SkAlign4(size) + sizeof(uint32_t) * (fWidth * (fHeight + 2)); in computeImageSize()80 uint32_t* output = reinterpret_cast<uint32_t*>(input + SkAlign4(rowBytes() * fHeight)); in expandA8ToLCD()
207 int rb = SkAlign4(width); in CanHandleRect()
268 fBuffer = (SkPMColor*)sk_malloc_throw(sizeof(SkPMColor) * (width + (SkAlign4(width) >> 2))); in SkA8_Shader_Blitter()
1124 srcM.fRowBytes = SkAlign4(this->width()); in extractAlpha()1136 dstM.fRowBytes = SkAlign4(dstM.fBounds.width()); in extractAlpha()
144 rec = (Rec*)sk_malloc_throw(SizeOfRec() + SkAlign4(len + 1)); in AllocRec()
1370 SkASSERT(SkAlign4(kPODPaintSize) == kPODPaintSize); in flatten()1400 SkASSERT(SkAlign4(kPODPaintSize) == kPODPaintSize); in unflatten()
761 fBuffer = (SkPMColor*)sk_malloc_throw((width + (SkAlign4(width) >> 2)) * sizeof(SkPMColor)); in SkRGB16_Shader_Xfermode_Blitter()
961 mask.fRowBytes = SkAlign4(mask.fBounds.width()); in drawBitmapAsMask()
35 SkASSERT(SkAlign4(size) == size); in setMemory()49 SkASSERT(SkAlign4(offset) == offset); in setOffset()83 fCurr += SkAlign4(size); in skip()92 fCurr += SkAlign4(size); in read()
32 SkASSERT(SkAlign4(length) == length); in Alloc()53 SkASSERT(SkAlign4(length) == length);
105 return reinterpret_cast<const uint32_t*>(fImage + SkAlign4(fRowBytes * fBounds.height())) + in getAddrLCD()
73 SkASSERT(SkAlign4(size) == size); in writeMul4()
51 rb = SkAlign4(rb); in rowBytes()
165 #define SkAlign4(x) (((x) + 3) >> 2 << 2) macro
26 dst->fRowBytes = SkAlign4(dst->fBounds.width()); in filterMask()