/external/skia/src/core/ |
D | SkWriter32.h | 60 SkASSERT(SkAlign4(size) == size); in reserve() 76 SkASSERT(SkAlign4(offset) == offset); in readTAt() 87 SkASSERT(SkAlign4(offset) == offset); in overwriteTAt() 139 SkASSERT(SkAlign4(size) == size); in writePath() 147 SkASSERT(SkAlign4(size) == size); in writeRegion() 161 SkASSERT(SkAlign4(size) == size); in write() 170 size_t alignedSize = SkAlign4(size); in reservePad() 211 return 4 + SkAlign4(data ? data->size() : 0); in WriteDataSize() 219 SkASSERT(SkAlign4(offset) == offset); in rewindToOffset()
|
D | SkWriter32.cpp | 14 SkASSERT(SkAlign4(size) == size); in writeMatrix() 42 return SkAlign4(lenBytes + len + 1); in WriteStringSize()
|
D | SkBuffer.cpp | 34 size_t n = SkAlign4(pos) - pos; in skipToAlign4() 62 size_t n = SkAlign4(pos) - pos; in padToAlign4()
|
D | SkReadBuffer.cpp | 40 this->validate(IsPtrAlign4(data) && (SkAlign4(size) == size)); in setMemory() 56 size_t inc = SkAlign4(size); in skip() 184 (void)this->validate((SkAlign4(size) == size) && (0 != size)); in readMatrix() 228 if (!this->validate((SkAlign4(size) == size) && (0 != size))) { in readRRect() 239 if (!this->validate((SkAlign4(size) == size) && (0 != size))) { in readRegion() 250 if (!this->validate((SkAlign4(size) == size) && (0 != size))) { in readPath()
|
D | SkCanvasPriv.cpp | 63 SkAlign4(flagCount * sizeof(SkCanvas::Lattice::RectType)) + in WriteLattice() 64 SkAlign4(flagCount * sizeof(SkColor)) + in WriteLattice()
|
D | SkDescriptor.cpp | 17 SkASSERT(SkAlign4(length) == length); in Alloc() 29 SkASSERT(SkAlign4(length) == length); in addEntry()
|
D | SkAutoMalloc.h | 160 static const size_t kSizeAlign4 = SkAlign4(kSizeRequested);
|
/external/skqp/src/core/ |
D | SkWriter32.h | 60 SkASSERT(SkAlign4(size) == size); in reserve() 76 SkASSERT(SkAlign4(offset) == offset); in readTAt() 87 SkASSERT(SkAlign4(offset) == offset); in overwriteTAt() 145 SkASSERT(SkAlign4(size) == size); in writePath() 153 SkASSERT(SkAlign4(size) == size); in writeRegion() 167 SkASSERT(SkAlign4(size) == size); in write() 176 size_t alignedSize = SkAlign4(size); in reservePad() 218 return 4 + SkAlign4(data ? data->size() : 0); in WriteDataSize() 226 SkASSERT(SkAlign4(offset) == offset); in rewindToOffset()
|
D | SkReader32.h | 31 SkASSERT(SkAlign4(size) == size); in setMemory() 49 SkASSERT(SkAlign4(offset) == offset); in setOffset() 87 fCurr += SkAlign4(size); in skip() 93 SkASSERT(SkAlign4(sizeof(T)) == sizeof(T)); in skipT() 101 fCurr += SkAlign4(size); in read() 151 bool success = (size > 0) && (size <= this->available()) && (SkAlign4(size) == size); in readObjectFromMemory()
|
D | SkWriter32.cpp | 17 SkASSERT(SkAlign4(size) == size); in writeMatrix() 30 size_t alignedSize = SkAlign4(len + 1); in readString() 72 return SkAlign4(lenBytes + len + 1); in WriteStringSize()
|
D | SkBuffer.cpp | 34 size_t n = SkAlign4(pos) - pos; in skipToAlign4() 62 size_t n = SkAlign4(pos) - pos; in padToAlign4()
|
D | SkReadBuffer.cpp | 64 this->validate(IsPtrAlign4(data) && (SkAlign4(size) == size)); in setMemory() 78 size_t inc = SkAlign4(size); in skip() 176 (void)this->validate((SkAlign4(size) == size) && (0 != size)); in readMatrix() 206 if (!this->validate((SkAlign4(size) == size) && (0 != size))) { in readRegion() 217 if (!this->validate((SkAlign4(size) == size) && (0 != size))) { in readPath()
|
D | SkDescriptor.cpp | 17 SkASSERT(SkAlign4(length) == length); in Alloc() 25 SkASSERT(SkAlign4(length) == length); in addEntry()
|
D | SkCanvasPriv.cpp | 59 SkAlign4(flagCount * sizeof(SkCanvas::Lattice::RectType)) + in WriteLattice() 60 SkAlign4(flagCount * sizeof(SkColor)) + in WriteLattice()
|
D | SkAutoMalloc.h | 161 static const size_t kSizeAlign4 = SkAlign4(kSizeRequested);
|
/external/skia/src/gpu/effects/ |
D | GrGaussianConvolutionFragmentProcessor.h | 81 float fKernel[SkAlign4(kMaxKernelWidth)]; 82 float fOffsets[SkAlign4(kMaxKernelWidth)];
|
/external/skia/src/gpu/mtl/ |
D | GrMtlBuffer.mm | 55 size = SkAlign4(size); 87 SkASSERT(SkAlign4(srcInBytes) == fMappedBuffer.length); 138 sizeInBytes = SkAlign4(sizeInBytes); 162 sizeInBytes = SkAlign4(sizeInBytes);
|
/external/skqp/include/core/ |
D | SkTypes.h | 120 template <typename T> static constexpr T SkAlign4(T x) { return (x + 3) >> 2 << 2; } in SkAlign4() function 128 return sizeof(void*) == 8 ? SkAlign8(x) : SkAlign4(x); in SkAlignPtr()
|
/external/skqp/src/gpu/effects/ |
D | GrSkSLFP.cpp | 57 offset = SkAlign4(offset); in getSpecialization() 67 offset = SkAlign4(offset) + sizeof(float) * 4; in getSpecialization() 195 offset = SkAlign4(offset); in onSetData() 307 offset = SkAlign4(offset); in onGetGLSLProcessorKey()
|
/external/skqp/tests/ |
D | SerializationTest.cpp | 46 REPORTER_ASSERT(reporter, SkAlign4(bytesWrittenToMemory) == bytesWrittenToMemory); in TestAlignment() 48 REPORTER_ASSERT(reporter, SkAlign4(bytesReadFromMemory) == bytesReadFromMemory); in TestAlignment() 176 REPORTER_ASSERT(reporter, SkAlign4(bytesWritten) == bytesWritten); in TestObjectSerializationNoAlign() 214 REPORTER_ASSERT(reporter, SkAlign4(bytesWritten) == bytesWritten); in TestFlattenableSerialization() 763 blob_size = SkAlign4(blob->serialize(procs)->size()); in DEF_TEST() 776 size_t path_size = SkAlign4(path_effect->serialize()->size()); in DEF_TEST()
|
D | ChecksumTest.cpp | 16 const size_t kBytes = SkAlign4(128); in DEF_TEST()
|
/external/skia/tests/ |
D | SerializationTest.cpp | 44 REPORTER_ASSERT(reporter, SkAlign4(bytesWrittenToMemory) == bytesWrittenToMemory); in TestAlignment() 46 REPORTER_ASSERT(reporter, SkAlign4(bytesReadFromMemory) == bytesReadFromMemory); in TestAlignment() 174 REPORTER_ASSERT(reporter, SkAlign4(bytesWritten) == bytesWritten); in TestObjectSerializationNoAlign() 212 REPORTER_ASSERT(reporter, SkAlign4(bytesWritten) == bytesWritten); in TestFlattenableSerialization() 853 blob_size = SkAlign4(blob->serialize(procs)->size()); in DEF_TEST() 866 size_t path_size = SkAlign4(path_effect->serialize()->size()); in DEF_TEST()
|
D | ChecksumTest.cpp | 16 const size_t kBytes = SkAlign4(128); in DEF_TEST()
|
/external/skqp/src/gpu/ |
D | GrProgramDesc.h | 123 kHeaderSize = SkAlign4(sizeof(KeyHeader)),
|
/external/skqp/src/ports/ |
D | SkFontMgr_FontConfigInterface.cpp | 82 size_t contentLen = SkAlign4(nameLen); in Request() 94 size_t contentLen = SkAlign4(nameLen); in Create()
|