Home
last modified time | relevance | path

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

12

/external/chromium_org/mojo/system/
Dmemory.cc17 bool IsAligned(const void* pointer) { in IsAligned() function
25 bool IsAligned<8>(const void* pointer) { in IsAligned() function
32 CHECK(pointer && IsAligned<alignment>(pointer)); in CheckUserPointer()
45 CHECK(count == 0 || (pointer && IsAligned<alignment>(pointer))); in CheckUserPointerWithCount()
63 CHECK(size == 0 || (!!pointer && internal::IsAligned<alignment>(pointer))); in CheckUserPointerWithSize()
/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 DCHECK(IsAligned(reinterpret_cast<intptr_t>(list), kPointerAlignment)); in Reserve()
64 DCHECK(IsAligned(reinterpret_cast<intptr_t>(pointer), kPointerAlignment)); in Add()
73 DCHECK(IsAligned(reinterpret_cast<intptr_t>(list), kPointerAlignment)); in Add()
Dsafepoint-table.cc21 DCHECK(IsAligned(kNumSafepointRegisters, kBitsPerByte)); in HasRegisters()
71 DCHECK(IsAligned(kNumSafepointRegisters, kBitsPerByte)); in PrintEntry()
173 DCHECK(IsAligned(kNumSafepointRegisters, kBitsPerByte)); in Emit()
Dpreparse-data.cc73 DCHECK(IsAligned(reinterpret_cast<intptr_t>(data), kPointerAlignment)); in GetScriptData()
Dframes-inl.h243 DCHECK(IsAligned(stack_size_in_bytes, kPointerSize)); in ComputeOperandsCount()
Dutils.h123 inline bool IsAligned(T value, U alignment) { in IsAligned() function
133 return IsAligned(offs, alignment);
Dcompiler.cc37 if (!IsAligned(reinterpret_cast<intptr_t>(data), kPointerAlignment)) { in ScriptData()
39 DCHECK(IsAligned(reinterpret_cast<intptr_t>(copy), kPointerAlignment)); in ScriptData()
Dparser.h66 CHECK(IsAligned(script_data->length(), sizeof(unsigned))); in ParseData()
/external/chromium_org/mojo/public/cpp/bindings/lib/
Dbindings_serialization.cc34 bool IsAligned(const void* ptr) { in IsAligned() function
88 if (!IsAligned(data)) { in ValidateStructHeader()
Dbindings_serialization.h24 bool IsAligned(const void* ptr);
Darray_internal.h351 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 DCHECK(IsAligned(DistanceTo(target), kInstructionSize)); in SetBranchImmTarget()
282 DCHECK(IsAligned(DistanceTo(source), kInstructionSize)); in SetImmLLiteral()
/external/chromium_org/v8/src/compiler/
Dframe.h47 DCHECK(IsAligned(size, kPointerSize)); in SetRegisterSaveAreaSize()
/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()
Dsanitizer_common.h315 INLINE bool IsAligned(uptr a, uptr alignment) { in IsAligned() function
/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…
/external/chromium_org/v8/src/heap/
Dspaces.cc612 IsAligned(reinterpret_cast<intptr_t>(base), MemoryChunk::kAlignment)); in AllocateChunk()
1549 DCHECK(IsAligned(delta, base::OS::AllocateAlignment())); in GrowTo()
1578 DCHECK(IsAligned(delta, base::OS::AllocateAlignment())); in ShrinkTo()
1957 DCHECK(IsAligned(size_in_bytes, kPointerSize)); in set_size()
2329 DCHECK(IsAligned(size_in_bytes, kPointerSize)); in Allocate()
Dobjects-visiting.h119 DCHECK(IsAligned(object_size, kPointerSize)); in GetVisitorIdForSize()
Dheap-inl.h476 DCHECK(IsAligned(byte_size, kPointerSize)); in MoveBlock()

12