/haiku/headers/private/kernel/ |
H A D | heap.h | 62 void* memalign_etc(size_t alignment, size_t size, uint32 flags) _ALIGNED_BY_ARG(1); 66 void* memalign(size_t alignment, size_t size) _ALIGNED_BY_ARG(1); 74 void* heap_memalign(heap_allocator* heap, size_t alignment, size_t size) _ALIGNED_BY_ARG(2);
|
/haiku/src/system/libroot/posix/malloc_hoard2/ |
H A D | wrapper.cpp | 421 memalign(size_t alignment, size_t size) argument 432 void *addr = pHeap->getHeap(pHeap->getHeapIndex()).memalign(alignment, 437 KTRACE("memalign(%lu, %lu) -> NULL", alignment, size); 447 KTRACE("memalign(%lu, %lu) -> %p", alignment, size, addr); 453 aligned_alloc(size_t alignment, size_t size) argument 455 if (size % alignment != 0) { 459 return memalign(alignment, size); 464 posix_memalign(void **_pointer, size_t alignment, size_t size) argument 466 if ((alignment & (sizeof(void *) - 1)) != 0 || _pointer == NULL) 475 void *pointer = pHeap->getHeap(pHeap->getHeapIndex()).memalign(alignment, [all...] |
/haiku/src/apps/debugger/user_interface/gui/util/ |
H A D | TargetAddressTableColumn.cpp | 14 uint32 truncate, alignment align)
|
/haiku/src/add-ons/accelerants/intel_extreme/ |
H A D | memory.cpp | 50 allocMemory.alignment = 0;
|
/haiku/headers/private/shared/ |
H A D | TextTable.h | 24 enum alignment align = B_ALIGN_LEFT,
|
/haiku/src/system/kernel/device_manager/ |
H A D | dma_resources.cpp | 125 restrictions.alignment = (generic_size_t)value + 1; 162 ASSERT(restrictions.alignment <= blockSize); 175 if (fRestrictions.alignment == 0) 176 fRestrictions.alignment = 1; 196 fRestrictions.max_segment_count, fRestrictions.alignment, 253 physicalRestrictions.alignment = fRestrictions.alignment; 499 // check alignment, boundaries, etc. and set vecs in DMA buffer 524 length = (partialBegin + fRestrictions.alignment - 1) 525 & ~(fRestrictions.alignment [all...] |
/haiku/src/kits/interface/ |
H A D | SeparatorView.cpp | 23 // TODO: Actually implement alignment support! 37 orientation orientation, border_style border, const BAlignment& alignment) 41 _Init(label, NULL, orientation, alignment, border); 46 orientation orientation, border_style border, const BAlignment& alignment) 50 _Init(NULL, labelView, orientation, alignment, border); 55 orientation orientation, border_style border, const BAlignment& alignment) 59 _Init(label, NULL, orientation, alignment, border); 64 orientation orientation, border_style border, const BAlignment& alignment) 68 _Init(NULL, labelView, orientation, alignment, border); 99 fAlignment.horizontal = (alignment)hAlignmen 36 BSeparatorView(const char* name, const char* label, orientation orientation, border_style border, const BAlignment& alignment) argument 45 BSeparatorView(const char* name, BView* labelView, orientation orientation, border_style border, const BAlignment& alignment) argument 54 BSeparatorView(const char* label, orientation orientation, border_style border, const BAlignment& alignment) argument 63 BSeparatorView(BView* labelView, orientation orientation, border_style border, const BAlignment& alignment) argument 448 _Init(const char* label, BView* labelView, orientation orientation, BAlignment alignment, border_style border) argument [all...] |
H A D | GraphicsDefs.cpp | 180 size_t alignment = 0; local 182 alignment = (sizeof(int) % bytesPerPixel) * sizeof(int); 183 if (alignment < sizeof(int)) 184 alignment = sizeof(int); 188 *rowAlignment = alignment;
|
H A D | ToolTip.cpp | 81 BToolTip::SetAlignment(BAlignment alignment) argument 83 fAlignment = alignment;
|
H A D | Box.cpp | 41 BAlignment alignment; member in struct:BBox::LayoutData 551 BAlignment alignment = (GetLayout() ? GetLayout()->Alignment() local 552 : fLayoutData->alignment); 553 return BLayoutUtils::ComposeAlignment(ExplicitAlignment(), alignment); 816 BAlignment alignment(B_ALIGN_HORIZONTAL_CENTER, B_ALIGN_VERTICAL_CENTER); 842 alignment.horizontal = B_ALIGN_USE_FULL_WIDTH; 844 alignment.vertical = B_ALIGN_USE_FULL_HEIGHT; 846 fLayoutData->alignment = alignment; 851 fLayoutData->alignment [all...] |
/haiku/src/system/kernel/slab/ |
H A D | SmallObjectCache.cpp | 30 size_t alignment, size_t maximum, size_t magazineCapacity, 41 if (cache->Init(name, object_size, alignment, maximum, magazineCapacity, 29 Create(const char* name, size_t object_size, size_t alignment, size_t maximum, size_t magazineCapacity, size_t maxMagazineCount, uint32 flags, void* cookie, object_cache_constructor constructor, object_cache_destructor destructor, object_cache_reclaimer reclaimer) argument
|
/haiku/headers/private/kernel/slab/ |
H A D | Slab.h | 46 size_t alignment, void* cookie, object_cache_constructor constructor, 49 size_t alignment, size_t maxByteUsage, size_t magazineCapacity,
|
/haiku/src/kits/tracker/ |
H A D | ViewState.h | 50 alignment align, const char* attributeName, uint32 attrType, 53 alignment align, const char* attributeName, uint32 attrType, 67 alignment Alignment() const; 83 alignment align, const char* attributeName, uint32 attrType, 91 alignment fAlignment; 198 inline alignment
|
/haiku/src/libs/compat/freebsd_network/ |
H A D | bus_dma.cpp | 34 phys_size_t alignment; member in struct:bus_dma_tag 91 bus_dma_tag_create(bus_dma_tag_t parent, bus_size_t alignment, bus_addr_t boundary, argument 111 newtag->alignment = alignment; 130 newtag->alignment = MAX(parent->alignment, newtag->alignment); 141 if (newtag->alignment > 1) 275 dmat->alignment ? dmat->alignment [all...] |
/haiku/src/system/libroot/posix/glibc/extensions/ |
H A D | obstack.c | 66 /* Determine default alignment. */ 157 _obstack_begin (h, size, alignment, chunkfun, freefun) 160 int alignment; 171 if (alignment == 0) 172 alignment = (int) DEFAULT_ALIGNMENT; 198 h->alignment_mask = alignment - 1; 215 _obstack_begin_1 (h, size, alignment, chunkfun, freefun, arg) 218 int alignment; 230 if (alignment == 0) 231 alignment [all...] |
/haiku/src/tests/system/kernel/slab/ |
H A D | Slab.cpp | 42 size_t alignment = 16; local 45 alignment = byteCount; 47 *pages = memalign(alignment, byteCount); 88 BaseCache::BaseCache(const char *_name, size_t objectSize, size_t alignment, argument 95 if (alignment > 0 && (objectSize & (alignment - 1))) 96 fObjectSize = objectSize + alignment - (objectSize & (alignment - 1)); 409 object_cache_create(const char *name, size_t object_size, size_t alignment, argument 413 return new (std::nothrow) MallocLocalCache(name, object_size, alignment, [all...] |
/haiku/src/add-ons/kernel/generic/locked_pool/ |
H A D | locked_pool.c | 68 size_t alignment; // block alignment restrictions member in struct:locked_pool 418 create_pool(int block_size, int alignment, int next_ofs, argument 445 pool->alignment = alignment; 447 // take care that there is always enough space to fulfill alignment 448 pool->block_size = (block_size + pool->alignment) & ~pool->alignment; 453 pool->header_size = max((sizeof( chunk_header ) + pool->alignment) & ~pool->alignment, [all...] |
/haiku/src/system/kernel/ |
H A D | guarded_heap.cpp | 40 size_t alignment; member in struct:guarded_heap_page 170 size_t pagesNeeded, size_t allocationSize, size_t alignment, 192 page.alignment = alignment; 203 page.alignment = alignment; 266 size_t alignment, uint32 flags, bool& grow) 268 if (alignment > B_PAGE_SIZE) { 269 panic("alignment of %" B_PRIuSIZE " not supported", alignment); 169 guarded_heap_page_allocate(guarded_heap_area& area, size_t startPageIndex, size_t pagesNeeded, size_t allocationSize, size_t alignment, void* allocationBase) argument 265 guarded_heap_area_allocate(guarded_heap_area& area, size_t size, size_t alignment, uint32 flags, bool& grow) argument 413 guarded_heap_allocate(guarded_heap& heap, size_t size, size_t alignment, uint32 flags) argument 931 memalign(size_t alignment, size_t size) argument 938 memalign_etc(size_t alignment, size_t size, uint32 flags) argument [all...] |
/haiku/src/add-ons/kernel/bus_managers/scsi/ |
H A D | busses.cpp | 205 if (pnp->get_attr_uint32(node, B_DMA_ALIGNMENT, &bus->dma_params.alignment, 207 bus->dma_params.alignment = 0; 222 bus->dma_params.max_sg_block_size &= ~bus->dma_params.alignment; 224 if (bus->dma_params.alignment > B_PAGE_SIZE) { 226 "B_PAGE_SIZE", bus->dma_params.alignment);
|
/haiku/src/apps/haikudepot/textview/ |
H A D | ParagraphStyleData.cpp | 70 ParagraphStyleData::SetAlignment(::Alignment alignment) argument 72 if (fAlignment == alignment) 79 ret->fAlignment = alignment;
|
/haiku/headers/private/interface/ |
H A D | AbstractSpinner.h | 71 alignment Alignment() const { return fAlignment; }; 72 virtual void SetAlignment(alignment align); 154 alignment fAlignment;
|
/haiku/headers/os/interface/ |
H A D | MenuField.h | 69 virtual void SetAlignment(alignment label); 70 alignment Alignment() const; 145 alignment fAlign;
|
/haiku/src/preferences/filetypes/ |
H A D | AttributeListView.cpp | 138 int32 alignment; local 139 if (attributes.FindInt32("attr:alignment", index, &alignment) != B_OK) 140 alignment = B_ALIGN_LEFT; 146 return new AttributeItem(name, publicName, type, displayAs, alignment, 155 type_code type, const char* displayAs, int32 alignment, 162 fAlignment(alignment), 154 AttributeItem(const char* name, const char* publicName, type_code type, const char* displayAs, int32 alignment, int32 width, bool visible, bool editable) argument
|
/haiku/headers/private/graphics/ |
H A D | AGP.h | 61 size_t alignment, uint32 flags, addr_t *_apertureBase, 68 size_t size, size_t alignment, addr_t reservedBase,
|
/haiku/src/system/kernel/vm/ |
H A D | VMUserAddressSpace.h | 60 size_t alignment, bool initial = false); 67 size_t alignment, VMUserArea* area,
|