Home
last modified time | relevance | path

Searched refs:SkIsAlign4 (Results 1 – 9 of 9) sorted by relevance

/external/skia/src/gpu/
DGrProgramDesc.h68 SkASSERT(SkIsAlign4(this->keyLength()));
90 SkASSERT(SkIsAlign4(a.keyLength())); in Less()
/external/skia/include/core/
DSkWriter32.h45 SkASSERT(SkIsAlign4((uintptr_t)external));
46 SkASSERT(SkIsAlign4(externalBytes));
DSkTypes.h279 #define SkIsAlign4(x) (0 == ((x) & 3)) macro
288 #define SkIsAlignPtr(x) (sizeof(void*) == 8 ? SkIsAlign8(x) : SkIsAlign4(x))
/external/skia/include/gpu/
DGrResourceKey.h61 SkASSERT(SkIsAlign4(bytes));
137 SkASSERT(SkIsAlign4(this->internalSize())); in validate()
/external/skia/src/core/
DSkValidatingReadBuffer.h78 return SkIsAlign4((uintptr_t)ptr); in IsPtrAlign4()
DSkICC.cpp147 static_assert(SkIsAlign4(sizeof(kDescriptionTagBody)), "Description must be aligned to 4-bytes.");
172 static_assert(SkIsAlign4(sizeof(kCopyrightTagBody)), "Copyright must be aligned to 4-bytes.");
DSkTextBlob.cpp192 static_assert(SkIsAlign4(sizeof(SkScalar)), "SkScalar size alignment"); in StorageSize()
/external/skia/src/codec/
DSkJpegCodec.cpp624 SkASSERT(!this->colorXform() || SkIsAlign4(swizzleBytes)); in allocateStorage()
/external/skia/src/pipe/
DSkPipeCanvas.cpp200 SkASSERT(SkIsAlign4(fStream->bytesWritten())); in ~SkPipeWriter()