/haiku-fatelf/src/system/libroot/posix/malloc/ |
H A D | threadheap.h | 43 inline void *memalign(size_t alignment, size_t sz); 67 threadHeap::memalign(size_t alignment, size_t size) argument 70 // to satisfy the alignment requirements. 74 // If the alignment is less than the required alignment, 76 if (alignment <= ALIGNMENT) 79 if (alignment < sizeof(block)) 80 alignment = sizeof(block); 83 assert((alignment & (alignment [all...] |
/haiku-fatelf/src/apps/debugger/user_interface/gui/value/ |
H A D | TableCellValueRendererUtils.h | 20 enum alignment alignment,
|
H A D | TableCellValueRendererUtils.cpp | 19 const char* string, enum alignment alignment, bool truncate) 34 // compute horizontal position according to alignment 36 switch (alignment) { 18 DrawString(BView* view, BRect rect, const char* string, enum alignment alignment, bool truncate) argument
|
/haiku-fatelf/headers/os/interface/ |
H A D | Alignment.h | 12 alignment horizontal; 17 inline BAlignment(alignment horizontal, 20 inline alignment Horizontal() const; 26 inline void SetHorizontal(alignment horizontal); 57 BAlignment::BAlignment(alignment horizontal, vertical_alignment vertical) 64 inline alignment 79 BAlignment::SetHorizontal(alignment horizontal)
|
H A D | SeparatorView.h | 23 const BAlignment& alignment 31 const BAlignment& alignment 38 const BAlignment& alignment 45 const BAlignment& alignment 92 BAlignment alignment, border_style border);
|
/haiku-fatelf/src/kits/interface/ |
H A D | LayoutUtils.cpp | 135 BLayoutUtils::ComposeAlignment(BAlignment alignment, BAlignment layoutAlignment) argument 137 if (!alignment.IsHorizontalSet()) 138 alignment.horizontal = layoutAlignment.horizontal; 139 if (!alignment.IsVerticalSet()) 140 alignment.vertical = layoutAlignment.vertical; 142 return alignment; 148 BLayoutUtils::AlignInFrame(BRect frame, BSize maxSize, BAlignment alignment) argument 150 // align according to the given alignment 152 && alignment.horizontal != B_ALIGN_USE_FULL_WIDTH) { 154 * alignment 173 BAlignment alignment = view->LayoutAlignment(); local [all...] |
H A D | SpaceLayoutItem.cpp | 19 const char* const kAlignmentField = "BSpaceLayoutItem:alignment"; 33 BSize preferredSize, BAlignment alignment) 39 fAlignment(alignment), 163 BSpaceLayoutItem::SetExplicitAlignment(BAlignment alignment) argument 165 if (alignment.IsHorizontalSet()) 166 fAlignment.horizontal = alignment.horizontal; 167 if (alignment.IsVerticalSet()) 168 fAlignment.vertical = alignment.vertical; 32 BSpaceLayoutItem(BSize minSize, BSize maxSize, BSize preferredSize, BAlignment alignment) argument
|
/haiku-fatelf/src/system/kernel/slab/ |
H A D | allocator.cpp | 75 block_alloc(size_t size, size_t alignment, uint32 flags) argument 77 if (alignment > kMinObjectAlignment) { 78 // Make size >= alignment and a power of two. This is sufficient, since 81 // in the kernel and always with power of two size == alignment anyway. 82 ASSERT((alignment & (alignment - 1)) == 0); 83 while (alignment < size) 84 alignment <<= 1; 85 size = alignment; 176 size_t alignment local 210 memalign(size_t alignment, size_t size) argument 217 memalign_etc(size_t alignment, size_t size, uint32 flags) argument [all...] |
H A D | ObjectCache.cpp | 44 ObjectCache::Init(const char* name, size_t objectSize, size_t alignment, argument 56 if (alignment < kMinObjectAlignment) 57 alignment = kMinObjectAlignment; 59 if (alignment > 0 && (objectSize & (alignment - 1))) 60 object_size = objectSize + alignment - (objectSize & (alignment - 1)); 64 TRACE_CACHE(this, "init %lu, %lu -> %lu", objectSize, alignment, 67 this->alignment = alignment; [all...] |
/haiku-fatelf/src/libs/compat/freebsd_network/compat/sys/ |
H A D | malloc.h | 35 vm_paddr_t low, vm_paddr_t high, unsigned long alignment, 45 #define kernel_contigmalloc(size, type, flags, low, high, alignment, boundary) \ 47 alignment, boundary) 55 # define contigmalloc(size, type, flags, low, high, alignment, boundary) \ 57 alignment, boundary)
|
/haiku-fatelf/src/apps/debuganalyzer/gui/table/ |
H A D | TableColumn.h | 22 alignment align); 31 alignment Alignment() const { return fAlignment; } 48 alignment fAlignment;
|
H A D | TableColumns.h | 20 alignment align); 45 alignment align = B_ALIGN_LEFT); 68 alignment align = B_ALIGN_LEFT); 88 alignment align = B_ALIGN_RIGHT); 104 alignment align = B_ALIGN_RIGHT); 121 alignment align = B_ALIGN_RIGHT); 141 alignment align = B_ALIGN_RIGHT);
|
/haiku-fatelf/src/libs/compat/freebsd_network/ |
H A D | compat_cpp.cpp | 17 phys_addr_t low, phys_addr_t high, phys_size_t alignment, 35 physicalRestrictions.alignment = alignment; 16 _kernel_contigmalloc_cpp(const char* file, int line, size_t size, phys_addr_t low, phys_addr_t high, phys_size_t alignment, phys_size_t boundary, bool zero, bool dontWait) argument
|
H A D | compat_cpp.h | 18 phys_addr_t low, phys_addr_t high, phys_size_t alignment,
|
/haiku-fatelf/src/tests/add-ons/kernel/kernelland_emu/ |
H A D | misc.cpp | 36 memalign_etc(size_t alignment, size_t size, uint32 flags) argument 38 return memalign(alignment, size);
|
H A D | slab.cpp | 15 size_t alignment, size_t maxByteUsage, uint32 flags, void *cookie, 35 size_t alignment, void *cookie, object_cache_constructor constructor, 38 return new(std::nothrow) ObjectCache(name, objectSize, alignment, 45 size_t alignment, size_t maxByteUsage, size_t magazineCapacity, 50 return new(std::nothrow) ObjectCache(name, objectSize, alignment, 14 ObjectCache(const char *name, size_t objectSize, size_t alignment, size_t maxByteUsage, uint32 flags, void *cookie, object_cache_constructor constructor, object_cache_destructor destructor, object_cache_reclaimer reclaimer) argument 34 create_object_cache(const char *name, size_t objectSize, size_t alignment, void *cookie, object_cache_constructor constructor, object_cache_destructor destructor) argument 44 create_object_cache_etc(const char *name, size_t objectSize, size_t alignment, size_t maxByteUsage, size_t magazineCapacity, size_t maxMagazineCount, uint32 flags, void *cookie, object_cache_constructor constructor, object_cache_destructor destructor, object_cache_reclaimer reclaimer) argument
|
/haiku-fatelf/src/tests/kits/interface/layout/widget_layout_test/ |
H A D | StringView.h | 19 void SetAlignment(alignment align); 35 alignment fAlignment;
|
/haiku-fatelf/headers/posix/ |
H A D | malloc.h | 20 extern void *memalign(size_t alignment, size_t numBytes);
|
/haiku-fatelf/src/apps/debugger/user_interface/gui/util/ |
H A D | TargetAddressTableColumn.h | 18 alignment align = B_ALIGN_RIGHT);
|
/haiku-fatelf/src/apps/debugger/dwarf/ |
H A D | CfaContext.cpp | 98 CfaContext::SetCodeAlignment(uint32 alignment) argument 100 fCodeAlignment = alignment; 105 CfaContext::SetDataAlignment(int32 alignment) argument 107 fDataAlignment = alignment;
|
/haiku-fatelf/src/tests/system/libroot/posix/ |
H A D | memalign_test.cpp | 71 allocate_random_fixed_alignment(int32 count, size_t maxSize, size_t alignment) argument 77 allocations[i] = memalign(alignment, sizes[i]); 83 if ((addr_t)allocations[i] % alignment != 0) { 85 " with alignment %lu (0x%08lx)\n", sizes[i], 86 allocations[i], (addr_t)allocations[i] % alignment, alignment, 87 alignment);
|
/haiku-fatelf/src/libs/glut/ |
H A D | glut_bitmap.c | 20 GLint skiprows, skippixels, alignment; local 39 glGetIntegerv(GL_UNPACK_ALIGNMENT, &alignment); 58 glPixelStorei(GL_UNPACK_ALIGNMENT, alignment);
|
/haiku-fatelf/src/build/libbe/interface/ |
H A D | GraphicsDefs.cpp | 127 size_t alignment = 0; local 129 alignment = (sizeof(int) % bytesPerPixel) * sizeof(int); 130 if (alignment < sizeof(int)) 131 alignment = sizeof(int); 135 *rowAlignment = alignment;
|
/haiku-fatelf/headers/private/interface/ |
H A D | ColumnTypes.h | 32 alignment align = B_ALIGN_LEFT); 84 alignment align = B_ALIGN_LEFT); 130 alignment align = B_ALIGN_LEFT); 165 alignment align = B_ALIGN_LEFT); 198 alignment align = B_ALIGN_LEFT); 231 alignment align = B_ALIGN_LEFT); 250 alignment align = B_ALIGN_LEFT);
|
/haiku-fatelf/src/bin/coreutils/lib/ |
H A D | obstack.c | 56 /* Determine default alignment. */ 145 int size, int alignment, 151 if (alignment == 0) 152 alignment = DEFAULT_ALIGNMENT; 173 h->alignment_mask = alignment - 1; 180 alignment - 1); 191 _obstack_begin_1 (struct obstack *h, int size, int alignment, 198 if (alignment == 0) 199 alignment = DEFAULT_ALIGNMENT; 220 h->alignment_mask = alignment 143 _obstack_begin(struct obstack *h, int size, int alignment, void *(*chunkfun) (long), void (*freefun) (void *)) argument 190 _obstack_begin_1(struct obstack *h, int size, int alignment, void *(*chunkfun) (void *, long), void (*freefun) (void *, void *), void *arg) argument [all...] |