Home
last modified time | relevance | path

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

/third_party/flutter/skia/include/core/
DSkTypes.h121 template <typename T> static constexpr bool SkIsAlign4(T x) { return 0 == (x & 3); } in SkIsAlign4() function
128 return sizeof(void*) == 8 ? SkIsAlign8(x) : SkIsAlign4(x); in SkIsAlignPtr()
/third_party/flutter/skia/include/private/
DGrResourceKey.h64 SkASSERT(SkIsAlign4(bytes));
156 SkASSERT(SkIsAlign4(this->internalSize())); in validate()
/third_party/skia/src/core/
DSkICC.cpp26 static_assert(SkIsAlign4(kDescriptionTagBodySize), "Description must be aligned to 4-bytes.");
56 static_assert(SkIsAlign4(sizeof(kCopyrightTagBody)), "Copyright must be aligned to 4-bytes.");
DSkReadBuffer.h237 return SkIsAlign4((uintptr_t)ptr); in IsPtrAlign4()
DSkWriter32.h48 SkASSERT(SkIsAlign4((uintptr_t)external));
DSkPicturePlayback.cpp78 reader->validate(SkIsAlign4(offsetToRestore) && offsetToRestore >= reader->offset()); in validate_offsetToRestore()
DSkVMBlitter.cpp35 static_assert(SkIsAlign4(sizeof(BlitterUniforms)), "");
DSkTextBlob.cpp46 static_assert(SkIsAlign4(sizeof(SkScalar)), "SkScalar size alignment"); in StorageSize()
DSkRuntimeEffect.cpp353 SkASSERT(SkIsAlign4(offset)); in MakeInternal()
/third_party/flutter/skia/src/core/
DSkICC.cpp26 static_assert(SkIsAlign4(kDescriptionTagBodySize), "Description must be aligned to 4-bytes.");
56 static_assert(SkIsAlign4(sizeof(kCopyrightTagBody)), "Copyright must be aligned to 4-bytes.");
DSkWriter32.h48 SkASSERT(SkIsAlign4((uintptr_t)external));
DSkReadBuffer.h217 return SkIsAlign4((uintptr_t)ptr); in IsPtrAlign4()
DSkPicturePlayback.cpp108 reader->validate(SkIsAlign4(offsetToRestore) && offsetToRestore >= reader->offset()); in validate_offsetToRestore()
DSkTextBlob.cpp42 static_assert(SkIsAlign4(sizeof(SkScalar)), "SkScalar size alignment"); in StorageSize()
/third_party/skia/include/private/
DGrResourceKey.h101 SkASSERT(SkIsAlign4(bytes));
157 SkASSERT(SkIsAlign4(this->internalSize())); in validate()
/third_party/flutter/skia/src/gpu/
DGrProgramDesc.h68 SkASSERT(SkIsAlign4(this->keyLength()));
/third_party/skia/include/core/
DSkTypes.h555 template <typename T> static constexpr bool SkIsAlign4(T x) { return 0 == (x & 3); } in SkIsAlign4() function
562 return sizeof(void*) == 8 ? SkIsAlign8(x) : SkIsAlign4(x); in SkIsAlignPtr()
/third_party/skia/src/gpu/
DGrProgramDesc.h163 if (!SkTFitsIn<int>(keyLength) || !SkIsAlign4(keyLength)) { in BuildFromData()
/third_party/skia/src/codec/
DSkHeifCodec.cpp407 SkASSERT(!this->colorXform() || SkIsAlign4(swizzleBytes)); in allocateStorage()
DSkJpegCodec.cpp575 SkASSERT(!this->colorXform() || SkIsAlign4(swizzleBytes)); in allocateStorage()
/third_party/flutter/skia/src/codec/
DSkHeifCodec.cpp412 SkASSERT(!this->colorXform() || SkIsAlign4(swizzleBytes)); in allocateStorage()
DSkJpegCodec.cpp624 SkASSERT(!this->colorXform() || SkIsAlign4(swizzleBytes)); in allocateStorage()
/third_party/skia/src/utils/
DSkCustomTypeface.cpp346 SkASSERT(SkIsAlign4(data->size())); in onOpenStream()