Home
last modified time | relevance | path

Searched refs:is_align4 (Results 1 – 2 of 2) sorted by relevance

/third_party/flutter/skia/src/utils/
DSkUTF.cpp14 template <typename T> static constexpr bool is_align4(T x) { return 0 == (x & 3); } in is_align4() function
97 if (!is_align4(intptr_t(utf32)) || !is_align4(byteLength) || byteLength >> 2 > INT_MAX) { in CountUTF32()
197 if (!s || s + 1 > end || !is_align4(intptr_t(s))) { in NextUTF32()
/third_party/skia/src/utils/
DSkUTF.cpp15 template <typename T> static constexpr bool is_align4(T x) { return 0 == (x & 3); } in is_align4() function
98 if (!is_align4(intptr_t(utf32)) || !is_align4(byteLength) || !SkTFitsIn<int>(byteLength >> 2)) { in CountUTF32()
198 if (!s || s + 1 > end || !is_align4(intptr_t(s))) { in NextUTF32()