HomeSort by relevance Sort by last modified time
    Searched defs:alignment (Results 1 - 25 of 267) sorted by null

1 2 3 4 5 6 7 8 91011

  /external/chromium_org/base/memory/
aligned_memory.cc 15 void* AlignedAlloc(size_t size, size_t alignment) {
17 DCHECK_EQ(alignment & (alignment - 1), 0U);
18 DCHECK_EQ(alignment % sizeof(void*), 0U);
21 ptr = _aligned_malloc(size, alignment);
28 ptr = memalign(alignment, size);
30 if (posix_memalign(&ptr, alignment, size))
38 << "size=" << size << ", alignment=" << alignment; local
41 // Sanity check alignment just to be safe
    [all...]
  /external/chromium_org/chrome/browser/themes/
theme_properties_unittest.cc 16 int alignment = ThemeProperties::StringToAlignment(top_left); local
18 alignment);
19 EXPECT_EQ(top_left, ThemeProperties::AlignmentToString(alignment));
22 alignment = ThemeProperties::StringToAlignment("top");
23 EXPECT_EQ(ThemeProperties::ALIGN_TOP, alignment);
24 EXPECT_EQ("center top", ThemeProperties::AlignmentToString(alignment));
26 alignment = ThemeProperties::StringToAlignment("left");
27 EXPECT_EQ(ThemeProperties::ALIGN_LEFT, alignment);
28 EXPECT_EQ("left center", ThemeProperties::AlignmentToString(alignment));
30 alignment = ThemeProperties::StringToAlignment("right")
41 int alignment = ThemeProperties::StringToAlignment("bottom right"); local
    [all...]
  /external/clang/test/CodeGen/
2005-07-26-UnionInitCrash.c 3 union { char bytes[8]; double alignment; }EQ1 = {0,0,0,0,0,0,0,0}; member in union:__anon23154
  /external/chromium_org/chrome/browser/chromeos/first_run/steps/
tray_step.cc 31 ash::ShelfAlignment alignment = local
33 if ((!base::i18n::IsRTL() && alignment != ash::SHELF_ALIGNMENT_LEFT) ||
34 alignment == ash::SHELF_ALIGNMENT_RIGHT)
  /cts/suite/cts/deviceTests/opengl/jni/reference/scene/flocking/
Boid.cpp 26 Vector2D alignment; local
45 // Alignment.
46 alignment.add(b->mVelocity);
62 alignment.scale(1.0f / alignmentCount);
63 alignment.limit(MAX_FORCE);
64 alignment.scale(ALIGNMENT_WEIGHT);
65 mAcceleration.add(alignment);
  /external/chromium_org/ash/shelf/
shelf.h 61 void SetAlignment(ShelfAlignment alignment);
62 ShelfAlignment alignment() const { return alignment_; } function in class:ash::Shelf
  /external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/draw/
draw_vs.c 64 const int alignment = 16; local
67 if (((uintptr_t)constants) & (alignment - 1)) {
75 align_malloc(size, alignment);
  /external/chromium_org/third_party/webrtc/system_wrappers/source/
aligned_malloc_unittest.cc 25 // Returns true if |size| and |alignment| are valid combinations.
26 bool CorrectUsage(size_t size, size_t alignment) {
28 static_cast<char*>(AlignedMalloc(size, alignment)));
33 return 0u == scoped_address % alignment;
38 const size_t alignment = 32; local
41 static_cast<char*>(AlignedMalloc(size, alignment)));
47 const char* realigned_ptr = GetRightAlign(misaligned_ptr, alignment);
53 const size_t alignment = 64; local
54 EXPECT_FALSE(CorrectUsage(incorrect_size, alignment));
65 size_t alignment = 2 local
71 size_t alignment = 32; local
77 size_t alignment = 128; local
    [all...]
  /external/jemalloc/test/integration/
