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

1 2 3 4 5 6 7 8 91011

  /external/webkit/Source/JavaScriptGlue/ForwardingHeaders/wtf/
Alignment.h 1 #include <JavaScriptCore/Alignment.h>
  /external/webkit/Tools/DumpRenderTree/ForwardingHeaders/wtf/
Alignment.h 1 #include <JavaScriptCore/Alignment.h>
  /external/webkit/Source/WebCore/ForwardingHeaders/wtf/
Alignment.h 3 #include <JavaScriptCore/Alignment.h>
  /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/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.
146 /// getConstantPoolAlignment - Return the alignment required b
    [all...]
JITCodeEmitter.h 75 unsigned Alignment) = 0;
150 /// alignment (saturated to BufferEnd of course).
151 void emitAlignment(unsigned Alignment) {
152 if (Alignment == 0) Alignment = 1;
154 Alignment);
160 void emitAlignmentWithFill(unsigned Alignment, uint8_t Fill) {
161 if (Alignment == 0) Alignment = 1;
163 Alignment);
    [all...]
  /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/clang/test/CXX/temp/temp.spec/temp.inst/
p11.cpp 9 void Allocate(unsigned Alignment
  /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...]
Allocator.h 36 void *Allocate(size_t Size, size_t /*Alignment*/) { return malloc(Size); }
123 /// AlignPtr - Align Ptr to Alignment bytes, rounding up. Alignment should
126 static char *AlignPtr(char *Ptr, size_t Alignment);
148 /// Allocate - Allocate space at the specified 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));
167 /// alignment.
169 T *Allocate(size_t Num, size_t Alignment) {
    [all...]
  /external/llvm/lib/Support/
Allocator.cpp 33 /// AlignPtr - Align Ptr to Alignment bytes, rounding up. Alignment should
36 char *BumpPtrAllocator::AlignPtr(char *Ptr, size_t Alignment) {
37 assert(Alignment && (Alignment & (Alignment - 1)) == 0 &&
38 "Alignment is not a power of two!");
40 // Do the alignment.
41 return (char*)(((uintptr_t)Ptr + Alignment - 1) &
42 ~(uintptr_t)(Alignment - 1))
    [all...]
  /external/llvm/tools/lli/
RecordingMemoryManager.h 52 uint8_t *allocateCodeSection(uintptr_t Size, unsigned Alignment,
55 uint8_t *allocateDataSection(uintptr_t Size, unsigned Alignment,
72 unsigned Alignment);
75 uint8_t *allocateSpace(intptr_t Size, unsigned Alignment);
76 uint8_t *allocateGlobal(uintptr_t Size, unsigned Alignment);
RecordingMemoryManager.cpp 30 allocateCodeSection(uintptr_t Size, unsigned Alignment, unsigned SectionID) {
32 // The alignment requirement is just stored here for later use. Regular
36 AllocatedCodeMem.push_back(Allocation(Block, Alignment));
41 allocateDataSection(uintptr_t Size, unsigned Alignment,
44 // The alignment requirement is just stored here for later use. Regular
48 AllocatedDataMem.push_back(Allocation(Block, Alignment));
82 unsigned Alignment) {
90 uint8_t *RecordingMemoryManager::allocateSpace(intptr_t Size, unsigned Alignment) {
94 uint8_t *RecordingMemoryManager::allocateGlobal(uintptr_t Size, unsigned Alignment) {
  /external/llvm/include/llvm/ExecutionEngine/
SectionMemoryManager.h 49 /// The value of \p Alignment must be a power of two. If \p Alignment is zero
50 /// a default alignment of 16 will be used.
51 virtual 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 virtual uint8_t *allocateDataSection(uintptr_t Size, unsigned Alignment,
103 unsigned Alignment);
140 unsigned Alignment) {
    [all...]
RuntimeDyld.h 43 virtual uint8_t *allocateCodeSection(uintptr_t Size, unsigned Alignment,
49 virtual uint8_t *allocateDataSection(uintptr_t Size, unsigned 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/lib/Sema/
SemaAttr.cpp 30 // alignment.
33 unsigned Alignment;
42 /// Alignment - The current user specified alignment.
43 unsigned Alignment;
50 PragmaPackStack() : Alignment(0) {}
52 void setAlignment(unsigned A) { Alignment = A; }
53 unsigned getAlignment() { return Alignment; }
55 /// push - Push the current alignment onto the stack, optionally
58 PackStackEntry PSE = { Alignment, Name }
    [all...]
  /external/llvm/lib/ExecutionEngine/MCJIT/
SectionMemoryManager.cpp 33 unsigned Alignment,
37 return allocateSection(RODataMem, Size, Alignment);
38 return allocateSection(RWDataMem, Size, Alignment);
42 unsigned Alignment,
44 return allocateSection(CodeMem, Size, Alignment);
49 unsigned Alignment) {
50 if (!Alignment)
51 Alignment = 16;
53 assert(!(Alignment & (Alignment - 1)) && "Alignment must be a power of two.")
    [all...]
  /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());
SectionDataTest.cpp 59 new Fragment(Fragment::Alignment, s);
60 new Fragment(Fragment::Alignment, s);
68 EXPECT_TRUE(Fragment::Alignment == iter->getKind());
70 EXPECT_TRUE(Fragment::Alignment == iter->getKind());
  /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/chrome/browser/chromeos/login/
language_switch_menu.h 33 // Sets menu's alignment.
34 void set_menu_alignment(views::Menu2::Alignment alignment) {
35 menu_alignment_ = alignment;
74 // Menu alignment.
75 views::Menu2::Alignment menu_alignment_;
  /external/clang/include/clang/AST/
Attr.h 67 size_t Alignment = 16) throw() {
68 return ::operator new(Bytes, C, Alignment);
71 size_t Alignment) throw() {
72 return ::operator delete(Ptr, C, Alignment);

Completed in 376 milliseconds

1 2 3 4 5 6 7 8 91011