Home
last modified time | relevance | path

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

12

/external/chromium_org/mojo/system/
Dmemory.cc18 bool IsAligned(const void* pointer) { in IsAligned() function
26 bool IsAligned<8>(const void* pointer) { in IsAligned() function
36 return !!pointer && IsAligned<alignment>(pointer); in VerifyUserPointerHelper()
69 return count == 0 || (!!pointer && IsAligned<alignment>(pointer)); in VerifyUserPointerWithCountHelper()
87 return size == 0 || (!!pointer && internal::IsAligned<alignment>(pointer)); in VerifyUserPointerWithSize()
/external/chromium_org/media/base/
Daudio_bus.cc17 static bool IsAligned(void* ptr) { in IsAligned() function
137 DCHECK(IsAligned(channel_data_[i])); in AudioBus()
172 CHECK(IsAligned(data)); in WrapMemory()
180 CHECK(IsAligned(data)); in WrapMemory()
191 DCHECK(IsAligned(data)); in SetChannelData()
231 DCHECK(IsAligned(data)); in BuildChannelData()
/external/chromium_org/v8/src/
Dsmall-pointer-list.h41 ASSERT(IsAligned(reinterpret_cast<intptr_t>(list), kPointerAlignment)); in Reserve()
64 ASSERT(IsAligned(reinterpret_cast<intptr_t>(pointer), kPointerAlignment)); in Add()
73 ASSERT(IsAligned(reinterpret_cast<intptr_t>(list), kPointerAlignment)); in Add()
Dsafepoint-table.cc20 ASSERT(IsAligned(kNumSafepointRegisters, kBitsPerByte)); in HasRegisters()
70 ASSERT(IsAligned(kNumSafepointRegisters, kBitsPerByte)); in PrintEntry()
171 ASSERT(IsAligned(kNumSafepointRegisters, kBitsPerByte)); in Emit()
Dplatform-solaris.cc157 ASSERT(IsAligned(alignment, static_cast<intptr_t>(OS::AllocateAlignment()))); in VirtualMemory()
Dplatform-macos.cc186 ASSERT(IsAligned(alignment, static_cast<intptr_t>(OS::AllocateAlignment()))); in VirtualMemory()
Dplatform-freebsd.cc184 ASSERT(IsAligned(alignment, static_cast<intptr_t>(OS::AllocateAlignment()))); in VirtualMemory()
Dframes-inl.h241 ASSERT(IsAligned(stack_size_in_bytes, kPointerSize)); in ComputeOperandsCount()
Dplatform-cygwin.cc235 ASSERT(IsAligned(alignment, static_cast<intptr_t>(OS::AllocateAlignment()))); in VirtualMemory()
Dplatform-openbsd.cc215 ASSERT(IsAligned(alignment, static_cast<intptr_t>(OS::AllocateAlignment()))); in VirtualMemory()
Dplatform-qnx.cc251 ASSERT(IsAligned(alignment, static_cast<intptr_t>(OS::AllocateAlignment()))); in VirtualMemory()
Dplatform-linux.cc294 ASSERT(IsAligned(alignment, static_cast<intptr_t>(OS::AllocateAlignment()))); in VirtualMemory()
Dplatform-win32.cc771 ASSERT(IsAligned(reinterpret_cast<size_t>(mbase), OS::AllocateAlignment())); in Allocate()
1212 ASSERT(IsAligned(alignment, static_cast<intptr_t>(OS::AllocateAlignment()))); in VirtualMemory()
Dspaces.cc645 ASSERT(IsAligned(reinterpret_cast<intptr_t>(base), in AllocateChunk()
1590 ASSERT(IsAligned(delta, OS::AllocateAlignment())); in GrowTo()
1620 ASSERT(IsAligned(delta, OS::AllocateAlignment())); in ShrinkTo()
2001 ASSERT(IsAligned(size_in_bytes, kPointerSize)); in set_size()
2375 ASSERT(IsAligned(size_in_bytes, kPointerSize)); in Allocate()
/external/chromium_org/mojo/public/cpp/bindings/lib/
Dbindings_serialization.cc35 bool IsAligned(const void* ptr) { in IsAligned() function
89 if (!IsAligned(data)) { in ValidateStructHeader()
Dbindings_serialization.h24 bool IsAligned(const void* ptr);
Darray_internal.h234 if (!IsAligned(data)) {
/external/eigen/Eigen/src/Geometry/
DQuaternion.h219 IsAligned = internal::traits<Coefficients>::Flags & AlignedBit,
220 Flags = IsAligned ? (AlignedBit | LvalueBit) : LvalueBit
229 enum { IsAligned = internal::traits<Quaternion>::IsAligned };
279 EIGEN_MAKE_ALIGNED_OPERATOR_NEW_IF(IsAligned)
443 …internal::traits<Derived>::IsAligned && internal::traits<OtherDerived>::IsAligned>::run(*this, oth…
/external/eigen/Eigen/src/Core/
DMap.h85 IsAligned = bool(EIGEN_ALIGN) && ((int(MapOptions)&Aligned)==Aligned),
93 Flags1 = IsAligned ? (int(Flags0) | AlignedBit) : (int(Flags0) & ~AlignedBit),
/external/chromium_org/v8/src/arm64/
Dinstructions-arm64.cc250 ASSERT(IsAligned(DistanceTo(target), kInstructionSize)); in SetBranchImmTarget()
282 ASSERT(IsAligned(DistanceTo(source), kInstructionSize)); in SetImmLLiteral()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_stacktrace.cc52 IsAligned((uptr)frame, sizeof(*frame)) && in FastUnwindStack()
Dsanitizer_allocator.h1090 if (!IsAligned(reinterpret_cast<uptr>(p), page_size_)) { in GetMetaData()
1092 CHECK(IsAligned(reinterpret_cast<uptr>(p), page_size_)); in GetMetaData()
1202 CHECK(IsAligned(p, page_size_)); in GetHeader()
1210 CHECK(IsAligned((uptr)h, page_size_)); in GetUser()
/external/compiler-rt/lib/asan/
Dasan_allocator2.cc314 CHECK(IsAligned(needed_size, min_alignment)); in Allocate()
345 if (!IsAligned(user_beg, alignment)) in Allocate()
643 CHECK(IsAligned((uptr)ptr, alignment)); in asan_posix_memalign()
Dasan_poisoning.cc278 IsAligned(beg, granularity))) { in __sanitizer_annotate_contiguous_container()
/external/mdnsresponder/mDNSShared/
DCommonServices.h622 #define IsAligned( X, Y ) ( ( ( X ) & ( ( Y ) - 1 ) ) == 0 ) macro
630 #define IsFieldAligned( X, TYPE, FIELD, Y ) IsAligned( ( (uintptr_t)( X ) ) + offsetof( TYPE, FIEL…

12