/external/deqp/framework/delibs/decpp/ |
D | dePoolArray.hpp | 38 template<typename T, deUint32 Alignment> 41 template<typename T, deUint32 Alignment> 51 template<typename T, deUint32 Alignment = (sizeof(T) > sizeof(void*) ? (deUint32)sizeof(void*) : (d… 55 typedef PoolArrayIterator<T, Alignment> Iterator; 56 typedef PoolArrayConstIterator<T, Alignment> ConstIterator; 62 PoolArray (MemPool* pool, const PoolArray<T, Alignment>& other); 101 …PoolArray (const PoolArray<T, Alignment>& other); // \note Default copy ctor is not allowed, use… 114 template<typename T, deUint32 Alignment> 127 template<typename T, deUint32 Alignment> 128 class PoolArrayConstIterator : public PoolArrayIteratorBase<T, Alignment> [all …]
|
D | deArrayBuffer.hpp | 47 template <typename T, size_t Alignment = (sizeof(T) > 4 ? 4 : sizeof(T)), size_t Stride = sizeof(T)> 76 template <typename T, size_t Alignment, size_t Stride> 77 ArrayBuffer<T,Alignment,Stride>::ArrayBuffer (void) throw() in ArrayBuffer() 83 template <typename T, size_t Alignment, size_t Stride> 84 ArrayBuffer<T,Alignment,Stride>::ArrayBuffer (size_t numElements) in ArrayBuffer() 92 void* const ptr = detail::ArrayBuffer_AlignedMalloc(storageSize, Alignment); in ArrayBuffer() 102 template <typename T, size_t Alignment, size_t Stride> 103 ArrayBuffer<T,Alignment,Stride>::ArrayBuffer (const T* ptr, size_t numElements) in ArrayBuffer() 110 ArrayBuffer<T,Alignment,Stride> tmp(numElements); in ArrayBuffer() 129 template <typename T, size_t Alignment, size_t Stride> [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | AlignOf.h | 37 enum { Alignment = enumerator 40 enum { Alignment_GreaterEqual_2Bytes = Alignment >= 2 ? 1 : 0 }; 41 enum { Alignment_GreaterEqual_4Bytes = Alignment >= 4 ? 1 : 0 }; 42 enum { Alignment_GreaterEqual_8Bytes = Alignment >= 8 ? 1 : 0 }; 43 enum { Alignment_GreaterEqual_16Bytes = Alignment >= 16 ? 1 : 0 }; 45 enum { Alignment_LessEqual_2Bytes = Alignment <= 2 ? 1 : 0 }; 46 enum { Alignment_LessEqual_4Bytes = Alignment <= 4 ? 1 : 0 }; 47 enum { Alignment_LessEqual_8Bytes = Alignment <= 8 ? 1 : 0 }; 48 enum { Alignment_LessEqual_16Bytes = Alignment <= 16 ? 1 : 0 }; 57 static inline unsigned alignOf() { return AlignOf<T>::Alignment; } in alignOf()
|
D | Allocator.h | 126 static char *AlignPtr(char *Ptr, size_t Alignment); 150 void *Allocate(size_t Size, size_t Alignment); 156 return static_cast<T*>(Allocate(sizeof(T),AlignOf<T>::Alignment)); 163 return static_cast<T*>(Allocate(Num * sizeof(T), AlignOf<T>::Alignment)); 169 T *Allocate(size_t Num, size_t Alignment) { 171 size_t EltSize = (sizeof(T)+Alignment-1)&(-Alignment); 172 return static_cast<T*>(Allocate(Num * EltSize, Alignment));
|
/external/llvm/unittests/Support/ |
D | AlignOfTest.cpp | 110 [AlignOf<char>::Alignment > 0] 111 [AlignOf<short>::Alignment > 0] 112 [AlignOf<int>::Alignment > 0] 113 [AlignOf<long>::Alignment > 0] 114 [AlignOf<long long>::Alignment > 0] 115 [AlignOf<float>::Alignment > 0] 116 [AlignOf<double>::Alignment > 0] 117 [AlignOf<long double>::Alignment > 0] 118 [AlignOf<void *>::Alignment > 0] 119 [AlignOf<int *>::Alignment > 0] [all …]
|
/external/llvm/lib/Transforms/Utils/ |
D | ASanStackFrameLayout.cpp | 30 return a.Alignment > b.Alignment; in CompareVars() 39 static size_t VarAndRedzoneSize(size_t Size, size_t Alignment) { in VarAndRedzoneSize() argument 47 return alignTo(Res, Alignment); in VarAndRedzoneSize() 61 Vars[i].Alignment = std::max(Vars[i].Alignment, kMinAlignment); in ComputeASanStackFrameLayout() 67 Layout->FrameAlignment = std::max(Granularity, Vars[0].Alignment); in ComputeASanStackFrameLayout() 71 Vars[0].Alignment); in ComputeASanStackFrameLayout() 76 size_t Alignment = std::max(Granularity, Vars[i].Alignment); in ComputeASanStackFrameLayout() local 77 (void)Alignment; // Used only in asserts. in ComputeASanStackFrameLayout() 80 assert((Alignment & (Alignment - 1)) == 0); in ComputeASanStackFrameLayout() 81 assert(Layout->FrameAlignment >= Alignment); in ComputeASanStackFrameLayout() [all …]
|
/external/llvm/lib/ExecutionEngine/ |
D | SectionMemoryManager.cpp | 23 unsigned Alignment, in allocateDataSection() argument 28 return allocateSection(RODataMem, Size, Alignment); in allocateDataSection() 29 return allocateSection(RWDataMem, Size, Alignment); in allocateDataSection() 33 unsigned Alignment, in allocateCodeSection() argument 36 return allocateSection(CodeMem, Size, Alignment); in allocateCodeSection() 41 unsigned Alignment) { in allocateSection() argument 42 if (!Alignment) in allocateSection() 43 Alignment = 16; in allocateSection() 45 assert(!(Alignment & (Alignment - 1)) && "Alignment must be a power of two."); in allocateSection() 47 uintptr_t RequiredSize = Alignment * ((Size + Alignment - 1)/Alignment + 1); in allocateSection() [all …]
|
/external/llvm/include/llvm/Support/ |
D | AlignOf.h | 78 static constexpr unsigned Alignment = static_cast<unsigned int>( 82 Alignment = static_cast<unsigned int>( 86 enum { Alignment_GreaterEqual_2Bytes = Alignment >= 2 ? 1 : 0 }; 87 enum { Alignment_GreaterEqual_4Bytes = Alignment >= 4 ? 1 : 0 }; 88 enum { Alignment_GreaterEqual_8Bytes = Alignment >= 8 ? 1 : 0 }; 89 enum { Alignment_GreaterEqual_16Bytes = Alignment >= 16 ? 1 : 0 }; 91 enum { Alignment_LessEqual_2Bytes = Alignment <= 2 ? 1 : 0 }; 92 enum { Alignment_LessEqual_4Bytes = Alignment <= 4 ? 1 : 0 }; 93 enum { Alignment_LessEqual_8Bytes = Alignment <= 8 ? 1 : 0 }; 94 enum { Alignment_LessEqual_16Bytes = Alignment <= 16 ? 1 : 0 }; [all …]
|
/external/swiftshader/third_party/LLVM/lib/Support/ |
D | Allocator.cpp | 35 char *BumpPtrAllocator::AlignPtr(char *Ptr, size_t Alignment) { in AlignPtr() argument 36 assert(Alignment && (Alignment & (Alignment - 1)) == 0 && in AlignPtr() 40 return (char*)(((uintptr_t)Ptr + Alignment - 1) & in AlignPtr() 41 ~(uintptr_t)(Alignment - 1)); in AlignPtr() 89 void *BumpPtrAllocator::Allocate(size_t Size, size_t Alignment) { in Allocate() argument 97 if (Alignment == 0) Alignment = 1; in Allocate() 100 char *Ptr = AlignPtr(CurPtr, Alignment); in Allocate() 109 size_t PaddedSize = Size + sizeof(MemSlab) + Alignment - 1; in Allocate() 118 Ptr = AlignPtr((char*)(NewSlab + 1), Alignment); in Allocate() 125 Ptr = AlignPtr(CurPtr, Alignment); in Allocate()
|
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/ |
D | MachineConstantPool.h | 55 unsigned Alignment) = 0; 84 unsigned Alignment; variable 87 : Alignment(A) { in MachineConstantPoolEntry() 91 : Alignment(A) { in MachineConstantPoolEntry() 93 Alignment |= 1U << (sizeof(unsigned)*CHAR_BIT-1); in MachineConstantPoolEntry() 100 return (int)Alignment < 0; in isMachineConstantPoolEntry() 104 return Alignment & ~(1 << (sizeof(unsigned)*CHAR_BIT-1)); in getAlignment() 152 unsigned getConstantPoolIndex(const Constant *C, unsigned Alignment); 153 unsigned getConstantPoolIndex(MachineConstantPoolValue *V,unsigned Alignment);
|
D | JITCodeEmitter.h | 74 unsigned Alignment) = 0; 150 void emitAlignment(unsigned Alignment) { in emitAlignment() argument 151 if (Alignment == 0) Alignment = 1; in emitAlignment() 153 Alignment); in emitAlignment() 159 void emitAlignmentWithFill(unsigned Alignment, uint8_t Fill) { in emitAlignmentWithFill() argument 160 if (Alignment == 0) Alignment = 1; in emitAlignmentWithFill() 162 Alignment); in emitAlignmentWithFill() 256 virtual void *allocateSpace(uintptr_t Size, unsigned Alignment) { in allocateSpace() argument 257 emitAlignment(Alignment); in allocateSpace() 276 virtual void *allocateGlobal(uintptr_t Size, unsigned Alignment) = 0;
|
D | MachineFrameInfo.h | 90 unsigned Alignment; member 112 : SPOffset(SP), Size(Sz), Alignment(Al), isImmutable(IM), in StackObject() 354 return Objects[ObjectIdx+NumFixedObjects].Alignment; in getObjectAlignment() 361 Objects[ObjectIdx+NumFixedObjects].Alignment = Align; in setObjectAlignment() 482 int CreateStackObject(uint64_t Size, unsigned Alignment, bool isSS, 485 Objects.push_back(StackObject(Size, Alignment, 0, false, isSS, MayNeedSP)); 488 MaxAlignment = std::max(MaxAlignment, Alignment); 496 int CreateSpillStackObject(uint64_t Size, unsigned Alignment) { in CreateSpillStackObject() argument 497 CreateStackObject(Size, Alignment, true, false); in CreateSpillStackObject() 499 MaxAlignment = std::max(MaxAlignment, Alignment); in CreateSpillStackObject() [all …]
|
/external/llvm/test/CodeGen/Generic/ |
D | 2009-03-17-LSR-APInt.ll | 5 %struct.Alignment = type { i32 } 11 …type { %"struct.QHashData::Node"*, %"struct.QHashData::Node"**, %struct.Alignment, i32, i32, i16, … 16 %"struct.QListData::Data" = type { %struct.Alignment, i32, i32, i32, i8, [1 x i8*] } 25 …%struct.QWidgetData = type { i64, i32, %struct.Alignment, i8, i8, i16, %struct.QRect, %struct.QPal… 41 …%struct.Alignment*), i32 (%struct.pthread_mutex_t*, %struct.Alignment*)* @pthread_mutex_init ; <i… 44 …ttr_t = weak alias i32 (%struct.Alignment*), i32 (%struct.Alignment*)* @pthread_mutexattr_init ; … 45 … weak alias i32 (%struct.Alignment*, i32), i32 (%struct.Alignment*, i32)* @pthread_mutexattr_setty… 46 …r_t = weak alias i32 (%struct.Alignment*), i32 (%struct.Alignment*)* @pthread_mutexattr_destroy ;… 98 define i32 @pthread_mutex_init(%struct.pthread_mutex_t*, %struct.Alignment*) { 110 define i32 @pthread_mutexattr_init(%struct.Alignment*) { [all …]
|
/external/llvm/include/llvm/CodeGen/ |
D | MachineConstantPool.h | 50 unsigned Alignment) = 0; 78 unsigned Alignment; variable 81 : Alignment(A) { in MachineConstantPoolEntry() 85 : Alignment(A) { in MachineConstantPoolEntry() 87 Alignment |= 1U << (sizeof(unsigned) * CHAR_BIT - 1); in MachineConstantPoolEntry() 94 return (int)Alignment < 0; in isMachineConstantPoolEntry() 98 return Alignment & ~(1 << (sizeof(unsigned) * CHAR_BIT - 1)); in getAlignment() 143 unsigned getConstantPoolIndex(const Constant *C, unsigned Alignment); 145 unsigned Alignment);
|
/external/abi-compliance-checker/modules/Internals/ |
D | CallConv.pm | 606 my $Alignment = $SInfo->{"Param"}{$Pos}{"algn"}; 607 if($Alignment<$StackAlgn) { 608 $Alignment = $StackAlgn; 610 return pushStack($SInfo, $Alignment, $TInfo->{$PTid}{"Size"}, { 0 => $PName }); 1010 my $Alignment = 0; 1016 $Alignment = $Computed; 1022 $Alignment = $BSize; 1025 $Alignment = 1; 1028 return ($Alignment, $BSize); 1034 $Alignment = $Computed*$BYTE; [all …]
|
/external/eigen/Eigen/src/Core/functors/ |
D | AssignmentFunctors.h | 26 template<int Alignment, typename Packet> 28 { internal::pstoret<DstScalar,Packet,Alignment>(a,b); } in assignPacket() 51 template<int Alignment, typename Packet> 53 …{ internal::pstoret<DstScalar,Packet,Alignment>(a,internal::padd(internal::ploadt<Packet,Alignment… 72 template<int Alignment, typename Packet> 74 …{ internal::pstoret<DstScalar,Packet,Alignment>(a,internal::psub(internal::ploadt<Packet,Alignment… 94 template<int Alignment, typename Packet> 96 …{ internal::pstoret<DstScalar,Packet,Alignment>(a,internal::pmul(internal::ploadt<Packet,Alignment… 115 template<int Alignment, typename Packet> 117 …{ internal::pstoret<DstScalar,Packet,Alignment>(a,internal::pdiv(internal::ploadt<Packet,Alignment…
|
/external/eigen/Eigen/src/Geometry/arch/ |
D | Geometry_SSE.h | 22 AAlignment = traits<Derived>::Alignment, 23 BAlignment = traits<OtherDerived>::Alignment, 24 ResAlignment = traits<Quaternion<float> >::Alignment 49 ResAlignment = traits<Quaternion<float> >::Alignment 55 …sAlignment>(&res.x(), _mm_xor_ps(mask, q.coeffs().template packet<traits<Derived>::Alignment>(0))); 65 ResAlignment = traits<typename plain_matrix_type<VectorLhs>::type>::Alignment 70 __m128 a = lhs.template packet<traits<VectorLhs>::Alignment>(0); 71 __m128 b = rhs.template packet<traits<VectorRhs>::Alignment>(0); 87 BAlignment = traits<OtherDerived>::Alignment, 88 ResAlignment = traits<Quaternion<double> >::Alignment [all …]
|
/external/swiftshader/third_party/LLVM/test/CodeGen/Generic/ |
D | 2009-03-17-LSR-APInt.ll | 5 %struct.Alignment = type { i32 } 11 …type { %"struct.QHashData::Node"*, %"struct.QHashData::Node"**, %struct.Alignment, i32, i32, i16, … 16 %"struct.QListData::Data" = type { %struct.Alignment, i32, i32, i32, i8, [1 x i8*] } 25 …%struct.QWidgetData = type { i64, i32, %struct.Alignment, i8, i8, i16, %struct.QRect, %struct.QPal… 41 …%struct.pthread_mutex_t*, %struct.Alignment*)* @pthread_mutex_init ; <i32 (%struct.pthread_mutex_… 44 …thread_mutexattr_t = alias weak i32 (%struct.Alignment*)* @pthread_mutexattr_init ; <i32 (%struct… 45 …d_mutexattr_ti = alias weak i32 (%struct.Alignment*, i32)* @pthread_mutexattr_settype ; <i32 (%st… 46 …read_mutexattr_t = alias weak i32 (%struct.Alignment*)* @pthread_mutexattr_destroy ; <i32 (%struc… 82 declare i32 @pthread_mutex_init(%struct.pthread_mutex_t*, %struct.Alignment*) 88 declare i32 @pthread_mutexattr_init(%struct.Alignment*) [all …]
|
/external/universal-tween-engine/java/applets/src/aurelienribon/tweenengine/applets/ |
D | TweenApplet.java | 227 jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) in initComponents() 230 … .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) in initComponents() 239 jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) in initComponents() 242 … .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) in initComponents() 287 jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) in initComponents() 290 … .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) in initComponents() 291 .addComponent(yoyoChk, javax.swing.GroupLayout.Alignment.TRAILING) in initComponents() 296 … .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel2Layout.createSequentialGroup() in initComponents() 298 … .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) in initComponents() 302 … .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) in initComponents() [all …]
|
D | TimelineApplet.java | 333 jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) in initComponents() 336 … .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) in initComponents() 345 jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) in initComponents() 348 … .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) in initComponents() 381 jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) in initComponents() 382 … .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel2Layout.createSequentialGroup() in initComponents() 384 … .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) in initComponents() 385 .addComponent(yoyoChk, javax.swing.GroupLayout.Alignment.TRAILING) in initComponents() 386 … .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel2Layout.createSequentialGroup() in initComponents() 390 … .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel2Layout.createSequentialGroup() in initComponents() [all …]
|
/external/llvm/lib/CodeGen/ |
D | SafeStackLayout.cpp | 36 void StackLayout::addObject(const Value *V, unsigned Size, unsigned Alignment, in addObject() argument 38 StackObjects.push_back({V, Size, Alignment, Range}); in addObject() 39 MaxAlignment = std::max(MaxAlignment, Alignment); in addObject() 43 unsigned Alignment) { in AdjustStackOffset() argument 44 return alignTo(Offset + Size, Alignment) - Size; in AdjustStackOffset() 52 unsigned Start = AdjustStackOffset(LastRegionEnd, Obj.Size, Obj.Alignment); in layoutObject() 59 DEBUG(dbgs() << "Layout: size " << Obj.Size << ", align " << Obj.Alignment in layoutObject() 61 assert(Obj.Alignment <= MaxAlignment); in layoutObject() 62 unsigned Start = AdjustStackOffset(0, Obj.Size, Obj.Alignment); in layoutObject() 75 Start = AdjustStackOffset(R.End, Obj.Size, Obj.Alignment); in layoutObject()
|
D | MachineFunction.cpp | 125 Alignment = STI->getTargetLowering()->getMinFunctionAlignment(); in MachineFunction() 130 Alignment = std::max(Alignment, in MachineFunction() 134 Alignment = AlignAllFunctions; in MachineFunction() 583 int MachineFrameInfo::CreateStackObject(uint64_t Size, unsigned Alignment, in CreateStackObject() argument 586 Alignment = clampStackAlignment(!StackRealignable, Alignment, StackAlignment); in CreateStackObject() 587 Objects.push_back(StackObject(Size, Alignment, 0, false, isSS, Alloca, in CreateStackObject() 591 ensureMaxAlignment(Alignment); in CreateStackObject() 598 unsigned Alignment) { in CreateSpillStackObject() argument 599 Alignment = clampStackAlignment(!StackRealignable, Alignment, StackAlignment); in CreateSpillStackObject() 600 CreateStackObject(Size, Alignment, true); in CreateSpillStackObject() [all …]
|
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/ |
D | TensorContractionMapper.h | 76 int packet_size, bool inner_dim_contiguous, int Alignment> 202 return (Alignment == Aligned) && (side == Lhs) && inner_dim_contiguous ? 0 : size; 221 bool inner_dim_reordered, int Alignment> 222 …calar, Index, side, Tensor, nocontract_t, contract_t, packet_size, inner_dim_contiguous, Alignment> 225 …side, Tensor, nocontract_t, contract_t, packet_size, inner_dim_contiguous, Alignment> ParentMapper; 304 bool inner_dim_reordered, int Alignment> 305 …dered, Alignment> : public SimpleTensorContractionMapper<Scalar, Index, side, Tensor, nocontract_t… 308 …r, Index, side, Tensor, nocontract_t, contract_t, 1, inner_dim_contiguous, Alignment> ParentMapper; 336 bool inner_dim_contiguous, bool inner_dim_reordered, int Alignment> 342 …act_t, contract_t, packet_size, inner_dim_contiguous, inner_dim_reordered, Alignment> ParentMapper; [all …]
|
/external/clang/lib/AST/ |
D | RecordLayoutBuilder.cpp | 580 CharUnits Alignment; member in __anona2f417160111::ItaniumRecordLayoutBuilder 661 Alignment(CharUnits::One()), UnpackedAlignment(CharUnits::One()), in ItaniumRecordLayoutBuilder() 772 CharUnits getAligment() const { return Alignment; } in getAligment() 1210 Alignment = CharUnits::One(); in LayoutBase() 1249 Alignment = CharUnits::fromQuantity(2); in InitializeLayout() 1268 Alignment = Context.toCharUnitsFromBits(External.Align); in InitializeLayout() 1296 NonVirtualAlignment = Alignment; in Layout() 1852 llvm::alignTo(getSizeInBits(), Context.toBits(Alignment)); in FinishLayout() 1859 Alignment = CharUnits::One(); in FinishLayout() 1901 if (NewAlignment > Alignment) { in UpdateAlignment() [all …]
|
/external/compiler-rt/lib/scudo/ |
D | scudo_allocator.cpp | 317 void *allocate(uptr Size, uptr Alignment, AllocType Type) { in allocate() 320 if (!IsPowerOfTwo(Alignment)) { in allocate() 323 if (Alignment > MaxAlignment) in allocate() 325 if (Alignment < MinAlignment) in allocate() 326 Alignment = MinAlignment; in allocate() 333 if (Alignment > MinAlignment) in allocate() 334 ExtraBytes += Alignment; in allocate() 356 if (!IsAligned(ChunkBeg, Alignment)) in allocate() 357 ChunkBeg = RoundUpTo(ChunkBeg, Alignment); in allocate() 568 void *scudoMemalign(uptr Alignment, uptr Size) { in scudoMemalign() argument [all …]
|