Searched refs:SkAlign4 (Results 1 – 25 of 34) sorted by relevance
12
62 SkASSERT(SkAlign4(size) == size); in reserve()78 SkASSERT(SkAlign4(offset) == offset); in readTAt()89 SkASSERT(SkAlign4(offset) == offset); in overwriteTAt()141 SkASSERT(SkAlign4(size) == size); in writePath()149 SkASSERT(SkAlign4(size) == size); in writeRegion()165 SkASSERT(SkAlign4(size) == size); in write()174 size_t alignedSize = SkAlign4(size); in reservePad()215 return 4 + SkAlign4(data ? data->size() : 0); in WriteDataSize()223 SkASSERT(SkAlign4(offset) == offset); in rewindToOffset()
53 this->validate(IsPtrAlign4(data) && (SkAlign4(size) == size)); in setMemory()69 size_t inc = SkAlign4(size); in skip()197 (void)this->validate((SkAlign4(size) == size) && (0 != size)); in readMatrix()247 if (!this->validate((SkAlign4(size) == size) && (0 != size))) { in readRRect()258 if (!this->validate((SkAlign4(size) == size) && (0 != size))) { in readRegion()269 if (!this->validate((SkAlign4(size) == size) && (0 != size))) { in readPath()
16 SkASSERT(SkAlign4(size) == size); in writeMatrix()58 return SkAlign4(lenBytes + len + 1); in WriteStringSize()
62 SkAlign4(flagCount * sizeof(SkCanvas::Lattice::RectType)) + in WriteLattice()63 SkAlign4(flagCount * sizeof(SkColor)) + in WriteLattice()
21 SkASSERT(length >= sizeof(SkDescriptor) && SkAlign4(length) == length); in Alloc()37 SkASSERT(SkAlign4(length) == length); in addEntry()
108 SkAlign4(fCount * sizeof(uint16_t))); in posBuffer()
543 srcM.fRowBytes = SkAlign4(this->width()); in extractAlpha()554 dstM.fRowBytes = SkAlign4(dstM.fBounds.width()); in extractAlpha()
43 SkASSERT(SkAlign4(dataSize) == dataSize); in init()
16 template <typename T> static constexpr T SkAlign4(T x) { return (x + 3) >> 2 << 2; } in SkAlign4() function24 return sizeof(void*) == 8 ? SkAlign8(x) : SkAlign4(x); in SkAlignPtr()
392 static const size_t kCountWithPadding = SkAlign4(kCountRequested*sizeof(T)) / sizeof(T);406 uint32_t fStorage32[SkAlign4(kCount*sizeof(T)) >> 2];
37 size_t n = SkAlign4(pos) - pos; in skipToAlign4()65 size_t n = SkAlign4(pos) - pos; in padToAlign4()
162 static const size_t kSizeAlign4 = SkAlign4(kSizeRequested);
54 bufferDesc.size = SkAlign4(bufferDesc.size); in Make()138 size = SkAlign4(size + r); in internalUnmap()258 size = SkAlign4(size + r); in blockingMap()
38 constexpr size_t sizeAlign4() const { return SkAlign4(this->size()); } in sizeAlign4()
71 size_t contentLen = SkAlign4(nameLen); in Request()83 size_t contentLen = SkAlign4(nameLen); in Create()
80 rowBytes = SkAlign4(bitmap.width() * 3); in SkEncodeImageWithWIC()
80 REPORTER_ASSERT(reporter, SkAlign4(bytesWrittenToMemory) == bytesWrittenToMemory); in TestAlignment()82 REPORTER_ASSERT(reporter, SkAlign4(bytesReadFromMemory) == bytesReadFromMemory); in TestAlignment()210 REPORTER_ASSERT(reporter, SkAlign4(bytesWritten) == bytesWritten); in TestObjectSerializationNoAlign()248 REPORTER_ASSERT(reporter, SkAlign4(bytesWritten) == bytesWritten); in TestFlattenableSerialization()948 blob_size = SkAlign4(blob->serialize(procs)->size()); in DEF_TEST()961 size_t path_size = SkAlign4(path_effect->serialize()->size()); in DEF_TEST()
23 const size_t kBytes = SkAlign4(128); in DEF_TEST()
128 const char* stop = readPtr + SkAlign4(len); in testWritePad()
73 dst->fRowBytes = SkAlign4(dst->fBounds.width()); in filterMask()
42 , fAndMaskRowBytes(fInIco ? SkAlign4(compute_row_bytes(this->dimensions().width(), 1)) : 0) in SkBmpStandardCodec()
618 , fSrcRowBytes(SkAlign4(compute_row_bytes(this->dimensions().width(), fBitsPerPixel))) in SkBmpCodec()
104 return 1 + (SkAlign4(verbCnt) >> 2) + 2 * pointCnt + conicWeightCnt; in path_key_from_data_size()118 int verbKeySize = SkAlign4(verbCnt); in write_path_key_from_data()
68 static constexpr size_t AlignOffset(size_t offset) { return SkAlign4(offset); } in AlignOffset()
49 size_t rowBytes = SkAlign4(info.minRowBytes()); in make_ringed_image()