/external/chromium/chrome/browser/ui/gtk/ |
H A D | constrained_window_gtk.cc | 47 GtkWidget* alignment = gtk_alignment_new(0.0, 0.0, 1.0, 1.0); local 49 gtk_alignment_set_padding(GTK_ALIGNMENT(alignment), 62 gtk_widget_reparent(dialog, alignment); 64 gtk_container_add(GTK_CONTAINER(alignment), dialog); 66 gtk_container_add(GTK_CONTAINER(frame), alignment); local
|
/external/jmonkeyengine/engine/src/core/com/jme3/scene/control/ |
H A D | BillboardControl.java | 55 private Alignment alignment; field in class:BillboardControl 87 alignment = Alignment.Screen; 92 control.alignment = this.alignment; 126 switch (alignment) { 271 * Returns the alignment this Billboard is set too. 273 * @return The alignment of rotation, AxialY, AxialZ, Camera or Screen. 276 return alignment; 280 * Sets the type of rotation this Billboard will have. The alignment can 284 public void setAlignment(Alignment alignment) { argument [all...] |
/external/dbus/dbus/ |
H A D | dbus-marshal-byteswap.c | 101 int alignment; local 104 alignment = _dbus_type_get_alignment (elem_type); 106 _dbus_assert ((array_len / alignment) < DBUS_MAXIMUM_ARRAY_LENGTH); 108 p = _DBUS_ALIGN_ADDRESS (p, alignment); 112 if (alignment > 1) 113 _dbus_swap_array (p, array_len / alignment, alignment);
|
/external/webkit/Source/WebKit2/Platform/CoreIPC/ |
H A D | ArgumentDecoder.cpp | 70 static inline uint8_t* roundUpToAlignment(uint8_t* ptr, unsigned alignment) argument 72 ASSERT(alignment); 73 uintptr_t alignmentMask = alignment - 1; 77 bool ArgumentDecoder::alignBufferPosition(unsigned alignment, size_t size) argument 79 uint8_t* buffer = roundUpToAlignment(m_bufferPos, alignment); 90 bool ArgumentDecoder::bufferIsLargeEnoughToContain(unsigned alignment, size_t size) const argument 92 return static_cast<size_t>(m_bufferEnd - roundUpToAlignment(m_bufferPos, alignment)) >= size;
|
/external/bison/lib/ |
H A D | obstack.c | 66 /* Determine default alignment. */ 155 int size, int alignment, 161 if (alignment == 0) 162 alignment = DEFAULT_ALIGNMENT; 183 h->alignment_mask = alignment - 1; 190 alignment - 1); 201 _obstack_begin_1 (struct obstack *h, int size, int alignment, 208 if (alignment == 0) 209 alignment = DEFAULT_ALIGNMENT; 230 h->alignment_mask = alignment 153 _obstack_begin(struct obstack *h, int size, int alignment, void *(*chunkfun) (long), void (*freefun) (void *)) argument 200 _obstack_begin_1(struct obstack *h, int size, int alignment, void *(*chunkfun) (void *, long), void (*freefun) (void *, void *), void *arg) argument [all...] |
/external/webkit/Source/ThirdParty/ANGLE/src/compiler/ |
H A D | PoolAlloc.cpp | 76 alignment(allocationAlignment), 96 // Adjust alignment to be at least pointer aligned and 100 alignment &= ~(minAlign - 1); 101 if (alignment < minAlign) 102 alignment = minAlign; 104 while (a < alignment) 106 alignment = a;
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
H A D | sanitizer_allocator64_testlib.cc | 82 int posix_memalign(void **memptr, size_t alignment, size_t size) { argument 83 *memptr = allocator.Allocate(&cache, size, alignment); 84 CHECK_EQ(((uptr)*memptr & (alignment - 1)), 0);
|
/external/skia/gm/ |
H A D | verttext2.cpp | 66 SkTypeface* family, SkPaint::Align alignment) { 71 paint.setTextAlign(alignment); 76 alignment == SkPaint::kLeft_Align ? 10 : 240, paint); 65 drawText(SkCanvas* canvas, const SkString& string, SkTypeface* family, SkPaint::Align alignment) argument
|
/external/tcpdump/ |
H A D | cpack.c | 42 cpack_next_boundary(u_int8_t *buf, u_int8_t *p, size_t alignment) argument 44 size_t misalignment = (size_t)(p - buf) % alignment; 49 return p + (alignment - misalignment); 61 /* Ensure alignment. */
|
/external/webkit/Source/JavaScriptCore/wtf/ |
H A D | Alignment.h | 33 #error WTF_ALIGN macros need alignment control.
|
/external/chromium/chrome/browser/chromeos/login/ |
H A D | language_switch_menu.h | 33 // Sets menu's alignment. 34 void set_menu_alignment(views::Menu2::Alignment alignment) { argument 35 menu_alignment_ = alignment; 74 // Menu alignment.
|
/external/libffi/src/arm/ |
H A D | ffi.c | 58 if (((*p_arg)->alignment - 1) & (unsigned) argp) { 59 argp = (char *) ALIGN(argp, (*p_arg)->alignment); 253 size_t alignment = (*p_arg)->alignment; local 254 if (alignment < 4) 255 alignment = 4; 257 if ((alignment - 1) & (unsigned) argp) { 258 argp = (char *) ALIGN(argp, alignment);
|
/external/libffi/src/cris/ |
H A D | ffi.c | 43 FFI_ASSERT (arg->alignment == 0); 57 arg->alignment = (arg->alignment > (*ptr)->alignment) ? 58 arg->alignment : (*ptr)->alignment; 189 if (((*ptr)->alignment - 1) & bytes) 190 bytes = ALIGN (bytes, (*ptr)->alignment);
|
/external/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_allocator64.h | 126 bool CanAllocate(uptr size, uptr alignment) { argument 128 alignment <= SizeClassMap::kMaxSize; 131 void *Allocate(uptr size, uptr alignment) { argument 132 CHECK(CanAllocate(size, alignment)); 362 void *Allocate(uptr size, uptr alignment) { argument 363 CHECK_LE(alignment, kPageSize); // Not implemented. Do we need it? 364 if (size + alignment + 2 * kPageSize < size) 476 void *Allocate(AllocatorCache *cache, uptr size, uptr alignment, argument 481 if (size + alignment < size) 483 if (alignment > 505 Reallocate(AllocatorCache *cache, void *p, uptr new_size, uptr alignment) argument [all...] |
/external/llvm/include/llvm/Support/ |
H A D | Endian.h | 25 enum alignment {unaligned, aligned}; enum in namespace:llvm::support 29 template<typename value_type, alignment align> 51 template<typename value_type, alignment align> 61 template<typename value_type, alignment align> 69 template<typename value_type, alignment align> 79 template<typename value_type, alignment align> 92 alignment align>
|
/external/compiler-rt/lib/asan/ |
H A D | asan_malloc_linux.cc | 35 void* (*memalign)(uptr alignment, uptr bytes); 128 INTERCEPTOR(int, posix_memalign, void **memptr, uptr alignment, uptr size) { 130 // Printf("posix_memalign: %zx %zu\n", alignment, size); 131 return asan_posix_memalign(memptr, alignment, size, &stack);
|
/external/libffi/testsuite/libffi.call/ |
H A D | pyobjc-tc.c | 48 point_type.alignment = 0; /*__alignof__(Point);*/ 56 size_type.alignment = 0;/* __alignof__(Size);*/ 64 rect_type.alignment =0;/* __alignof__(Rect);*/
|
H A D | struct3.c | 31 ts3_type.alignment = 0;
|
/external/qemu/ |
H A D | oslib-posix.c | 43 void *qemu_memalign(size_t alignment, size_t size) argument 48 ret = posix_memalign(&ptr, alignment, size); 57 ptr = qemu_oom_check(memalign(alignment, size)); 59 //trace_qemu_memalign(alignment, size, ptr);
|
/external/valgrind/main/coregrind/m_replacemalloc/ |
H A D | vg_replace_malloc.c | 645 ( void *zone, SizeT alignment, SizeT n ); \ 647 ( void *zone, SizeT alignment, SizeT n ) \ 653 zone, (ULong)alignment, (ULong)n ); \ 655 /* Round up to minimum alignment if necessary. */ \ 656 if (alignment < VG_MIN_MALLOC_SZB) \ 657 alignment = VG_MIN_MALLOC_SZB; \ 660 while (0 != (alignment & (alignment - 1))) alignment++; \ 662 v = (void*)VALGRIND_NON_SIMD_CALL2( info.tl_memalign, alignment, [all...] |
/external/chromium/base/ |
H A D | pickle.h | 213 // Aligns 'i' by rounding it up to the next multiple of 'alignment' 214 static size_t AlignInt(size_t i, int alignment) { argument 215 return i + (alignment - (i % alignment)) % alignment;
|
/external/freetype/include/freetype/ |
H A D | ftbitmap.h | 140 /* line (a.k.a. the `pitch') a multiple of `alignment'. */ 147 /* alignment :: The pitch of the bitmap is a multiple of this */ 169 FT_Int alignment );
|
/external/libffi/src/ |
H A D | debug.c | 56 FFI_ASSERT_AT(a->type == FFI_TYPE_VOID || a->alignment > 0, file, line);
|
/external/libffi/src/m32r/ |
H A D | ffi.c | 63 if (((*p_arg)->alignment - 1) & (unsigned) argp) 64 argp = (char *) ALIGN (argp, (*p_arg)->alignment); 94 if ((*p_arg)->alignment != 1) 203 int align = cif->rtype->alignment;
|
/external/libvpx/vpx_ports/ |
H A D | mem.h | 22 #warning No alignment directives known for this compiler. 29 * pointer may not have the alignment we expect. Creates an array with a
|