HomeSort by relevance Sort by last modified time
    Searched refs:Alignment (Results 1 - 25 of 398) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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 : (deUint32)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)>
76 template <typename T, size_t Alignment, size_t Stride>
77 ArrayBuffer<T,Alignment,Stride>::ArrayBuffer (void) throw()
83 template <typename T, size_t Alignment, size_t Stride>
84 ArrayBuffer<T,Alignment,Stride>::ArrayBuffer (size_t numElements)
92 void* const ptr = detail::ArrayBuffer_AlignedMalloc(storageSize, Alignment);
102 template <typename T, size_t Alignment, size_t Stride>
103 ArrayBuffer<T,Alignment,Stride>::ArrayBuffer (const T* ptr, size_t numElements)
110 ArrayBuffer<T,Alignment,Stride> tmp(numElements)
    [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...]
  /frameworks/base/core/java/android/text/style/
AlignmentSpan.java 25 Layout.Alignment getAlignment();
28 public Standard(Layout.Alignment align) {
33 mAlignment = Layout.Alignment.valueOf(src.readString());
58 public Layout.Alignment getAlignment() {
62 private final Layout.Alignment mAlignment;
  /external/llvm/include/llvm/CodeGen/
MachineConstantPool.h 50 unsigned Alignment) = 0;
76 /// The required alignment for this entry. The top bit is set when Val is
78 unsigned Alignment;
81 : Alignment(A) {
85 : Alignment(A) {
87 Alignment |= 1U << (sizeof(unsigned) * CHAR_BIT - 1);
94 return (int)Alignment < 0;
98 return Alignment & ~(1 << (sizeof(unsigned) * CHAR_BIT - 1));
122 unsigned PoolAlignment; ///< The alignment for the pool.
136 /// getConstantPoolAlignment - Return the alignment required b
    [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/Support/
AlignOf.h 1 //===--- AlignOf.h - Portable calculation of type alignment -----*- C++ -*-===//
27 // generated by any class using AlignOf<T> with a manually specified alignment.
39 /// the alignment of the template argument. For example,
40 /// AlignOf<int>::Alignment represents the alignment of type "int". The
41 /// alignment calculated is the minimum alignment, and not necessarily
42 /// the "desired" alignment returned by GCC's __alignof__ (for example). Note
43 /// that because the alignment is an enum value, it can be used as a
53 static constexpr unsigned Alignment
    [all...]
  /external/clang/test/CXX/temp/temp.spec/temp.inst/
p11.cpp 9 void Allocate(unsigned Alignment
  /external/llvm/lib/Transforms/Utils/
ASanStackFrameLayout.cpp 21 // We sort the stack variables by alignment (largest first) to minimize
22 // unnecessary large gaps due to alignment.
30 return a.Alignment > b.Alignment;
33 // We also force minimal alignment for all vars to kMinAlignment so that vars
34 // with e.g. alignment 1 and alignment 16 do not get reordered by CompareVars.
38 // The resulting frame size is a multiple of Alignment.
39 static size_t VarAndRedzoneSize(size_t Size, size_t Alignment) {
47 return RoundUpToAlignment(Res, Alignment);
    [all...]
  /external/llvm/include/llvm/ExecutionEngine/
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,
111 unsigned Alignment);
  /external/libgdx/extensions/gdx-bullet/jni/src/bullet/LinearMath/
btAlignedAllocator.h 33 void* btAlignedAllocInternal (size_t size, int alignment,int line,char* filename);
38 void* btAlignedAllocInternal (size_t size, int alignment);
41 #define btAlignedAlloc(size,alignment) btAlignedAllocInternal(size,alignment)
47 typedef void *(btAlignedAllocFunc)(size_t size, int alignment);
60 template < typename T , unsigned Alignment >
63 typedef btAlignedAllocator< T , Alignment > self_type;
74 btAlignedAllocator( const btAlignedAllocator< Other , Alignment > & ) {}
86 return reinterpret_cast< pointer >(btAlignedAlloc( sizeof(value_type) * n , Alignment ));
96 typedef btAlignedAllocator< O , Alignment > other
    [all...]
  /external/clang/lib/AST/
DeclGroup.cpp 21 static_assert(sizeof(DeclGroup) % llvm::AlignOf<void *>::Alignment == 0,
25 void* Mem = C.Allocate(Size, llvm::AlignOf<DeclGroup>::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,
StaticLayoutTextMeasuringTest.java 19 import android.text.Layout.Alignment;
29 private static final Alignment DEFAULT_ALIGN = Alignment.ALIGN_LEFT;
  /external/llvm/lib/ExecutionEngine/
SectionMemoryManager.cpp 23 unsigned Alignment,
28 return allocateSection(RODataMem, Size, Alignment);
29 return allocateSection(RWDataMem, Size, Alignment);
33 unsigned Alignment,
36 return allocateSection(CodeMem, Size, Alignment);
41 unsigned Alignment) {
42 if (!Alignment)
43 Alignment = 16;
45 assert(!(Alignment & (Alignment - 1)) && "Alignment must be a power of two.")
    [all...]
  /external/clang/test/CodeGenCXX/
alloca-align.cpp 5 unsigned Alignment;
  /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,
  /frameworks/compile/mclinker/unittests/
FragmentTest.cpp 40 new Fragment(Fragment::Alignment, s);
42 new Fragment(Fragment::Alignment, s);
55 Fragment* f = new Fragment(Fragment::Alignment, s);
57 EXPECT_TRUE(Fragment::Alignment == f->getKind());
SectionDataTest.cpp 53 new Fragment(Fragment::Alignment, s);
54 new Fragment(Fragment::Alignment, s);
62 EXPECT_TRUE(Fragment::Alignment == iter->getKind());
64 EXPECT_TRUE(Fragment::Alignment == iter->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)
256 Alignment alignment = HORIZONTAL_ALIGNMENTS[j]; local
267 Alignment alignment = VERTICAL_ALIGNMENTS[i]; local
    [all...]
  /external/llvm/unittests/Support/
AlignOfTest.cpp 1 //=== - llvm/unittest/Support/AlignOfTest.cpp - Alignment utility tests ----===//
11 // Disable warnings about alignment-based structure padding.
24 // We're testing that even questionable types work with the alignment utilities.
41 // Define some fixed alignment types to use in these tests.
92 // Ensure alignment is a compile-time constant.
94 [AlignOf<char>::Alignment > 0]
95 [AlignOf<short>::Alignment > 0]
96 [AlignOf<int>::Alignment > 0]
97 [AlignOf<long>::Alignment > 0]
98 [AlignOf<long long>::Alignment > 0
    [all...]
  /external/llvm/include/llvm/Transforms/Utils/
ASanStackFrameLayout.h 33 size_t Alignment; // Alignment of the variable (power of 2).
46 size_t FrameAlignment; // Alignment for the entire frame.
  /frameworks/compile/mclinker/lib/Fragment/
AlignFragment.cpp 24 : Fragment(Fragment::Alignment, pSD),
  /external/c-ares/
ares_iphlpapi.h 122 ULONGLONG Alignment;
140 ULONGLONG Alignment;
152 ULONGLONG Alignment;
164 ULONGLONG Alignment;
176 ULONGLONG Alignment;
189 ULONGLONG Alignment;

Completed in 1262 milliseconds

1 2 3 4 5 6 7 8 91011>>