/external/deqp/framework/delibs/decpp/ |
dePoolArray.hpp | 38 template<typename T, deUint32 Alignment> 41 template<typename T, deUint32 Alignment> 51 template<typename T, deUint32 Alignment = (sizeof(T) > 4 ? 4 : sizeof(T))> 55 typedef PoolArrayIterator<T, Alignment> Iterator; 56 typedef PoolArrayConstIterator<T, Alignment> ConstIterator; 59 PoolArray (MemPool* pool, const PoolArray<T, Alignment>& other); 92 PoolArray (const PoolArray<T, Alignment>& other); // \note Default copy ctor is not allowed, use PoolArray(pool, copy) instead. 105 template<typename T, deUint32 Alignment> 118 template<typename T, deUint32 Alignment> 119 class PoolArrayConstIterator : public PoolArrayIteratorBase<T, Alignment> [all...] |
deArrayBuffer.hpp | 36 void* ArrayBuffer_AlignedMalloc (size_t numBytes, size_t alignment); 47 template <typename T, size_t Alignment = (sizeof(T) > 4 ? 4 : sizeof(T)), size_t Stride = sizeof(T)> 73 template <typename T, size_t Alignment, size_t Stride> 74 ArrayBuffer<T,Alignment,Stride>::ArrayBuffer (void) throw() 80 template <typename T, size_t Alignment, size_t Stride> 81 ArrayBuffer<T,Alignment,Stride>::ArrayBuffer (size_t numElements) 89 void* const ptr = detail::ArrayBuffer_AlignedMalloc(storageSize, Alignment); 99 template <typename T, size_t Alignment, size_t Stride> 100 ArrayBuffer<T,Alignment,Stride>::ArrayBuffer (const ArrayBuffer<T,Alignment,Stride>& other [all...] |
/cts/tests/tests/text/src/android/text/style/cts/ |
AlignmentSpan_StandardTest.java | 21 import android.text.Layout.Alignment; 31 new Standard(Alignment.ALIGN_CENTER); 33 Standard standard = new Standard(Alignment.ALIGN_NORMAL); 45 Standard standard = new Standard(Alignment.ALIGN_NORMAL); 46 assertEquals(Alignment.ALIGN_NORMAL, standard.getAlignment()); 48 standard = new Standard(Alignment.ALIGN_OPPOSITE); 49 assertEquals(Alignment.ALIGN_OPPOSITE, standard.getAlignment()); 51 standard = new Standard(Alignment.ALIGN_CENTER); 52 assertEquals(Alignment.ALIGN_CENTER, standard.getAlignment()); 56 Standard standard = new Standard(Alignment.ALIGN_NORMAL) [all...] |
/external/llvm/lib/Target/Mips/ |
MipsFrameLowering.h | 28 explicit MipsFrameLowering(const MipsSubtarget &sti, unsigned Alignment) 29 : TargetFrameLowering(StackGrowsDown, Alignment, 0, Alignment), STI(sti) {}
|
/external/llvm/include/llvm/CodeGen/ |
MachineConstantPool.h | 56 unsigned Alignment) = 0; 83 /// The required alignment for this entry. The top bit is set when Val is 85 unsigned Alignment; 88 : Alignment(A) { 92 : Alignment(A) { 94 Alignment |= 1U << (sizeof(unsigned)*CHAR_BIT-1); 101 return (int)Alignment < 0; 105 return Alignment & ~(1 << (sizeof(unsigned)*CHAR_BIT-1)); 136 unsigned PoolAlignment; ///< The alignment for the pool. 148 /// getConstantPoolAlignment - Return the alignment required b [all...] |
/external/chromium_org/ui/views/ |
view_model_utils.h | 18 enum Alignment { 32 Alignment alignment,
|
/frameworks/base/core/java/android/text/style/ |
AlignmentSpan.java | 25 public Layout.Alignment getAlignment(); 29 public Standard(Layout.Alignment align) { 34 mAlignment = Layout.Alignment.valueOf(src.readString()); 49 public Layout.Alignment getAlignment() { 53 private final Layout.Alignment mAlignment;
|
/external/chromium_org/ui/views/controls/ |
image_view.h | 31 enum Alignment { 66 // Set / Get the horizontal alignment. 67 void SetHorizontalAlignment(Alignment ha); 68 Alignment GetHorizontalAlignment() const; 70 // Set / Get the vertical alignment. 71 void SetVerticalAlignment(Alignment va); 72 Alignment GetVerticalAlignment() const; 100 // Compute the image origin given the desired size and the receiver alignment 113 // Horizontal alignment. 114 Alignment horiz_alignment_ [all...] |
/external/llvm/lib/ExecutionEngine/MCJIT/ |
SectionMemoryManager.cpp | 22 unsigned Alignment, 27 return allocateSection(RODataMem, Size, Alignment); 28 return allocateSection(RWDataMem, Size, Alignment); 32 unsigned Alignment, 35 return allocateSection(CodeMem, Size, Alignment); 40 unsigned Alignment) { 41 if (!Alignment) 42 Alignment = 16; 44 assert(!(Alignment & (Alignment - 1)) && "Alignment must be a power of two.") [all...] |
/external/clang/test/CXX/temp/temp.spec/temp.inst/ |
p11.cpp | 9 void Allocate(unsigned Alignment
|
/external/llvm/lib/Transforms/Utils/ |
ASanStackFrameLayout.cpp | 20 // We sort the stack variables by alignment (largest first) to minimize 21 // unnecessary large gaps due to alignment. 29 return a.Alignment > b.Alignment; 32 // We also force minimal alignment for all vars to kMinAlignment so that vars 33 // with e.g. alignment 1 and alignment 16 do not get reordered by CompareVars. 42 // The resulting frame size is a multiple of Alignment. 43 static size_t VarAndRedzoneSize(size_t Size, size_t Alignment) { 51 return RoundUpTo(Res, Alignment); [all...] |
/external/llvm/include/llvm/Support/ |
AlignOf.h | 1 //===--- AlignOf.h - Portable calculation of type alignment -----*- C++ -*-===// 31 /// the alignment of the template argument. For example, 32 /// AlignOf<int>::Alignment represents the alignment of type "int". The 33 /// alignment calculated is the minimum alignment, and not necessarily 34 /// the "desired" alignment returned by GCC's __alignof__ (for example). Note 35 /// that because the alignment is an enum value, it can be used as a 39 enum { Alignment = 42 enum { Alignment_GreaterEqual_2Bytes = Alignment >= 2 ? 1 : 0 } [all...] |
/external/llvm/tools/lli/ |
RemoteMemoryManager.h | 34 : MB(mb), Alignment(a), IsCode(code) {} 37 unsigned Alignment; 69 uint8_t *allocateCodeSection(uintptr_t Size, unsigned Alignment, 73 uint8_t *allocateDataSection(uintptr_t Size, unsigned Alignment, 106 unsigned Alignment) override; 109 uint8_t *allocateSpace(intptr_t Size, unsigned Alignment) override; 110 uint8_t *allocateGlobal(uintptr_t Size, unsigned Alignment) override;
|
/external/chromium_org/ui/base/models/ |
table_model.h | 93 // TableColumn specifies the title, alignment and size of a particular column. 95 enum Alignment { 100 TableColumn(int id, Alignment alignment, int width, float percent); 108 // Alignment for the content. 109 Alignment alignment; member in struct:ui::TableColumn
|
/external/llvm/include/llvm/ExecutionEngine/ |
JITMemoryManager.h | 94 unsigned Alignment) = 0; 107 virtual uint8_t *allocateSpace(intptr_t Size, unsigned Alignment) = 0; 110 virtual uint8_t *allocateGlobal(uintptr_t Size, unsigned Alignment) = 0;
|
SectionMemoryManager.h | 48 /// The value of \p Alignment must be a power of two. If \p Alignment is zero 49 /// a default alignment of 16 will be used. 50 uint8_t *allocateCodeSection(uintptr_t Size, unsigned Alignment, 57 /// The value of \p Alignment must be a power of two. If \p Alignment is zero 58 /// a default alignment of 16 will be used. 59 uint8_t *allocateDataSection(uintptr_t Size, unsigned Alignment, 93 unsigned Alignment);
|
RTDyldMemoryManager.h | 45 uintptr_t Size, unsigned Alignment, unsigned SectionID, 52 uintptr_t Size, unsigned Alignment, unsigned SectionID,
|
/external/chromium_org/ui/views/controls/menu/ |
menu_2.h | 32 // The alignment is reversed by menu if text direction is right to left. 33 enum Alignment { 48 // RunContextMenuAt is the same, but the alignment is the default for a 50 void RunMenuAt(const gfx::Point& point, Alignment alignment);
|
/frameworks/base/core/tests/coretests/src/android/text/ |
TextLayoutTest.java | 41 Layout.Alignment.ALIGN_NORMAL, 1, 0, 48 Layout.Alignment.ALIGN_NORMAL, 1, 0,
|
/external/clang/test/CodeGenCXX/ |
alloca-align.cpp | 5 unsigned Alignment;
|
/frameworks/compile/mclinker/unittests/ |
FragmentTest.cpp | 45 new Fragment(Fragment::Alignment, s); 47 new Fragment(Fragment::Alignment, s); 60 Fragment* f = new Fragment(Fragment::Alignment, s); 62 EXPECT_TRUE(Fragment::Alignment == f->getKind());
|
/frameworks/compile/slang/ |
legacy_bitcode.h | 23 if (A.hasAttribute(i, llvm::Attribute::Alignment)) { 24 // The alignment is stored as an actual power of 2 value (instead of the
|
/cts/tests/tests/widget/src/android/widget/cts/ |
GridLayoutTest.java | 45 private static abstract class Alignment { 51 protected Alignment(String name, int gravity) { 57 private static final Alignment[] HORIZONTAL_ALIGNMENTS = { 58 new Alignment("LEFT", Gravity.LEFT) { 64 new Alignment("CENTER", Gravity.CENTER_HORIZONTAL) { 70 new Alignment("RIGHT", Gravity.RIGHT) { 76 new Alignment("FILL", Gravity.FILL_HORIZONTAL) { 84 private static final Alignment[] VERTICAL_ALIGNMENTS = { 85 new Alignment("TOP", Gravity.TOP) { 91 new Alignment("CENTER", Gravity.CENTER_VERTICAL) 238 Alignment alignment = HORIZONTAL_ALIGNMENTS[j]; local 249 Alignment alignment = VERTICAL_ALIGNMENTS[i]; local [all...] |
/external/llvm/unittests/Support/ |
AlignOfTest.cpp | 1 //=== - llvm/unittest/Support/AlignOfTest.cpp - Alignment utility tests ----===// 18 // We're testing that even questionable types work with the alignment utilities. 35 // Define some fixed alignment types to use in these tests. 90 // Ensure alignment is a compile-time constant. 92 [AlignOf<char>::Alignment > 0] 93 [AlignOf<short>::Alignment > 0] 94 [AlignOf<int>::Alignment > 0] 95 [AlignOf<long>::Alignment > 0] 96 [AlignOf<long long>::Alignment > 0] 97 [AlignOf<float>::Alignment > 0 [all...] |
/external/chromium_org/ui/views/layout/ |
grid_layout.h | 40 // When adding a Column you give it the default alignment for all views 43 // a horizontal and vertical alignment of leading regardless of that defined 50 // pixels. Only Views with an Alignment of FILL are given extra space, others 73 enum Alignment { 137 // Adds a view using the default alignment from the column. The added 143 // Adds a view using the default alignment from the column. 148 // Adds a view with the specified alignment and spans. 151 void AddView(View* view, int col_span, int row_span, Alignment h_align, 152 Alignment v_align); 154 // Adds a view with the specified alignment and spans. I [all...] |