Home
last modified time | relevance | path

Searched refs:IsAligned (Results 1 – 22 of 22) sorted by relevance

/third_party/flutter/skia/third_party/externals/dawn/src/tests/unittests/
DMathTests.cpp114 TEST(Math, IsAligned) { in TEST() argument
116 ASSERT_TRUE(IsAligned(0, 4)); in TEST()
117 ASSERT_TRUE(IsAligned(0, 256)); in TEST()
118 ASSERT_TRUE(IsAligned(0, 512)); in TEST()
121 ASSERT_TRUE(IsAligned(8, 8)); in TEST()
122 ASSERT_TRUE(IsAligned(16, 8)); in TEST()
123 ASSERT_TRUE(IsAligned(24, 8)); in TEST()
124 ASSERT_TRUE(IsAligned(256, 256)); in TEST()
125 ASSERT_TRUE(IsAligned(512, 256)); in TEST()
126 ASSERT_TRUE(IsAligned(768, 256)); in TEST()
[all …]
/third_party/skia/third_party/externals/dawn/src/tests/unittests/
DMathTests.cpp198 TEST(Math, IsAligned) { in TEST() argument
200 ASSERT_TRUE(IsAligned(0, 4)); in TEST()
201 ASSERT_TRUE(IsAligned(0, 256)); in TEST()
202 ASSERT_TRUE(IsAligned(0, 512)); in TEST()
205 ASSERT_TRUE(IsAligned(8, 8)); in TEST()
206 ASSERT_TRUE(IsAligned(16, 8)); in TEST()
207 ASSERT_TRUE(IsAligned(24, 8)); in TEST()
208 ASSERT_TRUE(IsAligned(256, 256)); in TEST()
209 ASSERT_TRUE(IsAligned(512, 256)); in TEST()
210 ASSERT_TRUE(IsAligned(768, 256)); in TEST()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/shaders/src/
DBufferUtils.comp11 // * IsAligned: if true, assumes the workgroup size divides the buffer size, so there is no
54 // size: used if !IsAligned
65 #if !IsAligned
68 #endif // IsAligned
DConvertVertex.comp39 // * IsAligned: if true, assumes the workgroup size divides the output count, so there is no
308 #if !IsAligned
311 #endif // IsAligned
317 #if !IsAligned
/third_party/flutter/skia/third_party/externals/dawn/src/common/
DMath.h32 bool IsAligned(uint32_t value, size_t alignment);
DMath.cpp68 bool IsAligned(uint32_t value, size_t alignment) { in IsAligned() function
/third_party/skia/third_party/externals/dawn/src/common/
DMath.h53 bool IsAligned(uint32_t value, size_t alignment);
DMath.cpp93 bool IsAligned(uint32_t value, size_t alignment) { in IsAligned() function
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DIceUtils.h83 template <typename T> inline bool IsAligned(T X, intptr_t N) { in IsAligned() function
DIceAssemblerMIPS32.cpp111 assert(Utils::IsAligned(Offset, 4)); in assertCanEncodeBranchOffset()
DIceInstARM32.cpp357 return Utils::IsAligned(Offset, 4) && Utils::IsAbsoluteUint(Bits, Offset); in canHoldOffset()
DIceAssemblerARM32.cpp524 assert(Utils::IsAligned(Offset, 4) && in assertCanEncodeBranchOffset()
DIceTargetLoweringMIPS32.cpp2009 if (DestTy == IceType_f64 && !Utils::IsAligned(Offset, 8) && in legalizeMov()
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DProgrammableEncoder.cpp155 DAWN_INVALID_IF(!IsAligned(dynamicOffsets[i], requiredAlignment), in ValidateSetBindGroup()
DBindGroupLayout.cpp519 ASSERT(IsAligned(objectPointerStart, alignof(Ref<ObjectBase>))); in GetBindingDataSize()
523 ASSERT(IsAligned(bufferSizeArrayStart, alignof(uint64_t))); in GetBindingDataSize()
DBindGroup.cpp100 DAWN_INVALID_IF(!IsAligned(entry.offset, requiredBindingAlignment), in ValidateBufferBinding()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/
DBindGroup.cpp52 if (!IsAligned(binding.offset, 256)) { in ValidateBufferBinding()
/third_party/skia/third_party/externals/dawn/src/dawn_native/metal/
DBufferMTL.mm81 ASSERT(IsAligned(kMinUniformOrStorageBufferAlignment, alignment));
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonISelDAGToDAG.cpp1337 auto IsAligned = [LogAlign] (uint64_t V) -> bool { in SelectAnyImmediate() local
1346 if (!IsAligned(V)) in SelectAnyImmediate()
1366 if (LogAlign > 2 || !IsAligned(cast<BlockAddressSDNode>(N)->getOffset())) in SelectAnyImmediate()
1381 auto IsAligned = [LogAlign] (uint64_t V) -> bool { in SelectGlobalAddress() local
1397 if (!IsAligned(Const->getZExtValue())) in SelectGlobalAddress()
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/DartARM32/
Dassembler_arm.cc49 ASSERT(Utils::IsAligned(offset, 4)); // Multiple of 4. in vencoding()
60 ASSERT(Utils::IsAligned(data, 4)); in InitializeMemoryWithBreakpoints()
61 ASSERT(Utils::IsAligned(length, 4)); in InitializeMemoryWithBreakpoints()
1971 ASSERT(Utils::IsAligned(offset, 4));
2359 return (Utils::IsAbsoluteUint(10, offset) && Utils::IsAligned(offset, 4)); in CanHoldLoadOffset()
2392 return (Utils::IsAbsoluteUint(10, offset) && Utils::IsAligned(offset, 4)); in CanHoldStoreOffset()
/third_party/libabigail/tests/data/test-annotate/
Dtest15-pr18892.so.abi4550 <!-- bool __sanitizer::IsAligned(__sanitizer::uptr, __sanitizer::uptr) -->
4551 …<function-decl name='IsAligned' filepath='../../.././libsanitizer/sanitizer_common/sanitizer_commo…
8588 <!-- bool __sanitizer::IsAligned(__sanitizer::uptr, __sanitizer::uptr) -->
8589 …<function-decl name='IsAligned' filepath='../../.././libsanitizer/sanitizer_common/sanitizer_commo…
36614 <!-- bool __sanitizer::IsAligned(__sanitizer::uptr, __sanitizer::uptr) -->
36615 …<function-decl name='IsAligned' filepath='../../.././libsanitizer/sanitizer_common/sanitizer_commo…
40768 <!-- bool __sanitizer::IsAligned(__sanitizer::uptr, __sanitizer::uptr) -->
40769 …<function-decl name='IsAligned' filepath='../../.././libsanitizer/sanitizer_common/sanitizer_commo…
/third_party/libabigail/tests/data/test-read-dwarf/
Dtest15-pr18892.so.abi2495 …<function-decl name='IsAligned' filepath='../../.././libsanitizer/sanitizer_common/sanitizer_commo…
4883 …<function-decl name='IsAligned' filepath='../../.././libsanitizer/sanitizer_common/sanitizer_commo…
21689 …<function-decl name='IsAligned' filepath='../../.././libsanitizer/sanitizer_common/sanitizer_commo…
24304 …<function-decl name='IsAligned' filepath='../../.././libsanitizer/sanitizer_common/sanitizer_commo…