Home
last modified time | relevance | path

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

123

/external/webrtc/webrtc/system_wrappers/source/
Daligned_array_unittest.cc19 bool IsAligned(const void* ptr, size_t alignment) { in IsAligned() function
29 ASSERT_TRUE(IsAligned(arr.Array(), 128)); in TEST()
31 ASSERT_TRUE(IsAligned(arr.Row(i), 128)); in TEST()
/external/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.cc19 DCHECK(IsAligned(kNumSafepointRegisters, kBitsPerByte)); in HasRegisters()
70 DCHECK(IsAligned(kNumSafepointRegisters, kBitsPerByte)); in PrintEntry()
172 DCHECK(IsAligned(kNumSafepointRegisters, kBitsPerByte)); in Emit()
Dobjects-body-descriptors-inl.h24 DCHECK(IsAligned(offset, kPointerSize)); in IsValidSlotImpl()
39 DCHECK(IsAligned(start_offset, kPointerSize) && in IterateBodyImpl()
40 IsAligned(end_offset, kPointerSize)); in IterateBodyImpl()
62 DCHECK(IsAligned(start_offset, kPointerSize) && in IterateBodyImpl()
63 IsAligned(end_offset, kPointerSize)); in IterateBodyImpl()
Dlayout-descriptor.cc193 DCHECK(IsAligned(offset_in_bytes, kPointerSize)); in IsTagged()
194 DCHECK(IsAligned(end_offset, kPointerSize)); in IsTagged()
Daddress-map.h84 DCHECK(IsAligned(chunk_offset, kObjectAlignment)); in Reference()
Dlayout-descriptor-inl.h245 DCHECK(IsAligned(offset_in_bytes, kPointerSize)); in IsTagged()
Dframes-inl.h194 DCHECK(IsAligned(stack_size_in_bytes, kPointerSize)); in ComputeOperandsCount()
Dutils.h170 inline bool IsAligned(T value, U alignment) { in IsAligned() function
180 return IsAligned(offs, alignment);
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_stacktrace.cc84 IsAligned((uptr)frame, sizeof(*frame)) && in FastUnwindStack()
92 !IsAligned((uptr)caller_frame, sizeof(uhwptr))) in FastUnwindStack()
Dsanitizer_allocator.h1034 CHECK(IsAligned(map_beg, page_size_)); in Allocate()
1040 CHECK(IsAligned(res, alignment)); in Allocate()
1041 CHECK(IsAligned(res, page_size_)); in Allocate()
1119 if (!IsAligned(reinterpret_cast<uptr>(p), page_size_)) { in GetMetaData()
1121 CHECK(IsAligned(reinterpret_cast<uptr>(p), page_size_)); in GetMetaData()
1231 CHECK(IsAligned(p, page_size_)); in GetHeader()
1239 CHECK(IsAligned((uptr)h, page_size_)); in GetUser()
Dsanitizer_common.h440 INLINE bool IsAligned(uptr a, uptr alignment) { in IsAligned() function
/external/v8/src/arm64/
Dinstructions-arm64.cc254 DCHECK(IsAligned(DistanceTo(target), kInstructionSize)); in SetBranchImmTarget()
290 DCHECK(IsAligned(DistanceTo(target), kInstructionSize)); in SetUnresolvedInternalReferenceImmTarget()
305 DCHECK(IsAligned(DistanceTo(source), kInstructionSize)); in SetImmLLiteral()
Dinstructions-arm64.h392 DCHECK(check == NO_CHECK || IsAligned(offset, kInstructionSize));
399 DCHECK(check == NO_CHECK || IsAligned(offset, kInstructionSize));
/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/compiler-rt/lib/asan/
Dasan_poisoning.cc85 CHECK(IsAligned(end, SHADOW_GRANULARITY)); in AsanPoisonOrUnpoisonIntraObjectRedzone()
86 if (!IsAligned(ptr, SHADOW_GRANULARITY)) { in AsanPoisonOrUnpoisonIntraObjectRedzone()
340 IsAligned(beg, granularity))) { in __sanitizer_annotate_contiguous_container()
Dasan_allocator.cc355 CHECK(IsAligned(needed_size, min_alignment)); in Allocate()
392 if (!IsAligned(user_beg, alignment)) in Allocate()
752 CHECK(IsAligned((uptr)ptr, alignment)); in asan_posix_memalign()
/external/v8/src/debug/
Ddebug-frames.h68 DCHECK(IsAligned(OffsetFrom(id), static_cast<intptr_t>(4))); in WrapFrameId()
/external/v8/src/parsing/
Dpreparse-data.cc71 DCHECK(IsAligned(reinterpret_cast<intptr_t>(data), kPointerAlignment)); in GetScriptData()
/external/v8/src/runtime/
Druntime-internal.cc247 RUNTIME_ASSERT(IsAligned(size, kPointerSize)); in RUNTIME_FUNCTION()
259 RUNTIME_ASSERT(IsAligned(size, kPointerSize)); in RUNTIME_FUNCTION()
Druntime-strings.cc963 DCHECK(IsAligned(reinterpret_cast<intptr_t>(dst), sizeof(uintptr_t))); in FastAsciiConvert()
965 if (IsAligned(reinterpret_cast<intptr_t>(src), sizeof(uintptr_t))) { in FastAsciiConvert()
/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/v8/src/heap/
Dobjects-visiting.h123 DCHECK(IsAligned(object_size, kPointerSize)); in GetVisitorIdForSize()
/external/v8/src/snapshot/
Dserialize.cc2247 IsAligned(bytes_to_output, kPointerAlignment) && in OutputRawData()
2308 while (!IsAligned(sink_->Position(), kPointerAlignment)) { in Pad()
2577 DCHECK(IsAligned(reinterpret_cast<intptr_t>(data_), kPointerAlignment)); in AllocateData()
2643 DCHECK(IsAligned(payload.length(), kIntptrSize)); in Checksum()
2772 DCHECK(IsAligned(reinterpret_cast<intptr_t>(payload), kPointerAlignment)); in Payload()

123