aligned_alloc.c 10 size_t alignment; local
13 alignment = 0;
15 p = aligned_alloc(alignment, 1);
17 "Expected error for invalid alignment %zu", alignment);
19 for (alignment = sizeof(size_t); alignment < MAXALIGN;
20 alignment <<= 1) {
22 p = aligned_alloc(alignment + 1, 1);
24 "Expected error for invalid alignment %zu"
32 size_t alignment, size; local
77 size_t alignment, size, total; local
    [all...]
mallocx.c 38 size_t nsz, rsz, sz, alignment, total; local
45 for (alignment = 8;
46 alignment <= MAXALIGN;
47 alignment <<= 1) {
50 sz < 3 * alignment && sz < (1U << 31);
51 sz += (alignment >> (LG_SIZEOF_PTR-1)) - 1) {
53 nsz = nallocx(sz, MALLOCX_ALIGN(alignment) |
56 "nallocx() error for alignment=%zu, "
57 "size=%zu (%#zx)", alignment, sz, sz);
58 ps[i] = mallocx(sz, MALLOCX_ALIGN(alignment) |
    [all...]
posix_memalign.c 10 size_t alignment; local
13 for (alignment = 0; alignment < sizeof(void *); alignment++) {
14 assert_d_eq(posix_memalign(&p, alignment, 1), EINVAL,
15 "Expected error for invalid alignment %zu",
16 alignment); local
19 for (alignment = sizeof(size_t); alignment < MAXALIGN;
20 alignment <<= 1)
23 alignment + 1); local
30 size_t alignment, size; local
42 alignment, size); local
53 alignment, size); local
63 alignment, size); local
69 size_t alignment, size, total; local
    [all...]
  /external/mesa3d/src/gallium/auxiliary/draw/
draw_vs.c 64 const int alignment = 16; local
67 if (((uintptr_t)constants) & (alignment - 1)) {
75 align_malloc(size, alignment);
  /frameworks/compile/mclinker/lib/Target/ARM/
ARMToARMStub.cpp 107 size_t ARMToARMStub::alignment() const function in class:ARMToARMStub
ARMToTHMStub.cpp 115 size_t ARMToTHMStub::alignment() const function in class:ARMToTHMStub
THMToARMStub.cpp 127 size_t THMToARMStub::alignment() const function in class:THMToARMStub
THMToTHMStub.cpp 124 size_t THMToTHMStub::alignment() const function in class:THMToTHMStub
  /frameworks/compile/mclinker/lib/Target/Hexagon/
HexagonAbsoluteStub.cpp 110 size_t HexagonAbsoluteStub::alignment() const function in class:HexagonAbsoluteStub
  /frameworks/compile/mclinker/lib/Target/Mips/
MipsLA25Stub.cpp 98 size_t MipsLA25Stub::alignment() const function in class:mcld::MipsLA25Stub
  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/
r300_screen_buffer.c 151 unsigned alignment = 16; local
173 rbuf->b.b.width0, alignment,
  /external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/
st_context.c 148 unsigned alignment = local
151 st->constbuf_uploader = u_upload_create(pipe, 128 * 1024, alignment,
  /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/chromium_org/v8/src/
allocation.cc 86 void* AlignedAlloc(size_t size, size_t alignment) {
87 DCHECK_LE(V8_ALIGNOF(void*), alignment); local
88 DCHECK(base::bits::IsPowerOfTwo32(alignment));
91 ptr = _aligned_malloc(size, alignment);
95 ptr = memalign(alignment, size);
97 if (posix_memalign(&ptr, alignment, size)) ptr = NULL;
  /external/mesa3d/src/gallium/drivers/r300/
r300_screen_buffer.c 151 unsigned alignment = 16; local
173 rbuf->b.b.width0, alignment,
  /external/mesa3d/src/mesa/state_tracker/
st_context.c 148 unsigned alignment = local
151 st->constbuf_uploader = u_upload_create(pipe, 128 * 1024, alignment,
  /build/tools/zipalign/
ZipAlign.cpp 18 * Zip alignment tool
32 fprintf(stderr, "Zip alignment utility\n");
38 " <align>: alignment in bytes, e.g. '4' provides 32-bit alignment\n");
39 fprintf(stderr, " -c: check alignment only (does not modify file)\n");
48 static int copyAndAlign(ZipFile* pZin, ZipFile* pZout, int alignment, bool zopfli)
84 padding = (alignment - (newOffset % alignment)) % alignment;
108 int alignment, bool force, bool zopfli
208 int alignment; local
    [all...]

Completed in 4506 milliseconds

1 2 3 4 5 6 7 8 91011